PDA

View Full Version : VB 6.0 Help not sure of the problem using RC4


purity
10-31-2009, 05:07 PM
I'm building a program for a friend of mine, it is implementing the RC4 module, during compile i get the following error

Compile Error
Expected Variable or Procedure not module

the two highlighted lines of code are

Put #1, , sStub & FileSplit & RC4(sFile, Pass) 'This adds the option FileSplit and the RC4 option.

and

Put #1, , RC4(sFile, Pass) 'This will add the RC4 password to the file with the selected RC4 password.


I'm hopeing some one can help me

testware
11-22-2009, 07:20 AM
Try this:

put #1, , cstr(sStub & FileSplit & RC4(sFile, Pass))

Which should let you write it. If not, try formatting your output to a fixed length and write it out as records.