Click here to Skip to main content
15,889,281 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Get moving mouse position Pin
Luc Pattyn12-Oct-09 0:20
sitebuilderLuc Pattyn12-Oct-09 0:20 
GeneralRe: Get moving mouse position Pin
freakyit12-Oct-09 1:04
freakyit12-Oct-09 1:04 
QuestionGetting cd/dvd drive information Pin
offroaderdan11-Oct-09 4:42
offroaderdan11-Oct-09 4:42 
AnswerRe: Getting cd/dvd drive information Pin
Henry Minute11-Oct-09 5:12
Henry Minute11-Oct-09 5:12 
GeneralRe: Getting cd/dvd drive information Pin
offroaderdan11-Oct-09 5:39
offroaderdan11-Oct-09 5:39 
GeneralRe: Getting cd/dvd drive information Pin
Henry Minute11-Oct-09 6:00
Henry Minute11-Oct-09 6:00 
AnswerRe: Getting cd/dvd drive information [modified] Pin
Luc Pattyn11-Oct-09 6:12
sitebuilderLuc Pattyn11-Oct-09 6:12 
AnswerRe: Getting cd/dvd drive information Pin
Alan N11-Oct-09 6:43
Alan N11-Oct-09 6:43 
Hi,
If I have interpreted the question correctly then the program is executed from the the disc that you are trying to find. In that case there are several ways to get the path information.

1) System.Environment.CurrentDirectory[^]
2) System.Windows.Forms.Application.StartupPath[^]
3) System.Reflection.Assembly.GetEntryAssembly.Location[^]

In all cases you could use System.IO.Path.GetPathRoot to extract the root directory.

Alan.
GeneralRe: Getting cd/dvd drive information Pin
offroaderdan11-Oct-09 6:53
offroaderdan11-Oct-09 6:53 
GeneralRe: Getting cd/dvd drive information Pin
Alan N12-Oct-09 5:01
Alan N12-Oct-09 5:01 
Questionapplication server implementation Pin
Ryan Minor11-Oct-09 2:07
Ryan Minor11-Oct-09 2:07 
AnswerRe: application server implementation Pin
Eddy Vluggen11-Oct-09 3:16
professionalEddy Vluggen11-Oct-09 3:16 
Question.NET Framework Pin
CeremBeyazit10-Oct-09 9:10
CeremBeyazit10-Oct-09 9:10 
AnswerRe: .NET Framework Pin
Not Active10-Oct-09 10:27
mentorNot Active10-Oct-09 10:27 
AnswerRe: .NET Framework Pin
Luc Pattyn10-Oct-09 10:57
sitebuilderLuc Pattyn10-Oct-09 10:57 
QuestionSetting the form location manually Pin
lbs.allies9-Oct-09 23:58
lbs.allies9-Oct-09 23:58 
AnswerRe: Setting the form location manually Pin
Luc Pattyn10-Oct-09 1:05
sitebuilderLuc Pattyn10-Oct-09 1:05 
AnswerRe: Setting the form location manually Pin
Shameel19-Oct-09 0:14
professionalShameel19-Oct-09 0:14 
QuestionProblems with visual studio 2003 Pin
shylock18-Oct-09 8:28
shylock18-Oct-09 8:28 
AnswerRe: Problems with visual studio 2003 Pin
Suresh Suthar9-Oct-09 18:39
professionalSuresh Suthar9-Oct-09 18:39 
QuestionStrong Signing Assembly Effection desired functionality Pin
vineetrawathcl8-Oct-09 0:11
vineetrawathcl8-Oct-09 0:11 
AnswerRe: Strong Signing Assembly Effection desired functionality Pin
Rob Graham10-Oct-09 4:59
Rob Graham10-Oct-09 4:59 
QuestionMany .NET Frameworks related files installed on my computer , which one to remove ? Pin
unitecsoft7-Oct-09 13:42
unitecsoft7-Oct-09 13:42 
AnswerRe: Many .NET Frameworks related files installed on my computer , which one to remove ? Pin
Not Active7-Oct-09 14:21
mentorNot Active7-Oct-09 14:21 
AnswerRe: Many .NET Frameworks related files installed on my computer , which one to remove ? Pin
Dave Kreskowiak7-Oct-09 16:36
mveDave Kreskowiak7-Oct-09 16:36 

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.