Click here to Skip to main content
15,898,931 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: ioIs it new in Visual Studio 2005 VB.net? Pin
Dave Kreskowiak30-Jan-06 14:41
mveDave Kreskowiak30-Jan-06 14:41 
QuestionDisplaying a second form in the same window as the main form in VB2005 Pin
Dean Forant30-Jan-06 6:35
Dean Forant30-Jan-06 6:35 
AnswerRe: Displaying a second form in the same window as the main form in VB2005 Pin
Dave Kreskowiak30-Jan-06 13:36
mveDave Kreskowiak30-Jan-06 13:36 
QuestionGetUserObjectInformation Pin
jasonbullard30-Jan-06 5:28
jasonbullard30-Jan-06 5:28 
Questionerror #6 overflow with getSystemMenu Pin
ns30-Jan-06 4:24
ns30-Jan-06 4:24 
AnswerRe: error #6 overflow with getSystemMenu Pin
Eric Dahlvang30-Jan-06 4:37
Eric Dahlvang30-Jan-06 4:37 
GeneralRe: error #6 overflow with getSystemMenu Pin
ns30-Jan-06 4:58
ns30-Jan-06 4:58 
GeneralRe: error #6 overflow with getSystemMenu Pin
Dave Kreskowiak30-Jan-06 5:57
mveDave Kreskowiak30-Jan-06 5:57 
The correct declaration should be:
Private Declare Function GetSystemMenu Lib "user32" _
(ByVal hWnd As IntPtr, ByVal bRevert As Integer) As IntPtr

Handles should always be declared IntPtrs because, just like handles, they're going to be the width of the processor, 32-bit on 32-bit procs and 64-bits wide on 64-bit procs.

The declaration you used, using Long, is a VB6 declaration. In VB6, Long are 32-bit signed integers. In VB.NET, they're 64-bit signed integers. The two representations are NOT compatible with each other!


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

GeneralRe: error #6 overflow with getSystemMenu Pin
Eric Dahlvang30-Jan-06 6:09
Eric Dahlvang30-Jan-06 6:09 
QuestionCrystal Reports Pin
microuser_200030-Jan-06 4:18
microuser_200030-Jan-06 4:18 
Questionconvert integer to formatted string Pin
Marc Soleda30-Jan-06 3:05
Marc Soleda30-Jan-06 3:05 
AnswerRe: convert integer to formatted string Pin
Eric Dahlvang30-Jan-06 3:20
Eric Dahlvang30-Jan-06 3:20 
GeneralRe: convert integer to formatted string Pin
Marc Soleda30-Jan-06 4:17
Marc Soleda30-Jan-06 4:17 
Questionuse word macro Pin
danidanidani30-Jan-06 3:00
danidanidani30-Jan-06 3:00 
AnswerRe: use word macro Pin
Eric Dahlvang30-Jan-06 5:14
Eric Dahlvang30-Jan-06 5:14 
GeneralRe: use word macro Pin
danidanidani30-Jan-06 11:21
danidanidani30-Jan-06 11:21 
Questionadding backgroundimage to listbox control Pin
kondepudi nagaraju30-Jan-06 1:58
kondepudi nagaraju30-Jan-06 1:58 
AnswerRe: adding backgroundimage to listbox control Pin
JUNEYT30-Jan-06 14:38
JUNEYT30-Jan-06 14:38 
GeneralRe: adding backgroundimage to listbox control Pin
kondepudi nagaraju31-Jan-06 0:55
kondepudi nagaraju31-Jan-06 0:55 
Questionadding backgroundimage to listbox control Pin
kondepudi nagaraju30-Jan-06 1:57
kondepudi nagaraju30-Jan-06 1:57 
QuestionTo add a Control Under Datagridview (Adjust X & Y) Pin
HemaRawat30-Jan-06 1:41
HemaRawat30-Jan-06 1:41 
QuestionHow can make an entry into WAB with VB.net? Pin
JUNEYT30-Jan-06 1:21
JUNEYT30-Jan-06 1:21 
AnswerRe: How can make an entry into WAB with VB.net? Pin
jasonpb1-Feb-06 22:34
jasonpb1-Feb-06 22:34 
GeneralRe: How can make an entry into WAB with VB.net? Pin
JUNEYT2-Feb-06 0:42
JUNEYT2-Feb-06 0:42 
Questionfor a special combo Pin
Assaf8230-Jan-06 1:01
Assaf8230-Jan-06 1:01 

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.