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

Software Development Network >> Visual C#

Visual C#

New Question

No clue about arrays, everything fails ...
Adding Button on Window Title bar
Bug in C# compiler with generics ? (BadImageFormatException)
Passing structure of type _RemotableHandle to map HWND in unmanaged DLL
Data Binding Architecture Question
Stored procedure not responding.....
Multi Threading
How to change the color of a substring?
Error executing myQuery.ExecuteQuery(...).
Settings Dialog Help Needed!!

Top Answerers

johnly Sam
KooKiz
swaroop.m
Justintyme
morixo
Lauriew
SriSamp
Martin Jensen
Carlo Bos
rosapdx
Absoft
Only Title

Answer Questions

  • Moojjoo Obtain the visible region of a WinForm ?

    How to obtain the visible region of a WinForm I want to know if some part of the WinForm is not visible because an other app is over, or be able to know if all the WinForm is not visible How can I easily do that Thanks. maybe you will find some useful stuf in here : http://msdn.microsoft.com/library/default.asp url=/library/en-us/winui/winui/windowsuserinterface/windowing/windows.asp have fun ;) ...Show All

  • Richard_T How can I cover the menu item's shortcut?

    Supposed I have a form with KeyPreview=true and a menu item whose shortcut is CTRL+C. Add a Textbox on the form. When I select some text in the Textbox and press CTRL+C, the selected text just can not be copied because system just call the menu item's OnClick event handler. And then how can I copy the selected text via CTRL+C, that is to say, how can I cover the menu item's shortcut Onclick event handler in some particular situations Your& ...Show All

  • Erik Jorman How to import a dll made in C++ Win 32

    Hello Everyone, I have a dll which is made in Win 32, as it is not an assembly neither COM can't be used as a refrence, so I have to Import it.... Can someone tell me how to do it...As when i do it asks for the entry point and secondly how to call the functions from that dll.....A brief example will be highly appreciATED... Thanks, Harsimrat Yes, I still have that problem...For testing purposes I j ...Show All

  • Ages_04 How to store list using Settings Designer (in 2.0)?

    Using the Settings Designer I can easily store individual items (string, int, double, etc...), but how do I store a list of items.  I used the Browse... selection to set the Type to ArrayList, but I couldn't figure out how to set the default value.  So, in the constructor of my main form, I added the following code... Settings.Default.MyList = new ArrayList(); Settings.Default.MyList.Add( "abc"); Settings.Default.MyList. ...Show All

  • edb Asyncronous socket could someone help me with this code

    public void waitForData() { if (socClient_ != null) { try { if (pfnCallBack == null) { pfnCallBack = new AsyncCallback(onDataReceived); } CSocketPacket theSocPkt = new CSocketPacket(); theSocPkt.thisSocket = socClient_; // now start to listen for any data... m_asynResult = socClient_.BeginReceive(theSocPkt.dataBuffer, 0, theSocPkt ...Show All

  • Marco H Code organization

    Hey all! I was wondering if there were any recomended plugins or macros for VS2005 that would help me sort and reorganize a C# code file Time after time I'm tired of creating a set of objects using the Class Diagram tool and having each field and property being written one after the other. I'd like to have all my fields grouped up in one region, Properties grouped up in a region, constructors together in a region, events, etc... Any g ...Show All

  • Paul-ish how to deplace a cursor from a textbox to an other

    helo how to deplace automatically a cursor from a textbox to an other thank you very mutch It's easy: textBox1.Cursor = Cursors.Hand; I'm bit confused with your problem statement. Incase you are talking about the moving focus from one control to next you can use SelectNextControl method. or else if you are talking about changing the default cursor of the textbox to another then change the Cursor property of th ...Show All

  • Smarty system tray

    Hi. How can send my programm to system tray. I write a clock alarm program and want when running go to system tray. Will u please place the source code for that.. because i dont know what is ShowInTaskbar and also i dont what is the use of that variable.. [edit] ... SON OF A! Beaten by a very small amount of time... :( Thanks for the link, i posted that today so it was easy to quote myself. ...Show All

  • KiAsU Working Progress bar

    Hi, i need some advice. I have a form which is being filled up with data from a database. Whilst it does this, i want to display another form that i have created as a working/progress bar on the top to show that the program is still working. I know i cant call the working form from the main form, as that locks it up whilst th working fom is open. I tried putting the working form in a seperate thread, however the result of this is that it no long ...Show All

  • gerich Screen( Image from Desktop )

    Hi. I want to take a photo from desktop of win.(screen of computer) or photo from a form or ....( image format) plz help me. Is there a class or component or ... for it Is it possible or no thanks. Here is a little list of resource, you must use P/Invoke and some external methods to accomplishe you goal, but with these resources it isn't to hard: Screen Capture in C# and GDI+ Screen Capture Utilit ...Show All

  • nvb2008 Interest in type parameter casting?

    Has any consideration been given to adding the abliity to use type parameters in casting public class Customer { } List<object> list = new List<object>(); list.Add(new Customer ()); list.Add(new Customer ()); list.Add(new Customer ()); List<Customer > list2 = list as List<Customer>;   Another thing you could do, instead of copying, is create a proxy c ...Show All

  • Jason T Primarily Care Web Application Problem

    Hi, I would like to know how can I run a ".bat" file trough my web application, I tried using process but it doesn't get the argument... Here is the part of the code.. System.Diagnostics.Process proc = new System.Diagnostics.Process(); proc.EnableRaisingEvents= false ; proc.StartInfo.FileName="C:\\Inetpub\\wwwroot\\Webshell\create.bat"; proc.StartInfo.Arguments="Pasta1 Pasta2"; proc.Start(); But it does not work, if I paste the comm ...Show All

  • talitore What are some steps to optimize a C# app?

    Mateusz My opinion: Measure, measure, measure. Without measuring there is absolutely no need for optimizing. As long as your suspicion about a certain performance bottleneck is not confirmed by something like a profiler, you actually have no idea what you are doing. Also, if you don't measure after making changes to optimize code, again, you are grasping in the dark. What did the chan ...Show All

  • Kunaal How to write "javadoc" in C#?

    Hello, Could anyone tell me how to write documentation in C#, like you do in java. And how do one compile and view this Thanx:) NDoc is Javadoc for .NET for more information go to SourceForge NDoc uses pluggable documenters to generate documentation in several different formats, including the MSDN-style HTML Help format (.chm), the Visual Studio .NET Help format (HTML Help 2), and MSDN-online style web pages. Hi :) ...Show All

  • David8756 Regarding inserting data without using datasource in datagridview

    Hi I am using datagridview. when one button is clicked i am binding the data by using datasource property. when click on second button i am clearing the datagridview and inserting new rows manually without using datasource. when i clicking the buttons alternatively it is giving error Rows cannot be added as datagridview is data bind. So pls anybody give solution it is very urgent. Thanks in Advance Bhargavi ...Show All

505152535455565758596061626364656667

©2008 Software Development Network

powered by phorum