Click here to Skip to main content
15,919,434 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralCompletely Dynamic Menu Pin
Pugman81214-Feb-04 20:34
Pugman81214-Feb-04 20:34 
GeneralRe: Completely Dynamic Menu Pin
Yogendra Agarwal19-Feb-04 9:19
Yogendra Agarwal19-Feb-04 9:19 
GeneralOne form MDI only admitted Pin
Member 87881514-Feb-04 10:37
Member 87881514-Feb-04 10:37 
Generalhide a from which is not foucsed Pin
aynka200014-Feb-04 7:26
aynka200014-Feb-04 7:26 
GeneralRe: hide a from which is not foucsed Pin
zaheer Asif14-Feb-04 9:58
zaheer Asif14-Feb-04 9:58 
GeneralRe: hide a from which is not foucsed Pin
zaheer Asif14-Feb-04 10:00
zaheer Asif14-Feb-04 10:00 
QuestionHow to create a SPARSE file in VB.NET Pin
WESHILL14-Feb-04 7:23
WESHILL14-Feb-04 7:23 
AnswerRe: How to create a SPARSE file in VB.NET Pin
Dave Kreskowiak14-Feb-04 9:25
mveDave Kreskowiak14-Feb-04 9:25 
First, your declaration for DeviceIOControl is wrong. Your passing all variable in ByVal, but some of the parameters must be passed in ByRef. This is because DeviceIOControl is looking for the address of the variable, not it's value. The parameters that start with 'lp' are actually long pointers, which represent a 32-bit address, not a value. This is where you pass by reference.
Public Declare Function DeviceIoControl Lib "kernel32" ( _
    ByVal hDevice As Long, _
    ByVal dwIoControlCode As Long, _
    ByRef lpInBuffer As String, _
    ByVal nInBufferSize As Long, _
    ByRef lpOutBuffer As String, _
    ByVal nOutBufferSize As Long, _
    ByRef lpBytesReturned As Long, _
    ByVal lpOverlapped As String) As Long

Try that and see what happens...


RageInTheMachine9532
GeneralRe: How to create a SPARSE file in VB.NET Pin
WESHILL14-Feb-04 9:41
WESHILL14-Feb-04 9:41 
GeneralRe: How to create a SPARSE file in VB.NET Pin
Dave Kreskowiak16-Feb-04 8:51
mveDave Kreskowiak16-Feb-04 8:51 
GeneralRe: How to create a SPARSE file in VB.NET Pin
WESHILL24-Feb-04 5:54
WESHILL24-Feb-04 5:54 
GeneralRe: How to create a SPARSE file in VB.NET Pin
WESHILL9-Mar-04 2:03
WESHILL9-Mar-04 2:03 
Questionmousehover? Pin
Nadroj14-Feb-04 6:42
Nadroj14-Feb-04 6:42 
AnswerRe: mousehover? Pin
Matthew Hazlett14-Feb-04 7:13
Matthew Hazlett14-Feb-04 7:13 
GeneralRe: mousehover? Pin
Nadroj14-Feb-04 7:21
Nadroj14-Feb-04 7:21 
GeneralRe: mousehover? Pin
Matthew Hazlett14-Feb-04 7:37
Matthew Hazlett14-Feb-04 7:37 
GeneralRe: mousehover? Pin
Nadroj14-Feb-04 7:44
Nadroj14-Feb-04 7:44 
GeneralNew to VB.Net from VB6 Pin
Gaz@UK14-Feb-04 5:33
Gaz@UK14-Feb-04 5:33 
GeneralRe: New to VB.Net from VB6 Pin
Michael P Butler14-Feb-04 6:07
Michael P Butler14-Feb-04 6:07 
GeneralRe: New to VB.Net from VB6 Pin
Gaz@UK14-Feb-04 21:12
Gaz@UK14-Feb-04 21:12 
QuestionVisual Basic 6.0 Skinning?? Pin
erikkloeze14-Feb-04 3:20
erikkloeze14-Feb-04 3:20 
AnswerRe: Visual Basic 6.0 Skinning?? Pin
r i s h a b h s16-Feb-04 19:45
r i s h a b h s16-Feb-04 19:45 
GeneralRe: Visual Basic 6.0 Skinning?? Pin
erikkloeze17-Feb-04 3:22
erikkloeze17-Feb-04 3:22 
GeneralRe: Visual Basic 6.0 Skinning?? Pin
Wilbur J. Pereira18-Feb-04 7:54
Wilbur J. Pereira18-Feb-04 7:54 
GeneralVB.NET for SQL Server problem Pin
bensoncd14-Feb-04 2:56
bensoncd14-Feb-04 2: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.