473,516 Members | 3,399 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Any way to convert a file into XML document in ASP

1) Is there a way to convert a file (MPP format) into an XML document in ASP.
Is there any relation with XMLSerializer class with this. Can we use this
class to convert a file into an XML Document. The conversion need to be done
in coding as a web service using ASP/ASP.Net

2) How to import pulic classes into an ASP file (in java we use, import)

Thanks

Nov 19 '05 #1
3 1625
Microsoft Project has an object model that can be used within the ASP code.
You simply create the application object, load the project and use the
FileSaveAs method to get the MPP as XML.
"Kishore" <Ki*****@discussions.microsoft.com> wrote in message
news:C4**********************************@microsof t.com...
1) Is there a way to convert a file (MPP format) into an XML document in
ASP.
Is there any relation with XMLSerializer class with this. Can we use this
class to convert a file into an XML Document. The conversion need to be
done
in coding as a web service using ASP/ASP.Net

2) How to import pulic classes into an ASP file (in java we use, import)

Thanks

Nov 19 '05 #2
in .net, you import classes via compiler switches much like c/c++. in .net
importing is refered to as adding a reference. there is no language support
for this.

don't confuse importing (referencing) a class with the "using" command,
which just changes namespace scoping rules.

-- bruce (sqlwork.com)
"Kishore" <Ki*****@discussions.microsoft.com> wrote in message
news:C4**********************************@microsof t.com...
| 1) Is there a way to convert a file (MPP format) into an XML document in
ASP.
| Is there any relation with XMLSerializer class with this. Can we use this
| class to convert a file into an XML Document. The conversion need to be
done
| in coding as a web service using ASP/ASP.Net
|
| 2) How to import pulic classes into an ASP file (in java we use, import)
|
| Thanks
|
Nov 19 '05 #3
Hi John,
Thanks for the reply. After loading Application Object, i am
unable to call FileSaveAs Method. Should I have any prereqisites for this. If
possible, please provide me the code to call the method through the object.

Thanks.
"JohnFol" wrote:
Microsoft Project has an object model that can be used within the ASP code.
You simply create the application object, load the project and use the
FileSaveAs method to get the MPP as XML.
"Kishore" <Ki*****@discussions.microsoft.com> wrote in message
news:C4**********************************@microsof t.com...
1) Is there a way to convert a file (MPP format) into an XML document in
ASP.
Is there any relation with XMLSerializer class with this. Can we use this
class to convert a file into an XML Document. The conversion need to be
done
in coding as a web service using ASP/ASP.Net

2) How to import pulic classes into an ASP file (in java we use, import)

Thanks


Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
8661
by: Closer | last post by:
I am new to XML and XSL, could someone please help? I have my XML and XSL files and can view the XML file with the stylesheet in my browser. Everything is fine. What I want to do is to convert this to an HTML document and when the user looks at the source they see HTML instead of XML (which is the current source and extention). I want...
0
17849
by: Nicolas Guilhot | last post by:
Hi all ! I have a multi-page Tiff image file that I want to convert to PDF. To do so I am using iText library. The conversion is working, but the code execution is very different according to wich iTextSharp.text.Image.getInstance(...) signature I am using : - using code 1 below, the conversion is fast enough but the resulting PDF file is...
2
3376
by: Christopher Beltran | last post by:
I am currently trying to replace certain strings, not single characters, with other strings inside a word document which is then sent to a browser as a binary file. Right now, I read in the word file, convert the FileStream into a string using Unicode encoding, then do a replace, then convert the string back to a byte using Unicode encoding...
1
3819
by: Ashutosh | last post by:
How can i convert Word file to txt file in ASP.NET using CSharp?
7
15021
by: Ish2000 | last post by:
Hello, I've a simple windows application and i want to be able to convert a csv file to xml. So far, i can browse for the csv file from the file structure and display in a textbox. I want to convert the displayed csv file in the textbox to Xml and use the first line of the csv file as tags. I know there will be different ways of doing...
4
4443
by: csgraham74 | last post by:
Hi, Ive posted on this previously but had no response. Basically i need to build some html using a rich text editor. Then i want to actually create an html document from this and save it to my server. Does anyone have any examples on how to do this ?? I dont really understand how to get from HTML string to HTML document. I can probably...
3
3150
by: shapper | last post by:
Hello, Could someone tell me how to convert a XML file into another XML file using a XSL file with a parameter? I created the code to do it, and it seems ok, but it is not working. Could somebody, please, help me out? I am on this for days. My code is as follows:
6
8624
by: Justin | last post by:
Hi all, i need some help over here... i found the solution to export file from mysql db into *.csv. but is there anyway to convert the contents into *.doc and save in my webserver and providing a link for the end users to download the word file? FYI, the database records are obtained by end users submitting the forms themselve and i saved...
0
1855
by: ashz | last post by:
Hi All, I want to convert any document to tiff file format. Is it possible using dot net. Actually i have a simple button in my form that open a OpenFileDialog control. Using this i get the path of any file that user wants. After that i need to show the preview of that file. If there is any way to convert any document in xps file then i...
0
7405
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7136
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7547
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5712
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5106
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4769
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3265
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3252
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1620
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.