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

Software Development Network >> Visual C#

Visual C#

New Question

new features
controls from another form
How to prevent a form from being activated/gaining focus.
Need help on basic operations with data from data sources
Programming Languages Design
The program made by VS.NET 2003 with .NET Framework v1.1 can run under .NET Framework v2.0, right?
Collection
Unrecognized configuration section 'connectionStrings'
Visual C# Express Edition Right | Left Justify
scrollable datagrid

Top Answerers

moshebs
JackG
RowdyData
pcoelho
Mirsad
zeOlivier
John Dekker
Zueriva
Carney
MochaSoft
And the Berlin Prize for the Most Insane Frenzy of Bloodlust Goes to
Only Title

Answer Questions

  • Thomas Norlund Runtime Property Value Changed Delegate

    I need to add at runtime a delegate for monitoring when a property value was changed example form1.BackColor = Color.Red; i need that execute the following method void backColorChanged(..) { } Bye and excuse for my bad english As a quick hack you could add a timer and check the property for a change each time it fires... You can wire the Form.BackColorChanged event to get notified when the backcolor ...Show All

  • JLeBert Reading Registry Key

    I am working on a C# application that can take a computer name and connect to that computer over the server and check several of the local security policies and create a log of what policies are incorrectly set.  In a nutshell, it is an automated way of going through a security checklist rather than manually looking at each policy at each computer.  I am currently trying to read the "Audit Policies" such as "Audit Policy Change" etc.&n ...Show All

  • NewKiwi 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

  • Nat81 Publishing My Project C# Express (August)

    When i publish my project to The disktop, i get an error when i try to Click on setup, the following is the Error Text ----------------------------------------------------------------------------- PLATFORM VERSION INFO     Windows             : 5.1.2600.131072 (Win32NT)     Common Language Runtime     : 2.0.50215.44     System.Deployment.dll ...Show All

  • Jacques 316 boolean expression evaluation

    Hi, is there any better way to determine whether the expression is true than putting it into the DataTable and perform Select Currently solving like this, but seems quite expensive to me: string var = "2" ; DataTable eval = new DataTable (); eval.Columns.Add( "var" , typeof ( string )); eval.Rows.Add( new object [1] {var}); string expr = ">1" ; return  (eval.Select( "var" + expr).Length > 0) ...Show All

  • Brad11 String Manipulation. Substring

    Hi, I need to know how can I transform the following string:           string recv = "Matthew:White:13:044532453";                       Note the colens (:) in the string to the following four string:                  ...Show All

  • Jérôme Bonnet System.Web.UI namesspace compile time error

    I am getting this error out of "using System.Web.UI;" declaration: The type or namespace name UI does not exist in the class or namespace 'System.Web' (are you missing an assembly reference ). I am using Visual Studio 2003 C# .NET designer. My system is Win2K Pro. I want to ultimately use class TableDesigner in my application.  Accoring to the .NET Framework Class Library the requirement for TableDesigner class is NAMESPACE (!) System.Web.U ...Show All

  • tadam - MSFT Releasing and Excel Object

    I have creaated an excel file in my code and access, populate and download the Excel object fine. After the Download occurs, I need to Delete the file on the Server. I Close the sorkbook and THe file with the code below. However when I delete the file I get the exception that says the file is in use by another process. Any thoughts from anyone on how I release the file before Deleting it objExcel.Workbooks.Close(); objExcel.Quit(); ...Show All

  • Rey_S2006 When does the return return the value

    Hi All! I thought I had this figured out but maybe not.......... Does the return exit the function at the point where it is at ,, or does the return hold the value tell you finish the functions.... Please set me straight cause =================================== if I use this it returns a false all the time//// if ((KeyValue->ToLower()) == "accept") return true; return false; ; ==================== ...Show All

  • Hafiz Basharat comunication between to diffrent programs

    Lets say i have 2 programs.. The first app has a textbox and button same as the second one I start the both programs .. Is there a possible way to send some text form my app1 and write in the textbox of the second one Sure, you can use Remoting or any of the IPC mechanisms listed here. http://msdn.microsoft.com/library/en-us/ipc/base/interprocess_communications.asp Take a look at some of there articles: Real Time TCP/IP usi ...Show All

  • John Ketchpaw Having troubles with Randomness

    I am new to these boards so not sure if I should post code snippets or how you guys handle things. Basically the issue can easily be seen here: http://www.thecodeproject.com/csharp/CsharpMersenneTwister.asp If you don't have an account there you can just download the binary called the demo. When you run this simple dice program you can see that it always has the same results. Do so by running it, memorizing the number of rolls for each ...Show All

  • saravanan_Vv Printer class that was complied work well in C# with forms just copy this its the entire code for the class

    I can print text if i do a e.Graphics.DrawString(......) My problem is that I am trying to print to a card printer, and usually it checks what text it is printing, and if it hits a '~' it then encodes the magnetic stripe. When i print from Microsoft word, or Access, it works fine because text is sent to the printer. But using "PrintDocument" object and drawing to a bitmap, it is unable to parse the text. Any ideas on how to print text ...Show All

  • LosManos How do I change the text on a Command Button at run time?

    What I thought would be "straight forward" code has become something very much more so.  Can someone please enlighten me I'm getting a rather confusing error: "Cannot implicitly convert type 'string' to 'bool'" Where did the Boolean come from private void buttonAdd_Click ( object sender , System . EventArgs e ) {      if ( buttonAdd . Text = "&Add" )     {   &nb ...Show All

  • PFlorenzano Button_Click Event

    Ok. I have a button that needs different click events at certain times. I think the code for that is button1.Click = new EventArgues or something like. Can someone please explain to me how to do that Hi, Instead of creating new Click events, why not just make a simple logic (if and then's) on your click event It would be much more simplier. But if you really want to do this, take a look on your designer code. In your Solution Explorer&nbs ...Show All

  • Shaun Collett HOW TO USE "FOR UPDATE" in DataAdapter

    I am using DB2 Database. Due to the performance issues I want use "FOR UPDATE" to update the records in DB. Suggest me a way how to use “FOR UPDATE” in DataAdapter. you're very welcome! Thank you very much. Hi, As i know "FOR Update" is an optional clause in SELECT statement to check if the resultset is updatable or not. I think you need to write the sql command to check how you can deal with it. Any way usin ...Show All

757677787980818283848586878889909192

©2008 Software Development Network

powered by phorum