Answer Questions
mlp232 Deserialization bugs in C# .NET 2.0 beta 2?
I upgraded from .net 2.0 beta 1 and when I tried to launch the app I was working on I get this error as it tried to deserialize it's settings System.InvalidCastException occurred at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider) at System.Runtime.Serialization.FormatterConverter.Convert(Object value, Type type) at System.Runtime.Serialization.SerializationInfo.GetVal ...Show All
P Santosh Best language for using Web Services
We are starting our first project using Web Services and I was wondering what's the best language to use and why Thanks Hello. Depends which language your key developer(s) masters. If you have experince in Visual Basic, I would prefer VB.NET, in any other case I would use C#. Except if you have senior C++ programmers or other diverse programmers, then I would allow any combinati ...Show All
Johannes Hartmann Simplest way to move records from one db to another db
Hi All, I need the fetch the details from oracle db. I am doing this in my front end. Now i have to move this details fetched from other application's db(oracle) to my applications db that is SQL Server in a temp table. Can any one suggest a simplest way to do that. i have a option of moving the details to a dataset and then move the records from there. But i need an alternative. Nb: I don use any linked server or stored procedure to fetch the ...Show All
Darkpaw conversion
Hi readers and helpers I have a field called MSGID which has values in hexadecimal.Now i want to convert it into string and displaying it .how can i do thatI am writing code in vb.net The filed value looks like as : F73CD27B149BF899E03028C0C2285C82 as hexadecimal contains 16 values it has 32.it mean combination of 2 hexadecimal i make one decimal .so by the end we have 16 plese if possible provide code thanks Hi Garry, If what you are tr ...Show All
fantus How to display WinForms faster?
Hello, Does anyone know of any tips to insure that a Windows Forms program loads as fast as possible It seems that .NET WinForms just do not load as fast as Forms programmed in unmanaged code. Thanks, Mister T Yes, I recommend creating a Native Image as well. Read this: http://visualbasic.about.com/od/usingvbnet/a/FWTools2.htm Regards, Vikram Using NGEN on the assembly can help wi ...Show All
Extrarius Must Framework be installed?
I am developing a small framework based application that would typically run right off a cd-rom. In thinking about this the question arose in my mind - "Must Framework be installed " Sounds stupid at first. The answer should be "of course, how else could it work". However, I'm wondering if there is a way of packaging Framework on the cd-rom so that the whole thing plays nicely in the same sand box without the need to in ...Show All
BrownMichaelJ can framework 2.0 be removed?
hello i am writing on behalf of my friend whom have problems with her her pc. she been put mircosoft office cd n download etc then later it start cos problems with framework 2.0 this wat comes up with: framework 2.0 files in C:/WINDOWS/mircosoft.NET./framework/2.0 is this right Yes, you can remove .Net Framework 2.0 from your Add/Remove Progra ...Show All
quick_jack DataTable.Filter Or DataTable.Select method question
Hi ! I'm wondering if someone here know if the Filter or Select method of the DataTable Class is optimize with a table index or is use a sequencial seach This is what I was thinking... Thanks! You should test it in practice (all depends on column types, views count, relations count), but I think about 1000 is ok, 10 000 is big. Dataset was designed to be mini-DB in memory that is used for pass subsets of related data for pr ...Show All
gongxia649 How to catch all outgoing traffic in ISA application filter?
Hi everybody! I need to filter some not supported protocol ( ed2k for example ). So I need to write a protocol-enabling filter according to SDK ( ISA 2004 ). The problem is that ed2k use no definit port for connection. So I need to catch all outgoing traffic in my filter. How can I do this Ok. Thanks! Please repost this to an ISA forum. See http://www.microsoft.com/communi ...Show All
ZMaster_ Diffgram and XML urgent help needed
Here's the scenario. I have a cache.xml file which holds path and file information. I read this xml file into a dataset that has 2 tables (Paths, Files). There is a single relation between the two and they are nested. The XML looks as follows: < xml version="1.0" standalone="yes" > <NewDataSet> <Paths> <PathID>1</PathID> <Path>C:\Test</Pa ...Show All
Steve Adams Error on adding custom section to roaming users configuration
Hi, I'm actually trying to write a custom configuration section class and use it to write into a roaming users file. I took the base code on MSDN Help, but the example works only with ConfigurationUserLevel.None. In my application I like to use ConfigurationUserLevel.PerUserRoamingAndLocal. In fact all works well, I can build the section object, and can attach it to the configuration, but if I try to set the SectionInformation.ForceSave to true ...Show All
wfillis C Style char array returned by an event from a DLL COM
I am using a DLL (COM interop) in Visual Basic 2005 and can not get the correct values returned from an event. The last argument is a variable length array of char that is returned as a pointer to the first element in the array. The only thing I get is the first byte no matter how many characters are to be returned. For exampe, if the returned value is 257 in two bytes, my value I get is 1. This is the event handler: Private Sub ads_device ...Show All
EricBrown How to catch the exception of remote server close down?
I have a client/server application using remoting. It works fine. But when I close the server, the client will become hanging over in the middle of an exception dialog(view details, continue, quit one) display. Only if I re-start the sever, the exception dialog become clickable and exception contents are displayed. It says the connection to the remote server is closed. The worst is I cannot using try-catch block to catch this exception. Who c ...Show All
Vinh Huynh blobs in datasets & datareaders
we are running into a situation where blobs were created using myCommand = mContextInfo.Connection.CreateCommand() myCommand.Parameters.Add("p1", OleDbType.Binary).Value = mData myCommand.CommandText = myActionQuery numOfRecordsUpdated = myCommand.ExecuteNonQuery() the command is either a "Update" or "Create" now a datareader retval = .GetBytes(Fields.Data, 0, mData, 0, mData.Length) always returns wh ...Show All
bchadraa SHould I Uninstall .net 1.1 and the 1.1 hotfix before instlaling .net 2?
Well, I already did but the Microsoft Update site now asks if I want to install 1.1 again even though I have 2 installed. I am not a developer. Anyone know You shouldn't (why do u want to remove it ), because there are a variety apps that use either .net 1.1. or .net 2.0. Two versions work fine together Just do what the Updater wants. ...Show All
