troubleshooting Question

(URGENT) Which way of saving a string to file is faster?

Avatar of ITKnightMare
ITKnightMare asked on
Visual Basic Classic
6 Comments2 Solutions210 ViewsLast Modified:


filenum = FreeFile

Open "C:\bleeh.jpg" For Output As #filenum
   Print #filenum, Myjpegcontentsasstring
Close #filenum
End If


OR

The textstream object with the FileSystemObject in scripting.runtime?

Also if someone would give me the code for TextSteam way of doing it I would appreciate it.  If indeed that's faster of course.

OR

Perhaps some other way to save a string into file in VB6 that is faster than all the other ways?


It's URGENT so 500 points is well deserved for the fastest correct answer :)
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 6 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros