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

Software Development Network >> Visual C#

Visual C#

New Question

Lines between methods
New C# Features in Beta 2?
C# Help
InvalidCastException while using IL and Delegates
Buttons Backcolor in C# 2.0
How to get the path of a process
Access Web Form member from it’s hosted windows user control
USB Connection
real time paint
where i can find it to download?

Top Answerers

PGT
WBR
DJTomKat
antointhe
grybyx
Adem Çiçek
Kevinadian
Andre Borchert
Radu Margarint
JosMojoRising
Blenk Software
Only Title

Answer Questions

  • Art Gardner Application settings.

    Hi,   We have a class library application that needs to read some application settings from app.config file.   In .NET V2 we have typed application settings. Considering the fact that ClassLibrary.DLL reads the main application’s config file, how can a ClassLibrary.DLL project have access to the main application’s typed config settings   Thank you, Alan Take a look at http://for ...Show All

  • Michael_B parameter descriptions/attributes

    Does anyone know the attribute to assign a description for a parameter of a function or method Example: int x = 0; x. intellisense pops up with the description of the x.Parse or whichever method selected, i got that, how to do the same for the parameters of the function or method Example: x.Parse( intellisense pops up with a description of the parameters, in this case: s: a string containing a number to conver ...Show All

  • ZuesBigglo editing resource files

    I am using a ResourceManager to retrieve values from a .resource file. I would like to be able to update the values in the file from within the application. Can this be done How Thanks. BioGeek wrote: The problem with a ResourceWriter is that it does not have a method to change the value of a resource entry. It only allows you to "Add" a resource and if that resource already exists it t ...Show All

  • Drazen Dotlic Assign string to Shortcut

    Peace on you I want to assign string to data type enum shortcut As: string x = "Ctrl + A"; Shortcut sh = x; how i can do this With out error thank you thank you very much cgraus i cannot implicit convert from string to enum.. "string x='Ctrl+ A'" this will only create the string.. but ctrl has a specific Keycode and A has difrent keycode Sho ...Show All

  • Segua Auto Posting Web page

    i need to have a Web page automatically refresh itself every 5 min without any user intervention. It contains a datagrid,a code behind file and displays data from a MSSQL Server DB. Thank you for your support <META HTTP-EQUIV="REFRESH" Content="20; URL =Page.htm"> This will refresh every 20 seconds. Dan Thank you for taking the time, it worked perfectly! Muchas g ...Show All

  • Shoaib Aleem How to dynamically Create huge grid of editable textboxes at runtime..Help..

    I'm working on a windows program that will open a tsv (tab seperated file) and store the values into an arrary and then put these values into a grid of textboxes where I can edit the values. I got to the point where i parse the text files into the arrary fine and I can put the values into the grid of textboxes.. but Im creating a grid of 12 X 100 which is 12000 textboxes i manually have to put into the form through the IDE. There has to b ...Show All

  • Alain Dupont Event for when window is done moving?

    Hi, I had a question about the Move event for the Form class. I have a window (Form1). I can of course move it around and I can monitor its position from another window (From2) by "subscribing to the Move event or the LocationChanged event. But is there a way to know when the user has stopped moving Form1(left the mouse after moving the window around for a bit) from Form 2 I would like to do this without using something like DX Input ...Show All

  • Turbond why nothing is happenning?!

    i am using this code to try to ping but nothing is happenning..why string ip_address = "192.168.1.2"; Ping pingSender = new Ping(); PingOptions options = new PingOptions(); // Use the default Ttl value which is 128, // but change the fragmentation behavior. options.DontFragment = true; // Create a buffer of 32 bytes of data to be transmitted. string data = "aaaaaa ...Show All

  • boilface Custom control draws incorrectly when moving another window over it.

    This issue has seriously frustrated me. I am overridding OnPaintBackground to draw a gradient background in my custom control. It resizes great - very smooth, no flicker. When I try to move another window across it, it will repaint itself repeatedly... but it will repaint the area that was hidden by the window as if it was the entire control. So if I am starting the gradient from blue to green...When I move a window over half of the control, an ...Show All

  • Brad Rhodes - MSFT Updating Intellisense

    I need to be able to add things to the intellisense.  I am working on adding things to the XSL/XML intellisense, but i need to be able to parse the XML/XSL file i am working with and add things to the available dropdown (to make it easier on me and everyone else in the group).  Are there any sugegstions on how I can even get started with something like this   I can't seem to find anything on updating what's available in the intell ...Show All

  • SaulRodriguez Searching a byte array for a pattern of bytes

    I am reading a binary file into a one dimensional byte array. Now I need to search that array for a pattern of bytes. In other words, this is the equivilent of String.IndexOf() I want to search the binary array and return the index of the subvalue that I searched for. For whatever reason, I'm having trouble wrapping my head around this. Can anyone give me an example of how to achieve this byte[] b = new byte[AnyLength]; for ...Show All

  • Shasur connection string in asp.net?

    hi how can i make the connection string for a microsoft database in a web site in windows applications i donnot need to mention the path so the application assume that the database is in the same path of the application but what about in a web application thanks for help hi sorry ,i mean microsoft access database away from storing the connection string in a configuration file,my question is how ca ...Show All

  • eugene.z locking write access to generic list

    Hi, I have a generic list that is accessed within a method for write access, as well as in a timer triggered method. The problem is when the timer triggers at the same time as the other method is triggered I get a CollectionModified exception while iterating through the collection. Thus I'd like to know if there is any way to lock the write access to the collection while one method executes and accesses it Thanks, Tom ...Show All

  • schandrau more easy way?

    Im trying to like generate random numbers but in the process make sure none of them are the same heres the way i do it. My question is is there a more easy way to do it and faster int a = random.Next(1, 55); int b = random.Next(1, 55); while (b == a) { b = random.Next(1, 55); } int c = random.Next(1, 55); while ((c == a) || (c == b)) { c = random.Next(1, 55); } int d = random ...Show All

  • Dean Perry Ampersand

    Hi, I'm having trouble with an ampersand in my URI. I'm working in a winform with a webbrowser. This is my code: String test1 = "http://serv/reportserver /CUBE/CUBE02&rs:Command=Render&Budget=[Budget].[N Budget]."; String Testen = test1 + "%26[1]"; (%26 is the same as &) webBrowser1.Url = new Uri(Testen); When the browsers opens he converts the url to : http://serv/reportserver /CUBE/CUBE02&rs:Command=Re ...Show All

141516171819202122232425262728293031

©2008 Software Development Network

powered by phorum