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

Software Development Network >> Visual C#

Visual C#

New Question

I can not open mainframe.cs(design),The message tell me invalid path for that file, so I can not see any interface before pr
Something horribly wrong with my C#Express 2005
Windows Service
Deleting objects
Interlink with libraries developed by other languages?
C# 2003 Academic
Reading from xml file
How do I return a value...
access database which located in different PC
How do I restore Microsoft.Common.targets File?

Top Answerers

Umut Alev - MSFT
BrunoR2
Clearly.Net
John Stallo
Chris V
VahidJ
BasselTab
lchase4411
kkennedy1008
Hemant Rao
VFPConversion
Only Title

Answer Questions

  • Bharati Kumars Open a MSAccess Report that uses a parameterized query using C#...

    Let's say I have a table in MSAccess called Person: Person { PersonID AutoNumber, FirstName Text, LastName Text, Age Number(Long Int) } Create a new query with parameters called PersonQuery: Select FirstName, LastName, Age From Person Where Age >= [@beginAge] and Age <= [@endAge] Create a simple Report called PersonReport using PersonQuery as it's RecordSource. Here is the C# code I'm trying to use to open the report, but I ...Show All

  • nzwpfnewbie Matrix C#

    Hi, How can I use a matrix in C I need something like test[0][0]="brazil"; test[0][1]="france"; string Country=test[0][0]; Thanks That's right way you do it. It calls jagged array. Alternatively, you can use multidimensional arrays (like string[,]). It depends on what structure you need. http://msdn.microsoft.com/library/default.asp url=/library/en-us/csref/html/vcwlkarraystutorial.asp ...Show All

  • smmoraco Hard to be a newbie: Type conversion problem.

    I am writing a method to convert a string quad IP address to long as required by a socket.connect() method which accepts IP address as long values. There are many code samples out there but I do it for practice and also I could not really find a C# sample: all were in VB or C++ - it created different sort of problems for me although I tried to borrow from them. Anyway the procedure works but I cannot perform the final operation.   Pl ...Show All

  • Josh Pendergrass Extracting thumbnails from thumbs.db

    Greetings, How can I extract thumbnails from thumbs.db and discover the filenames they are (or were) associated with Any help will be highly appreciated. Thanks in advance. read near the end of http://www.raymond.cc/blog/archives/2007/03/28/what-you-should-know-about-thumbsdb-file/ Peter Daves has posted a great blog post with working code library under LGPL license: A C# library for reading thumbs.db files . ...Show All

  • Senthil.P DirectX in a Window form with controls!!!

    Hi, I need to create a software allowing to check welding spot of a robot. I need to draw real-time charts of current, woltage, ultrsonic... I try to draw using GDI+ in visual studio C#. The matter is it is too slow, even on a good computer!! I would like to know if it is possible to use directX on a widow form, which allows to use the controls (buttons, text...) available. If yes, could you give some hints or a reference An ...Show All

  • WildWildWind Save Settings

    I have two forms a and b. there is a button on a that will hide a and show b. Then i want to go back to a without making a new instance. Also pass a an new vaule. how is this done code below a private void ShowAction_Click( object sender, EventArgs e) { SingleActionSelect SelectActionDisplay = new SingleActionSelect (StationDataTable); this .Hide(); SelectActionDisplay.ShowDialog(); } b pri ...Show All

  • tech222 Command Line Paramters in Windows Application

    How can I get parameters that send to my windows application like this: notepad.exe test.txt or in my application [myapp.exe test.txt] Hi, In your static main declaration just add a parameter: static void  Main( string [] args ) { foreach ( string s in args) { MessageBox.Show(s); } Application.Run( new Form1); }     cheers, Paul June A. Domag ...Show All

  • lilkar6 How uses the recursion arithmetic to find the maximum value and the minimum value from an array ?

    How uses the recursion arithmetic to find the maximum value and the minimum value from an array thank shakalama :-) static int maximum(int[] arr, int length) { int tmp; if (length == 1) return arr[length]; tmp = maximum(arr, length - 1); if (arr[length] > tmp) return arr[length]; return tmp; //Above explanation each code meaning } ...Show All

  • Jazzyguy Thread Safe Access to DateTime

    Hello all ... I'm working on a class to return the current date. It is a bit more complex than the following code due to managing cultures, but below is the basic idea. My question is: how can I ensure the execution of the get property is thread-safe, without single-threading my application My understanding from the doc that is that I need to be thread safe when using DateTime. I was thinking that lock would be too restrictive and w ...Show All

  • i3tech How to write a function that will return the number of days in a month (not using System.DateTime)

    Please help me with the question Regards, Vinoth.N http://www.smithtown.k12.ny.us/highschl/math/kahn/apclasses/date.cpp This file contains function int DaysInMonth(int month,int year) and function bool IsLeap(int year) which is called from it. They can be translated to C# without problems. An easy solution here enum Months { January, February, March, April, May, June, July, August, Septe ...Show All

  • Mohan Bisht Write to C# Immediate window in 2005

    How do we write to the immediate window from the code window. Similar to "Debug.Print" in VB. Thank you, Paul soli3d, Check to ensure that you're checking the IDE's Output tab is visible. The immediate window won't print anything sent via a Debug.Print however the debuggers Output pannel should show your output. To ensure you're in the Output panel of the IDE click on the Main Menu b ...Show All

  • cstorm Checkbox Question

    Hello there. I have a problem. I have an OK button and a Checkbox right now. I want to make it so that when a user checks the CheckBox, the OK button is enabled. Is this possible Thanks you two. hi, yes its possible you can try this private void checkBox1_CheckedChanged( object sender, EventArgs e) { if (checkBox1.Checked == true ) button1.Enabled = ...Show All

  • Thomas_ How to display Chinese Characters in a C# Application?

    I want to display Chinese Characters on the controls (e.g., buttons, lables, etc.) in C# .Net, but always failed with garbaged characters displayed (I have adopted NJStar to input Chinese Characters). How can I configure the Visual Studio .Net environment to implement the display of Chinese Characters in my Application Moonriver (1) To enable IME, do the following: a. Goto Control Panel->Regional and Lang ...Show All

  • gimmick Import outlook contacts

    Hey howzit I would like to import outlook contacts in my C# application.  I have found a handy application on the code project:  http://www.codeproject.com/com/outlookcontacts.asp df=100&forumid=14626&select=1409933&msg=1409933  but it uses C++ and I do not want to use this code...I heard there is code in .NET for doing this...can anyone please help me Regards, its ok i already managed LOOOONG ago wit ...Show All

  • Billy Porter How do you cast an object to a ComboBox Item to Select it....

    Hi all, I have a very simple class that has two properties (ID, and Desc). Now I use these to populate the ComboBox (setting the ID as DataValue, and Desc as TextValue) - the population of the Combo Control is fine. (stripped down example is below) public class RecGeoTree : MCS.PocketPC.Record { public int m_nElementUID; public string m_strElementDescription; } (Now I have a ComboBox populated with these RecGeoTree objects - tho ...Show All

585960616263646566676869707172737475

©2008 Software Development Network

powered by phorum