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

Visual Basic

 
GeneralAccessing VB6 control properties from VC++ Pin
BobAshforth11-Dec-03 7:34
BobAshforth11-Dec-03 7:34 
GeneralRe: Accessing VB6 control properties from VC++ Pin
Dave Kreskowiak11-Dec-03 8:37
mveDave Kreskowiak11-Dec-03 8:37 
GeneralRe: Accessing VB6 control properties from VC++ Pin
BobAshforth11-Dec-03 10:32
BobAshforth11-Dec-03 10:32 
GeneralRe: Accessing VB6 control properties from VC++ Pin
Dave Kreskowiak11-Dec-03 11:14
mveDave Kreskowiak11-Dec-03 11:14 
GeneralRe: Accessing VB6 control properties from VC++ Pin
BobAshforth12-Dec-03 2:48
BobAshforth12-Dec-03 2:48 
GeneralRe: Accessing VB6 control properties from VC++ Pin
Anthony_Yio11-Dec-03 23:17
Anthony_Yio11-Dec-03 23:17 
GeneralRe: Accessing VB6 control properties from VC++ Pin
BobAshforth12-Dec-03 2:51
BobAshforth12-Dec-03 2:51 
GeneralGleaning a specific part out of a string Pin
ccandler11-Dec-03 7:07
ccandler11-Dec-03 7:07 
I am working on trying to get a specific part out of an array element and making a descision based on what number is presented. The number is 10 decimal digits long before conversion to hex. Once it is converted to hex the upper four numbers are the key to what get done next. How do you get the four upper bits out of a string and then determine what they are in a case statement? The following is what I have for the function so far

Function manipdata() As Integer

'Look at the 3rd and 4th values from each array and determine what type of data it is and display it
'to the user in some format.

Dim i As Integer = 1
Dim a As Boolean
Dim b As String
Do While i < icount
b = Hex(son(i).data)
a = b.StartsWith("1708")

If a = True Then

MessageBox.Show("You found a fwd one")
End If

'MessageBox.Show("You found an aft one")

'Case "0812"
' MessageBox.Show("Go home")
'end case

i = i + 1
Loop
End Function


Thanks and any help would be appreciated.
GeneralRe: Gleaning a specific part out of a string Pin
Dave Kreskowiak11-Dec-03 7:46
mveDave Kreskowiak11-Dec-03 7:46 
Generalapplication dies Pin
JimWDurbin11-Dec-03 6:59
JimWDurbin11-Dec-03 6:59 
GeneralRe: application dies Pin
Dave Kreskowiak11-Dec-03 7:08
mveDave Kreskowiak11-Dec-03 7:08 
GeneralRe: application dies Pin
JimWDurbin11-Dec-03 7:20
JimWDurbin11-Dec-03 7:20 
GeneralRe: application dies Pin
Dave Kreskowiak11-Dec-03 7:31
mveDave Kreskowiak11-Dec-03 7:31 
GeneralRe: application dies Pin
JimWDurbin11-Dec-03 7:35
JimWDurbin11-Dec-03 7:35 
GeneralVB.Net - Saving settings on a text file; finding bin folder Pin
RandomGuy8511-Dec-03 6:34
sussRandomGuy8511-Dec-03 6:34 
GeneralRe: VB.Net - Saving settings on a text file; finding bin folder Pin
Dave Kreskowiak11-Dec-03 7:27
mveDave Kreskowiak11-Dec-03 7:27 
GeneralRe: VB.Net - Saving settings on a text file; finding bin folder Pin
Charlie Williams11-Dec-03 16:42
Charlie Williams11-Dec-03 16:42 
GeneralRe: VB.Net - Saving settings on a text file; finding bin folder Pin
Dave Kreskowiak12-Dec-03 2:26
mveDave Kreskowiak12-Dec-03 2:26 
GeneralRe: VB.Net - Saving settings on a text file; finding bin folder Pin
Charlie Williams12-Dec-03 12:56
Charlie Williams12-Dec-03 12:56 
Questionhow to copy text in a richtextbox to clipboard Pin
MJay10-Dec-03 23:41
MJay10-Dec-03 23:41 
AnswerRe: how to copy text in a richtextbox to clipboard Pin
Dave Kreskowiak11-Dec-03 3:07
mveDave Kreskowiak11-Dec-03 3:07 
GeneralRe: how to copy text in a richtextbox to clipboard Pin
MJay11-Dec-03 4:39
MJay11-Dec-03 4:39 
GeneralRe: how to copy text in a richtextbox to clipboard Pin
Dave Kreskowiak11-Dec-03 5:53
mveDave Kreskowiak11-Dec-03 5:53 
GeneralRe: how to copy text in a richtextbox to clipboard Pin
MJay11-Dec-03 22:38
MJay11-Dec-03 22:38 
AnswerRe: how to copy text in a richtextbox to clipboard Pin
Zipadie Doodah18-Dec-03 5:26
Zipadie Doodah18-Dec-03 5:26 

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.