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

Software Development Network >> Visual C#

Visual C#

New Question

VS 2005 RTM crashes A LOT when using refactoring
Saved Data
How can I make an auto-increment primary key if the type is string?
Whatz the format of this file ?
Basic sample on my blog
How to wrap the capSetCallbackXXXXXX function
How to add a printer
What even to use ...
how to get the version of the assembly so that user can know it is 1.0 or 2.0?
VS2005 Hidden Designer code

Top Answerers

bpmerkel
Romty
Slowpoke
Rajni Roopchandani
mowalker
bems
Rajanish Trivedi
Michael M. Emmons
Sergey Bogdanov
chief_druid_tma
Techquila
Only Title

Answer Questions

  • Nay Lin How do I change the default language in Visual Studio 2005?

    How do I change default language in Visual Studio 2005     When Visual Studio starts it display information about C++, but I would like to change this to C# Thank you very much :-) Jakob, if your still listening could you go back and mark David's reply as an answer to give him credit YESSS!!!!  Sounds silly but I've spent the last 4 hours trying to f ...Show All

  • bobbynad How to import a dll made in C++ Win 32

    Hello Everyone, I have a dll which is made in Win 32, as it is not an assembly neither COM can't be used as a refrence, so I have to Import it.... Can someone tell me how to do it...As when i do it asks for the entry point and secondly how to call the functions from that dll.....A brief example will be highly appreciATED... Thanks, Harsimrat Yes, AddTwoNumbers is a C++ dll...can you please give me ...Show All

  • Beppone Link Button - Windows ApplicationC# Signatu

    Hi, How can I make a link button minimize a applicationto taskbar And from the taskbar maximize Thanks This isd the real answe thanks As zapacila89 says, you can use the CloseWindow method with p/invoke. This method is located in the user32.dll so it will be availabe. This works from Wndows 95 and Windows NT 3.1. The method returns a true when if succeeds; otherwise it will return false ...Show All

  • Carl J READ PERMISSION

    is there a way to read a file being used by another process i am implementing a file scanner and i keep getting an exception: The process cannot access the file "E:\aaa\process.exe" because it is being used by another process. is there a library of some sort like http://www.gotdotnet.com/Community/UserSamples/Download.aspx SampleGuid=E6098575-DDA0-48B8-9ABF-E0705AF065D9 which grants access to the file i am using C# .net 2003. please help. ...Show All

  • Wolfsvein please help C# loading images from access database.

    hey guys,   I am trying to place an image on a panel inside my form. I have to do this dynamically for this project I am working on. I have a column in my database titled file. which lists the file path to my image "cba.jpg" my database is called Buttons.mdb  my image i want is cba.jpg. i want it read in from my access database>the file column.   What am I screwing up below is my code. note i have tried ...Show All

  • Portigui Windows Service vs. WinForm Program.

    Hello... Actually, I don't know where I have to write down this question, so I ask this question here, please be considerate.. ^^ And, You may think my question is perhaps foolish. But, please see this question. I made some program which is dll using table A ( for example ) and made a windows service host that dll. And then, copy the same program and made general winform application host the dll using table A'. ( A' ...Show All

  • Slater Focus() problem

    I want to open a windows form and set focus to the first field. There are many panels, group boxes, controls and event handlers in this form and they are apparently interfering with setting focus, which leads to three questions. 1) Is there a sure fire way to set focus to a particular control on load. This particular control is a form being loaded as a showdialog from another control. I've tried calling [control].focus() as the last item ...Show All

  • hans04 101 Samples for Visual Studio 2005

    Hi, I wonder if anybody can maybe help me. I recently downloaded the "101 Samples for Visual Studio 2005", from the following link http://lab.msdn.microsoft.com/vs2005/downloads/101samples/default.aspx I wanted to test and see how Datasets work in the new SQL Express. The application that I was testing is called "Reading and Writing Images from a Database", and is located in the Data Access folder. When I run the application, I can select a new ...Show All

  • RKN_India import file from a remote machine to local machine

    Can we import a csv file from a remote machine to our local machine and after import delete the file from the remote machine in C# Kiran hi I think this will help http://www.tethyssolutions.com/data-migration-templates.htm r=google&w=database&gclid=CJCW0umwlYQCFRuuEAodaFIAug Hi I also want to challenge myself with this one. Have you tried to use the sqlDataReader, Since you already know the format of the data i ...Show All

  • quilty Custom Attribute for default variable value

    I would like to create a custom attribute to set default values in my classes. I would like this to be able to set multiple variable types which I'm sure I can do with overloading. I would like to use my custom attribute as follows: private string myvar1; [DefaultValue("I like toast!")] public string MyVar1{ get { return myvar1; } set { myvar1 = value; } } and have the initial value set to the value specified in ...Show All

  • totoro_msdn ArrayList filled with non-string objects to array of string

    Could you tell me, please, if there is an opportunity elegantly convert ArrayList filled with objects of some class to string array Example: class Point { int x, y; public Point( int x, int y) { this .x=x; this .y=y; } } // ... static void Main( string [] args) { ArrayList p= new ArrayList(); p.Add( new Point(2, 3)); p.Add( new Point(5, -2)); string [] result=( string [])p.ToArray( type ...Show All

  • fireparser How to parse a variable in C# window form?

    Hi The user enters his name on the textbox on Form1 as soon as he press the button enter, Form1 closes and Form2 open. I want to get the string that was entered in textbox in Form1 to be displayed in Form2. Thanx this works perfect You give Form2 a property Username and add a TextBox on it with the name set to txtUsername: public class Form2 : Form { public string Username { get { return txtUsername.Text ...Show All

  • miguelangelsoama Set File Access to be accessed from Network..?

    hi.. How i can set file access on file to be accessed by any user and read by any user..after i make share folder .. for example: ShareFolder\file.txt i want to make file.txt accessed from network and to be read. please help Thanks.     Hi Bassam,   Have you tried this.     System.IO. StreamReader sw = new System.IO. StreamReader ( @"\\zain\shared\in ...Show All

  • Telmo Sampaio Variable doesn't increment

    Hi, I'm creating a Tetris game in which I have an 'x' and a 'y' variable. At first they are set to 0. I use a timer to change the 'y' value to move the figure down. Here's the code: private void timer1_Tick( object sender, EventArgs e) { y++; Graphics grfx = this .CreateGraphics(); PaintEventArgs f = new PaintEventArgs (grfx, this .ClientRectangle); DrawFigure dr = new DrawFigure (f, x, y); grfx.Dispose() ...Show All

  • Jeffrey using JH.CommBase;using Microsoft.Win32;?

    Who can tell me the meaning of the following two statements The project created by C# was a GUI application . using JH.CommBase; // for COMM port access What is JH.CommBase Is it provided by the visual studio itself Where can I find it using Microsoft.Win32; // for registry I have the same question with this statament as the previous one... Thanks a lot! JH stand for "John Hind". This basically ...Show All

787980818283848586878889909192939495

©2008 Software Development Network

powered by phorum