- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I try toadapt default.js to set up my own type of IVF project. Can anybody please tell me how to retrieve the properties and methods of the object generated by CreateVFProject.
I would like to automatically set the FPP switch, but I can not find how to do that.
Frank
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I tried to add:
tool.GeneratePreprocessedFile = preprocessOption.preprocessYes
but I get the following error message:
Error in AddConfigsDLL: Object doesn't support this property or method
Frank
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't see if the documentation of VF compiler and other tools' VS Object model is available, but you should be able to solve the problem by a bit of reverse engineering. The VFtool object properties names and values are visible in the .vfproj source file, so you can deduce it for yourself:
HTH
Jugoslav
- save a copy of an original .vfproj file
- change the appropriate compiler switches in IDE and save the project
- compare the two .vfproj using a diff tool (e.g. http://winmerge.org/)
Preprocess="preprocessYes"thus, the appropriate syntax is probably
tool.Preprocess = preprocessOption.preprocessYes, or just
tool.Preprocess = preprocessYes
HTH
Jugoslav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
JugoslavDujic:
thus, the appropriate syntax is probablytool.Preprocess = preprocessOption.preprocessYes, or justtool.Preprocess = preprocessYes
HTH
Jugoslav
I tried both
tool.Preprocess = preprocessOption.preprocessYes
works fine.
Thank you very much.
Frank

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page