|
Unfortunately, that's just standard behaviour. .NET marshalls XmlDocuments as XmlNodes across SOAP. This isn't really an issue because an XmlDocument is a subclass of XmlNode. To load the node back into a document, do this:
XmlDocument doc = new XmlDocument();
doc.LoadXml(MyWebService.Method().OuterXml);
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
5
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Hi,
I want to create one MSI Package with following requirement
1)There should not be any entry in Add Remove entry, Control Panel
2)The MSI package should use ASMFlag.sys file in C root to determine if the agent is installed or not. If file exists, do not install. If file does not exist, install.
3) When MSI package is created, the EXE will reside in a subfolder named 'temp'.
This is very urgent requirement. Please suggest how to create MSI Package.
Thanks in Advance
|
|
|
|
|
Cross post. Please ignore this thread.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
If an Indian asked a programming question in the forest, would it still be urgent?
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
I think so, and if no one else was around to answer it, it'd probably get asked again Sounds like a nasty sig material
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
This is the funniest thing I have ever heard. I will honor you by quoting you in my sig.
"If an Indian asked a programming question in the forest, would it still be urgent?" - John Simmons / outlaw programmer
I get all the news I need from the weather report - Paul Simon (from "The Only Living Boy in New York")
|
|
|
|
|
Hi Friends,
Currently i am working on 1 Crystal Report which have 22 pages(22 page design ).
And client requirement is that he must need this report exported in PDF with textboxes in PDF.
Can any one please know me how i can export my report in PDF with textboxes in PDF?
Client don't want this report in word or other Format, He must require only in PDF.
Thanks in advance.
With Regards,
Mayank Prajapati
MCP, MCTS .Net 2.0
|
|
|
|
|
Have you wanted to support mobile and remote workers more effectively? Mobile and remote workers use laptops, Smartphone, PDA, or even SmartClient. The Microsoft Sync Framework is a comprehensive synchronization platform that enables collaboration and offline access for applications, services and devices.
The first community technology preview (CTP) for the Microsoft Sync Framework (MSF) has been released. The release consists of
- Sync Framework Runtime
- Sync Services for File Systems
- Sync Services for ADO.NET
In addition, the preview includes documentation, datasheet, and the Microsoft Sync Framework SDK.
Sync Services for ADO.NET is a part of the (MSF) that enables synchronization between ADO.NET enabled databases. Any database that uses Sync Services for ADO.NET can exchange information with other data sources that are supported by MSF, such as web services, file systems or custom data stores.
A CTP of Microsoft Sync Framework is available today at http://msdn.microsoft.com/sync[^].
You'll need Visual Studio 2008. VS 2008 goes to release at the end of November. You can still get a copy of Beta 2 at http://msdn2.microsoft.com/en-us/vstudio/default.aspx[^]
--------------------------------
For more information for developers on the Microsoft platforms, see http://blogs.msdn.com/usisvde[^]
|
|
|
|
|
I have a remoting utility, with three assemblies
Top or TopService, Listener, Worker
Top is a Forms app, TopService is a windows service
The reason for this is so installers can get running as an app, then deploy as a service
Top has a Print member which prints to its form.text box
TopService also has a Print member which prints to an error log
Both have a Reference to Listener, and they each create it as
Listener listen = new Listener(Print)
Listener has a delegate, which is set either to Top.Print or TopService.Print in its constructor
It then starts the remoting system with Worker as a SingleCall remoted class
public Listener(PrintCallback _print)
{
m_printDelegate = _print;
RemotingConfiguration.Configure("Worker.dll.config");
}
When Remoting fires, and Worker is instantiated, I need to locate the in memory Listener, then within Listener locate its m_printDelegate, to call through it with messages.
My intent is that Top, the Forms App, will display messages in its text box, and TopService, the Windows Service, will log messages in a log file.
What I have tried, that seems ever so close, is this kind of thing;
const string listener = "Listener";
//Get all the loaded assemblies in this domain
Assembly[] asmArr = AppDomain.CurrentDomain.GetAssemblies();
foreach (Assembly asm in asmArr)
{
//Get the modules of each assembly
Module[] modules = asm.GetModules();
//Check to see if module name starts with "Listener"
string mName = asm.GetName().ToString();
if (listener.CompareTo(mName.Substring(0, listener.Length)) == 0)
{
//Found the in memory Listener, now locate its m_printDelegate
//This doesnt work - type is System.Reflection and all the members
//of that base class seem to be whats returned in GetMembers
Module m = modules[0];
Type mt = m.GetType();
foreach(MemberInfo x in mt.GetMembers())
{
s = x.ToString();
}
//Same with this
//Also tried similar approaches with the module itself
foreach (MethodInfo x in mt.GetMethods())
{
s = x.ToString();
}
}
}
Bill in PA/USA
|
|
|
|
|
Hi:
I'm building a utility that's intended to generate a .Net 2.0 WinForm based on some user defined inputs.
Here is the basic plan:
--------------------------
We want to use Excel to essentially layout what the form will look like. We'll then use the OWC toolkit to read the XLS file. Based on the fields (cells), labels, field positions and formatting, we will generate a WinForm dynamically. We then would like to be able to save the Winform as either a binary or XML image in a SQL Table. At runtime, we'd like to be able to load the form in to memory based on what we stored.
Question 1:
--------------
We'd like to use Excel as a front end "form designer" to avoid building our own front end and form definition language. Is it more efficient to use the OWC to access spreadsheet information, or is it better to save the worksheet as XML and process that? Are there any standard code snippets out there that efficiently process XML from an EXCEL worksheet?
Question 2:
--------------
We'd like to store a serialized version of the form in the database so we can load it and quickly display it at runtime (performance will be a consideration). What's the best method for doing this? Is there a standard practice/design pattern for this? Are there gotcha's to look out for when saving/loading the form?
Thanks,
JohnB
|
|
|
|
|
am writing an app that uses the .Net classes TCPClient and NetworkStream to read and write data between 2 machines. All works fine.
I have recently found a need to be able to send Http 1.1 with a SOAP message as the Http body. Currently i am using an XmlDocument to load and parse the SOAP data. However to do this i first have to read in the HTTP header, search for the beginning of the body and construct my own XmlDocument.
There must be a better way. I don't want to call a web service, i just want to send http with a soap body and receive the same.
I am looking for a means of loading in the NetworkStream into some kind of HTTP object to read the http stuff and also load the body into some simple Soap object that can be used to pull out/ set values.
Comments, Suggestions Welcomed.
Carl
|
|
|
|
|
|
Oh geeze
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
hi,
how can I compile and run code I wrote in c++ microsoft visual studio within the vs.Net 2005 with creating a solution for it ?
thanks
There is always something to learn
|
|
|
|
|
Knowledgestudent wrote: how can I compile and run code
Try reading the users manual/guide
|
|
|
|
|
Knowledgestudent wrote: There is always something to learn
even from the documentation
Luc Pattyn [Forum Guidelines] [My Articles]
this months tips:
- use PRE tags to preserve formatting when showing multi-line code snippets
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
Knowledgestudent wrote: There is always something to learn
Elephants, because bananas don't have bones.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
hi all,
i have a doubt regarding assembly version.
How can i know the assembly get generated using which version of .net framework
how can i identify
using which version of .net framework(1.1 or 2.0) the assembly generated
please revert me for any clarrification
Thanks
sri
|
|
|
|
|
hi,
mukkanti007 wrote: How can i know the assembly get generated using which version of .net framework
Assuming you know there is actually Assembly class in .NET Framework, good place to start is documentation for this class. Maybe there is some method how to get what you want?
Surprisingy (not), there is one: Assembly.ImageRuntimeVersion[^]
[ My Blog] "Visual studio desperately needs some performance improvements. It is sometimes almost as slow as eclipse." - Rüdiger Klaehn "Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe
|
|
|
|
|
Hello all:
I was ask about any idea let me secure infromation transmission over IP packet using .net
|
|
|
|
|
For starters, read up on the Cryptography namespace
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
not cryptic enough for you?
Luc Pattyn [Forum Guidelines] [My Articles]
this months tips:
- use PRE tags to preserve formatting when showing multi-line code snippets
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
Luc Pattyn wrote: not cryptic enough for you?
Naaaah
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|