Click here to Skip to main content
15,928,207 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Suggestions for passing arrays of data between executables in VB.net Pin
Troy Edson-Smith19-May-10 14:43
Troy Edson-Smith19-May-10 14:43 
QuestionLimit textbox.text to positiive and negative integers Pin
Johan Hakkesteegt19-May-10 1:02
Johan Hakkesteegt19-May-10 1:02 
AnswerRe: Limit textbox.text to positiive and negative integers Pin
DaveAuld19-May-10 1:37
professionalDaveAuld19-May-10 1:37 
GeneralRe: Limit textbox.text to positiive and negative integers Pin
Johan Hakkesteegt19-May-10 1:46
Johan Hakkesteegt19-May-10 1:46 
GeneralRe: Limit textbox.text to positiive and negative integers Pin
Henry Minute19-May-10 2:09
Henry Minute19-May-10 2:09 
GeneralRe: Limit textbox.text to positiive and negative integers Pin
Johan Hakkesteegt19-May-10 2:17
Johan Hakkesteegt19-May-10 2:17 
GeneralRe: Limit textbox.text to positiive and negative integers Pin
Luc Pattyn19-May-10 2:14
sitebuilderLuc Pattyn19-May-10 2:14 
GeneralRe: Limit textbox.text to positiive and negative integers Pin
Johan Hakkesteegt19-May-10 2:41
Johan Hakkesteegt19-May-10 2:41 
Generally speaking, and in terms of best practices and such, you are of course entirely right. And I suppose I will be doing it your way in the end.
But I don't have to like it Poke tongue | ;-P


In this case I am handling a form with a bunch of textboxes, each representing a setting. Each setting is simply a value between -999 and 999, and won't be changed much.
I suppose I am trusting the users to be lazy enough to not go through the trouble of copying and pasting such a short value.
So I limited the max length to 3 (which brings to mind another problem), and I handle their KeyPress events to limit input to numbers.

Anyway, now it is more a matter of interest than necessity. In other words can it be done?
My advice is free, and you may get what you paid for.

GeneralRe: Limit textbox.text to positiive and negative integers Pin
Luc Pattyn19-May-10 2:50
sitebuilderLuc Pattyn19-May-10 2:50 
GeneralRe: Limit textbox.text to positiive and negative integers Pin
DaveAuld19-May-10 3:14
professionalDaveAuld19-May-10 3:14 
GeneralRe: Limit textbox.text to positiive and negative integers Pin
The Man from U.N.C.L.E.19-May-10 3:23
The Man from U.N.C.L.E.19-May-10 3:23 
GeneralRe: Limit textbox.text to positiive and negative integers Pin
Johan Hakkesteegt19-May-10 3:32
Johan Hakkesteegt19-May-10 3:32 
GeneralRe: Limit textbox.text to positiive and negative integers Pin
DaveAuld19-May-10 6:17
professionalDaveAuld19-May-10 6:17 
GeneralRe: Limit textbox.text to positiive and negative integers Pin
Luc Pattyn19-May-10 7:46
sitebuilderLuc Pattyn19-May-10 7:46 
GeneralRe: Limit textbox.text to positiive and negative integers Pin
DaveAuld19-May-10 8:04
professionalDaveAuld19-May-10 8:04 
GeneralRe: Limit textbox.text to positiive and negative integers Pin
Luc Pattyn19-May-10 8:09
sitebuilderLuc Pattyn19-May-10 8:09 
GeneralRe: Limit textbox.text to positiive and negative integers Pin
Johan Hakkesteegt19-May-10 21:51
Johan Hakkesteegt19-May-10 21:51 
QuestionOleCreatePictureIndirect NOT WORKING returns -2147467262 Pin
FeRtoll18-May-10 23:24
FeRtoll18-May-10 23:24 
AnswerRe: OleCreatePictureIndirect NOT WORKING returns -2147467262 Pin
DaveAuld19-May-10 0:11
professionalDaveAuld19-May-10 0:11 
GeneralRe: OleCreatePictureIndirect NOT WORKING returns -2147467262 Pin
FeRtoll19-May-10 2:09
FeRtoll19-May-10 2:09 
GeneralRe: OleCreatePictureIndirect NOT WORKING returns -2147467262 Pin
DaveAuld19-May-10 7:23
professionalDaveAuld19-May-10 7:23 
GeneralRe: OleCreatePictureIndirect NOT WORKING returns -2147467262 Pin
FeRtoll19-May-10 7:34
FeRtoll19-May-10 7:34 
GeneralRe: OleCreatePictureIndirect NOT WORKING returns -2147467262 Pin
DaveAuld19-May-10 8:00
professionalDaveAuld19-May-10 8:00 
GeneralRe: OleCreatePictureIndirect NOT WORKING returns -2147467262 Pin
FeRtoll19-May-10 8:39
FeRtoll19-May-10 8:39 
GeneralRe: OleCreatePictureIndirect NOT WORKING returns -2147467262 [modified] Pin
FeRtoll19-May-10 9:05
FeRtoll19-May-10 9:05 

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.