Click here to Skip to main content
15,915,703 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Easy one (I hope) Pin
JUNEYT3-Mar-07 2:53
JUNEYT3-Mar-07 2:53 
AnswerRe: Easy one (I hope) Pin
kubben3-Mar-07 4:30
kubben3-Mar-07 4:30 
Questionreading data from a barcode reader Pin
moseti3-Mar-07 2:29
moseti3-Mar-07 2:29 
AnswerRe: reading data from a barcode reader Pin
mr_lasseter3-Mar-07 4:05
mr_lasseter3-Mar-07 4:05 
AnswerRe: reading data from a barcode reader Pin
steve_rm3-Mar-07 6:09
steve_rm3-Mar-07 6:09 
QuestionImporting data from Foxpro to MS-Access Pin
hisuman1003-Mar-07 0:59
hisuman1003-Mar-07 0:59 
QuestionUrgent..SOS...SOS... Pin
NANCO3-Mar-07 0:57
NANCO3-Mar-07 0:57 
AnswerRe: Urgent..SOS...SOS... Pin
JUNEYT3-Mar-07 2:14
JUNEYT3-Mar-07 2:14 
Well it is quite bit intrique. I am still working on it but having hard time to display the textbox next to cursor inside the big textbox. Here is the code it displays the text box according to form's cursor (X and Y) coordinates. WTF | :WTF:

Public Class Form1

Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress

If e.KeyChar = Chr(65) Then 'Define CTRL-T instead of chr(65) "A"

Dim tbox As New TextBox
Dim tx As Int32 = Windows.Forms.Cursor.Position.X
Dim ty As Int32 = Windows.Forms.Cursor.Position.Y

Me.Controls.Add(tbox)
tbox.Location = tbox.PointToClient(New Point(tx, ty))

tbox.BringToFront()
End If

End Sub


End Class

What a curious mind needs to discover knowledge is noting else than a pin-hole.


AnswerRe: Urgent..SOS...SOS... Pin
Dave Kreskowiak3-Mar-07 6:15
mveDave Kreskowiak3-Mar-07 6:15 
GeneralRe: Urgent..SOS...SOS... Pin
TwoFaced3-Mar-07 8:25
TwoFaced3-Mar-07 8:25 
GeneralRe: Urgent..SOS...SOS... Pin
Dave Kreskowiak3-Mar-07 10:32
mveDave Kreskowiak3-Mar-07 10:32 
GeneralRe: Urgent..SOS...SOS... Pin
NANCO3-Mar-07 22:38
NANCO3-Mar-07 22:38 
GeneralRe: Urgent..SOS...SOS... Pin
Dave Kreskowiak4-Mar-07 3:00
mveDave Kreskowiak4-Mar-07 3:00 
GeneralStill... Pin
NANCO4-Mar-07 19:24
NANCO4-Mar-07 19:24 
GeneralRe: Still... Pin
Dave Kreskowiak5-Mar-07 3:14
mveDave Kreskowiak5-Mar-07 3:14 
Questionsystem Tray Pin
WestSideRailways3-Mar-07 0:02
WestSideRailways3-Mar-07 0:02 
AnswerRe: system Tray Pin
JUNEYT3-Mar-07 3:18
JUNEYT3-Mar-07 3:18 
AnswerRe: system Tray Pin
kubben3-Mar-07 4:34
kubben3-Mar-07 4:34 
GeneralRe: system Tray Pin
WestSideRailways3-Mar-07 13:44
WestSideRailways3-Mar-07 13:44 
Questionlogin window... Pin
manni_n2-Mar-07 23:45
manni_n2-Mar-07 23:45 
QuestionUpload files to server other than ftp? Pin
.NetRams2-Mar-07 22:10
.NetRams2-Mar-07 22:10 
QuestionRe: Upload files to server other than ftp? Pin
.NetRams2-Mar-07 23:00
.NetRams2-Mar-07 23:00 
AnswerRe: Upload files to server other than ftp? Pin
JUNEYT3-Mar-07 3:46
JUNEYT3-Mar-07 3:46 
AnswerRe: Upload files to server other than ftp? Pin
Dave Kreskowiak3-Mar-07 6:07
mveDave Kreskowiak3-Mar-07 6:07 
QuestionRe: Upload files to server other than ftp? Pin
steve_rm3-Mar-07 6:45
steve_rm3-Mar-07 6:45 

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.