Click here to Skip to main content
15,918,574 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: On Error GoTo in VBScript Pin
Uros Calakovic31-Mar-09 6:57
Uros Calakovic31-Mar-09 6:57 
QuestionProblem with movetoroot from the opc da automation wrapper Pin
dadio2531-Mar-09 3:53
dadio2531-Mar-09 3:53 
AnswerRe: Problem with movetoroot from the opc da automation wrapper Pin
dadio251-Apr-09 20:47
dadio251-Apr-09 20:47 
GeneralDisplay External Window in vb Form Pin
Samir Ibrahim31-Mar-09 2:48
Samir Ibrahim31-Mar-09 2:48 
GeneralRe: Display External Window in vb Form Pin
Dave Kreskowiak31-Mar-09 3:23
mveDave Kreskowiak31-Mar-09 3:23 
GeneralRe: Display External Window in vb Form Pin
Samir Ibrahim31-Mar-09 4:05
Samir Ibrahim31-Mar-09 4:05 
GeneralRe: Display External Window in vb Form Pin
0x3c031-Mar-09 6:55
0x3c031-Mar-09 6:55 
GeneralRe: Display External Window in vb Form Pin
Dave Kreskowiak31-Mar-09 7:26
mveDave Kreskowiak31-Mar-09 7:26 
GeneralRe: Display External Window in vb Form Pin
Samir Ibrahim1-Apr-09 5:07
Samir Ibrahim1-Apr-09 5:07 
QuestionFind Window Pin
Prasadsm31-Mar-09 1:38
Prasadsm31-Mar-09 1:38 
AnswerRe: Find Window Pin
Eddy Vluggen31-Mar-09 1:56
professionalEddy Vluggen31-Mar-09 1:56 
GeneralRe: Find Window Pin
Prasadsm31-Mar-09 2:01
Prasadsm31-Mar-09 2:01 
GeneralRe: Find Window Pin
Eddy Vluggen31-Mar-09 2:35
professionalEddy Vluggen31-Mar-09 2:35 
QuestionDelete Lines in Text File Pin
vijay248230-Mar-09 23:37
vijay248230-Mar-09 23:37 
AnswerRe: Delete Lines in Text File Pin
Prasadsm31-Mar-09 2:15
Prasadsm31-Mar-09 2:15 
AnswerRe: Delete Lines in Text File Pin
riced31-Mar-09 5:21
riced31-Mar-09 5:21 
QuestionI created a superscript in a rich text box but neeed to convert the same to caret sign in a text box Pin
gautamrajsaxena30-Mar-09 22:18
gautamrajsaxena30-Mar-09 22:18 
I am not a Programmer in fact i am amedical doctor a pediatrician by profession and do little bits in vb 6 out of my interest

Currently i wanted to create a math Solver in which the user input would as one would write on paper
My PROBLEM

here is the code now what i needed was to
1 get the same as typed in the rich text box into a textbox wich i want use for math parser
2.In the Textbox i wanted to have a caret sign("^")In the position i use the Up Arrow key in the Rich text box

<b>Need help Urgently </b>
Private Sub rtb1_KeyUp(KeyCode As Integer, Shift As Integer)
Me.KeyPreview = True
Dim SupEnt As Integer

Dim temp As Integer

SupEnt = rtb1.SelFontSize
temp = rtb1.SelCharOffset

Dim SelectionStart As String

Dim SelectionEnd As String

Dim selectedExp As String

Select Case KeyCode

Case vbKeyUp
rtb1.SelFontSize = SupEnt / 3 * 2
rtb1.SelCharOffset = temp + 100
rtb1.SelColor = vbRed
KeyCode = 0

Case vbKeyDown
rtb1.SelFontSize = SupEnt / 3 * 2
rtb1.SelCharOffset = temp - 100
rtb1.SelColor = vbGreen
rtb1.SelBold = True
KeyCode = 0

Case vbKeyLeft
'

Case vbKeyRight
rtb1.SelFontSize = 14
rtb1.SelCharOffset = 0
rtb1.SelColor = vbBlue
KeyCode = vbSpace

sText = rtb1.Text
sRight155 = Right$(sText, 1)
LastChar = Right$(sText, 1)
'
Clipboard.SetText rtb1.Text
myString = Clipboard.GetText
Text1.Text = Replace$(myString, LastChar, "^" + LastChar, 1, 1, vbTextCompare)

Clipboard.Clear





Case vbKeyReturn

End Select
End Sub
Questionplz help me to jump the return code to pass program check Pin
wgarnett30-Mar-09 21:37
wgarnett30-Mar-09 21:37 
AnswerRe: plz help me to jump the return code to pass program check Pin
Eddy Vluggen30-Mar-09 22:58
professionalEddy Vluggen30-Mar-09 22:58 
QuestionHow to configure ms access to allow lan connection in vb.net ???? Pin
JC.KaNNaN30-Mar-09 18:43
JC.KaNNaN30-Mar-09 18:43 
AnswerRe: How to configure ms access to allow lan connection in vb.net ???? Pin
_Damian S_30-Mar-09 19:12
professional_Damian S_30-Mar-09 19:12 
AnswerRe: How to configure ms access to allow lan connection in vb.net ???? Pin
Anubhava Dimri30-Mar-09 23:48
Anubhava Dimri30-Mar-09 23:48 
QuestionPopulating datagrid with array of xml files Pin
Jordan198230-Mar-09 12:14
Jordan198230-Mar-09 12:14 
AnswerRe: Populating datagrid with array of xml files Pin
Christian Graus30-Mar-09 15:30
protectorChristian Graus30-Mar-09 15:30 
QuestionDrowning! Pin
pack230-Mar-09 0:58
pack230-Mar-09 0:58 

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.