Answer Questions
Swami Pete "a" and "§" --- What's this ?
Hi PPl, Have any body got Idea about the special character "a" & "§".what's the usage i found this in a Web Service. It goes here, { strReturn += PwdReader["STAFF_ID"] + "a" + PwdReader["EMPLOYEE_CODE"] + "a" + PwdReader["FIRSTNAME"] + "a" + PwdReader["LASTNAME"] + "a" + ...Show All
Neil I Using fields as parameters in a method
I have a requirement in a project to build a history. No biggie, but there are dozens of bool fields and processing each one is very time consuming. My approach is to add a field name to an arraylist when the property is changed. OnSave() or Dispose() I look into the object and check to see if the field list is empty or not. If not, I process the list looking at each item comparing it to a clone of the original object so that only true change ...Show All
Mr_Amit_W Browse database and select rows / Web service browsing
Hi, I'm developing a data analysis application and I am having hard time with advanced data import/export. The scenario I'm trying to cover: the user connects to a database, browses the content (a tree with tables as nodes, columns as sub-nodes) and then drags (ideally) a column to a datagrid window. Then he can manipulate the data and eventually save it back to the db. Now, how can I browse the table structure of a database and do the drag& ...Show All
Florian Rakic How to record audio...
Does anyone knows how can I record and reproduce(the recorded audio file) audio, from the microphone Thanks ok, but that I need is to record the audio fisically Thanks anyway someone else was asking this question.. Your microphone will send data to your sound card.. so you will need to get data from sound card.. process it and save it.. My post in this article contains some links to articles that will help you to retriv ...Show All
SBurre WebClient
Ok. I want to download a file from a server to a specified location using the WebClient.DownloadFile() Method. I also have a progressbar. I want the progress bar to increment in value continuous to the actual progress of the download. Can someone tell me how to do this Add an EventHandler to the DownloadProgressChanged event and increment your progress bar there ala: wc.DownloadProgressChanged += new System.Net.DownloadProgressC ...Show All
kerm007 Preventing decompilation!!
Hi, Can someone tell me how can I prevent decompilation of assemblies created in .NET. Are there any freeware softwares that makes this happen. Please provide me the download link of these softwares, if there are any. Thanks, Frens Another option is .NET Security Suite. Features list: Name Obfuscation (with exclusion options) String Encryption Value Encryption Control Flow Obfuscation Checksum ...Show All
emmie GetModuleHandle(null) equivalent in C#
Currently I'm using DLLImport for the method: GetModuleHandle( null ) I would prefer moving away from it. Does .NET have an equivalent There's a method: RuntimeTypeHandle.GetModuleHandle () but that's not it, or is it Actually I found a solution: Marshal .GetHINSTANCE( typeof (MyClass ).Module) I didn't see PJ's reply as sarcastic. It's worth pointing out that your solution doesn't do exactly the same thing as ...Show All
TKTOCK Passing a datareader back to UI
Hi experts, I have my ui screen call my business logic layer which in turn calls my data access layer that creates a datareader. I am using the following code to call through the layers: clientManagement.GetClients(out cimmsClients) cimmsClients is defined in the ui page as IDataReader. when I get to the dataacces layer creation of the datareader is fine, however when I return the datareader it is closed. here is the data access layer code: pub ...Show All
Dan-psg Noob in C# having problems calling dll made in Borland Delphi 5
Hi, Im totally new to C#, but Im thinking about "converting".....I have the following problem: I have created a C# application from which I call a .dll I made in Borland Delphi 5, the call works fine, the dll does what its intended to do, the problem is that when I close the application it continues to "live" in processes. This is the code I’ve used (Im showing entire code since its very possible that its something ...Show All
Ashish.Net Unloading an Assembly
Hello, I read in one of the Blogs that an Assembly cannot be unloaded. It has to be loaded into a AppDomain and then unloaded. I have tried that. Take a look at the following code. AppDomain newDomain = AppDomain.CreateDomain("NewDomain"); Assembly myAssembly = newDomain.Load(AssemblyName.GetAssemblyName(assemblyPath); After doing Reflection on myAssembly, I used ...Show All
haihtomy Identity Expected error?
Hi, I am new to .NET development and received the error Identity Expected today while doing some work. I don't know what would have caused this error can you help Thanks, Can you give a little more detail on when this happened E.g., was this a build error (and if so, paste the whole error if possible), or a runtime error The more details you provide the better. Thanks, Josh Lindenmuth ...Show All
Deepak Patel Increasing an array dynamically
hey there, I want to declare a single dimentional array somewhere and then increase its size dynamically inside a foreach loop. e.g.: //declare array2 foreach int i in array1 { //increase size of array2 } you can user the array list for this .. private ArrayList m_list = new ArrayList(); steve www.igetcertified.com You can use the ArrayList class, this array ...Show All
s3ng controls from another form
how can i change the text property of a textbox in form1 from form2 i have two forms: form1 and form2 in form2 i have a textbox and a button and in form2 i have a textbox. what i want to do is when i click the button from form2 the textbox.text from form1 will get the textbox.text from the current active form form2. hi, you can do this like // in form1 button private void button1_Click( object sender, Event ...Show All
ruchigup sorry for this dumm question (noob)
I dont know what is SDK Sorry i think i the dummest question but i really dont know Thanks VS 2005 has some SDK hi, mmmm you can think of framework as 2 sides, producer and consumer, the producer of classes is sdk and hte consumer or the program that use it is the framework that you have as long as you use the predefined classes you just use framework, if you want to develope some classes to fit your own desire you need the ...Show All
Ferryandi CSC error when serializing as Windows is shutting down
I have an application that saves data as an XML file when the application exits. There is no problem with this process when the application exits. If the application is running when Windows XP is shut down, I receive the following error box: csc.exe - Application Error The applciation failed to initialize properly (0xc0000142). Click on OK to terminate the application. What can I do to serialize out the data so I do not recieve this err ...Show All
