Link to home
Start Free TrialLog in
Avatar of Rafi-muqaddar
Rafi-muqaddar

asked on

How to import visual basic 6.0 code in ms word or HTML format

Hi
I wonder if anybody could help me. I am doing my project in visual basic, now the code is very big i want to put that code in my documentation. but the problem is cut paste technique is not good as it makes all code in mess. Is there any other way to do this.
Thank you
Rafi

Avatar of dsacker
dsacker
Flag of United States of America image

Am I correct in assuming your documentation is in MS Word?

If so, simply save your code to a text file, then in MS Word, select Insert, File, YourFile.txt ...

I hope this is what you were looking for.
ASKER CERTIFIED SOLUTION
Avatar of softplus
softplus

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of VanNam
VanNam

Hi Rafi,
It's very simple, because your VB Code files (.frm, .cls,.bas) can read by any text reader application as notepad, wordpad, Ms Word,...

In the first part of file will be some declarations of your menu or objects in your form file (if this form has menu or something else).  
And then it's your code you need.

Good Luck!!!
V.Nam