Answer Questions
vandero How I can fill a DataTable with a DataGridView cell's data to insert that to SqlServer Database
hi Gurus; How I can fill a DataTable with a DataGridView cell's data to insert that to SqlServer Database. can i set like this DataTable dt= new DataTable(); DataGridView dg; dt= dg.Table or dt=dg. please help! if my question is stupid forgive me :) in order to answer you I need to know how do you have filled your datagridview DataGridView object shows data from underlying object you need to insert data f ...Show All
Kanika 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. The Player, does it implements the IWMPSyncServices interface I geus not. What is the type of the P ...Show All
Jonathan Allen Help
Hi everyone, I have a question, i am currently running VS 2005 and i want to connect to SQL 2000. How do i change the setting or anything i need to change in order for me to connect to SQL 2000. Your sincerely, Cindy Might I recommend that you read the sticky note on the forum about how to best ask questions In this case, your subject is not at all descriptive and will do nothing to attrac ...Show All
Lauren Lavoie - MS Output in console style possible?
Hi, is there an easy way to include a control in my Window to display Information in a console style I have seen installers using such a Control, but i don't know which language they are written in. Try "\r\n" instead of a single "\n" try this: textBox1.Multiline = true; textBox1.Height = 200; textBox1.BackColor = Color.Black; textBox1.ForeColor = Color ...Show All
bighog Active Directory Events
Hello. I need some help with Active Directory changes tracking. I find an example in MSDN, but it's in C++. So... How can I track changes from C# Has someone example code for this or similar task Thanks. Have you looked up the DirectoryServices class library in the .Net Framework Yes, of course. But I cant find any events there... Oh ok your looking for an e ...Show All
brickerman Asynchronous Sockets - BeginAccept
Im having some trouble with BeginAccept... each delegate runs for a while (Transfers data) and more than 2 delegates cannot run together, it quees the others automaticly, can I somehow change this default value of 2 Yes, but that is because you can have more then one accepting process on a socket. Can you explain it in more detail As far as i understand your question i could only say that you can't acce ...Show All
Andreas Hofer hi
hi , when i use datagrid and double click event how can i choose data from the datagrid that i want thx hi , i wanna retrive from the datagrid not 2 update it is it the same way thx Can you show me the code of that event I just showed you a sample code like you can get the value from that cell by using the following code this.dataGridView1[e ...Show All
ma1achai A beautiful language ruined by generics
>However you managed to arrive, you were instantly greeted by lines and lines of code barely recognizable as a member of the C/C++ family. It is true that templated code requires a little more knowledge to read than other C++ code. That's the difference between beginner and intermediate, IMO >Generics are a really simple concept - mainly syntactic sugar to deal with the lack of a unitary object hierarchy in C++. That's just p ...Show All
Aaron_Liu Desktop Sidebar using C#??
hi all, Can any one tell me how i can make desktop side bar..using Visual Studio.net 2005..Like the SideBar..Windows Vista..please Do any one have an idea about this issue..please help..using C#.. thanks very much.. Best Regards.. Thank you very much..it was very helpfull.. Bassam Basamad If you meain a window that docks in the working area like the Taskbar of windows or like Trillian.. then ...Show All
ShreyN Address bar - locked
my address bar will to type in the full name of a web site, but once complete it will not pull up the site, it stays on the main msn page. Like typing in www.miamidolphins.com - but while typing it will drop down and offer a list of sites, if i pick one of those I can go straight to the sight or choose from my favourites. but to actually type a new site name in the address bar and click go - it goes no where. how do I solve this i do have ...Show All
Steve Christe CodeDomProvider.CreateCompiler - need a replacement.
I am posting it second time today. For some strange reason the first post disappered after an hour or so. It is about the method: CodeDomProvider.CreateCompiler(). The method appears to be obsolete but it is used in a code sample I have copied from MSDN. There should be a replacement for this method. I would like to know what it is. Thanks. So, CodeDomProvider provider = new CSharpCodeProvider(); Replaces the "Provider&qu ...Show All
Rickyman45 Windows Service Setup
I need help!!! I have to do a windows service in Visual Studio 2005. I made the service, add tha project installer, and the SetupInstaller but it doesnt work... I cant see my service in windows services, also I try rebooting my PC... Thanks for help me!!! Have you installed your service using installutil.exe using visual studio command prompt. You have runt the Setup but the service doesn't get installed Do you run the Setup with a ...Show All
Thiago Holanda generics and COM+
Hi. It is possible to pass a generic type through COM+ Suppose that I have a IList<int>. How should I do it When I run regsvcs.exe it prints a warning message saying "Warning: Type library exporter encountered a generic type instance in a signature. Generic code may not be exported to COM." Thanks. I had the same problem. To help, my tip is downloading the wsdl and change all the tags nillab ...Show All
Julesy !!! IF MICROSOFT HEAR US!!!
I just saw another thread with "Can i make a app that doesnt use the .NET. The framework is too big 23 MB".. SO... Can Microsoft create a .Net Framework just for c# not for asp or j# or visual basic providing only the neccesary dlls Please!!!! Eh, the framework is for .NET; there are in my opinion no specific dll's for j#, vb.net, etc... The CLR uses IL, and C#, VB.NET, J#, and all other .NET languages are compiled to Intermediat ...Show All
Craig Spargo Faking sound from microphone with Directsound
Im trying to make a program to send sounds over voip and I need to make the voip-prg to believe they were said in the mic. (I dont want to use stereo because of system sounds etc) Here is what I got so far: Device d = new Device (); d.SetCooperativeLevel( this , CooperativeLevel .Priority); BufferDescription bd = new BufferDescription (); bd.ControlPan = true ; bd.ControlVolume = true ; bd.ControlEffects = true ; b ...Show All
