Also, I noticed your path may be incorrectly formatted
"C:\Users\majhu\CAD\Iso Info\Cad 1\Iso.csv" should be "C:/Users/majhu/CAD/Iso Info/Cad 1/Iso.csv"
or"C:\\Users\\majhu\\CAD\\iso Info\\Cad 1\\Iso.csv"
edit: the forum changes the text, just so…
Correct, it should be (OpenExcel "PATH to your file") . I’ve added a catch to output any error messages
(defun OpenExcel (file / book exl)
(setq exl (vlax-get-or-create-object "Excel.Application"))
(vla-put-visible exl :vlax-true)
Now might be a good time to switch to VB.NET, you can still use the COM interface and possibly some of your old code, but also have access to more features, such as Teigha.DatabaseServices.Database.ThumbnailBitmap
The one sample has various sample commands, forms to illustrate using many parts of the API. Since your familiar with C++, you might also find something useful in the BRX SDK.
Also, check out TheSwamp.org , there's probably thousands of sample…
@Kerry Brown said:
I'll have a play when the crocodiles stop nipping at my heels.
IKR! We found a huge croc (by our standards) in the gutter… the week before, a cobra fighting a python, meanwhile, mynah birds continue to sn…
@Daniel Marcotte said:
Visual Studio Code is really cool, but its windows only, right?
Open source, cross-platform - based on Electron....
Wow! I stand corrected, time to give it another whirl!
So very difficult way around.... I can not even think how to screw itto my code. ...Especially when I need to fill the table with fields.
But maybe someone is useful. Thank.
Well you did say mtext ;-)
yeah, a little more verb…
@Joe Dunfee said:
The only thing that may fool you, if you are unaware of this, is that you must do a REGEN for any changes to fields to show up. That little detail is probably the thing that made my efforts a few years ago fail.
I know from a .NET perspective, the COM DLLs to reference are axbricscadapp1.dll and axbricscaddb1.dll, located in the install folder.
Also you can find axbricscadapp1.tlb and axbricscaddb1.tlb in the BRX SDK
I started one a while back, ECC 200 and QRCode, I never finished it though : | I could probably make something “no frills”, Although, if your just needing one or two, it might be easier to use an online generator and attach the image. …