Click here to Skip to main content
15,843,145 members
Home / Discussions / C#
   

C#

 
AnswerRe: Call to Methods Pin
AFSEKI7-May-07 6:23
AFSEKI7-May-07 6:23 
Questionprinting a crystal report Pin
rkherath3-May-07 0:29
rkherath3-May-07 0:29 
AnswerRe: printing a crystal report Pin
soneliso3-May-07 1:24
soneliso3-May-07 1:24 
GeneralRe: printing a crystal report Pin
rkherath3-May-07 1:38
rkherath3-May-07 1:38 
AnswerRe: printing a crystal report Pin
darkelv3-May-07 2:56
darkelv3-May-07 2:56 
QuestionGet Application directory from console program Pin
Soundman32.23-May-07 0:23
Soundman32.23-May-07 0:23 
GeneralRe: Get Application directory from console program Pin
Soundman32.23-May-07 0:45
Soundman32.23-May-07 0:45 
GeneralRe: Get Application directory from console program Pin
wurzel_cidermaker3-May-07 3:02
wurzel_cidermaker3-May-07 3:02 
try this.

static void Main(string[] args)
{

string loc = Assembly.GetCallingAssembly().Location;

string path = Path.GetDirectoryName(loc);

Console.WriteLine(path);

string[] bla = File.ReadAllLines(path + "\\1.log");

foreach (string var in bla)
{
Console.WriteLine(var);
}
}
AnswerRe: Get Application directory from console program Pin
Brady Kelly3-May-07 1:01
Brady Kelly3-May-07 1:01 
GeneralRe: Get Application directory from console program Pin
Soundman32.23-May-07 1:51
Soundman32.23-May-07 1:51 
AnswerRe: Get Application directory from console program Pin
PIEBALDconsult3-May-07 7:28
mvePIEBALDconsult3-May-07 7:28 
AnswerRe: Get Application directory from console program Pin
Stefan Prodan3-May-07 13:55
Stefan Prodan3-May-07 13:55 
AnswerRe: Get Application directory from console program Pin
AFSEKI7-May-07 6:25
AFSEKI7-May-07 6:25 
QuestionChanging the text of label Pin
sujithkumarsl3-May-07 0:19
sujithkumarsl3-May-07 0:19 
AnswerRe: Changing the text of label Pin
Giorgi Dalakishvili3-May-07 0:28
mentorGiorgi Dalakishvili3-May-07 0:28 
GeneralRe: Changing the text of label Pin
sujithkumarsl3-May-07 0:42
sujithkumarsl3-May-07 0:42 
GeneralRe: Changing the text of label Pin
Giorgi Dalakishvili3-May-07 0:46
mentorGiorgi Dalakishvili3-May-07 0:46 
GeneralRe: Changing the text of label Pin
sujithkumarsl3-May-07 0:52
sujithkumarsl3-May-07 0:52 
GeneralRe: Changing the text of label Pin
Sandeep Akhare3-May-07 0:58
Sandeep Akhare3-May-07 0:58 
GeneralRe: Changing the text of label Pin
sujithkumarsl3-May-07 1:06
sujithkumarsl3-May-07 1:06 
GeneralRe: Changing the text of label Pin
Soundman32.23-May-07 1:59
Soundman32.23-May-07 1:59 
GeneralRe: Changing the text of label Pin
Dave Kreskowiak3-May-07 4:49
mveDave Kreskowiak3-May-07 4:49 
GeneralRe: Changing the text of label Pin
Rudolf Jan3-May-07 1:14
Rudolf Jan3-May-07 1:14 
GeneralRe: Changing the text of label Pin
sujithkumarsl3-May-07 1:17
sujithkumarsl3-May-07 1:17 
GeneralRe: Changing the text of label Pin
gumi_r@msn.com3-May-07 4:03
gumi_r@msn.com3-May-07 4:03 

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.