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

Software Development Network >> Visual C#

Visual C#

New Question

Printing an image
Access to path "path" is denied.
Abstract classes and static methods
VS 8 Performance makes it unuseable
TreeView doesn't display all nodes
Installation
Checking if a specific handler exists
Type.IsInstanceOfType not returning expected value for Int32[] vs UInt32[] structures
Visual Studio 2005 IDE Data Source panel greyed out
Converting to Byte problem

Top Answerers

Douglas Chew
Ted Young
Hammad Mohib
Sox
Mark Longerbeam
GSK_phili
ShinjiFei
Shawn Farkas - MS
lukha
Margie from Seattle
ONgroup
Only Title

Answer Questions

  • Jon Loose Save array to settings in C#2.0

    Hi Martin, Can you post the code where you initialize the "settings" variable   That might give some clues about what could be wrong. I didn't initialize it, I'm using the built in Settings class that Visual Studio 2005 Express made for me... Ok, well if I can't use the settings file, whats the best way to save an array of objects as a setting ...Show All

  • midavis Delegate : Help me!

    In my codes, i want to using delegate to send puclic hexString from comport to some function. How can I write it This is some information about my code: string StringCom; ........... //Every time my comport have data, this function will let data Triggered when a character is received and placed in the buffer. private void OnDataReceived(object sender, System.EventArgs e) { string strReadBuffer; strReadBuffer = myPortContr ...Show All

  • frida Create a snap-in using VisualStudio 2003 C#

    Hi I have to create a snap-in(for a MMC). I'm trying to do that using VS2003, C#. The .NET framework version is 1.1 I searched for information and I found a basic sample at the following link:http://windowssdk.msdn.microsoft.com/library/default.asp url=/library/ en-us/managedmmc/html/56f458d3-5c65-4664-8107-2ba04efd7d65.asp I tried to compile the code, but I got an error message "The type or namespace name 'ManagementConsole' does n ...Show All

  • MSFT Abel Valadez xml

    Can we convert an access data base to an xml file if we can please chow me how. Thank you for your help Thank you but I need to convert an access data base to an xml file using visual studio if possible http://www.sofotex.com/YeoSoft-MDB-to-XML-Converter-download_L25328.html hth, mcm It’s by using XMLSchema ...Show All

  • ff_mac how to declare TextBox in code

    Im trying to convert this vb code to C# from a class but Im having problems declareing a textbox in code and using it in the class. VB CODE: Dim txtCurrent As TextBox = sender I tried this but it doenst work: TextBox txtCurrent = new TextBox (); txtCurrent.Text = sender.ToString();   Thanks    Try     TextBox t ...Show All

  • melinjo Question on SimpleTypeName?

    Hi, I have question on the SimpleTypeName. < Literal Editable = " false " > < ID > eventhandler </ ID > < Function > SimpleTypeName(global::System.EventHandler) </ Function > </ Literal > I have seen its example on the MSDN,but I found it using global.So I think that the assembly must be in the global assembly cache .But the problem is not everyone will put the assem ...Show All

  • Midhun Changing Column Header Background in DataGridView

    Hello All, I am trying to change the background color that my column headers are on for a datagridview. I changed the default cell properties for it on properties and did not work. So I tried using code and still nothing! I would really appreciate some help here tasksDataGridView.ColumnHeadersDefaultCellStyle.BackColor = Color.Red; Figured it out: tasksDataGridView.EnableHeadersVisualStyles = false; ...Show All

  • Mike Vargas VS 2005 conversion: Removed the id attribute from the <form> tag in file

    When I have converted my web app to .net framework 2.0 using Visual studio 2005 pro, I see this the conversion report: "Removed the id attribute from the <form> tag in file ..." This prevents my java scripts on my pages to work, and need to insert the id tag again. Why does VS 2005 remove the id tag in the <form> tag when converting to .net framework 2.0 ...Show All

  • Wayne Larimore Enum question C# and VB

    Why this code in C# not work but in VB work Code C#: public enum eFilteringCode : ulong { None = 0, Gen = 1, BdF = 2 } static void Main( string [] args { int BitMask = 400; ulong uRes = BitMask & eFilteringCode. Gen; } Code VB: Public Enum eFilteringCode As ULong None = 0 Gen = 1 BdF = 2 End Enum Sub Main() Dim BitMask As ULong Dim uRes As ...Show All

  • Pat 34847 Scrollbar

    I have created a custom scrollbar control which inherits from UserControl. The only problem is when its scrolled it doesnt inform anything its being scrolled... I noticed the default horizontal and vertical scrollbars have Scroll and ValueChanged events. How would i go about creating something similar to this try this .AutoScroll = true ; to get scrollbars :) or if you want to make your own scrollbar co ...Show All

  • Alex DeJarnatt How can overloaded operator access private fields of another class

    I have the following program in C#: class My1 { private int x; } class My2 { private int y; public static int operator +( My1 a, My2 b) { return a.x + b.y; } } I want my operator to access private fields of two different classes. How can I do that In C++ there was friend operator. In C# it isn't. Do someone know another variants zapacila89 wrote: Nisha ...Show All

  • willspurgeon removing all except specified character [] from string

    Hi, I need to know How can I excluding any characters of a string except a specified set of characters defined by Char[ ]. Example: if I have Char[ ] x = {..,..,..,.........}; string y; and y is a mixture of characters in x and other characters not in x so how can I return a string z that contains only the characters belong to x and excluding all others Thanks in advance for any help. Aya. ...Show All

  • Dawid ?azi?ski MDi question here

    ok i have a big spliter panel.. and i want one of the to be a MDI container.. how can i do that coz.. i doesnt have any proprety .. like the main form has.. any ideas ...Show All

  • TadAnderson An unhandled exception of type 'System.StackOverflowException', how to handle this problem?

    class CreateCage (simple code, not complete) // this.cButton.Location = new System.Drawing.Point(88, 168); this.cButton.Name = "cButton"; this.cButton.Size = new System.Drawing.Size(88, 23); this.cButton.TabIndex = 3; this.cButton.Text = "Create Cage"; cButton.Click += new System.EventHandler(cButton_click); fmhandler = new Form1(); private void cButton_click(Object sender, System.EventArgs e) { string t ...Show All

  • Tylerk Force download

    Hi, I'm trying to force a download from a file. The code below works fine, for a file on the hard disk. Problem is that the files are stored in WSS (in a SQL database). Currently I'm using this code: string currentURL = Request.QueryString["filename"].ToString(); string filename = currentURL.Substring(Request.ApplicationPath.Length).TrimStart('/'); Response.TransmitFile(currentURL); Response.Write(currentURL); HttpRequest requ ...Show All

123456789101112131415161718

©2008 Software Development Network

powered by phorum