-
- How to read the request from client using webservice? Vb.net or VS 2005
by Vaish
- 1 Replies
- Last post
by ahmed.shamir
- Hi
I have created a webserver and windows client .When click button from the client the client sending few value to the server and the server responding and send details back to the client and displaying in the textbox of the client . It works fine.
My question is: How do I read the request with data from the client and save it as xml or text file in the server.
Advance Thanks
Vais
-
- Need help marshalling a structure.
by ~rabin
- 14 Replies
- Last post
by TaylorMichaelL
- I have a structure in native c++ which I have to use in my function in C#. The structure of the struct in C++ is: typedef struct MYSTRUCTURE { DWORD dwStructSize; DWORD dwFlags; //Set by caller. Currently undefined, must be set to 0. DWORD dwMaxBufSize; //Initialized by caller to the size of the buffer pDataBuf. DWORD dwType; // One of the Content Type, filled up by the
-
- C# class library and mixed mode DLL
by Fred3000gt
- 4 Replies
- Last post
by Fred3000gt
- Hello,
I have a mixed mode DLL (CLI/CLR native C++) and my C# consumers access it through a C# "class library". It works fine and I therefore have the following files:
* MixedMode.dll (c++/clr)
* CsAccessToMixedMode.dll (c#) consuming classes of MixedMode.dll
* C# code consuming classes of CsAccessToMixedMode.dll
That works fine. However, I would also like to give
-
- Excel and SQL Server
by UNOTech
- 11 Replies
- Last post
by jamesjustin
- How do I read an excel spreadsheet in vb.net and insert the records from the spreadsheet into a SQL database
-
- Merging XML Nodes together to form a good XML doc
by AshMetry
- 2 Replies
- Last post
by AshMetry
- Hi,
I have an app that generate bad xml logs as follows
<event><something>...</something></event> <event><something>...</something></event> <event><something>...</something></event>
I want to create another XML that basicly reads the contents of this file and appends <BODY> before and </BODY> after these e
-
- RegAsm error: Failed to load 'XXXXX.dll' because it is not a valid .Net assembly
by AliciaV
- 2 Replies
- Last post
by AliciaV
- When I run the command
RegAsm.exe XXXXX.dll /tlb:XXXXX.tlb
from the command line within the directory that contains a C# dll coded to provide COM interopt I get the following error:
RegAsm error: Failed to load 'XXXXX.dll' because it is not a valid .Net assembly
Anyone have any idea why this fails and what I need to do to manually register the assemble and export a COM compatible tlb
-
- How do I read a ApplicationSetting from the standard app.config in .Net 2.0
by SpockMonster
- 6 Replies
- Last post
by SpockMonster
- I am struggling with what should be an extremely simple task. I just want to read a setting from the app.config file that is created by Visual Studio IDE for a project.
In Visual Studio 2005, I have created a simple Windows Forms project. Then I go into Project Properties, go to the Settings tab, and add a setting something like this:
Name is MySetting
Type is "string"
Sc
-
- Help:Duplicate xmlns attributes when parsing with XmlReader...
by sschwenker
- 8 Replies
- Last post
by manojamin
- Hello,
I've written multple parsers that use XmlReader to parse a complex(multi schema) xml file. I've written a sample solution that reproduces the error but I have not been able to figure out what I'm either doing wrong or what the .NET code is doing wrong.
The error I'm getting is and Exception in ParserB. I have some old proprietary parsers that require a string xml to be passed
-
- Reflection with regards to listboxes
by JJRowe
- 4 Replies
- Last post
by JJRowe
- Hi everyone.
I've been having a little trouble with some dynamic form creation and manipulation in my program.
I'm working on an IRC client that uses tabs to organize its channels and queries and I've run into a little snag.
I have all but the first tab created at run time and each tab contains a richtextbox and a listbox. Using reflection and a dictionary I'm able to access the textbox a
-
- Get existing Wi-Fi settings
by ssundan
- 1 Replies
- Last post
by Bismarck84
- Hi,
I have a Wi-Fi adapter connected to my PC. It detects some access points and some computers and devices with Wi-fi capabilities. I want to know where these informations stored in the PC. Is there any way to get these information through C# Please let me know.
To be more clear, I dont want to detect Wifi networks around my PC. I just want to get the already detected information, which is
-
- collection was modified
by WRBehning
- 8 Replies
- Last post
by eradicator
- I have an app where I keep track of messages sent through MSMQ. To avoid sending duplicate messages, I keep track of the message in a datatable. After the message has been processed, an acknowledgement is returned and the message is deleted from the table. I have a method that returns true of false if the message is still in the datatable, letting me know if the message has been processed or not.
-
- Framework 2.0 in XP Tablet PC 2005
by serginjohn
- 6 Replies
- Last post
by serginjohn
- I have few questions related to the above subject.
1) The Microsoft .Net Framework 2.0 Configuration is displaying in the Administrative tools after installing the Framework 2.0 in my XP Tablet PC 2005. Is there any different version for Tablet PC
2) I have created an Application(EXE) in VB.Net and copied in the wwwroot folder. I wrote a Javascript to call this Application in an H
-
- Calling 1.1 dll from 2.0 app using publisher policy file does not work.
by afriedel
- 6 Replies
- Last post
by afriedel
- We have a base dll, I'll call base.dll, written in 1.1 that almost all of our applications (dozens of them) use. We make sure the apps are using the latest version by using a publisher policy file. We have since starting writing 2.0 apps but would like to continue using the 1.1 version of base.dll. We plan to upgrade it at some point but are not quite ready to do so yet. When our 2.0 application
-
- Cannot change properties of remotable objects
by JuuriJaJuuri
- 5 Replies
- Last post
by damdai
- I have a remotable object which has other objects as members
My client gets a reference to this remotable object and tries to change to properties of the remotable object.
I get no error, but the property values do not change.
I must have missed something fundamental in .NET remoting
I have one very complex object with other objects as members.
I would like to construct this
-
- How to select unique values from a IList randomly?
by Bluehunter
- 14 Replies
- Last post
by Bluehunter
- Hi everybody,
How can I select unique values from a IList randomly I use IList because I want to support Arrays, Lists and Colelctions. Any idea
-
- How to display text on imagebutton that contains image
by Rakesh k.m
- 4 Replies
- Last post
by Miztiik
- The text on image button will come dynamically...
-
- XMLDocument.Save() = 0 length files, half written files etc.
by JohnGalt
- 14 Replies
- Last post
by Alois
- I'm having something most unusual happen with .NET 2.0 on a very few computers (like 2 or 3 out of thousands). We store our information in a custom config file, which we write out from an xml document. Well 99.9% of the time it works just fine to do XMLDocument.Save() and the file is writen correctly.
But every once and a while on these specific machines, the file doesn't get saved correctly. S
-
- .NET remoting and authentication
by Looooooka
- 7 Replies
- Last post
by LukeSkywalker
- I'm trying to use the
System.Runtime.Remoting.Channels.IAuthorizeRemotingConnection
on the server to authenticate the client...BUT i would like to use some sort of custom authentication....preferably a username and password sent with CallContext.setdata.
well if i set anything on the client with CallContext i don't get anything on the server side.
plus the identity that i get on the
-
- How To Solve The Problem Of "Server Application Unavailable " in Webservices
by K Manisha
- 2 Replies
- Last post
by Daniel Roth
- Hi ,
we create a webservice and publish i ton production server.
but it gives error like 'Server Application Unavailable '. i try to find out the soln by checking log entry but no use .
-
- How do you add Access 2007 as a DataSource in Visual Studio 2005?
by C&#35;Newbie01
- 3 Replies
- Last post
by C#Newbie01
- I have been looking around, assuming there was some sort of update released to allow for this, but have had no luck whatsoever. How would I add an Access 2007 Database as a Datasource in my application Would I connect to it and populate the dataGridView, etc. solely in code, or what I'm really lost (And the documentation is really terrible). Thank you very much.
-
- Converting XSD to XML in VS
by Soluwin
- 6 Replies
- Last post
by Myron James
- I must be missing something.
How can I convert my XSD files to an XML file in Visual Studio I can use the visual interface to create my XSD which is great, but I can¡¯t figure out how I can create the XML file once I have the structure I want. Im new at this but that seems like a logical way of creating my XML file.
-
- WSRM (WebService Reliable Messaging) Implementation in .net
by Naamala
- 3 Replies
- Last post
by Pablo Cibraro
- Hi, Whether WSRM (WebService Reliable Messaging) implementaion is available in .net technologies Whether WSE 3.0 contains the implementation of WSRM Thanks naamala
-
- can we use "in" operator with a parameter as an array ?
by AL Nabhani
- 6 Replies
- Last post
by VMazur
- hi every body, i've a qeustion : if i have a command object with this SQL Statement :
Code Snippet select * from table1 where id in (@Array)
as you can see from the code above, there is a parameter called "@Array", here i want to pass the values as an array with a parameter object :
Code Snippet
Dataadapter.Selectcommand.Parameters.AddWithValu
-
- Replacing <img ... sources with regEx?
by masom
- 6 Replies
- Last post
by OmegaMan
- Hi all, how is it possible to extract and modify the src-Attributes of html-image tags. The img-tags are parts of a normal html document and may occur multiple times Example: string sourceText = @"<html><body>....<p> <img
src='http://Servername/Webname/Imagelist/myImage.jpg' />"; sourceText+= @"<br><img src='http://Servername/Webname/Anot
-
- Why does reading arguments multiple times in DynamicMethods fail?
by Andy Wilkinson
- 8 Replies
- Last post
by nobugz
- I have been experimenting with DynamicMethods recently and have come across some strange behavior. When I call a ldarg_x once to get an argument onto the stack, everything is fine. However, if I call this multiple times then the code fails with an exception. This is evident with the following code (just stick it into the Main method of a new console app)
DynamicMethod method = new DynamicMethod