Hi guys, Im looking at automating tasks in autocad using vba type commands - similar to what I have done and posted here for Excel. My problem is that some...
Hi George, here is the vba code to create a circle. Dim acad As Object Set acad = CreateObject("Autocad.Application") acad.Visible = True Dim cenpt(0 To 2) As...
I cant get the following code to work with NSBASIC. I have tried it with VB and it works perfectly. The code opens up autocad and draws a circle. Here is the...
Try doing this to force the variant type to double: centerpoint(0) = cdbl(0) 'x value of circle center centerpoint(1) = cdbl(0) 'y value of circle center ...
Hi George, unfortunately that doesnt work either. I still get the same error. Sub Command1_Click() Set acad = CreateObject("Autocad.Application") acad.Visible...
I have been able to get the common dialogue to work with CNC machinist software. However the application I am building is Form based. How do I translate the...
You'll need to start a new program as a Standard Project. Create all your forms and controls with the same names that you used in the non- Forms project. You...
I have a small NSBasic/CE application that I'd like to be able to have run on /Desktop for "show and tell". It has a form, some labels, some command buttons,...
I created a new folder, and copied in the .txt, .nsb, and .nsp files for my /CE project. I renamed the .nsb to .nsd for that test. I've still got the "comm"...
Have you tried saving the CE project as .txt, then loading the .txt into NS Basic/Desktop? Yes, you have to change the form bounds - they use a different...
As noted in my original post, the first thing I did was try loading the .txt version of my /CE program. I get a code window that offers me a chance to go to...
Hi, in my opinion it's normal. CE to Desktop can not work(at the moment). It's a different OS world (as it currently works). That's why I take the way from...
I get no result when I attempt to print it. here is the printed Code: 'This sample project uses Common Dialogue-ActiveX™ 'A Windows™ ActiveX™ Common...
I'm not sure which sample you mean. The Menus.nsd project that comes with NS Basic/Desktop uses the SetMenu command. You can issue a new SetMenu command at any...
Hi, it's possible to make a screenshot via NSBasicPicturebox, resize it and save it as Bitmap with a standard path and name(Sorry, but you get whole screen). ...
Hi guys, has anyone had a chance to check out my multi-user SQL demo that I posted yet. I would appreciate any feed-back. Regards Mike ... of ... last ... ...
We have a new speed record for NS Basic/Desktop - and it comes from an unlikely place. Running on a MacBook (not even a Pro!), using Parallels and Windows ...
Hi all, added two new examples to the file section. Not really a revolution, but may be somebody needs the stuff. best regards and merry christmas heiko...
... This is VB6 code - I'm not sure how much of it applies to NSB/Desktop. Sub Center_Form(F As Form) Dim MyX As Integer Dim MyY As Integer MyX = (Screen.Width...