Answer Questions
Leon Han hint in controls
good afternoon How could I put hints in my visual controls In Delphi I used to putting in hint property, but in C# I couldn't find this property. Thank You, Ederaldo Ok, but with property math with tool tip. In textbox, for example, I can't find this property. Remembering, I'm using CSharp. Thank you You mean hints like info shown when mouse hovers over a control. Tool tip is the property for it. Add text to ...Show All
Emily Carlson how to insert a new line programmatically in a richtextbox control?
in my form load event i want to set \n newline rtb.Rtf = string1 + \n + string2 + \n + string3 the output should look like this: string1 string2 string3 i got it, i added these lines: if (i == 0) { toAppend = "\n\n" + rtb2.Text .ToString(); } else { toAppend = rtb2.Text .ToString(); } string string1 = "Line 1" ; string string2 = "Line 2" ; ...Show All
MikeP2 Typing in Visual Studio 2005 Text Editor is extremely slow
Has anyone else noticed that typing in Visual Studio 2005 is extremely slow Whey I type it seems that the screen is always 2 words behind where my hands are. It makes it extremely frustrating to get anything done. I'm mainly referring to C# code. It seems like Intellisense is going nuts trying to guess every word I'm going to type and never actually prints the characters to the screen. Has anyone else experienced this I ...Show All
Santiago Acenolaza compile C in C# .Net?
I couldn't find anything in the searches, but is it possible to compile straight C code in C# .NET Not C++, just plain C Thanks! C# 3.0 hint: asm { } in C was pretty nice to directly put in assembly code into a C application. Maybe a c/cpp { } The Happy Friar: For now, you can build unmanaged C/CPP files and call them externilly from your managed app. Just a thought :) ...Show All
Cos Published VC# 'setup.exe' fails.
My project runs with no errors when started from the IDE with or without debug. I am publishing it to the desktop, and is intended to run from cd, with no upgrades. It publishes with no errors, however, when I execute 'setup.exe ' I get the following error message: "project name" has encountered a problem and has to close. try adding that file to your bin directory hth, mcm PS is t ...Show All
Bhawna Gupta PInvokeStackImbalance was detected
Hi, I keep getting this error when I try to run my project from the IDE.This does not happen when running the exe. The details specify that the Stack Imbalance was detected in a third party dll which I am using. How can I fix this. Thanks, tribal A call to PInvoke function ThirdPartyDll!Namespace.ClassName.NativeMethods::ImageList_DrawEx' has unbalanced the stack. This is likely because the managed PInvoke signature does not match th ...Show All
TomL Upload files to SQL
I'm using string strTipo = arquivo.PostedFile.ContentType; if (arquivo.PostedFile.InputStream.Length < 2147483647) { int intTamanho = Convert.ToInt32(arquivo.PostedFile.InputStream.Length); string [] quebrado=arquivo.Value.Split('.'); int ultimo=quebrado.Length-1; string extensao = "."+quebrado[ultimo]; byte [] byteImagem = new byte [intTamanho]; arquivo.PostedFile.InputStream.Read(byteImagem ...Show All
narechk event
ok i read 1000 articles about events, they are all saying how to do what to do and i think i got that reall good, but still remain one big clarifing question: On click event how does even the event know that the user clicked the mouse yes correct i didn't do that but i think for example if you write your own control and you want your control to raise event for click you have to hook up your onclick event with the message that widows ...Show All
Richard B. Lewis Importing a CSV file: SQL Server 2005
I am finding a lot of explanations about procedures on how to import a CSV file, none of which actually tell you how to do it. Where is the DTS import tool in SQL server 2005 What menu do I use, how do I get to the tool R Weeden ...Show All
paddyprash application and working .Net Framework version
I have one questions, i am writing applications like almost everybody else, and i want to know if there is a utility that can verifie which .Net versions that program will run on. Also, by using MSBuild Configuration, i can configure which .Net framework version i want to use to debug my program, however i have .Net framework 1.1 Installed but it is not located in C:\Program Files\Microsot .NET\ and neither is 2.0 Beta 2. Please help me here a ...Show All
timdilbert When Using a "C" style comment /**/ how do I disable the automatic * on every line?
How do I disable or stop the IDE from adding a new * on every line after hitting the enter key when I am creating a "C" style comment /* * I don't want this line to start with * * I don't want this line to start with * **/ Like This: /* My comment is now easier to read. Because, there is no * in front of every line */ Thanks, at least I don't have to knock myself out trying to tu ...Show All
Paul Revere Using a C# dll in VB6
Hi, I would like to know if it is possible to use a dll that has been created in C#, in Visual Basic 6.0. If so it would be great if you could let me know how I can make this possible. Thanks & Regards, Frenz Frenz, The problem is that you are mixing up two different object types. The C# function is looking for a SystemException object, and the VB6 app is sending the VBA.Err object. What you need to ...Show All
shellymm QueryInterface in C#
In Windows Media player SDK the way to obtain IWMPSyncServices interface looks like spSyncServices->get_deviceCount(&cAllDevices); but how to do this in C#. I tried to do IWMPSyncServices ss = null; ss = (IWMPSyncServices)Player; But I have exception on casting. That can I do Thanks. AxWMPLib.AxWindowsMediaPlayer I know. Does anybody knows that implemetn ...Show All
MSTIDragon program crashes when other users run...
Ok, I created a simple program the other day with nothing complex. I have already been using it for a week or so and now another user wants to run this application. That is when the program crashes. The error I get when debugging is: An unhandled exception of type 'System.ComponentModel.Win32Exception' occurred in System.dll It works normally when I (Administrator) run it but when I run it as another user (both Guest and Limited) the program ...Show All
Mule Socket Question
I followed the MSDN example for Asynchronus Sockets. It seems to be working, but I'm having a few issues on how it works. Basically I have two Flash clients that connect to the socket server. I want to be able to send a message from one Flash client to the other. I have been successful in wrtining to the socket and returning the data to the client that sent the message. How do I get the other client to recieve data that is sent to the socket. Is ...Show All
