Click here to Skip to main content
15,889,808 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Variable Depth For Loop to create a number sequence...how?! Pin
Luc Pattyn17-Aug-09 15:46
sitebuilderLuc Pattyn17-Aug-09 15:46 
AnswerRe: Variable Depth For Loop to create a number sequence...how?! Pin
Moreno Airoldi18-Aug-09 3:50
Moreno Airoldi18-Aug-09 3:50 
QuestionAccessViolationException when resizing an image Pin
Sonhospa17-Aug-09 12:02
Sonhospa17-Aug-09 12:02 
AnswerRe: AccessViolationException when resizing an image Pin
Christian Graus17-Aug-09 13:40
protectorChristian Graus17-Aug-09 13:40 
AnswerRe: AccessViolationException when resizing an image Pin
Luc Pattyn17-Aug-09 14:42
sitebuilderLuc Pattyn17-Aug-09 14:42 
GeneralRe: AccessViolationException when resizing an image Pin
Sonhospa17-Aug-09 19:15
Sonhospa17-Aug-09 19:15 
QuestionUsing %windir% in File.copy Pin
Ghost_80717-Aug-09 11:03
Ghost_80717-Aug-09 11:03 
AnswerRe: Using %windir% in File.copy ... oppps VB Pin
Adam R Harris17-Aug-09 11:29
Adam R Harris17-Aug-09 11:29 
This will get the Windows install directory

dim SystemRoot as string = System.Environment.GetEnvironmentVariable("SYSTEMROOT")


and two more ways to get the system32 directory:

dim sys32_1 as string = System.Environment.GetFolderPath(System.Environment.SpecialFolder.System)
dim sys32_2 as string = System.Environment.SystemDirectory


then you can do as you please with the path.

If at first you don't succeed ... post it on The Code Project and Pray.

AnswerRe: Using %windir% in File.copy Pin
Sonhospa17-Aug-09 11:36
Sonhospa17-Aug-09 11:36 
AnswerRe: Using %windir% in File.copy Pin
Ghost_80717-Aug-09 12:03
Ghost_80717-Aug-09 12:03 
GeneralRe: Using %windir% in File.copy Pin
Dave Kreskowiak17-Aug-09 14:34
mveDave Kreskowiak17-Aug-09 14:34 
GeneralRe: Using %windir% in File.copy Pin
Ghost_80718-Aug-09 3:06
Ghost_80718-Aug-09 3:06 
GeneralRe: Using %windir% in File.copy Pin
Dave Kreskowiak18-Aug-09 4:20
mveDave Kreskowiak18-Aug-09 4:20 
GeneralRe: Using %windir% in File.copy Pin
Ghost_80718-Aug-09 6:44
Ghost_80718-Aug-09 6:44 
GeneralRe: Using %windir% in File.copy Pin
Ghost_80718-Aug-09 9:53
Ghost_80718-Aug-09 9:53 
QuestionAutomatically starting VB 6 application at Windows Start Up Pin
RyJaBy17-Aug-09 7:02
RyJaBy17-Aug-09 7:02 
AnswerRe: Automatically starting VB 6 application at Windows Start Up Pin
Dave Kreskowiak17-Aug-09 8:07
mveDave Kreskowiak17-Aug-09 8:07 
QuestionHow to print page with Visual Basic 2008? Pin
Mohamed_Khalil17-Aug-09 6:31
Mohamed_Khalil17-Aug-09 6:31 
AnswerRe: How to print page with Visual Basic 2008? Pin
Henry Minute17-Aug-09 7:06
Henry Minute17-Aug-09 7:06 
QuestionAdding a Positive Double to Negative Double Pin
KeithF17-Aug-09 3:43
KeithF17-Aug-09 3:43 
AnswerRe: Adding a Positive Double to Negative Double Pin
Luc Pattyn17-Aug-09 4:12
sitebuilderLuc Pattyn17-Aug-09 4:12 
GeneralRe: Adding a Positive Double to Negative Double Pin
KeithF17-Aug-09 4:16
KeithF17-Aug-09 4:16 
QuestionCanceling a ThreadPool thread that's being blocked by a .NET method Pin
Brandon D. Legault17-Aug-09 3:39
Brandon D. Legault17-Aug-09 3:39 
AnswerRe: Canceling a ThreadPool thread that's being blocked by a .NET method Pin
Dave Kreskowiak17-Aug-09 4:28
mveDave Kreskowiak17-Aug-09 4:28 
GeneralRe: Canceling a ThreadPool thread that's being blocked by a .NET method Pin
Brandon D. Legault17-Aug-09 4:41
Brandon D. Legault17-Aug-09 4:41 

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.