Click here to Skip to main content
15,917,709 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: how can I change to select variable instead of slectedRow? Pin
Lisana16-Aug-04 2:57
Lisana16-Aug-04 2:57 
Generalvb.net Pin
sm_knc13-Aug-04 8:09
sm_knc13-Aug-04 8:09 
GeneralRe: vb.net Pin
Anonymous13-Aug-04 8:19
Anonymous13-Aug-04 8:19 
GeneralRe: vb.net Pin
Dave Kreskowiak13-Aug-04 9:11
mveDave Kreskowiak13-Aug-04 9:11 
GeneralDouble Click Event on ListView Pin
viettho13-Aug-04 6:58
viettho13-Aug-04 6:58 
GeneralRe: Double Click Event on ListView Pin
S Sansanwal15-Aug-04 18:03
S Sansanwal15-Aug-04 18:03 
GeneralVB script help needed.. Pin
Anonymous13-Aug-04 3:29
Anonymous13-Aug-04 3:29 
GeneralRe: VB script help needed.. Pin
Dave Kreskowiak13-Aug-04 8:33
mveDave Kreskowiak13-Aug-04 8:33 
It would help if you were a little more specific about what your are having trouble with, but here's the whole solution anyway...
Dim WshShell, strEnvString, strIPAddress
Set WshShell = WScript.CreateObject("WScript.Shell")
strEnvString = WshShell.ExpandEnvironmentStrings("%ClientName%")
' Just ignore the first character, we can start parsing out the address anywhere we want.
strIPAddress = Mid(strEnvString, 2, 3) & "." & _
               Mid(strEnvString, 5, 3) & "." & _
               Mid(strEnvString, 8, 3) & "." & _
               Mid(strEnvString, 11, 3)
WScript.Echo "The machine IP is " & strIPAddress



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

GeneralAccessing DB Connection string from remote server Pin
rajanv13-Aug-04 2:22
rajanv13-Aug-04 2:22 
GeneralRe: Accessing DB Connection string from remote server Pin
Dave Kreskowiak13-Aug-04 8:24
mveDave Kreskowiak13-Aug-04 8:24 
GeneralModify Registry with vb.net Pin
sybux200012-Aug-04 22:08
sybux200012-Aug-04 22:08 
GeneralRe: Modify Registry with vb.net Pin
Dave Kreskowiak13-Aug-04 8:22
mveDave Kreskowiak13-Aug-04 8:22 
Generalhelp! error: BC30389: 'C' is not accessible in this context because it is 'Private' Pin
isnapols12-Aug-04 21:53
isnapols12-Aug-04 21:53 
GeneralRe: help! error: BC30389: 'C' is not accessible in this context because it is 'Private' Pin
sybux200013-Aug-04 2:04
sybux200013-Aug-04 2:04 
GeneralRe: help! error: BC30389: 'C' is not accessible in this context because it is 'Private' Pin
isnapols15-Aug-04 14:13
isnapols15-Aug-04 14:13 
GeneralRe: help! error: BC30389: 'C' is not accessible in this context because it is 'Private' Pin
Dave Kreskowiak15-Aug-04 15:47
mveDave Kreskowiak15-Aug-04 15:47 
GeneralRe: help! error: BC30389: 'C' is not accessible in this context because it is 'Private' Pin
isnapols15-Aug-04 17:44
isnapols15-Aug-04 17:44 
GeneralRe: help! error: BC30389: 'C' is not accessible in this context because it is 'Private' Pin
Dave Kreskowiak16-Aug-04 2:57
mveDave Kreskowiak16-Aug-04 2:57 
Generalkeyboard response Pin
ghelp12-Aug-04 20:30
ghelp12-Aug-04 20:30 
GeneralRe: keyboard response Pin
The Man from U.N.C.L.E.13-Aug-04 1:00
The Man from U.N.C.L.E.13-Aug-04 1:00 
GeneralHelp on Table Support in RichTextBox Control Pin
nasirc12-Aug-04 19:42
nasirc12-Aug-04 19:42 
GeneralRe: Help on Table Support in RichTextBox Control Pin
mav.northwind12-Aug-04 20:09
mav.northwind12-Aug-04 20:09 
GeneralMulti-Byte Languages (Japanese) Pin
sburton12-Aug-04 14:51
sburton12-Aug-04 14:51 
GeneralPictureBox & Multiple Forms Pin
Achithyn12-Aug-04 10:48
Achithyn12-Aug-04 10:48 
GeneralRe: PictureBox & Multiple Forms Pin
Achithyn13-Aug-04 15:16
Achithyn13-Aug-04 15:16 

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.