Search found 16 matches

Programming

Interesting. It sounds like I'm going to have to do some work if I want to continue with the tool I have developed.

Given the decision to drop VBA, any new thoughts on VSTA versus other options?

Thanks,
Erik

Future of VBA in Intellicad 7?

I have been reading that Autodesk has taken VBA out of Acad 2010 and 2011, although you can still download it and install it. If I understand correctly, this is in response to Microsoft's decision to push everyone to .NET, and quit supporting VBA. I was thinking about doing some additional work on t...

I may have found the problem. I discovered a .vbi file in a sub-directory off of C:\Users\Erik\AppData\Local\VirtualStore\Program Files (x86)\CMS (for some reason, Vista did not show it to me the first time I searched). I deleted this entire directory after I removed Intellicad, then did a re-instal...

Thanks for the reply. I got brave and did a remove, reboot, reinstall, reboot sequence. It did fix part of the problem, but something is still not quite right. I had mixed success. The short routine will run ok, but only if I run Icad as an administrator (Vista 64 bit is such a joy). Previously, I w...

VBA has become very confused

I seem to have done something to VBA while working on some updates to one of my VBA routines. I recall the messagebox function exiting with an error along the lines of "object disconnected." Now routines that used to work no longer work. For example, Sub GenModel() Load frmGenerateModel fr...

The command for icad.lsp looks exactly like what I was looking for.

Actually, now that I think about it though, I could probably also put the VBILOAD command into the string for my custom menu items. I'll have to try this out as well.

Thanks Again,
Erik

Hello JCAMPOS, That is roughly what I have been doing to upgrade to previous versions of Intellicad. However, if I understand your suggestion correctly, this leaves them in commonprojects.vbi. I am interested in exploring alternatives to this. The suggestion I got from CMS was: "With this new r...

Code Documentation

I'm working on a project that is getting beyond my ability to hold it all in my head all at once (even if I got to work on it every day).

Any suggestions for a good VBA documentation generation tool (like Doxygen for C/C++) that integrates well with VBA ?

Ah-ha. Thanks for checking into it, I think I can get around it by using object xdata tied to a layer. Not quite as clean a solution, but it will work. Hopefully this will get better in the next upgrade/release.

-Erik

Dictionaries

I'm trying to use a dictionary object using Icad 6 PE+, ver 6.0.12.1. Following the general pattern from Autocad, I tried: ------------- Dim count As Long count =IntelliCAD.ActiveDocument.Dictionaries.count ------------ When I try to run this, I get run time errro 445, object doesn't support this ac...

Embedded .xls worksheet ?

I'm trying to figure out how to use an embedded .xls worksheet object in a drawing. Any suggestions as to how to refer to the embedded object from VBA? I can start a sperate instance of Excel, create a blank sheet and work with it from VBA without problems. I'm just not sure how to get started with ...

Thanks for the follow-up.

I ended-up doing some pre-processing to make sure I had the lines I wanted, then using vicExtendBoth. This also solved another issue with what I needed to accomplish as well.

Erik

Go to advanced search