Software Development Network Logo
  • Visual FoxPro
  • .NET Development
  • Microsoft ISV
  • Architecture
  • Visual Studio
  • Windows Live
  • Windows Vista
  • Windows Forms
  • VS Team System
  • Visual C++
  • Smart Device
  • Visual Basic
  • SQL Server
  • Visual C#
  • VS Express Editions

Software Development Network >> Visual C#

Visual C#

New Question

createing something like MS word or notepad
timer problem
Application.Exit() not working
System.Byte[*]
C# Insert Statement
How do I return a value...
Trees
separate classes
How to get USB Bluetooth Adapter information ?
CodeDomProvider.CreateCompiler - need a replacement.

Top Answerers

mcglonec
mjl
Hilton Locke - MSFT
_gcvt
Allen Jensen
Forest
cheer.babe
Steve Metsker
Arno3456
Waiman Li
Visualization Toolkit
Only Title

Answer Questions

  • Ahmed Kuradi Query Database

    Ok. I am problem with querying my database. When I use the query command "SELECT * FROM TableName", then I have no problem. It shows the results as expected. But when I try to choose a certain field as follows: "SELECT * FROM TableName WHERE Song Name = 'Ben Stuart - A moment'; It doesnt work. Can someone tell me what the problem is Everyone's answer was correct. So I am not going to mark one as the answer. I would just like to let every ...Show All

  • Oridel OdbcException while query field after empty

    Dear All, I had encountered a strange problem. Take for example, if I had 10 fields in a record. If the third field is empty and the fourth field there are some values. I am not able to query the fourth field onwards. Upon querying it, it will give an empty exception. But I had no problem in retrieving the first 2 fields. I am using MySQL as my database. Can anyone please advise Thanks Part of my code is as follow: ...Show All

  • Yogita Manghnani - MSFT Calling a detail data form from a DataGrid row

    Hey all, This is probably a very simple thing to do, but I have searched far and wide and cannot find out how to do it :p, I am quite new to VS and C#, but have done some C++ programming in the past. My question is this. I have a nice little form with a a DataGridView, and I want to know how to make it so the user clicks on a row of the grid, and it opens another form in Detail data view. I don't know if this is a master / detail situation sinc ...Show All

  • venkyweb Generic: open constructed type vs. instance type

    On the one hand: Given the generic class declaration class List<T> {...} some examples of constructed types are List<T>, List<int> and List<List<string>>. A constructed type that uses one or more type parameters, such as List<T> , is called an open constructed type And on the other hand: The following shows several class declarations along with their instance types: class List<T> {...}    ...Show All

  • Solomon Lawrence Activating shortcuts

    hello anyone knows how can i Activate shortcut keys in vs 2005 for example Ctrl + E + C marks selected code as comments at my work, but at home it does nothing. anyone can help thanks From the main window, choose "Customize" from the main "Tools" menu. This brings up a diaog with a "Keyboard" button in the lower left corner. Select this and you can make a wide range of shortcut customizations. ...Show All

  • djjay0131 Accessing Network Drive with Credentials

    Not sure exactly how to go about doing this. I need to access a network drive programatically, but with set of credentials different then the ones the application is running under.  Any ideas IMHO, you cannot do that, it's managed by windows... hmm, that seems weird. Accessing a secured resource with credentials seems like something that should be pretty standard. Just not sure if I need to use a W ...Show All

  • Sorpor How do I test a button when running an event?

    I have a start button which runs a section of code continuously - how do I test the stop button while this code is running Nightmare_BE wrote: best practices for continous code is using threads 1. Threads <<< U should really try it, its easy and fun to work with. 2. Maybe try adding a event handler to Application.Idle event Thanks for the reply. This is my first few days of p ...Show All

  • anutan How to wait 2 minutes ?

    Hi I need to make my application wait 2 minutes before executing a certain method, how can I make it, what class do I have to use Is there a method to do that Thanks ! System.Threading.Thread.Sleep (2*60*1000); sleeps for 2 miniutes (the parameter is time in millieconds). but your app will do nothing, so UI will not respond. Timer example here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemthre ...Show All

  • Jose Luis Bellon IClonable deep vs shallow, best practise

    I have come across the need to distinguish between the creation of a deep and a shallow copy and with great interest I have read this article: http://blogs.msdn.com/brada/archive/2004/05/03/125427.aspx This artivle seems to hint that I should not use System.IClonable but instead define my own interface(s) for cloning. Now since this article is rather old and since they did not obsolete IClonable there might be a new "best practise& ...Show All

  • selfcomposed Why use Interfaces??

    Hi, I am finding it a little difficult to understand the significance of using Interfaces. Why and in what conditions would you want to use interfaces YOu still need to instantiate a specific class and pass its reference to the Interface to make it work. Why cant I simply use the class itself then Lets say if there is an interface ITestInterface and a class ImplementITestInterface which inherits and implements the ITestInterfa ...Show All

  • GunsmanJoe Ressources from another assembly

    When you use ressources from another assembly, how do you know what Name to use when calling a resource for example : pictureBoxUser.Image = (Image)rm.GetObject("add"); how do you know you have to use the add string to get an image of the add .... Maybe you know it by looking at the documentation of the ressource library Awesome! thanks guys! Hi, If you're talkin ...Show All

  • strombringer How to Register dll's

    Hi: Well I want to do a process, this process will register the softpub.dll, we can register manualy following the steps: start -> run -> REGSVR32 softpub.dll ->enter then i want to register the msxml3.dll, manually following the same steps but typing Regsvr32 %windir%\system32\msxml3.dll but, i want to do this operation automatically inside my application, how can i get this Thanx. P.S. if is possible to do t ...Show All

  • Jesse Beder no search results

    I had been using WDS with no problem, but since replacing my hard drive (I did a full backup then restored the whole lot to a new drive) I have not been able to get ANY search results from it.  The only other problem I had after the restore was with Office 2003, but after copying in the MSI files from the old drive this has been fine and I have had no other problems. I have re-indexed several times, moved the location of the index, removed ...Show All

  • VFRDave Is the media foundation the suitable starting point for my app?

    Hi, I am trying to write an app that does the following: 1. Displays fullscreen the input to a composite video/audio input of a video capture device. 2. Realtime overlays audio peak data in a VU meter style. 3. Is able to play only left-channel and/or right channel information from the stereo audio feed. 4. Is able to show realtime some equalisation information of the audio stream. e.g. a variety of eq ranges from some FFT on the ...Show All

  • Nathan Dolly get a list of all local drives?

    Anyone know how to get a list of all local hard-disk partitions using c#.net and winforms Directory.GetLogicalDrives() looks like a good start but that returns a list of all drives, including floppies, CD-ROMS and mapped drives. How can I separate these out from the local fixed drives It must be possible because if you go to Start->Search in windows xp there's an option for 'Local Hard Drives (C:;D:;H:)' or whatever. ...Show All

454647484950515253545556575859606162

©2008 Software Development Network

powered by phorum