Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to create .csv file in ActiveX control 1

Status
Not open for further replies.

JeanPhil

Programmer
Dec 23, 2003
27
CA
Hi

I'm creating an ActiveX control and I would like to write information or create a .csv file with my code. I tried to use a FileSystemObject but I get a user-defined type not defined error in my declaration when I test my code. Is there another object I can use ? I used the FileSystemObject to write a .txt file before (in a standard .exe) and I never had any problem.

Any help will be greatly apreciated !!
 

JeanPhil, have you read FAQ222-2244 yet?

Are you sure that you have included the reference to the MS Scripting Runtime object?

Good Luck

 

JeanPhil, have you read FAQ222-2244 yet? Did you get it to work?

Good Luck

 
Yes I did thanks !!

I forgot about the reference of the objet. I tough it was a component and couldn't find it. But now it works.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top