Click here to Skip to main content
16,003,746 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Vb.net text box Pin
Tom Deketelaere18-Aug-09 1:31
professionalTom Deketelaere18-Aug-09 1:31 
QuestionI need your help desperately on Crystal report [modified] Pin
Dambod17-Aug-09 22:56
Dambod17-Aug-09 22:56 
QuestionHow we Use XtraChart? Pin
faravani17-Aug-09 21:54
faravani17-Aug-09 21:54 
AnswerRe: How we Use XtraChart? Pin
Christian Graus17-Aug-09 22:33
protectorChristian Graus17-Aug-09 22:33 
QuestionHow to get winpadlock.ocx as free for VB Pin
vasanth arivali17-Aug-09 21:30
vasanth arivali17-Aug-09 21:30 
AnswerRe: How to get winpadlock.ocx as free for VB Pin
Christian Graus17-Aug-09 22:33
protectorChristian Graus17-Aug-09 22:33 
AnswerRe: How to get winpadlock.ocx as free for VB Pin
Dave Kreskowiak18-Aug-09 2:12
mveDave Kreskowiak18-Aug-09 2:12 
Questionneed help calculator do not accept more than max char on textbox Pin
vblearner0917-Aug-09 15:01
vblearner0917-Aug-09 15:01 
I try to fix the small problems that my calculator has


For example, if I type 78/3=26 (all this from keyboard)

This is what I want the program to work.. If I type 78 from keyboard with "/" (divide) and 3.. when I hit "ENTER" from keyboard. I should get 26...

my current calculator doesn't accept "/" (divide) and ENTER to give result

if found this code online, can someone try to fix or tell me how to make the code below work for my problem

code:

Private Sub txt_KeyPress(ByVal KeyAscii As Integer)
If Not IsNumeric(Chr(KeyAscii)) And KeyAscii <> 13 _
And KeyAscii <> 45 And KeyAscii <> 8 Then
KeyAscii = 109
End If
End Sub





My second problem on my calculator:

I want to check if the number enter to textbox is the at end of textbox, then
it give me a beep sound...and do not accept any more numeratic number (1-9)...and the beep sound when the user try to press any number 1-9.


my current code doesn't work...please help me and see my code below. how to fix the code below that will work for me?

If TxtDisplay.MaxLength = "27" Then '27 means the only max number 'can enter in textbox
TxtDisplay.Enabled

End If

I appreciated all the great help you can provide!!!!

This code is done in VB 2008
AnswerRe: need help calculator do not accept more than max char on textbox Pin
Christian Graus17-Aug-09 15:31
protectorChristian Graus17-Aug-09 15:31 
GeneralRe: need help calculator do not accept more than max char on textbox Pin
vblearner0917-Aug-09 16:20
vblearner0917-Aug-09 16:20 
GeneralRe: need help calculator do not accept more than max char on textbox Pin
Christian Graus17-Aug-09 16:28
protectorChristian Graus17-Aug-09 16:28 
GeneralRe: need help calculator do not accept more than max char on textbox Pin
vblearner0917-Aug-09 16:34
vblearner0917-Aug-09 16:34 
GeneralRe: need help calculator do not accept more than max char on textbox Pin
Christian Graus17-Aug-09 16:50
protectorChristian Graus17-Aug-09 16:50 
GeneralRe: need help calculator do not accept more than max char on textbox Pin
vblearner0917-Aug-09 17:57
vblearner0917-Aug-09 17:57 
GeneralRe: need help calculator do not accept more than max char on textbox Pin
Christian Graus17-Aug-09 19:20
protectorChristian Graus17-Aug-09 19:20 
GeneralRe: need help calculator do not accept more than max char on textbox Pin
vblearner0918-Aug-09 7:59
vblearner0918-Aug-09 7:59 
QuestionVariable Depth For Loop to create a number sequence...how?! Pin
Aaron @ Think Software17-Aug-09 14:43
professionalAaron @ Think Software17-Aug-09 14:43 
AnswerRe: Variable Depth For Loop to create a number sequence...how?! Pin
Christian Graus17-Aug-09 14:56
protectorChristian Graus17-Aug-09 14:56 
GeneralRe: Variable Depth For Loop to create a number sequence...how?! Pin
Aaron @ Think Software17-Aug-09 14:59
professionalAaron @ Think Software17-Aug-09 14:59 
AnswerRe: Variable Depth For Loop to create a number sequence...how?! Pin
Aaron @ Think Software17-Aug-09 15:38
professionalAaron @ Think Software17-Aug-09 15:38 
GeneralRe: Variable Depth For Loop to create a number sequence...how?! Pin
Luc Pattyn17-Aug-09 15:46
sitebuilderLuc Pattyn17-Aug-09 15:46 
AnswerRe: Variable Depth For Loop to create a number sequence...how?! Pin
Moreno Airoldi18-Aug-09 3:50
Moreno Airoldi18-Aug-09 3:50 
QuestionAccessViolationException when resizing an image Pin
Sonhospa17-Aug-09 12:02
Sonhospa17-Aug-09 12:02 
AnswerRe: AccessViolationException when resizing an image Pin
Christian Graus17-Aug-09 13:40
protectorChristian Graus17-Aug-09 13:40 
AnswerRe: AccessViolationException when resizing an image Pin
Luc Pattyn17-Aug-09 14:42
sitebuilderLuc Pattyn17-Aug-09 14:42 

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.