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

Software Development Network >> Visual C#

Visual C#

New Question

C# program to a Windows palm desktop
Loading MDIChild into MDI Wndow from a Dialog
C# VS C++
Searching a byte array for a pattern of bytes
Command Window
Windows Forms application works fine on XP; falls over on Windows 2000
How to global a variable in C#?
RMO WEB SYNCHRONISATION
Fast way to Save DataSet to sql table in batch
create procedure

Top Answerers

KentNguyen
-D.-
Sthrudel
swfisher
pablog
nathan.wells
alanuiuc20
DaveL5
Keith Jones
__ted_glaza
Ev茅nements
Only Title

Answer Questions

  • Maddy_9 Disable button

    Hi, I want the following thing to happen: I have FORM1 and FORM2. When I push on a button on FORM1, FORM2 should open. But my problem is, that when I push again on the button, I get 2 times FORM2. How should I fix this Thx Thanks n0n4m3, your code works fine, but when I close FORM2, the button should open FORM2 again when I press on it. Hi, you don't have to use ShowDialog ...Show All

  • Bysani Static constructor bug?

    I'm not sure if this is a bug or just an ambiguity in the C# language. I haven't been able to find any reference to clarify it. It has to do with static constructors. We all know that a static constructor is called before any instance constructor and before any static members are referenced. However, I seem to have found a situation where that is violated: using System; namespace ConsoleApplication1 { class test { public test() { ...Show All

  • seanklindt How to convert Image files to stream...

    Hi, How to conver an image files like bmp, jpg, gif, tiff, etc into Stream or MemoryStream. The image may be from local disk or database like Northwind. Cheer. Image image = Image.FromFile( @"c:\image.bmp" ); using (MemoryStream stream = new MemoryStream()) { // Save image to stream. image.Save( stream, ImageFormat.Bmp ); } Thank you for your suggestion sir. I will have to create a seperate threat for my ...Show All

  • slcuster How to convert the string to byte in c# ?

    hello C# gurus, i am trying to convert string to byte using this code, but it gives error pls help me.. public static byte [] StringToByte( string InString) { string [] ByteStrings; ByteStrings = InString.Split(" ".ToCharArray()); byte [] ByteOut; ByteOut = new byte [ByteStrings.Length-1]; for ( int i = 0;i==ByteStrings.Length-1;i++) { ByteOut = Convert.ToByte(("0x" + ByteStrings )); ...Show All

  • davevb2005 tcplistener and services

    Hi, my question is very simple. Is it possible to create more of an TcpListener in the same service I did a service and I need that it's listening to two different port. I think that i only can to create one tcplistener in my service. Is it true What can i do to solve this Thanks a lot. Best regards. Here is a quick sample (I would never use this in production code as there are better ways of ...Show All

  • TPelkmans "unable to load dll" in IDE but fine to run

    I have a UserControl which references a managed C++ assembly M, and M has PInvoke functions from unmanaged Dll U. All work fine in VS .Net 2003. In VS 2005, it can still run well, but when I open the Form Designer for a form containing that UserControl, it shows "Unable to load DLL U: The specified module could not be found." Those dlls are in the same directory, and the project can run without a problem. Just the form designer c ...Show All

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

  • Ferdeen How prevent code from firing

    I have a winform that when I created the standard toolbar was added automatically by VS. I have some special code I am processing when I click on plus icon to add a record. I am experiencing a problem but I think it is because the code that would normally fire when you select the + icon is firing in addition to my own code. How do I turn this off so just my own code fires Well it's easy enough to p ...Show All

  • TomAStraw Current Form/Make form's size unchangable

    How would I make a form, the "current form". What I mean is that when you have more than one window open, one of them is the current, and the other ones are behind it.  Also, how can I have it so that a form's size can't be changed Do you mean you want to show a form and not be able to use the other forms Instead of: Form2 frm = new Form2(); frm.Show(); Use: frm.ShowDialog(); And to sto ...Show All

  • Rajesh Khater What's this error???

    When I try to changed the name of the control then I received this kind of message. "The name cannot be changed when there is a reference in the markup. Do you continue " Does anybody know where to fix this problem Thanks and Regards, Julia Hi zapacila89 , Thanks for your response. My problem is ok now. When I opened my project again, then the problem goes away.. ...Show All

  • IcezRiku Find Dialog

    Is there a FindDialog in the library   If so how do I implement it I found the FontDialog,OpenFileDialog,SaveFileDialog. I'm real new to C# and VS.  Old Dog learning newtricks= lots of barking in wind. Thanks, Mike Hi, I don't think there is one built-in with .NET framework (correct me if I'm wrong) to show FindDialog and FindAndReplace dialog windows. You have to implement your own us ...Show All

  • shrek2006 accessing outlook 2000 using c# with out MAPI & without COM

    actually i want to access outlook in c# application. means i want to access all mail items in all folders with out MAPI. can any body suggest with .NET components. Hi Sivaji, I appreciate your prompt response. : ) If you have any other concern, please feel free to post back. I am always very happy to be of assistance. Have a nice day! Best regards, Peter Huang Hi Sivaji, Based on m ...Show All

  • schalmeti String question

    How to parse the text which I get form the richTextBox1, so I could get all the strings closed by " " and put them to the richTextBox2 I thought it should be easy, but get stuck. So any help will be appreciated. I'm using switch/case, because I have to add more cases later(numbers, letters, comments and other characters). So here is my code... richTextBox2.Clear(); string s, rezultat = "", result = ""; s = richText ...Show All

  • rogerdubie using keywords

    Hi everyone, I have some doubts about the usage necessity of using keywords. Instead of using this keyword, it is enough to only add the packages into our Assembly(DLL files), so inspite of this, why do some programmer do both of them(add the packages into Assembly and also use using keywords for these packages). Thanks, Mert Thanks very much for your reply again and now I think I kept the idea. So if we want to use any class; (for instn ...Show All

  • Chester West Strange behavior C# compiler on internal members

    Hi, I encountered a strange phenomenon when reflecting over some public members of internal types. According to the C# Language Specifications v1.2, paragraph 3.5.2 on Accessibility domains it holds that "If the declared accessibility of M is public, the accessibility domain of M is the accessibility domain of T". Here 'M' is a member declared in type 'T'. According to this definition I'd expect declared public members to be compiled as internal ...Show All

525354555657585960616263646566676869

©2008 Software Development Network

powered by phorum