i'm programer using C# language and i havn't problem with C#
and i can writing VBA Code under AutoCAD
now i need to write by c# under autocad ?
and how can i make a function on C#, and call it in autocad using Autocad command , like trim or explod or ...
i need to read the first lesson in C# & AutoCAD Programing ?? can you help me?
if you know VBA, why do you change to C# and don't use VB.NET then?
And you can use SENDCOMMAND again, also in dotNET based DLL, you just have to take care of the synchronisity of the calling like discussed >>>here<<< (there are also other techniques listed to call commands)
- alfred -
becouse this problems i can't find solution for them
>> becouse this problems i can't find solution for them
"because ..." means that is the reason you chose C# instead of VB.NET? Then start again, because you can do the same with VB.NET like you can with C#.
The other options were asked in the forum "Visual Basic Customization" ==> you are right that it might be answered there, but most of us think about VBA when reading that forum (and not VB.NET). And with VBA you have not that much options like you have with dotNET based development.
To get more close to selection-set with dotNET you can look to that >>>blog<<< and search for "keyword" within the text.
The option to access files/directories that are protected by admin-permission is the same as in all development-languages. As long as you are not allowed to access the data you will not get any access from your tool to that files (or you are hacking). I get more and more thinking that it's just me not understanding your question ;( So wait until tomorrow, hopefully other guys understand your needs.
- alfred -
I have this book for my first steps with VB.NET:
http://vbcad.com/vbcadbooks.htm (but it was for A2008 release)
that was a gift from my best friend from CA
this is enough for the good start, then I have to
translate all my codes on C# one by one using web
translators, then just manually later,
Try this as well
i know good vb.net & c#.net , any langauge of it i havn't problems
just my problem is connecting with VB.net with command AutoCAD "mean how can i use the class or function in autocad"
i think i will make dll , and use it by vba
>> just my problem is connecting with VB.net with command AutoCAD
There are so many videos out there for how to get startet with dotNET and AutoCAD >>>click<<<, nothing found here?
- alfred -
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register