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

Software Development Network >> Visual C#

Visual C#

New Question

Instantiation of object in C#, physical memory concern.
MS Access DB for user logon details
Abort a Thread
Set cookie from IE hosted windows user control
Components and their parents
Question about class design best practice
Typing in Visual Studio 2005 Text Editor is extremely slow
can someone convert this snipet of VB to c#?? Just Some Simple one (basics)
Windows Media High Definition Video
Creating a wizard by using Microsoft.WizardFramework

Top Answerers

ns-keip
DarkSlice
Zephyr_Yi
David Mitchell
Green Lantern713
hiTTmaN
MaqboolHussain
Isaac Minovsky
hedonist
codingmonkey
Microsoft
Only Title

Answer Questions

  • Tony Chun Tung Siu What is My.Resources equivalent in C# ?

    Hello, I would to access one image resource in my project, How do address resources, like My.Resource in VB, i've been trying 'This', but it has no resources childs. Thank you You can use the Properties.Resources method, this equivalent to the VB.NET My.Resources. See http://blogs.msdn.com/danielfe/archive/2005/06/14/429092.aspx for a My library. Thank you ! ...Show All

  • KitTexas Forms datasets and folders

    I have a Windows project and would like to organize it a little better. It would be nice to have all my forms under a forms folder and datasets under a Datasets folder. I have tried doing things this way but have run into problems. Without me doing something different than what I am, my code does not always recognize these forms or datasets when they are in folders. Is this something that C# just doesn't like If so then I'll just have to get us ...Show All

  • KimI How to overwrite an existing Bitmap file

    using ( Bitmap bitmap = new Bitmap (( int )(scale * page.Width), ( int )(scale * page.Height))) { Graphics graphics = Graphics .FromImage(bitmap); graphics.SmoothingMode = SmoothingMode .AntiAlias; graphics.ScaleTransform(scale, scale); graphics.Clear( Color .White); page.Draw(graphics); bitmap.Save( "C:\\Image.tiff" , ImageFormat .Tiff); } As you can see in the code above, I am generatin ...Show All

  • Vaqar Pirzada quest on downloading C# from the internet

    Hii,,, I downloaded all prerequisites of the C#, like dotnetFrameWork and Windows installer, and i need a link for c# program only. Can anyone help Note: I downloaded the prerequisites while downloading visual basic 2005 express. hi you can use this link http://msdn.microsoft.com/vstudio/express/visualcsharp/download/default.aspx even though the recoment you to remove visual studio 2005 and sqlse ...Show All

  • Nanette T carriage return in a textbox.

    I have a text box that has the AcceptReturns property to true. I am trying to display a text file in this text box, one line at a time with the following code: string line; this .textBoxSettingsFile.Text = ""; // Read and display lines from the file until the end of // the file is reached. while ((line = sr.ReadLine()) != null ) { this .textBoxSettingsFile.Text = this .textBoxSettingsFile.Text + line + C ...Show All

  • leovic0101 Method not allowed when running Unit Test

    I am trying to create a unit test to test a web service, and I am running into the error Method not allowed. I'm just not sure where to go from here. This is a sample of the unit test: [ TestMethod ] public void TestMethod1() { AssetMdIngestion MM = new AssetMdIngestion (); string s = "- <gyi:records xmlns:gyi=\"http://ns.gettyimages.com/mediaManager/metasheet/1.0\">- <gyi:record> <gyi: ...Show All

  • RaimondB Having difficulty running TCP remote client from other computer

    Hi Support, I have getting error when i run my TCP remote client from different computer. NativeErrorCode : 10049 System.Net.Sockets.SocketException: The requested address is not valid in its co ntext    at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.StartListening(Objec t data)    at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.SetupChannel()    at System.Runtime.Remoting.Chan ...Show All

  • CLT #define, #if, #elif, #error, # warning

    Hi everyone, I have some doubts about #define, #if, #elif, #error, # warning. Are are any real advantages of using these in C# programming language I'm not sure I follow what you're asking here but there are some things that can't be done with #if. In general anything that can't or shouldn't compile must be enclosed with #if. For example suppose you are the writer of a class library and your clients want use both v1.x and v2.0 of .NET ...Show All

  • khush How can I make datagrid display the caption instead of the name of datatable column?

    I add my columns to my datatable in the following way: private static DataColumn AddColumn( DataTable dt, DataColumn dc, string name, Type type, string label, string def ) { dc = new DataColumn(name, type); //add name and type of datacolumn dc.Caption = label; //add label to datacolumn (what the users see) dc.DefaultValue = def; //add default value to data column dt.Columns.Add(dc); //add the datacolumn to the table return ...Show All

  • BobRS Add "Help" button

    How can I add "Help" button to my forms Like the picture: http://img.majidonline.com/thumb/39010/Untitled-3.gif hooman.tadbiri wrote: I have a Textbox in my program.I wanna When a person clicks on the help button and then clicks on the textbox sees something like "connect Dial-up Connection" window. What should I do I need more help,please. ho ...Show All

  • nmsa1982 How to find Configuration Details...

    Hi , I am new to C#, I don’t know this is valid question. I have one project , which contains thousands of lines of code. I want to know, what are all the configuration details referred or saved by that project. For example what are all the xml, flat file, database or registry used by particular project. Is it possible to this in any tool or addins. Thanks. Jeeno. Thanks Ioan bizau. ...Show All

  • benjamin pfeffer Print a Header on each page

    I'm programatically printing from C# using a class derived from System.Drawing.Printing.PrintDocument which handles line wrapping and multiple pages by overriding OnPrintPage(). This is all in the Microsoft example. Is there a handy way to print a header on each page, for instance the way notepad does, with like a title and the page number Or customize the print dialog so as to get header and footers like in notepad, excel, IE, etc   ...Show All

  • Dexter.Net How to save html file and respective dependent files in server

    Hi All Currently iam working with web application using C# ,my requirement is need to save a html file ,whenever saving a file the related image files should save in a folder Ex: When you click http://aspalliance.com/150 in URL when we use save as we can save it as HTML file and the related images are saved in related folder I need to implement the same concept Could any one please guide me Thanks a lot In 2003, simply get ...Show All

  • James Crowley 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 Yeah, it is the answer that I expect. Again thanks very much for your all helps. Best wishes, Mert(JavaBoy) ...Show All

  • ziad dodin listview

    Hello, i got question, how to get the selected items on the listview control Code: this .listView1.Columns.AddRange( new System.Windows.Forms. ColumnHeader [] { this .columnHeader1, this .columnHeader2, this .id}); this .listView1.FullRowSelect = true ; this .listView1.GridLines = true ; this .listView1.Location = new System.Drawing. Point (0, 32); this .listView1.MultiSelect = false ; this .listView1.Nam ...Show All

757677787980818283848586878889909192

©2008 Software Development Network

powered by phorum