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

Software Development Network >> Visual C#

Visual C#

New Question

compile C in C# .Net?
ListBox
Any Problem in C# & SQL Server 2000 !
how to down load vsto
could not see results after sql server stored procedure row insertion
FileInfo.LastWriteTime issue: does not correctly evaluate
Changing the Default Unhandled Exception Dialog
Trimming strings
how do i get a file from a site in c#
Search DataSet

Top Answerers

Vladimir Nikitin
gv
Andrew7Webb
JJ
John Sudds - MSFT
dc2k
Alex Jauch
Mikhail Kurskiy
MaxOmilian
vmmdesai
Minishare Studio
Only Title

Answer Questions

  • Bernie Hizon Determine startup file

    Hi, I have created a file that works with my program. The extension is '.epi'. I want to load the file in my program when you click the file in Explorer So I created this code: if (( Application .ExecutablePath.EndsWith( ".epi" ) == true )) { string filename = Application .ExecutablePath; //Then the code to load the file using the above filename. } But this code does'nt work. I set in the register to start the ...Show All

  • csaunders Some question about messagebox

    1-How can I write more than one line in a messagebox For example I want to write "Hello" in the first line and "Goodbye" in the second line. And If I can't write more than one line in a messagebox what can I do 2-If I can write more than one line in a messagebox how can I write it right to left hooman.tadbiri wrote: I used : MessageBoxOptions options = ( this .Righ ...Show All

  • mdreyerza can someone convert this snipet of VB to c#?? Just Some Simple one (basics)

    Hi This shouldn`t be difficult .. but i dont know VB But what does this means... He declare a function named with "Afunction" and then in the body of that fucntion he says.. Afunction= ..... LoL , how does he do that or what does that mean in c# can a name of a function take some value Please tell it what does this means in c# The statement FV = PV * (1 + i / 100) ^ n within body of ...Show All

  • monrobot13 Use of escape sequences

    I want to know when I have to use the \r and when \n escape sequence. I am dealing with the code in which the \r\n is being used. My understanding \r is carriage return and \n newline character. The \r or carriage return takes the pointer to the start of the line and newline starts at next line. What is the advantage of using them both together thats what I am trying to figure out. The link I am giving below has the definitions of the vario ...Show All

  • James Su Memory

    Ok. I am using the PerformanceMoniter class to moniter CPU Usage, Memory ect. But in the memory, I only see how to moniter available physical memory. Can someone tell me how to get the total physical memory. Kind of like when you open Windows Task Manager, and look under Performance>Physical Memory(K), and it says total. Can someone tell me how to display that or tell me exactly what that is. Visual C# Novice wrote: Ok. I am usin ...Show All

  • Steve Q some questions about treeview!!

    I am trying to make a directory tree in c# using a tree view.And i want the node to expand only when any node is double clicked.For doubleclick event i used the following code: this.treeView1.DoubleClick +=new System.EventHandler(treeView1_DoubleClick); private void treeView1_DoubleClick(object sender, EventArgs e){ if (treeView1.SelectedNode !=null){ //expand the selected node   }   } but the problem is this event works if i ...Show All

  • mlong How to Display ASP.NET Template Contents in New Website dialog **

    Hello all, in VS 2005 When clickin on New - Web Site- New Web Site Dialog. in this dialog Under Visual Studion Installed Templates. It is showing only Windows Application, Class Library, Windows Control Library, Crystal Reports and Device Applicaion. How to get ASP.NET Web Site Contents (it is suppose to display ASP.NET WebSite, ASP.NET WebService....) i am wondering that why New Website Dialog is not displaying those. where as other PC ...Show All

  • walpa How can I give percentage values to the columns of a listview?

    Hello, I think the title says it. I want to give percentage values to the columns of a listview. How can I do that Your help would be greatly appreciated. i didn't understand your question what do you mean percentage values to the columns best regards I don't want to use fixed value sizes in the listview columns because the program may be used on diffrent screen resolutions and the user may ...Show All

  • VFP avid fan RS232, convert string to hex string

    Hi all, I have my device that put out to RS232 port by hex format. I try using write code to receiver its information and when it display in string format, i can understand , such as : " Uay <00>€€€€<00><00Uay<00>€€€€<00><00> Uay <00>€€€€<00><00>Uay <00>€€€€<00><00> Uay I€€€€<00><00>UUay €€€€<00><00> Uay <00>€€€€<00><00> Uay<0 ...Show All

  • Bob Willer Why can not set the height of my TextBox?

    I have a TextBox control on a form and after setting the height of the control to 22 on the property sheet, It returns again to 21 What am I doing wrong Help please Thanks a lot Daniel. Now I am able to change the heigh. Unless set to MultiLine=true, the TextBox will automatically fit it's height to the Font size, so there's no ugly looking whitespace around the text. ...Show All

  • Redskin9 Uploading to FTP from either a filesystem or a website

    This code works, but I was wondering if there was a cleaner way to do this. When I upload to FTP from another website, first I download to the filesystem somewhere and then I upload this file to the ftp site. There must be a more direct way to do this, without using the user's filesystem. In my code, there are two parts, one is the case of the upload file located on the filesystem and the second is the case when the upload file is located on the ...Show All

  • cgsdev 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

  • NiravNeo How to change

    Hello Everybody, I want to change the screen resolution programatically using C#. Because, i am deploying a project developed using C#. On my system it is working perfectly. But, on other system or when i accesed through remote connection the buttons beneath the form are not able to view. So, could any boby give the suggestion how can i solve this problem. Thanks in advance. ----------V.K.Shaji Kumar Wouldn't it be better to r ...Show All

  • SM-007 How prevent code from firing

    I have a winform that when I created the standard toolbar was added automatically by VS. I have some special code I am processing when I click on plus icon to add a record. I am experiencing a problem but I think it is because the code that would normally fire when you select the + icon is firing in addition to my own code. How do I turn this off so just my own code fires It sounds like you have tw ...Show All

  • BushGates Abstract classes and static methods

    Hello there! I was wondering why is not possible to define a static method into an abstract class, well... I was wondering that because I'm trying to force an user who inherits from this class to implement a static class and I just didn't find a way to do that... is there a way to do this Because there's a layer calling static methods and I don't want to change these methods to regular methods just because I'm not being able to solve this ...Show All

252627282930313233343536373839404142

©2008 Software Development Network

powered by phorum