i'm starting to learn not net for autocad, I wrote this DLL file with 2010 express the dll file lets the user go and select many files from many location i plan on using this DLL file in my autocad code plus window programs if you could please look at my basic attempt to write code and give me any suggestion to improve on this it would be great. there is a txt file showing how to use the dll file.
Thanks
a few things:
Search other posts for the script setup thing, we have suggested it over and over. thx
internal protected virtual unsafe Human() : mostlyHarmless
I'm just here for the Shelties
ok, I edited my reply, but the dumb web interface won't show it so not sure if it made it in.
that test command should be in your project decorated with command attribute.
You should make a class called program.vb and put the test command in it, be sure you have looked at the blog Through the Interface for its listing of help things.
internal protected virtual unsafe Human() : mostlyHarmless
I'm just here for the Shelties
basically the dll i wrote will work in any vb.net dll or Exe program if the user references the dll file in there program. but I will try and figure out what you asked for. thanks for the information and I look forward to any more help you can give
I see, but then post the test project and the dll.
A trick I do for my programs that run in autocad is to also make a main function that runs if you switch the application type to exe.
Several of my progs view and edit databases of info from acad.
So when the prog runs as an exe, the code detects and disable the acad dependent functions.
Depends what you are doing, but the best thing I ever did in .net was to set up test projects that allow development of one item at a time. It lets you isolate the issue you are testing and hardcode values you would never do in a real prog.
internal protected virtual unsafe Human() : mostlyHarmless
I'm just here for the Shelties
here is a exe file that shows just the basic of what it will be used for.
not bad, I did a select folder dialog of mu own a while back, looks like this:
internal protected virtual unsafe Human() : mostlyHarmless
I'm just here for the Shelties
that looks good, question for you, how did you get the drive titles? i have not been able to figure it out.
you need to look around a bit, there is a ton of free stuff on codeproject and other sites.
I think I used this project to get me going:
http://www.codeproject.com/KB/tree/ExplorerTreeView.aspx
this one too:
http://www.codeproject.com/KB/miscctrl/FileBrowser.aspx
internal protected virtual unsafe Human() : mostlyHarmless
I'm just here for the Shelties