Click here to Skip to main content
16,005,552 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: setting a variable NAME Pin
Anonymous21-Apr-05 9:26
Anonymous21-Apr-05 9:26 
GeneralRe: setting a variable NAME Pin
Colin Angus Mackay22-Apr-05 0:32
Colin Angus Mackay22-Apr-05 0:32 
GeneralQuery !! Pin
vishalmishra21-Apr-05 7:51
vishalmishra21-Apr-05 7:51 
GeneralRe: Query !! Pin
vertig073021-Apr-05 9:52
vertig073021-Apr-05 9:52 
GeneraltStartup Application Pin
ADY00721-Apr-05 7:33
ADY00721-Apr-05 7:33 
GeneralRe: tStartup Application Pin
Dave Kreskowiak21-Apr-05 7:41
mveDave Kreskowiak21-Apr-05 7:41 
QuestionHow to enable/disable & list network adapter in VB. Pin
BOOGIEMAN1ManClan21-Apr-05 6:16
BOOGIEMAN1ManClan21-Apr-05 6:16 
AnswerRe: How to enable/disable & list network adapter in VB. Pin
Dave Kreskowiak21-Apr-05 7:17
mveDave Kreskowiak21-Apr-05 7:17 
The reason you didn't find any VB6 code to specifically do this is because, one, it's not something most people would do, and two, they wouldn't normally use VB6 to do it.

1) There is no registry setting that will do this. This must be done by using the Device Manangement API functions. Definately not for the faint of heart, or those weak in COM skills. If you want to take a look at what's involved, click here[^]. You've been warned...

2) You can do this using Windows Management Instrumentation to get a list of Win32_NetworkAdapters. For more on using WMI, see here[^]. Oh yeah, you cannot use WMI to disable the network adapter(s)! Smile | :)



RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: How to enable/disable & list network adapter in VB. Pin
Anonymous21-Apr-05 7:21
Anonymous21-Apr-05 7:21 
GeneralRe: How to enable/disable & list network adapter in VB. Pin
Dave Kreskowiak21-Apr-05 7:32
mveDave Kreskowiak21-Apr-05 7:32 
GeneralRe: How to enable/disable & list network adapter in VB. Pin
Scott Serl21-Apr-05 8:32
Scott Serl21-Apr-05 8:32 
GeneralVariables, <>, and IF Statements Pin
Anonymous21-Apr-05 5:34
Anonymous21-Apr-05 5:34 
GeneralRe: Variables, <>, and IF Statements Pin
Dave Kreskowiak21-Apr-05 6:32
mveDave Kreskowiak21-Apr-05 6:32 
GeneralRe: Variables, <>, and IF Statements Pin
Anonymous21-Apr-05 6:49
Anonymous21-Apr-05 6:49 
GeneralRe: Variables, <>, and IF Statements Pin
Dave Kreskowiak21-Apr-05 7:30
mveDave Kreskowiak21-Apr-05 7:30 
GeneralRe: Variables, <>, and IF Statements Pin
Anonymous22-Apr-05 6:52
Anonymous22-Apr-05 6:52 
GeneralCR Help Pin
vertig073021-Apr-05 4:38
vertig073021-Apr-05 4:38 
GeneralRe: CR Help Pin
Jim Matthews21-Apr-05 5:20
Jim Matthews21-Apr-05 5:20 
GeneralRe: CR Help Pin
vertig073021-Apr-05 5:46
vertig073021-Apr-05 5:46 
GeneralRe: CR Help Pin
Jim Matthews21-Apr-05 8:04
Jim Matthews21-Apr-05 8:04 
GeneralRe: CR Help Pin
vertig073021-Apr-05 8:21
vertig073021-Apr-05 8:21 
Questionhow to use the WMA codec in my application? Pin
ndanya20-Apr-05 23:20
ndanya20-Apr-05 23:20 
GeneralPowerpoint Event Handling using VBA Pin
Mohan vijay20-Apr-05 23:02
Mohan vijay20-Apr-05 23:02 
GeneralRe: Powerpoint Event Handling using VBA Pin
Dave Kreskowiak21-Apr-05 7:48
mveDave Kreskowiak21-Apr-05 7:48 
GeneralRe: Powerpoint Event Handling using VBA Pin
Mohan vijay22-Apr-05 6:19
Mohan vijay22-Apr-05 6:19 

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.