Click here to Skip to main content
15,891,136 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionQuestion about creating dir Pin
User2202219-Apr-22 9:54
User2202219-Apr-22 9:54 
AnswerRe: Question about creating dir Pin
Dave Kreskowiak19-Apr-22 11:21
mveDave Kreskowiak19-Apr-22 11:21 
1. Stop using VB6. It's been dead for over 20 years now.

2. The path you specify should not start with "\\?\".

3. The folders should not already exist. Trying to create C:\Windows or C:\Windows\System32 will fail as they already exist.

4. The Windows and Windows\System32 folders are protected from being written to by normal users. Any attempt to create folders or files in these folders will fail.

5. If I remember correctly (I haven't touched VB6 in over 20 years!) you don't even need Shell to do it. You can just do
VB
MkDir "C:\MyFolder"



modified 20-Apr-22 12:26pm.

QuestionApp.Path & "\" & App.EXEName alternative Pin
Everdome io5-Apr-22 2:08
Everdome io5-Apr-22 2:08 
AnswerRe: App.Path & "\" & App.EXEName alternative Pin
Richard Deeming5-Apr-22 2:25
mveRichard Deeming5-Apr-22 2:25 
GeneralRe: App.Path & "\" & App.EXEName alternative Pin
Everdome io5-Apr-22 5:04
Everdome io5-Apr-22 5:04 
AnswerRe: App.Path & "\" & App.EXEName alternative Pin
Raphael Adeniji17-Apr-22 10:31
Raphael Adeniji17-Apr-22 10:31 
Questionhow to add dynamic image in crystal report from vb6 Pin
Datta Bhor27-Mar-22 7:59
Datta Bhor27-Mar-22 7:59 
AnswerRe: how to add dynamic image in crystal report from vb6 Pin
Raphael Adeniji18-Apr-22 8:40
Raphael Adeniji18-Apr-22 8:40 
QuestionGoogle Drive API in VB.net check if file is opened Pin
Goldrake_Act23-Mar-22 21:47
Goldrake_Act23-Mar-22 21:47 
Questionsearch for specific word in a text file Pin
Benjamindh19-Mar-22 18:09
Benjamindh19-Mar-22 18:09 
AnswerRe: search for specific word in a text file Pin
Richard MacCutchan19-Mar-22 22:17
mveRichard MacCutchan19-Mar-22 22:17 
AnswerRe: search for specific word in a text file Pin
Raphael Adeniji20-Apr-22 5:35
Raphael Adeniji20-Apr-22 5:35 
GeneralRe: search for specific word in a text file Pin
Richard Deeming20-Apr-22 6:11
mveRichard Deeming20-Apr-22 6:11 
GeneralRe: search for specific word in a text file Pin
Raphael Adeniji21-Apr-22 5:53
Raphael Adeniji21-Apr-22 5:53 
GeneralRe: search for specific word in a text file Pin
Richard Deeming21-Apr-22 6:53
mveRichard Deeming21-Apr-22 6:53 
GeneralRe: search for specific word in a text file Pin
Raphael Adeniji21-Apr-22 7:20
Raphael Adeniji21-Apr-22 7:20 
GeneralRe: search for specific word in a text file Pin
Richard Deeming21-Apr-22 21:20
mveRichard Deeming21-Apr-22 21:20 
QuestionRun .bat file from ftp using console apps Pin
SHAHROL AZMI BIN AMZAT13-Mar-22 21:07
SHAHROL AZMI BIN AMZAT13-Mar-22 21:07 
AnswerRe: Run .bat file from ftp using console apps Pin
Richard Deeming13-Mar-22 22:30
mveRichard Deeming13-Mar-22 22:30 
GeneralRe: Run .bat file from ftp using console apps Pin
SHAHROL AZMI BIN AMZAT15-Mar-22 13:14
SHAHROL AZMI BIN AMZAT15-Mar-22 13:14 
AnswerRe: Run .bat file from ftp using console apps Pin
Eddy Vluggen14-Mar-22 14:44
professionalEddy Vluggen14-Mar-22 14:44 
Questionconvert image to matrix Pin
CR7 Madara13-Mar-22 2:23
CR7 Madara13-Mar-22 2:23 
GeneralRe: convert image to matrix Pin
Richard MacCutchan13-Mar-22 2:32
mveRichard MacCutchan13-Mar-22 2:32 
AnswerRe: convert image to matrix Pin
Kenneth Haugland13-Mar-22 6:08
mvaKenneth Haugland13-Mar-22 6:08 
QuestionSimple question: why does Visual Studio "freak out" when changing Form1 name to something different Pin
lewist577-Mar-22 13:57
lewist577-Mar-22 13:57 

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.