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

Software Development Network >> Visual C#

Visual C#

New Question

Sorting problem with GridView
Need a quick conversion from string to char*
Regions keep auto-expanding
Is there a way to create a exe from an exe in C# ?
Changing CheckBox Checked
Why is this variable not visible?
Look for file in subdirectoy
Typedef for C# (Type Alias)
abt system.threading.timer
GridView columns

Top Answerers

Trinh Nguyen
solanky
RMan54
Aaron.W
hinshelm78
Jitendra Kumar Mehta
PPM
NaudePaul
BobN
Joymon
Techquila
Only Title

Answer Questions

  • melf1969 Custom Control Error Message Hell!

    Hey howzit I am trying to implement a new user control...all that it allows is for the user to assign each control to a group.  One group of OurRadioButton's consist of 2 or more radio buttons and if they have the same checkgroup then you can only check one of them in the group. BUT I keep getting this error message: (the error message appears as a message box type message not in VS debug) "Property value is not valid:  Una ...Show All

  • ianic Constructor does not work the way is should

    Hi guys, I am trying to build a multithreaded port scanner this is my first attempt to program in c#. But my OOP knowledge does not really apply to c#. I have this error which probably anyone can solve but me. I get an error "Method name expected" here is the line that causes the error myThreads[0] = new Thread ( new ThreadStart ( new ScanPort ( "127.0.0.1" ,idx)));  The problem is in the (new ScanPort"127.0.0.1",idx); idx is an in ...Show All

  • bigboyc Unable to load class library

    I wrote a managed wrapper in C++/CLI and compiled it under AMD64. Now I wrote a client in C++/CLI too and this works well. Trying to do the same in C# I got everything to compile but when I run it it says: Unhandled Exception: System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E) at MyClass.Main() This is weird though. I compiled the C# file for 'anycpu' but trying to set the platform ...Show All

  • Gnanasekaran listening to keyboard

    ok i know how to know is shift+F6 key is pressed in my form but how do i do to capture key press from windows (when my form doesnt have focus) ex: i put my program in system tray and i start internet explorer, and in internet explorer i press SHIFT+F6 my form doesnt do anything.. how ca i set my form to do that You must set a keyboard hook. A great article writen by George can be found here ! When you form does not have focus, it ...Show All

  • helpstring How do you REMOVE or DELETE Items from Recent Projects list in VS2005 RC?

    I have been testing  VS2005 RC and as a result, I have built many applications. Most I am no longer interested in or use and would like to DELETE them from the RECENT Projects list, but I dont see how ! I have been achieving this by manualy deleting the project from IIS, but there's got to be a better way ! Any ideas cheers, yousaid Really, you shouldn't need to, but there is a way. If you continue to use ...Show All

  • Flima Center picturebox in Panel with AutoScroll

    Center picturebox in Panel with AutoScroll...at runtime. If the picturebox anchor is not set to top,left AutoScroll won't appear. Any cure for this I have different size images. Most are larger than the control space...so AutoScroll comes in handy. When an image will fit, or is much smaller I want to center it in the panel that is set to fill. (rather than have the smaller images in the top left position of the panel). (This actual ...Show All

  • Carl-Otto Getting Names of System Data Sources in Windows

    Hi, How can I get the names of the System Data Sources in Windows from my C# code Thank you. Shakeel When you create a database, e.g. in MS Access you can set it as an ODBC data source on the System level. I want to get the names of all databases that have been set as System Data Sources from my C# code. Hope that explains it. :) Shakeel Thanks Karthik. Thi ...Show All

  • Kevin Buchan Reading from App.Config c# 2.0 console application

    http://msdn2.microsoft.com/en-us/library/system.configuration.configurationmanager.aspx The above link tells me to use the ConfigurationManager class to read appsetting elements from the app.config. When I do this VS2005 C# 2.0 console application the ConfigurationManager class is not reconised. Can someone please point out this simple command. Syntax used: using System; using System.Collections.Specialized; using ...Show All

  • ianivs Using Delegates

    Hi How can I execute a delegate asynchronously by passing a parameter into it It could be of great help if I get a detailed coding. Thanks, I believe this gives you what you are looking for: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpguide/html/cpovrasynchronousprogrammingoverview.asp ...Show All

  • UsmanTahir The new IntelliSense feature is fantastic!

    The new IntelliSense feature is the answer to a prayer. As much as I like C#, I always wished for an IDE option that would make it a little more like VB in one particular way: variable name case insensitivity. Under VB, if I declare a variable called “ MyVar ” I can subsequently type it as “ myvar ” and VB will automatically correct the casing as soon as I hit the space bar or enter key. Not only do I not have to go to the trouble of holdin ...Show All

  • AbdulHak DataSet

    Hi folks I'm trying to build an derived Class from System.Data.DataSet as public class MyDataSet : DataSet {    public MyDataSet()    {    } } My problem is that : 1) if i try to install my assembly as it is to toolbox nothing happens 2) if i add [tooboxitem[true] attribute to my class  then component installed to tollbox but  i lost all extra futures of dataset as Tables and Relatio ...Show All

  • mdoiron Multiple updates to an Active Directory user in one pass

    I'm trying to update a set of users in Active Directory from an Excel spreadsheet. This is how I'm doing it now: (oRow is a DataRow object) SearchResult result = search.FindOne(); if (result != null ) {   DirectoryEntry user = result.GetDirectoryEntry(); if (user.Properties[ "employeeNumber" ].Value == null ) user.Properties[ "employeeNumber" ].Add(HashSSN(oRow[ "SSN" ].ToString())); if (oRo ...Show All

  • mouvement_patisserie Access Web Form member from it’s hosted windows user control

    Hi. I have a web app that uses a IE hosted windows user control. I would like that, somehow, lounch an external event from that hosted control that I could catch in my web form’s code behind or set a web form’s member value. Does anybody know how to do that I would appreciate any suggestions! Thanks in advance! For all of you who are having problems with iexplore.exe.config, the project ZIP contains this fi ...Show All

  • Terry Starkey Office 97 Problem

    Using MS Word there is two options to print documents; the icon on the tool bar or click on file and select print from the pop-up print display box. Problem. When I click on file/print and select "properties" from the pop-up print dialog box my computer crashes. I selected propertied because I want to change the print quality from econofast to normal or best. I can not even use "Ctrl-Alt-Delete to exit the program, I must hit the on/off butt ...Show All

  • zuchbinder Error '42022 is not a valid warning number'

    I received this error message while building my solution: '42022' is not a valid warning number But on the 'Suppress warnings:' of the project property - 42022 is listed How do I fix or resolve this problem Thanks, dvinh Duy, can you describe what you mean by "added VB.Net language support into VS " Did you originally install VS with only C# support and then later updated the install by clicking on th ...Show All

616263646566676869707172737475767778

©2008 Software Development Network

powered by phorum