Click here to Skip to main content
15,894,362 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionlog4net in vista Pin
C#Coudou18-Aug-09 16:11
C#Coudou18-Aug-09 16:11 
AnswerRe: log4net in vista [modified] Pin
Luc Pattyn18-Aug-09 16:34
sitebuilderLuc Pattyn18-Aug-09 16:34 
GeneralRe: log4net in vista Pin
C#Coudou18-Aug-09 16:41
C#Coudou18-Aug-09 16:41 
AnswerRe: log4net in vista Pin
C#Coudou18-Aug-09 16:39
C#Coudou18-Aug-09 16:39 
GeneralRe: log4net in vista Pin
Dave Kreskowiak18-Aug-09 17:48
mveDave Kreskowiak18-Aug-09 17:48 
GeneralRe: log4net in vista Pin
Steven J Jowett19-Aug-09 7:33
Steven J Jowett19-Aug-09 7:33 
Questiondetecting if a device is plugged into a port VB6 Pin
RyJaBy18-Aug-09 7:56
RyJaBy18-Aug-09 7:56 
AnswerRe: detecting if a device is plugged into a port VB6 Pin
Dave Kreskowiak18-Aug-09 8:57
mveDave Kreskowiak18-Aug-09 8:57 
RyJaBy wrote:
While in standby mode you remove the device from COM 3 and put it into COM 4. Is there a way to determine that using visual basic 6?


There is no standard method. You would have to test your communication to the device on the last known port it was connected to. If it fails, then you would have to poll all the available COM ports until you found it again, reset everything to a known state, then resume what you were doing. Or, just askl the user which COM port the device is now attached to, reset everything to a known state and resume.


RyJaBy wrote:
Maybe there is a way to detect when your computer comes out of standby mode.


It's possible to do. You would have to get the power notifications[^] by overriding the forms WindowProc. I couldn't tell you how to do it in VB6 because I haven't touched it in the last 8 years. Using VB.NET, it's quite easy.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008
But no longer in 2009...




GeneralRe: detecting if a device is plugged into a port VB6 Pin
0x3c018-Aug-09 10:54
0x3c018-Aug-09 10:54 
QuestionHow can I have a form load and set it as readable = true? Pin
waner michaud18-Aug-09 7:53
waner michaud18-Aug-09 7:53 
AnswerRe: How can I have a form load and set it as readable = true? Pin
Dave Kreskowiak18-Aug-09 8:47
mveDave Kreskowiak18-Aug-09 8:47 
QuestionEncryption Pin
KreativeKai18-Aug-09 7:11
professionalKreativeKai18-Aug-09 7:11 
AnswerRe: Encryption Pin
Dave Kreskowiak18-Aug-09 7:18
mveDave Kreskowiak18-Aug-09 7:18 
GeneralRe: Encryption Pin
KreativeKai19-Aug-09 3:06
professionalKreativeKai19-Aug-09 3:06 
GeneralRe: Encryption Pin
Dave Kreskowiak19-Aug-09 3:46
mveDave Kreskowiak19-Aug-09 3:46 
Questionhow to convert capstext in datagridview ? Pin
JC.KaNNaN18-Aug-09 2:21
JC.KaNNaN18-Aug-09 2:21 
AnswerRe: how to convert capstext in datagridview ? Pin
Johan Hakkesteegt18-Aug-09 2:56
Johan Hakkesteegt18-Aug-09 2:56 
GeneralRe: how to convert capstext in datagridview ? Pin
JC.KaNNaN18-Aug-09 18:30
JC.KaNNaN18-Aug-09 18:30 
GeneralRe: how to convert capstext in datagridview ? Pin
Ashfield18-Aug-09 21:00
Ashfield18-Aug-09 21:00 
GeneralRe: how to convert capstext in datagridview ? Pin
JC.KaNNaN18-Aug-09 21:34
JC.KaNNaN18-Aug-09 21:34 
GeneralRe: how to convert capstext in datagridview ? Pin
Ashfield18-Aug-09 23:45
Ashfield18-Aug-09 23:45 
GeneralRe: how to convert capstext in datagridview ? Pin
JC.KaNNaN19-Aug-09 2:28
JC.KaNNaN19-Aug-09 2:28 
QuestionVb.net text box Pin
rrrriiizz17-Aug-09 23:12
rrrriiizz17-Aug-09 23:12 
AnswerRe: Vb.net text box Pin
Christian Graus17-Aug-09 23:19
protectorChristian Graus17-Aug-09 23:19 
AnswerRe: Vb.net text box Pin
Tom Deketelaere17-Aug-09 23:56
professionalTom Deketelaere17-Aug-09 23:56 

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.