Click here to Skip to main content
16,006,749 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralAS400 Pin
Anonymous24-Oct-03 6:30
Anonymous24-Oct-03 6:30 
GeneralRe: AS400 Pin
Daniel Turini24-Oct-03 6:44
Daniel Turini24-Oct-03 6:44 
GeneralServer Explorer Error Pin
nevhile.net24-Oct-03 5:38
nevhile.net24-Oct-03 5:38 
GeneralCreate a non-dithered gif Pin
Jim Taylor24-Oct-03 0:13
Jim Taylor24-Oct-03 0:13 
GeneralHelp! Pin
bnuestro23-Oct-03 11:24
bnuestro23-Oct-03 11:24 
GeneralRe: Help! Pin
Mike Ellison23-Oct-03 18:29
Mike Ellison23-Oct-03 18:29 
GeneralFormatting test Pin
SyPTo23-Oct-03 11:15
SyPTo23-Oct-03 11:15 
GeneralRe: Formatting test Pin
Edbert P23-Oct-03 19:06
Edbert P23-Oct-03 19:06 
If you're playing Utopia (http://games.swirve.com/utopia) there is a good calculator already (http://utopia.sourceforge.net/) Smile | :) .

Use the Clipboard object to get the text you just copied from the browser, and afterwards you can treat the text as string. I am assuming each line is separated by Char(13) and you can probably split them into an array using the Split() function and get the data you want from the array.

Here's an example from MSDN on how to use clipboard (you need the namespace System.Windows.Forms):

Private Sub button2_Click(sender As Object, e As System.EventArgs)
' Declares an IDataObject to hold the data returned from the clipboard.
' Retrieves the data from the clipboard.
Dim iData As IDataObject = Clipboard.GetDataObject()

' Determines whether the data is in a format you can use.
If iData.GetDataPresent(DataFormats.Text) Then
' Yes it is, so display it in a text box.
textBox2.Text = CType(iData.GetData(DataFormats.Text), String)
Else
' No it is not.
textBox2.Text = "Could not retrieve data off the clipboard."
End If
End Sub 'button2_Click

Questionusing vb.net classes in vb 6.0? Pin
palei23-Oct-03 1:10
palei23-Oct-03 1:10 
AnswerRe: using vb.net classes in vb 6.0? Pin
Mike Ellison23-Oct-03 18:33
Mike Ellison23-Oct-03 18:33 
AnswerRe: using vb.net classes in vb 6.0? Pin
Mike Ellison23-Oct-03 18:34
Mike Ellison23-Oct-03 18:34 
GeneralNeed Help with ocx Pin
enjoy_my23-Oct-03 0:46
enjoy_my23-Oct-03 0:46 
GeneralRe: Need Help with ocx Pin
Nick Seng26-Oct-03 14:32
Nick Seng26-Oct-03 14:32 
GeneralAutorun macro Pin
boon kian22-Oct-03 16:01
boon kian22-Oct-03 16:01 
GeneralRe: Autorun macro Pin
Edbert P22-Oct-03 21:14
Edbert P22-Oct-03 21:14 
GeneralConnection Pin
Anonymous22-Oct-03 8:40
Anonymous22-Oct-03 8:40 
GeneralNumeric Calc Proplem Pin
Anonymous22-Oct-03 8:31
Anonymous22-Oct-03 8:31 
GeneralRe: Numeric Calc Proplem Pin
Daniel Turini22-Oct-03 8:54
Daniel Turini22-Oct-03 8:54 
GeneralRe: Numeric Calc Proplem Pin
Anonymous22-Oct-03 9:46
Anonymous22-Oct-03 9:46 
Generalcreating a hook dll in vb to be used in vb Pin
percyvimal21-Oct-03 22:02
percyvimal21-Oct-03 22:02 
GeneralRe: creating a hook dll in vb to be used in vb Pin
J. Dunlap21-Oct-03 22:14
J. Dunlap21-Oct-03 22:14 
GeneralRe: creating a hook dll in vb to be used in vb Pin
percyvimal21-Oct-03 22:21
percyvimal21-Oct-03 22:21 
GeneralRe: creating a hook dll in vb to be used in vb Pin
Duncan Edwards Jones21-Oct-03 23:56
professionalDuncan Edwards Jones21-Oct-03 23:56 
QuestionHow to play quick time video Pin
sanjdhi21-Oct-03 21:32
sanjdhi21-Oct-03 21:32 
AnswerRe: How to play quick time video Pin
Dave Kreskowiak22-Oct-03 7:40
mveDave Kreskowiak22-Oct-03 7:40 

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.