|
-
Nov 13th, 2001, 04:39 AM
#1
Thread Starter
Fanatic Member
386 FileListBox Problems..
hi, I need to know how to get items from a filelistbox into a listbox.
i am using VB3.0 16-bit, Im making a program for a 386. thanks for your help.
/: Tim :\____________________
\: VB, HTML, ASP, VBScript, QBASIC, JavaScript :/
-
Nov 13th, 2001, 04:43 AM
#2
PowerPoster
ha ha funny... yeah like there is such a thing as VB3 
lol
ok i assume that the code may be similar to current versions
VB Code:
For x = 0 to File1.ListCount - 1 'File1 is name of filelistbox
List1.additem file1.List(x)
Next
regards
Stuart
-
Nov 13th, 2001, 04:48 AM
#3
Thread Starter
Fanatic Member
ok, what if 'i wanted to save a peice of code in an encrypted text file. I have the decryption routines, but how do I gt VB3.0 to run it?
I've heard about a replaceline function?? is that correct? thanks stuart.
/: Tim :\____________________
\: VB, HTML, ASP, VBScript, QBASIC, JavaScript :/
-
Nov 13th, 2001, 04:51 AM
#4
PowerPoster
Hi
I dont really understand what u mean. The encryption process is usually based on XOR bitwise operations and does not require any fancy new controls that VB3 lacks. U say u have the decryption routines... are they simple text conversion? Do they not run on VB3????
regards
Stuart
-
Nov 13th, 2001, 04:59 AM
#5
Thread Starter
Fanatic Member
I have code in a text box, such as:
me.caption = time
ok, that is what my friend has written in a txt file.
how can I get it so that when you click command1, it makes me.caption = time or whatever it has in the textbox....
thanks for you help.
/: Tim :\____________________
\: VB, HTML, ASP, VBScript, QBASIC, JavaScript :/
-
Nov 13th, 2001, 05:04 AM
#6
PowerPoster
Hunh???
You are losing me more and more here... are u saying that u want to know the code for putting time in a caption? or u want to read something from a file at runtime and act on that or what? it wouldnt be a decrypted VB3 file that u are trying to convert would it????? Well i think u will have a lot of trouble with that if u dont know the basics of setting captions etc.
Regards
Stuart
-
Nov 13th, 2001, 05:14 AM
#7
Thread Starter
Fanatic Member
ok. I have a encrypted text file containing code.
- my program decrypts it.
- it then gets whatever code is in the file and runs it.
- then re-encrypts the file.
I can do the encryption, but not the code running thing.
thanks for your help so far..
/: Tim :\____________________
\: VB, HTML, ASP, VBScript, QBASIC, JavaScript :/
-
Nov 13th, 2001, 05:26 AM
#8
PowerPoster
Are u trying to tell me that your program reads a VB3 project file, decrypts it, makes an executable in another version of VB (or even in vb3) and then reencrypts it??? I dont think so Tim ... lol i just realised that that is the first time i have ever got to use that line on someone actually called Tim
-
Nov 13th, 2001, 06:12 AM
#9
Thread Starter
Fanatic Member
ok, forget the encryption.
all I want VB to do is run the code I have in a text file.
if someone understands then please reply.
Thanks,
/: Tim :\____________________
\: VB, HTML, ASP, VBScript, QBASIC, JavaScript :/
-
Nov 13th, 2001, 08:42 AM
#10
Lively Member
Have you thought about using a scripting control and doing the code in VBScript?
Now, aren't you sorry you didn't just keep on scrolling?
-
Nov 16th, 2001, 09:11 PM
#11
Hmm,
P'rhaps you could compile into C first? Then Decompile the Binary?
Then, with the Binary Text, extract what you want? Then, VOILA!
-
Nov 16th, 2001, 09:14 PM
#12
PowerPoster
Sorry Lou
Has to be at least two months between last post and yours to win the Raab award. And besides Juan already has it for the day. Better luck next time... king of the world... 
[Edit]
Oh god Lou i can just about hear the turtle's little feet pattering over here. You run left and I'll go right. Should confuse him. Watch out for the chameleon-like tongue launching - it can be messy!
[/Edit]
Last edited by beachbum; Nov 16th, 2001 at 09:18 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|