Click here to Skip to main content
15,888,984 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionIs there any control for hyper-text besides IE? Pin
smartnose14-Feb-03 18:41
smartnose14-Feb-03 18:41 
AnswerRe: Is there any control for hyper-text besides IE? Pin
FruitBatInShades16-Feb-03 11:34
FruitBatInShades16-Feb-03 11:34 
GeneralIcon full quality issue Pin
NicoVB14-Feb-03 8:50
NicoVB14-Feb-03 8:50 
GeneralRe: Icon full quality issue Pin
Jeremy Falcon19-Feb-03 7:34
professionalJeremy Falcon19-Feb-03 7:34 
GeneralRe: Icon full quality issue Pin
NicoVB19-Feb-03 7:56
NicoVB19-Feb-03 7:56 
GeneralRe: Icon full quality issue Pin
NicoVB23-Feb-03 5:30
NicoVB23-Feb-03 5:30 
General2 ques regarding hexadecimal numbers Pin
r i s h a b h s14-Feb-03 0:58
r i s h a b h s14-Feb-03 0:58 
GeneralRe: 2 ques regarding hexadecimal numbers Pin
Richard Deeming14-Feb-03 6:52
mveRichard Deeming14-Feb-03 6:52 
  1. In VB/VB.NET, hexadecimal numbers are prefixed with &H, not 0x.
    You use hex numbers in exactly the same way as decimal numbers, e.g. Dim i As Integer = &H40 + &H80.
    To print the result as a hex number, use i.ToString("X") in VB.NET, or Hex(i) in VB6.
  2. The sum of the first three numbers is 10C0, not 10C2.
    You can use the And operator to find the numbers. For example:
    Dim number As Integer = &H10C0
    Dim sum As String
    Dim i As Integer
    i = 1
    
    Do While number > 0
        If 0 <> (number And i) Then
            If Len(sum) > 0 Then sum = sum & " + "
            sum = sum & Hex(<span title="Whoops!">i)
            number = number - i
        End If
        i = i * 2
    Loop



"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
GeneralRe: 2 ques regarding hexadecimal numbers Pin
Richard Deeming16-Feb-03 23:50
mveRichard Deeming16-Feb-03 23:50 
GeneralRe: 2 ques regarding hexadecimal numbers Pin
r i s h a b h s17-Feb-03 17:03
r i s h a b h s17-Feb-03 17:03 
GeneralWave Pedal Pin
syedhassan413-Feb-03 23:20
syedhassan413-Feb-03 23:20 
GeneralVB Pin
Ebin13-Feb-03 17:05
Ebin13-Feb-03 17:05 
QuestionHow do i code an animated (gif) button in vb.NET? Pin
qsdnj13-Feb-03 7:10
qsdnj13-Feb-03 7:10 
AnswerRe: How do i code an animated (gif) button in vb.NET? Pin
RZLR18-Feb-03 0:22
RZLR18-Feb-03 0:22 
Generalpowerpoint automation Pin
pnpfriend13-Feb-03 5:14
pnpfriend13-Feb-03 5:14 
GeneralMSHFlexGrid Pin
Andy H12-Feb-03 11:28
Andy H12-Feb-03 11:28 
GeneralRe: MSHFlexGrid Pin
Andy H12-Feb-03 12:19
Andy H12-Feb-03 12:19 
Generaldisabling a row in a datagrid Pin
mcm12-Feb-03 5:40
mcm12-Feb-03 5:40 
Generalchecking for a numeric value in a loop Pin
mcm12-Feb-03 1:01
mcm12-Feb-03 1:01 
GeneralRe: checking for a numeric value in a loop Pin
xBlitzerx12-Feb-03 4:21
xBlitzerx12-Feb-03 4:21 
QuestionHow To Show MDI Form in ActiveXDll.OCX Pin
Uttam Kumar Unik!11-Feb-03 22:29
Uttam Kumar Unik!11-Feb-03 22:29 
AnswerRe: How To Show MDI Form in ActiveXDll.OCX Pin
Ray Cassick13-Feb-03 3:17
Ray Cassick13-Feb-03 3:17 
GeneralRe: How To Show MDI Form in ActiveXDll.OCX Pin
Uttam Kumar Unik!13-Feb-03 23:22
Uttam Kumar Unik!13-Feb-03 23:22 
GeneralRe: How To Show MDI Form in ActiveXDll.OCX Pin
Ray Cassick14-Feb-03 7:39
Ray Cassick14-Feb-03 7:39 
AnswerRe: How To Show MDI Form in ActiveXDll.OCX Pin
Tony Stark18-Feb-03 3:19
Tony Stark18-Feb-03 3: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.