Click here to Skip to main content
15,888,610 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How can I add google map to a website Pin
Baran M15-Jun-09 18:17
Baran M15-Jun-09 18:17 
GeneralRe: How can I add google map to a website Pin
Member 426027016-Jun-09 1:29
Member 426027016-Jun-09 1:29 
QuestionUsercontrol in Asp.net with C# Pin
mahichandu15-Jun-09 11:42
mahichandu15-Jun-09 11:42 
AnswerRe: Usercontrol in Asp.net with C# Pin
Not Active15-Jun-09 11:55
mentorNot Active15-Jun-09 11:55 
GeneralRe: Usercontrol in Asp.net with C# Pin
Christian Graus15-Jun-09 15:05
protectorChristian Graus15-Jun-09 15:05 
GeneralRe: Usercontrol in Asp.net with C# Pin
Not Active15-Jun-09 15:25
mentorNot Active15-Jun-09 15:25 
GeneralRe: Usercontrol in Asp.net with C# Pin
Christian Graus15-Jun-09 16:02
protectorChristian Graus15-Jun-09 16:02 
QuestionReading text file Pin
Matt Cavanagh15-Jun-09 11:24
Matt Cavanagh15-Jun-09 11:24 
Ok I feel silly for not being able to work this out :-/
I have an ASP project with C# using VS08.
I have then clicked add class and have a class in there that reads from a text file, works some stuff out and returns a variable. But in that class(which gets compiled to the same DLL as the rest i cannot seem to reference the txt file right. Ive tried without a directory and it throws an error and ive tried System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location); and System.Environment.CurrentDirectory;
Both of which dont work either(Well they do but the text file isnt there).

So I think what im asking is how do I get VS to move the text file with the DLL when it creates its dev server(after pressing debug).

Thanks for humouring me :-/
AnswerRe: Reading text file Pin
Not Active15-Jun-09 11:52
mentorNot Active15-Jun-09 11:52 
GeneralRe: Reading text file Pin
Matt Cavanagh15-Jun-09 12:47
Matt Cavanagh15-Jun-09 12:47 
QuestionPage cannot be displayed Pin
ellllllllie15-Jun-09 9:56
ellllllllie15-Jun-09 9:56 
AnswerRe: Page cannot be displayed Pin
Christian Graus15-Jun-09 15:07
protectorChristian Graus15-Jun-09 15:07 
Questionrelated to website Pin
jainiraj15-Jun-09 6:01
jainiraj15-Jun-09 6:01 
AnswerRe: related to website Pin
saanj15-Jun-09 8:26
saanj15-Jun-09 8:26 
AnswerRe: related to website Pin
Kapil Thakur15-Jun-09 21:27
Kapil Thakur15-Jun-09 21:27 
Questionnot getting value in session("lang") Pin
anbusenthil15-Jun-09 3:47
anbusenthil15-Jun-09 3:47 
AnswerRe: not getting value in session("lang") Pin
Abhijit Jana15-Jun-09 4:03
professionalAbhijit Jana15-Jun-09 4:03 
GeneralRe: not getting value in session("lang") Pin
anbusenthil15-Jun-09 7:41
anbusenthil15-Jun-09 7:41 
AnswerRe: not getting value in session("lang") Pin
Parwej Ahamad15-Jun-09 4:09
professionalParwej Ahamad15-Jun-09 4:09 
Questionsetting targetserverurl in SSRS? Pin
Pawan Kiran15-Jun-09 3:45
Pawan Kiran15-Jun-09 3:45 
Questionhow to move mails from Inbox to another folders through .net code??? Pin
nkmkrishna15-Jun-09 3:36
nkmkrishna15-Jun-09 3:36 
AnswerRe: how to move mails from Inbox to another folders through .net code??? Pin
nkmkrishna15-Jun-09 4:03
nkmkrishna15-Jun-09 4:03 
GeneralRe: how to move mails from Inbox to another folders through .net code??? Pin
Abhijit Jana15-Jun-09 4:13
professionalAbhijit Jana15-Jun-09 4:13 
AnswerRe: how to move mails from Inbox to another folders through .net code??? Pin
Christian Graus15-Jun-09 15:07
protectorChristian Graus15-Jun-09 15:07 
QuestionServer Error in '/PopForums.UI' Application. Pin
EmZan15-Jun-09 3:11
EmZan15-Jun-09 3:11 

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.