Answer Questions
DerBruzzzler when no query return is ok - how to avoid error message?
I am in Visual.net using a DataAdapter with Connection to AccessDB. I did not use the QueryBuilder in the DA - instead in the VB I have a pure sql SELECT command with 3 parameters and this returns the result fine - when there is a match......(i.e. returned row) - the DA & DataSet fill ok - and textboxes on the form are bound that then get the data..... however if there is no match it returns no row of course the DA & DataSet fill t ...Show All
MarkByers Copying a XML file from 1 domain to another
Hi friends Please tell me how i can copy a XML file from one web application to another web application in asp.net 1.1. please provide me with some sample codes Thank a lot in advance Regards, Lakshmikanthan.V.R wow that Transform class is awesome! :) To copy file without changing it content you can use System.IO.File.Copy() method. If you want change content of the file, for exam ...Show All
Prince_san Failed to enlist a Distributed transaction
When the web application is on one server(Windows 2003 server) and the SQL server 2000 database server(Windows 2000 Advanced server) is on the other system of the same domain there is an error "An error occured while enlisting a distributed transaction" when i try to login to the web application .This error is thrown now and then i.e., i was getting the same error 10 days back then i changed the settings by d ...Show All
Marjorie K SoapHeaderException / deserialization error
I don't think my employer will let me post the entire WSDL. Are there specific sections of it that would be helpful Here is my request: POST /pgs/HostingService HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50215.44) Content-Type: text/xml; charset=utf-8 SOAPAction: "" Host: dynamo1.int.netsol.com:52000 Content-Length: 1254 Expect: 100-continue Accept-Enc ...Show All
Angna Async Send / Receive
In The Name of God hello this is my send and receive asyncronous algorithm: I send the length of algorithm and then actual message. I have multiple messages to send which they are over and over again, i mean i send user name and them immediately i wanna send password, but the problem is when i wanna receive the password size, Surprisingly i receive the actual password.....and so the size would be something awsome and the program blows....or so ...Show All
xSephirothx TypedDataSetGenerator class?
Are there any examples available of how to use the TypedDataSetGenerator class in the System.Data.Design namespace to programmatically create Typed DataSets Thanks Hi Wn, This is actually an internal class we use to generate Typed DataSets, and their associated TableAdapters based on the Typed DataSet Designer. In order to maintain backwards compat for users that may be using the old generator, System ...Show All
wgaspk Program running at HI memory usage, please HELP!!!!!
Hi, I'm using vb.net 2003. Something is not making sense while my program is running. While my program is running, and I open the Task Manager, the Memory Usage of my program start running sky-hi. Something isn't right, a program that's nearly 2MB in disk size, can't use 400MB RAM can someone please help me in sorting out the problem... Thank You The program uses a lot of datareaders, sometimes ...Show All
sujazach execute scalar daab 2.x
Hi All, Ok so I am about to pull my hair out! Using vs2005 and ent lib 2.0 I want to retrive a single value using the execute scalar method : Public Function GetWhseStockId1() As Integer Dim _Pstldb As Database = DatabaseFactory.CreateDatabase() Dim i As Integer Dim strCommand1 As String = "SELECT IdWhseStk FROM WhseStk WHERE WHStockLink = 5774 and WHid =68" Dim dbCommand As DbCommand = _Pstldb.GetSqlStringCommand(strCommand1) i = CI ...Show All
D. M. More Web Service Constructo
I have a web service. In its constructor I do some validation process . But I notice that this process is not done until I call a method from my webservice. Is like the constructor is not called when I create the object with "new", only is called when I access a method. How does this works thanks! Web Services are stateless objects that are recreated on every method call. ...Show All
SharkOver problem in datetime picker
Hello: I want use datetimepicker control in web form page. I used an activex component in aspx page. using Toolbox-component-add/remove-com-microsoft datetimepicker control 6(for time only not date) can i fix min or max time for that control. And user could not access time beyond this level. I am using client side scripting. please help me Regards Maximasshel maximasshel@hotmail.com Hi, I suggest posting on ASP.N ...Show All
Ricky Mendoza Simulating HTTP Post
Hello all, i have made an HTML document which allows me to upload a file to a website without actually visting it. I am using C# and i wanted the way i could do the uploading part programatically so that there is no user intervention. I tried using HttpWebRequest and HttpWebResponse classes but in vain. Any method to simulate the file upload is appreciated. Inshort i want the replicate the action of the HTML file below , programatically using C# ...Show All
Vivek. Set SSOCANARY in Webservice
Dear friends, i can't set the SSOCanaryChecker for SSO set User's credentials method in the webservice, because im not able to get the OnInit() or OnLoad() method in webservice page and even in webservice im not getting Page object to set CanaryChecker. Anyone Can help me Please.. How to use SSO Canary in Webservice. Thanks in Advance. Regards, Vasanth. Hi Daniel, Thanks for your Reply.... The SSO mea ...Show All
abwong Framework 2.0 breaks app, supportedRuntime does not fix
Original Environment Windows 2000 Service Pack 4 1.0.3705 1.1.4322 Application written using VS.NET 2003 and 1.1.4322. Application calls unmanaged code. Everything works. Breaking Change One change was made, installation of 2.0.50727. It was expected (hoped ) this would not affect a 1.1 application. Details of unsuccessful workaround Added this to the application's config file: < startup > < supportedRuntime versio ...Show All
Mohammed Ghouse Barq Problem accessing text file within a resource
I'm using VS 2005 Beta 2. I added a text file ("DefaultInfo") to the Resources.resx file under the "My Project" node (in Solution Explorer). I'm trying to retrieve the text file from a class, but I've been unable to get it to work. I tried: Dim asm As [Assembly] = [Assembly].GetExecutingAssembly() Dim s As IO.StreamReader = Nothing s = New IO.StreamReader(asm.GetManifestResourceS ...Show All
Gilles Outlet Problem returning a XmlDocument!?!
I have a web service declared as: <WebMethod()>_ Public Function Test2() as System.Xml.XmlDocument In my WinForm app, I'm invoking the function with the code: Dim doc as System.Xml.XmlDocument doc = ws.Test2() (and yes, ws has been previously initialized). I'm getting an InvalidCast Exception with the message "Unable to cast object of type 'System.Xml.XmlElement' to type 'S ...Show All
