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

Software Development Network >> Visual C#

Visual C#

New Question

Any good examples of how to use Applications settings
C# Process Events
i need help with basic things
Form2Form Problem in Visual c# Express
Please help (saveing/opening data)
Running programs from a windows service
Hiding WDS system tray icon
connect to a remote database
How to implement add or remove of event
Subtracting DateTime.Now.ToLongDateString()

Top Answerers

mutex
MOSJIM
ljCharlie
GBH123
Declan_
Jay Mertin
maldakkak
David Springate
Sivakumar Narayanan
hillarie branyan
XS Consulting Group
Only Title

Answer Questions

  • Sinem Cannot access a disposed object Error

    I am getting the following error when I try to switch to a form view on certain occasions: Cannot access a disposed object. Object name: 'DesignFrame' I can't replicate the error on demand - it just happens now and again.  When it happens, I need to use the Task Manager to stop the program.  Anyone know where the problem is   Thanks. This has been reported before: http://lab.msdn.mic ...Show All

  • RBS - DavidR replacing windows form

    Hi, I have created a windows Form application fo MS Word (add-in application). It must be located exact where the task pane of MS Word located. My problem is when you use a big monitor (bigger than 17") the form is located where it must be. but if you use a monitor less than 17" for example a little labtop you can see almoste half of the form. Is it possible to replace and change size for a windows form in view of the monitor o ...Show All

  • Brian Welcker Creating Events in C#

    Hello Everyone, I have something like this in C++ enum { READ_EVENT, CLOSE_EVENT, NUM_EVENTS}; int run() { _events[READ_EVENT] = CreateEvent(NULL, FALSE, FALSE, NULL); //unnamed _events[CLOSE_EVENT] = CreateEvent(NULL, TRUE, FALSE, NULL); //unnamed if ( _events[READ_EVENT] == INVALID_HANDLE_VALUE || _events[CLOSE_EVENT] == INVALID_HANDLE_VALUE ) { return false ; } private: ULONG _refcount; HANDL ...Show All

  • dizzyjay 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 Take a look at some of there articles: Real Time TCP/IP using C# - The Code Project - C# Programming Introduction to TCP client server in C# VB.NET TCP Client - Server Socket Communications Client Server Multithreadin ...Show All

  • Mark Bennett Bug with SplitContainer Continued IE Functionality from Previous Post

    ok everything is working fine except for a minor bug i'v been trying to figure out..here is the layout.. SplitContainer 1"Docked Left Side" and will Cover up the RichTextBox.. SplitContainer 2"Docked Right Side" with a Menu and a TreeView..Panel 1contains TreeView ,Panel 2 Contains Small ToolStrips with a Single Button... Top menu Strip but everything thier is fine.. SpliterContainer 1 - Panel 2 Contains the WebBrowser Docked to Fill ...Show All

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

  • Richard Willis Closing a Web Form Using Visual C#

    I am doing an assignment for a class where I create a web form and one of the buttons in it has to close the form. I am using Visual Studio .NET 2003 and Visual C# to do this. I can't find any method or property on how to do this. I tried this.Close() and it came back with an error. Does anyone have any code sample or know the method on how to have a button close the form Are you trying to close the browse ...Show All

  • Jim Reyne How to send an object by TCP?

    Hi, How can I an instance of any class by TPC. I've found how to send a string using System.IO.StreamWriter, but I have to send an object (instance of a class I've written). How to do that Hello Wojteq. What you need to look into is Serialization. A tutorial can be found here Then You would need to take the output from the Binary Stream and send that through your sockets. Ideally, before sending it you would ...Show All

  • Robert Bruckner MSFT Unassigned Local Varibles

    trying to enter five numbers and get the average of the five number i enter...here is what i got so far using System; class Average { public static void Main() { Console.WriteLine("Enter five numbers"); int num1 ; Console.Write(num1); Console.Read(); int num2; Console.Write(num2); Console.Read(); int num3; Console.Write(num3); Console.Read(); int num4; Console.Write(num4); Console.Read(); int num5; Con ...Show All

  • Shannon Braun - Sysknowlogy Running C++ from a C# app (.NET detection)

    I have a c++ script which detects if .NET is installed and what version. I would like to put this c++ script in a C# .NET app so every time someone tries to start the C# app, the c++ code is run, and then the C# app is started if the c++ code returns true. Can I use the c++ code in the C# project Or does this code need to be based outside the project, and it will have to trigger my C# app My only goal is to give the user a nice Message if ...Show All

  • Danielson317 How to Display Multiple Image on a main PictureBox control?

    Hi everybody,   I having trouble of displaying multiple instances of picturebox at runtime. Every time the user click mouse on particular area of main picture box control (contains an image), a Red Dot image appears, so clicking multiple times on different areas will display multiple Red Dot images (contain in PictureBox). And when you click same existing Red Dot image it will disappear or canceling that red dot on that location. I am also ...Show All

  • jbrunken Detecting Devices Using C#

    Hello, I'm attempting to determine several things from within my code: 1) Does a laptop have a SD Card slot 2) If so, how do I detect if a Card is present 3) Does a laptop have a USB port 4) If so, how do I detect if some other type of storage device is present I have searched quite a bit on these topics and have not found anything that seemed useful. Can anyone give me some hints, pointers, examples.... anything, please Thank you in adv ...Show All

  • Stephen Rakonza MSFT DllImport - EntryPointNotFoundException

    hello.. I tried to load a function from a dll file that has a function with specification as below: return type : int *pResult parameter 1 : BSTR string1 Parameter 2 : int integer1 Parameter 3 : VARIANT_BOOL bool1 and in my code, that's what it looks like, [DllImport("myDll.dll", EntryPoint="function_name")] public static extern intPtr function_name( [MarshalAs(Unman ...Show All

  • Orantho Diff Between Web and Window Application

    Hi All, Please explain me in details, What are all the limitations of windows and web applications Awaiting for your reply! Thanks in advance Regards, Sriram I'm afraid that this question is far to broad and detailed to answer reasonably on the forums. Please refer to the MSDN documentation for .NET instead. MSDN provides recommendations, warnings and guidelines about chosing the type of application to write (we ...Show All

  • PatrickEh How to add progress bar to status bar

    Hi all, Does anyone know how to add progress bar to status bar Please help. If possible, can you give me some sample code Thanks Hope the below mentioned link helps http://www.dotnet247.com/247reference/msgs/12/62892.aspx IIRC you can add a progressbar in ToolStripStatusBar, just like menus or labels. I'm not on a machine with VS, so I can't double-check ...Show All

424344454647484950515253545556575859

©2008 Software Development Network

powered by phorum