Click here to Skip to main content
15,891,529 members
Home / Discussions / C#
   

C#

 
AnswerRe: hwj Pin
Hamid_RT18-May-08 18:29
Hamid_RT18-May-08 18:29 
QuestionHow to get childs window handle ? Pin
hdv21217-May-08 23:29
hdv21217-May-08 23:29 
AnswerRe: How to get childs window handle ? Pin
Giorgi Dalakishvili18-May-08 0:00
mentorGiorgi Dalakishvili18-May-08 0:00 
QuestionPersonal Folder Problem in C# Pin
mohant$.net17-May-08 20:04
mohant$.net17-May-08 20:04 
QuestionGetting path of executing assembly Pin
danielk_17-May-08 19:06
danielk_17-May-08 19:06 
AnswerRe: Getting path of executing assembly Pin
mav.northwind17-May-08 21:58
mav.northwind17-May-08 21:58 
GeneralRe: Getting path of executing assembly Pin
Brady Kelly18-May-08 1:55
Brady Kelly18-May-08 1:55 
AnswerRe: Getting path of executing assembly Pin
#realJSOP18-May-08 1:49
mve#realJSOP18-May-08 1:49 
string path1 = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().CodeBase);

string path2 = System.Environment.CurrentDirectory;

using System.Windows.Forms;
string path3 = Application.ExecutablePath;


The value for path1 on my system is "file:\\K:\\VS2008\\ConsoleTester\\ConsoleTester\\bin\\Debug"

The value for path2 on my system is "K:\\VS2008\\ConsoleTester\\ConsoleTester\\bin\\Debug"

The value for path3 on my system is "K:\\VS2008\\ConsoleTester\\ConsoleTester\\bin\\Debug\\ConsoleTester.exe"


"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001


AnswerRe: Getting path of executing assembly Pin
Brady Kelly18-May-08 2:20
Brady Kelly18-May-08 2:20 
GeneralRe: Getting path of executing assembly Pin
danielk_18-May-08 3:26
danielk_18-May-08 3:26 
QuestionC# SendMessage in C++ Pin
luisgrimaldo17-May-08 17:57
luisgrimaldo17-May-08 17:57 
AnswerRe: C# SendMessage in C++ Pin
Christian Graus17-May-08 18:09
protectorChristian Graus17-May-08 18:09 
GeneralRe: C# SendMessage in C++ Pin
luisgrimaldo17-May-08 18:19
luisgrimaldo17-May-08 18:19 
GeneralRe: C# SendMessage in C++ Pin
Christian Graus17-May-08 18:35
protectorChristian Graus17-May-08 18:35 
Questionfile download c# asp.net Pin
irusul17-May-08 13:09
irusul17-May-08 13:09 
AnswerRe: file download c# asp.net Pin
Christian Graus17-May-08 13:25
protectorChristian Graus17-May-08 13:25 
Questionset cursor position on control in active form Pin
baranils17-May-08 11:00
baranils17-May-08 11:00 
AnswerRe: set cursor position on control in active form Pin
William Ten Broek17-May-08 11:38
William Ten Broek17-May-08 11:38 
GeneralRe: set cursor position on control in active form Pin
baranils17-May-08 12:06
baranils17-May-08 12:06 
QuestionProgrmming with USB in C# (Need a book) Pin
hdv21217-May-08 10:50
hdv21217-May-08 10:50 
AnswerRe: Progrmming with USB in C# (Need a book) Pin
Christian Graus17-May-08 12:52
protectorChristian Graus17-May-08 12:52 
AnswerRe: Progrmming with USB in C# (Need a book) Pin
Giorgi Dalakishvili17-May-08 22:36
mentorGiorgi Dalakishvili17-May-08 22:36 
QuestionReportViewer Speed Pin
Amir Jalaly17-May-08 9:24
Amir Jalaly17-May-08 9:24 
QuestionTextRenderer.DrawText with TextFormatFlags.ModifyString Pin
Lea Hayes17-May-08 8:09
Lea Hayes17-May-08 8:09 
AnswerRe: TextRenderer.DrawText with TextFormatFlags.ModifyString Pin
Guffa17-May-08 11:37
Guffa17-May-08 11:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.