Archive for February, 2010

VBA userform display techniques

February 24, 2010 8 comments

First off, the website improvement survey results have been steadily coming in over the last two weeks.  If you were one of the survey participants, thank you very much!  So far I am getting a lot of good information and using it to plan upcoming topics.

One subject area where many people have shown interest is VBA userforms (I will just call them forms).  Adding forms to your CATIA programming project can really enhance it and provide a better experience for the end users. So in this article, I will cover some techniques for displaying, hiding and closing forms.  I’ll discuss a few of the common things you might encounter and how to handle them. Read more…


(Announcement) Please help improve this site!

February 10, 2010 Leave a comment

Wow!  It’s been a little over two months since I started this blog.  To get the ball rolling I have been posting topics that either I think are interesting or that many people would find useful.  More and more though, I have been wondering what topics are best to write about in the future.  I have so many topic ideas, but realized why not reverse the process and just let you tell me what you want to read.  Seems logical, so let’s try it. Read more…

Using file open and save dialogs

February 8, 2010 12 comments

Many programming projects require the user of the program to specify either a file to open or save.  That file could be anything from a native CATIA file such as a CATPart or CATDrawing to a simple text file.  Luckily, the CATIA automation API provides methods to display familiar file dialogs just like those you see in any other Windows application.  In this article I will show how easy they are to incorporate into your programming project and also how to deal with some common file related issues. Read more…