How to read MPP file into ASP.NET (C#) without any software installed - ms-project

My colleague has asked me to import .MPP data into SQL Server database.
Here the twist is that I DON'T have any software installed for managing .MPP file.
After googling some time, I found that MPXJ can help me to some extent. Hence, I have tried to download, but, could not because of company security policy restrictions. For example: I can open the following link: http://sourceforge.net/projects/mpxj/files/
But, I cannot click on the link to download the software as the page has been blocked by company security policy.
Hence, can anybody please suggest whether there is anyway to import .MPP data into SQL Server database anyway?
Thanks in advance...

I've read mpp file into ASP.Net (C#). Finally, I've used MPXJ library. MPXJ is a open source library and free for all.
Another way to import mpp file use oledb, however, it's not easy.
I think you should try talking to your IT department about the download and use it.
Please let me know if you need any helps.
Tutorial http://www.codeproject.com/Tips/738026/Accessing-MPP-File-using-MPXJ-Lib-using-Csharp

Related

How To Insert Data which is generated From Qt App into MySQL Database through PHP?

I Working on Qt where i need to insert data generated from Qt into the mysql database through php script. I am developing one Android Application so I have found this way only to insert data into mysql server through php?
I look forward for yours replies I'll be very thankful if help me out of this problem.
more than 2 weeks i am trying to this.
Thanks!!
There are a few ways you can do this. If your Android app is only for you or a small group of people, you could connect directly to the MySQL database on your server using the QSql library.
However, that won't scale well and it isn't best practice to have direct database connection on an open network.
An alternative way is to use HTTP Post commands to your server where a php script will be able to unpack the information contained within the POST data. Once the PHP script has unpacked the information it can then insert it into the MySQL database on the same server or a different one.
It would be advisable to encrypt the data before sending from your app and decrypting the data in you php script, especially if commercially or personally sensitive data is being transferred.
The following stack overflow questions may help you with creating HTTP POSTs:
How can I create a HTTP POST request with Qt 4.6.1?
Qt Simple Post Request
Most of the people do struggle in qt c++ programming while to go error "Driver not loaded". To fix this problem just install mysql and go to programme files and open msql folder. then go to bin and copy a file written "libmySQL.dll" and paste it in the bin of qt bin folder, the problem will be solved if you still got a problem i will sent you my Qt creator 5.7Tutorial. Thankx, I hope this will work for you

Is there a program that lets me edit web files with a native editor?

Before I attempt to program the following function myself, I wonder if something already exists.
What I would like to do is click an edit link on my website for a given document, and have that document launch in the native editor on my local machine (via a temporary file mechanism).
When I save the document in the native editor, the document is HTTP PUT back to the website. This can be accomplished by watching the file for writes, or watching the editor process for exit.
This way I can more easily edit documents on the web (instead of going through the download / edit / upload cycle).
My design would work as follows:
Register .webedit files on the local machine.
When a .webedit file is downloaded, launch webedit.exe with the file.
The file contains a URL (http://server/document) which is checked against a security database to ensure we're only opening allowed URLs.
The URL is downloaded to a temporary location.
The temporary file is launched in the native editor.
The file is watched for changes, and uploaded (HTTP PUT) on change detection (or when the editor is closed, if it's not a single-instance multiple-document editor).
Lots of FTP / SCP GUIs have this type of functionality, but I have not been able to find it for the web in general, or a shared library that allows you to plug in to this function.
Has anyone seen a program that does this?
SharePoint works like this.
It's great for managing shared documents in corporate environments.
Users can even checkout/checkin documents & the features are very extensible..you can customize pretty much anything if you know how.
Edit:
Since you're on Linux..i've heard that Alfreco is a great alternative.
I've never used it, but I know a couple organizations using it instead of SharePoint.
It integrates with Microsoft Office as well.
Also, it will definitely be cheaper.

Run a Virus Scan While Uploading files in ASP.NET

I have developed a web based application in ASP.NET and C# where users have the facility to upload files on the server through this application I want the application to Scan the uploaded files for viruses before saving on the server. Same like when we attach files with our email in Yahoo. Please guide me how I can achieve this functionality Any API which can be integrated in ASP.NET application or any other way you can suggest. We can purchase the licensed version of a product which can achieve this. I have googled but did not find specific results.
Thanks in advance!
First of all the file must be saved onto the server before you can scan it. If you notice Yahoo will upload the file first - but not allow the attachment to be sent until scanned.
Then you can use an antivirus with a command line interface or some other kind of API. Both of these can be called via C# and should provide the functionality you require. Parhaps write a wrapper class that takes a file and returns true or false depending on whether a virus was detected.
Other applications that provide you with a command line interface:
Microsoft Security Essentials
clamAv
I believe MS AV provides better results.
Just purchase antivirus software that has a command-line interface (several popular packages include this). Once the file has been uploaded, run the scan.
I would think, in order to upload and scan at the same time, you might need to implement your own antivirus software as I'm not familiar with any package that would provide that sort of interface.
I run a shareware site. It doesn't work as you described, but I download each file to my local computer and run a scan on them. You would be doing something similar.

VS 2010 Generate local resource, why does it check out the web.config?

Why when I generate local resource does it check out the web.config. I've done a comparison after the process has completed and the web.config hasnt changed.
I'm using TFS 2010 Basic.
It's not a big issue but I would be interested if anyone knows the answer.
Cheers
Tigger
What source control system you are using and what is the IDE plugging for that? ( e.g. SVN/Ankh) I have expereienced this before with MS TFS that it's client recognizes a checkout even if I go and do a save on the file without doing any changes.
This might help you if that is TFS
There is a same sort of question here.

Downloading/Generating the Flex 3 API spec

I have a somewhat unstable internet connection. I'd like to have the Flex 3 API on my local system for internet down times, but I cant find where it's available for download, or how to generate it.
Does anyone have a link to a downloadable API spec or have instruction on how to generate it.
Thanks
No need to crawl, just unzip: http://livedocs.adobe.com/flex/3/flex3_documentation.zip.
There are download links on this page to various documents: http://www.adobe.com/support/documentation/en/flex/
If you want the Language Reference (and I think that is what you are asking for) which is normally only available as LiveDocs, you'll need to use a website mirroring tool to copy the whole thing to your computer. A tool like HTTrack ( http://www.httrack.com/ ) can help you do that. Just be sure you limit the crawler in HTTrack to only download files with a URL that starts with http://livedocs.adobe.com/flex/3/langref/. Remember that what you will have will be a snapshot of the live docs, so you won't see new comments that get added to it, or revisions made by Adobe unless you download it again later.

Resources