Answer Questions
Craig Balliet Object Does not match target type
Im working with the newly released full version of visual studio 2005 and my program compiles but I have a bunch of warnings with the message Object does not match target type Here is the line of code that gets the error. CType ( Me .rightRaftingContainer, System.ComponentModel.ISupportInitialize).EndInit() The code is in the auto generated section, also the program that has this error was developed with 2.0 bet ...Show All
PaulHetherington Retrieving table indexes through GetSchema("Indexes")
I need to get complete information about tables and columns in database including their indexes. I can easily get table and column information using SqlConnection.GetSchema("Tables") and "Columns". But problem is with indexes. I can get list of indexes using GetSchema("Indexes") and list of their columns using GetSchema("IndexColumns"). From theese two schema tables I can also get Nullable and Prima ...Show All
VBDeveloper why combobox invoke SelectIndexChanged twice on Initial ?
in my case, i have a listviw which data is relate to the data which is selected in a combobox. when debugging, i fond that the SelectIndexChanged event invoked twice on start-up of my dialoge. though, it did no harm to my work, i just want to know WHY How many items are you adding to the listbox The first time you add a value, it should fire the event. If you debug the program, put a breakpoint on the SelectIndexChanged method, then have ...Show All
Caleb Widmer vga card info
hi, i'd like to ask how can i get information about the vga card in vb.net thank you; You can use the System.Management namespace to get the system information you want in your case,try something such as ConnectionOptions connectionOptions= new ConnectionOptions(); ManagementScope mScope = new ManagementScope(" \\localhost \\root\\cimv2 ",connectionOptions ); ObjectQuery query = new ObjectQuery(&quo ...Show All
Oleg Sych How to force date format to custom format.
I have a program whose default UI culture is German. I also have satellite dlls with English and Catalan resources. The program shall run in Spain with Catalan UI. We have an English Windows XP with German and Spanish MUI packages installed, and English as well as German UI work fine from our program when selected as UI languages in Windows respectively. But how can I get it to show the Catalan UI When I turn on Spanish Windows UI I get the Germ ...Show All
shawn3091 how to open ur custom file format in ur application
hi, i am developing an application in C#.For saving the state of an application i am using a custom file format.Now suppose a user using the application want to save the state of the application he can save it as "savedstate.abcd" where .abcd is the new extension to be supported by my application.Now when he double clicks on this saved file named "savedstate.abcd" my application will open up and the objects being used in my application wil ...Show All
JasonSD Controlling a serial port
Hello, I'm trying to open a serial port from a web service but am getting the following:- System.IO.IOException: The port 'COM1' does not exist. at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str) at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, B ...Show All
TSCEWA Webservice: "The ASP.NET process identity does not have read permissions to the global assembly cache."
I'm uncertain what the best forum is for this - I also posted this in the ASP forum. I am developing a distributed application with a client-side java calling a webservice serving a static binary database. The application works well with the VS2005 Development server on XP Pro SP2. However when I publish it to an IIS v5 environment, it fails with these errors. 3.) .aspnet_wp.exe (PID: 3988) stopped unexpec ...Show All
AparnaG My Application works in Debug mode only
Hi all, My .NET application works in debug mode only. If I build my application without the "Generate Debugging Information" equal true, the application start properly, looks like everything is just fine, I can use several commands of the same type, but it stops working, I mean it goes in a loop or something. If I run the same application with debug option equal true and I do the same test everything work just fine. This is a prob ...Show All
graphicsxp_too Restricting Web Service to localhost
Hi, I am trying to restrict the web service to only respond to clients from the same server. In other words, I am checking the ' HttpContext.Current.Request.UserHostAddress'. I have couple of questions, 1. Is it possible for the client to manipulate the value of 'UserHostAddress' so that it looks as though the request is originating from the local machine even though actually it is not 2. Is there a ...Show All
Uzieli some questions about timeout and design
Hi, I have a site that has a number of web methods in one web service class. untill the last few days it has worked well. now I am seeing an increase in errors like: Exception.Message : Unable to connect to the remote server Exception.Source : System Exception.StackTrace : at System.Net.HttpWebRequest.GetRequestStream() at System.Web.Services.Protocols.SoapHttpClientProtoco ...Show All
darrellp Getting Error "The ServicePointManager does not support proxies of https scheme."
When I try to take web reference of my project web service over internet I am getting error message “The ServicePointManager does not support proxies of https scheme.” And if I try to access some other web service like Google then I am getting Error message "The underlying connection was closed: Unable to connect to the remote server." Please help me to solve out this problem. When I try to take web reference of my project web service over in ...Show All
cgerull Avoid Repetition of primary tables's record
hi all, can you tell me how to avoid repetition of main records when one main(Primary table) record have more than one child(secondry table) records. I am using DataList to show records. For example I want to show the following Tools & Equipment http://www.mobmasti.com MobMasti Mobile Portal Manufactures http://www.manu.com Manufacturer desc manufactur Rental Companies http://www.rentit.com ...Show All
JoGo Redistributing MSXML4
Hi, I have written an application which is redistributed via an MSI. I merge in the MSXML4 merge modules. I have discovered that if I add a manifest assembly reference as follows: /manifestdependency:type='win32' name='Microsoft.MSXML2' version='4.20.9818.0' processorArchitecture='x86' publicKeyToken='6bd6b9abf345378f' language='*' My app doesn't work. I think that this is because these DLLs already exist in the C:\WINDOWS\SYSTEM32 d ...Show All
ChrisBradley Sockets and Serialization
Hi, I'm building a windows forms app that needs to connect to a server farm via the internet. Performance is of the essence. I'm thinking to use .NET remoting but I prefer sockets to avoid the complexity of remoting; the data I need to pass are small in size anyway. For larger data I'll use Web services. I know that sockets connection can pass array of bytes and not objects. Can I pass a serialized object from socket to socket There' ...Show All
