Click here to Skip to main content
15,884,176 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionOperator '=' is not defined for type for 'DBNull' and string '1' Pin
LohJane20-Apr-22 23:13
LohJane20-Apr-22 23:13 
SuggestionRe: Operator '=' is not defined for type for 'DBNull' and string '1' Pin
Richard Deeming20-Apr-22 23:32
mveRichard Deeming20-Apr-22 23:32 
QuestionRe: Operator '=' is not defined for type for 'DBNull' and string '1' Pin
CHill6021-Apr-22 5:53
mveCHill6021-Apr-22 5:53 
AnswerRe: Operator '=' is not defined for type for 'DBNull' and string '1' Pin
Raphael Adeniji21-Apr-22 6:11
Raphael Adeniji21-Apr-22 6:11 
AnswerRe: Operator '=' is not defined for type for 'DBNull' and string '1' Pin
Richard MacCutchan21-Apr-22 23:22
mveRichard MacCutchan21-Apr-22 23:22 
AnswerRe: Operator '=' is not defined for type for 'DBNull' and string '1' Pin
CMYork0125-Apr-22 4:57
CMYork0125-Apr-22 4:57 
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 

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.