Click here to Skip to main content
16,007,277 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralTextbox Array Pin
parth.p15-Jan-08 9:55
parth.p15-Jan-08 9:55 
GeneralRe: Textbox Array Pin
Dave Kreskowiak15-Jan-08 10:30
mveDave Kreskowiak15-Jan-08 10:30 
GeneralRe: Textbox Array Pin
parth.p15-Jan-08 10:33
parth.p15-Jan-08 10:33 
GeneralRe: Textbox Array Pin
Dave Kreskowiak15-Jan-08 10:49
mveDave Kreskowiak15-Jan-08 10:49 
GeneralRe: Textbox Array Pin
parth.p15-Jan-08 22:35
parth.p15-Jan-08 22:35 
GeneralRe: Textbox Array Pin
Dave Kreskowiak16-Jan-08 2:02
mveDave Kreskowiak16-Jan-08 2:02 
GeneralBeginner - VB 6 and Multimedia, type declarations Pin
Jan3415-Jan-08 8:19
Jan3415-Jan-08 8:19 
GeneralRe: Beginner - VB 6 and Multimedia, type declarations Pin
Dave Kreskowiak15-Jan-08 9:16
mveDave Kreskowiak15-Jan-08 9:16 
Jan34 wrote:
I was wondering why some of them aren't being declared as being variables of type Byte.


That depends on the function being called and the limitations of VB6. If the function requires a 16-bit signed integer being passed in, a Byte just won't cover it. You MUST match the datatypes of the function being called as closely as possible, but in all cases, you have to pick a type that has a size matching the size of the type expected by the function call. If not, the stack corrupts and the cell will most likely fail, if not your entire application.

Why are you even starting with VB6?? It's a dead language with no further support from Microsoft. You can get VB.NET for free from MSDN.



A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007




GeneralRe: Beginner - VB 6 and Multimedia, type declarations Pin
MikeMarq15-Jan-08 14:53
MikeMarq15-Jan-08 14:53 
GeneralRead and compile a stored procedure Pin
HenrydeSousa15-Jan-08 6:24
HenrydeSousa15-Jan-08 6:24 
GeneralRe: Read and compile a stored procedure Pin
Dave Kreskowiak15-Jan-08 9:19
mveDave Kreskowiak15-Jan-08 9:19 
GeneralRe: Read and compile a stored procedure [modified] Pin
HenrydeSousa15-Jan-08 15:40
HenrydeSousa15-Jan-08 15:40 
GeneralRe: Read and compile a stored procedure Pin
Dave Kreskowiak16-Jan-08 4:34
mveDave Kreskowiak16-Jan-08 4:34 
GeneralRe: Read and compile a stored procedure Pin
HenrydeSousa16-Jan-08 7:10
HenrydeSousa16-Jan-08 7:10 
GeneralRe: Read and compile a stored procedure Pin
HenrydeSousa11-Feb-08 14:56
HenrydeSousa11-Feb-08 14:56 
GeneralButton Size in ButtonColumn in DataGridView Pin
ExcelMonkey15-Jan-08 5:50
ExcelMonkey15-Jan-08 5:50 
GeneralRe: Button Size in ButtonColumn in DataGridView Pin
Dave Kreskowiak15-Jan-08 9:22
mveDave Kreskowiak15-Jan-08 9:22 
GeneralConfirm Message in DataGrid Pin
M_Menon15-Jan-08 5:26
M_Menon15-Jan-08 5:26 
GeneralRe: Confirm Message in DataGrid Pin
Dave Kreskowiak15-Jan-08 6:12
mveDave Kreskowiak15-Jan-08 6:12 
GeneralUnmanaged DLLs Pin
Charles Keepax15-Jan-08 2:53
Charles Keepax15-Jan-08 2:53 
GeneralRe: Unmanaged DLLs Pin
Luc Pattyn15-Jan-08 3:06
sitebuilderLuc Pattyn15-Jan-08 3:06 
GeneralRe: Unmanaged DLLs Pin
Dave Kreskowiak15-Jan-08 3:58
mveDave Kreskowiak15-Jan-08 3:58 
GeneralRe: Unmanaged DLLs Pin
Luc Pattyn15-Jan-08 4:09
sitebuilderLuc Pattyn15-Jan-08 4:09 
GeneralRe: Unmanaged DLLs Pin
Charles Keepax15-Jan-08 5:39
Charles Keepax15-Jan-08 5:39 
Generalword programming Pin
ps_prakash0215-Jan-08 1:56
ps_prakash0215-Jan-08 1: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.