Author | Message | Time |
---|---|---|
OuTLawZGoSu | Same as Subject. | April 22, 2004, 3:10 AM |
Grok | [quote author=OuTLawZGoSu link=board=31;threadid=6420;start=0#msg56259 date=1082603429] Same as Subject. [/quote] For what? [code]Private Sub cmdPaste_Click() Text1.Text = Clipboard.GetText(vbCFText) End Sub Private Sub cmdCopy_Click() Clipboard.SetText Text1.Text, vbCFText End Sub[/code] | April 22, 2004, 3:43 AM |
FuzZ | nifty, i was gonna use the copy code for somethin but i forget now lol | April 22, 2004, 6:39 AM |
OuTLawZGoSu | [quote author=Grok link=board=31;threadid=6420;start=0#msg56263 date=1082605406] For what? [code]Private Sub cmdPaste_Click() Text1.Text = Clipboard.GetText(vbCFText) End Sub Private Sub cmdCopy_Click() Clipboard.SetText Text1.Text, vbCFText End Sub[/code] [/quote] Hmmm, Can't get it to work. I need to make it so when I click on a listbox, it will copy the selected text. I got this: [code] Private Sub List1_Click() Text1.Text = (List1) Clipboard.SetText Text1.Text, vbCFText End Sub [/code] Doesn't seem to copy. At All. | April 22, 2004, 10:15 PM |
OuTLawZGoSu | Looks like I left out a lot of info. I got a text box, and a listbox. Since " Clipboard.SetText (List1), vbCFText " didnt work, I tryed to send the text from the listbox to text1. Then copy everything form text1. @ Gork: I'm not a programmer? Who made OuTLawZ BoT again? Oh ok then. | April 23, 2004, 1:44 AM |
Eli_1 | Hint: List1.ListIndex will display the currently selected index. :o Hint2: -1 <= List1.ListIndex <= List1.Listcount | April 23, 2004, 2:38 AM |
Grok | [quote author=OuTLawZGoSu link=board=31;threadid=6420;start=0#msg56386 date=1082684667] Looks like I left out a lot of info. I got a text box, and a listbox. Since " Clipboard.SetText (List1), vbCFText " didnt work, I tryed to send the text from the listbox to text1. Then copy everything form text1. @ Gork: I'm not a programmer? Who made OuTLawZ BoT again? Oh ok then. [/quote] If you're a programmer, program. I showed you how the Clipboard object works, in both directions. When setting, it takes a parameter of the text to copy. When retrieving, you set your own string variable to receive it. There's nothing harder to it than that. | April 23, 2004, 3:29 AM |
Eli_1 | The second hint I gave you was to be read like math. 1 < x < 4 -- Read: x is greater than one and less than 4. [Edit] [quote author=Eli_1 link=board=31;threadid=6420;start=0#msg56401 date=1082687888] Hint: List1.ListIndex will display the currently selected index. :o Hint2: -1 <= List1.ListIndex <= List1.Listcount [/quote] List1.List(n), will display the text at index n. If you can't figure it out now, there is no hope | April 23, 2004, 6:27 PM |
Fr0z3N | List1.List(List1.ListIndex) | April 23, 2004, 7:24 PM |
Dyndrilliac | [quote author=OuTLawZGoSu link=board=31;threadid=6420;start=0#msg56412 date=1082693219] wow, thx for all your help. Madz Botz forums it is. [/quote] I detest flaming, but you sir, are a dumbass. [code]Private Sub Command1_Click() Clipboard.SetText Me.List.ListItems(Me.List.ListItems.Count), vbCFText End Sub Private Sub Command2_Click() Me.Text.Text = Clipboard.GetText(vbCFText) End Sub Private Sub Form_Load() Me.List.ListItems.Add , , "Text" End Sub[/code] That took 3 minutes tops. It has been handed to you several times on a silver platter throughout the thread. By the way, I used a Listview, instead of Listboxes(They are in my opinion bad practice), but it should convert fine, | April 23, 2004, 7:52 PM |
GoSuGaMING | [quote author=OuTLawZGoSu ] [quote] @ Gork: I'm not a programmer? Who made OuTLawZ BoT again? Oh ok then. [quote][/quote] u didnt make outlawz bot remember your friend made it and "told" you that u could edit it... notice how you use hives 0x50 login? did u make that? dont think so... i have all ur source codes i added client icons, lag bars, everything you havnt done hardly shit 2 it[/quote] | April 28, 2004, 7:11 PM |
CodeMaster | [quote author=OuTLawZGoSu link=board=31;threadid=6420;start=0#msg56386 date=1082684667] Looks like I left out a lot of info. I got a text box, and a listbox. Since " Clipboard.SetText (List1), vbCFText " didnt work, I tryed to send the text from the listbox to text1. Then copy everything form text1. @ Gork: I'm not a programmer? Who made OuTLawZ BoT again? Oh ok then. [/quote] Also notice he referred to Grok as "Gork" | May 1, 2004, 7:27 PM |
Grok | Maybe 3 or 4 more people should point out his typo. I don't think the point was driven home. | May 1, 2004, 8:27 PM |
iago | Holy crap, he said Gork! ahaha! | May 1, 2004, 9:13 PM |
OuTLawZGoSu | [quote author=iago link=board=31;threadid=6420;start=0#msg57946 date=1083446000] Holy crap, he said Gork! ahaha! [/quote] Haha, you people find the most stupidest shit and make fun of it. Who cares if it's grok or gork. | May 2, 2004, 6:43 PM |
FuzZ | [quote author=OuTLawZGoSu link=board=31;threadid=6420;start=0#msg58122 date=1083523437] [quote author=iago link=board=31;threadid=6420;start=0#msg57946 date=1083446000] Holy crap, he said Gork! ahaha! [/quote] Haha, you people find the most stupidest shit and make fun of it. Who cares if it's grok or gork. [/quote] uh, Grok perhaps? I also don't think calling someone a drok instead of a dork would work very well. | May 2, 2004, 7:12 PM |
OuTLawZGoSu | [quote] uh, Grok perhaps? I also don't think calling someone a drok instead of a dork would work very well. [/quote] Dont be a smartass. | May 2, 2004, 7:29 PM |
hismajesty | [quote author=OuTLawZGoSu link=board=31;threadid=6420;start=0#msg58122 date=1083523437] [quote author=iago link=board=31;threadid=6420;start=0#msg57946 date=1083446000] Holy crap, he said Gork! ahaha! [/quote] Haha, you people find the most stupidest shit and make fun of it. Who cares if it's grok or gork. [/quote] Obviously not you, OulTaWSGsoU | May 2, 2004, 7:38 PM |
OuTLawZGoSu | Ok then, case closed? | May 2, 2004, 7:46 PM |
SPY-3 | donno if this is solved yet but under the listbox click add this clipboard.settext list1.text then if u were loading it list1.AddItem clipboard.gettext | August 27, 2004, 1:32 PM |