Answer Questions
ismard Xmlschema compilation problem (.NET framework 1.1)
Hi all, I am working on an application that needs to be able to read and lean on the XMLSchema information contained in the web service description(wsdl). After i got a wsdl from address : http://ws.cdyne.com/delayedstockquote/delayedstockquote.asmx wsdl , I attempt to get its schema and compile using XmlSchema object(iam using vs2003 with .net framework 1.1), but an error occured: "The 'http://www.w3.org/2001/XMLSchema ...Show All
Jcarant Bitwise byte operators ?
I have a run the simple following lines and I am very surprised by the result byte a = 1, b = 2; Console.WriteLine((a | b).GetType()); I get a System.Int32 output. Why didn't I get a byte output Performance wise, it does not change anything, and it has the advantage of making sense in terms of typing. Thanks in advance, Joannes I have posted a suggestion at http://lab.msdn.microsoft.com/Product ...Show All
amitsinghkohli Multiple Inserts into the same table
Hi, I am trying to insert data with multiple streams into the same table. Basically its an SSIS job which inserts data into an error table. If multiple parallel jobs have an error, then is it possible that the table gets locked, since there are multiple parallel inserts How to get around it Thanks Manish ...Show All
Roy Belo EventLog in C#
Hi , I wanted to write messages to windows eventlog . I will read messages from certain file say xyz. What my question is , is there any possiblity to write date and time which i read it from xyz file to eventlog along with other parameters such as source , event id , message etc. Thank you guys for looking into this. Regards, Prasanna. The System.Diagnostics.EventLog class might be useful. Start reading here... ...Show All
NeoSchu sn.exe and the .net SDK 1.1
Hello, I am trying to create a strong name key for one of my .net components, however I can not find the tool that msdn references as sn.exe which is part of the security tools of the .NET SDK 1.1. Anyone know where I can download this utility or the SDK thanks! -ken Hi, Maybe he used the default command prompt. Just use vs.net 2003 command prompt from ...Show All
Bespi Switching Connection strings
In my app_code folder I create a dataset (customer.xsd). The wizard prompts to create or choose a connection string. Now, I have two strings in my web.config file - one for production machine, one for dev machine. In my code, I DIM a New datatable and a tableadapter for my dataset. I then call the getdata() method that the tableadapter wizard created for me. However, I can find no property for connection. In VS2003 I used to set an applic ...Show All
kamalindia Can not add validation event handler for a Column.
Hi! I'm getting following error: Failed to add validation event handler because of the following error: Invalid Index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX)) When I double click on a column of datatable in dataset designer to add column validation handler. Can anybody tell me whether this is a bug or some error. How can I fix it Or is there anyother way to add event handler for a datacolumn regards. As t ...Show All
majellao Problem with dataset.merge
I have two tables in the same dataset which are identical in structure One table is the permanent table, where the other table is cleared each time the application is launched and is used to store imported records (at the users discretion) I have the following code Me .CustomerDataSet.Customers.Merge( Me .CustomerDataSet.TempCust, True) Me .CustomerDataSet.Customers.AcceptChanges() The tempcust table contains all the imported r ...Show All
bkannappan error using vb2005 SingleInstance
Hello, I am using win xp pro sp2, .net framework 2.0.50727 and visual basic 2005 8.0.50727.42 (RTM.50727-4200) i have some errors when creating a single instance application. i have created a singleinstance app by checking the SingleInstance property and i catch the events on my app events designer: Partial Friend Class MyApplication Private Sub MyApplication_StartupNextInstance(ByVal sender As Object, ByVal e As Microsoft.VisualBasic.Applic ...Show All
GraemeE Permissions for dll hosted in IE
hi all, i'm looking for solution to this problem - i host winform control.dll in IE. As soon as this dll is created, it tries to connect to server where it's loaded from to read configuration file control.config.xml and to connect to remote object through .net remoting. Problem is in permissions - how to give programmaticaly permissions (if it's ever possible), or what to do to successfully read config and then to be able to connect (=> ...Show All
Victor F Rodriguez Discovering named instances
Given: VB.net .Net Framework 1.1 In my program I use ODBC:SQLDataSources to discover available SQL Servers. I have recently realized that my code does not discover the Named Instance of SQL2005 which runs along side SQL2000 on my machine. I believe that .Net Framework 2.0 has a new function for SQL Server enumeration but I need to remain at the 1.1 level for some time. Is there a better way to discover SQL Servers which will discover the N ...Show All
aerr how to refusal from different site request data?
Asked how refuses to come from the different stand request My meaning is wants to refuse other websites to transmit to my website data In other words, actually the website or other regions to mine website transmission data, my website refuse to accept and to process, asked how establishes like example: allow: http://www.myWebSite.com/a.aspx send to http://www.myWebSite.com/b.aspx http://www.myWebSite.com/c.aspx send to http://www.myW ...Show All
Chris Boden importing WSE2 to version 3
Hello! I'm having a problem importing my old WSE version 2.0 to version 3.0. In the logs asks me to make the configuration manualy. But I don't quite succeded in doing this. I can't make it create trace log files and the application doesn't work any more after conversion. It's no use editing the config file, because they a regenerated again everytime I run the application. O ...Show All
Markus85 Using returned value from SqlDataSource1
I, a newbie, can't seem to figure this out or find the answer on forums. Any help you could offer me is appreciated. VS2005, C#, Web forms. What I'm doing is writing the login name and password to Profile.Login & Profile.Password from the text boxes on a login screen only if there is such a combo. I also want to write the person's UserID but can't get it out of the SqlDataSource1. I have an SqlDataSource1 that returns a distinct integer v ...Show All
nathan koterba Does not work SoapExtension in .NET 2.0!!! HELP?
Does not work SoapExtension in .NET 2.0!!! In 2003 studios, i.e. under .NET 1.1 I wrote class SoapExtension, I and so have transferred it under .NET 2.0 have compiled, at it is SoapExtensionAttribute which I have attributed to WEB to a method, have compiled, have published - and it a dog does not work! 4 days am tormented - any result, a class debuged and checked up, with the help debuger has found out the following: Constructor Soap ...Show All
