| Author |
Message |
mgrigoriev
Guest
|
Posted:
Fri Jan 07, 2005 1:04 am Post subject:
Password on the code prevents the code from running |
|
|
Hi,
I have a code that programmatically puts some stuff into "This Drawing" with the help of VBEModel. The code doesn't work when I put a password on my code. What can I do about it? Once I type in the password the code works fine.
Thanks,
Mike
|
|
| Back to top |
|
 |
MP
Guest
|
Posted:
Fri Jan 07, 2005 4:12 am Post subject:
Re: Password on the code prevents the code from running |
|
|
mgrigoriev
Unless I'm misunderstanding something (which is likely), I thought the VBE
model wasn't primarily for putting stuff into autocad programatically, it's
for writing/editing code programatically.
Therefore whatever you're actually doing - if you're actually using vbe -
maybe not having the password in prevents the modules you may be trying to
edit to be edited.
As far as I know a vba password only prevents the code from being viewed in
the vbaide. It doesn't in my limited experience prevent the code from
running.
Is that what you're doing? Writing code on the fly via other code using the
vbe model?
If you're just adding drawing elements to autocad I don't know where the vbe
model comes into play.
Like I said, I'm probably misunderstanding something. So sorry if this
doesn't make sense.
Perhaps a sample of your code would make things more clear.
Mark
"mgrigoriev" <nospam@address.withheld> wrote in message
news:26102600.1105041891011.JavaMail.jive@jiveforum2.autodesk.com...
| Quote: | Hi,
I have a code that programmatically puts some stuff into "This Drawing"
with the help of VBEModel. The code doesn't work when I put a password on my |
code. What can I do about it? Once I type in the password the code works
fine.
|
|
| Back to top |
|
 |
Laurie Comerford
Guest
|
Posted:
Fri Jan 07, 2005 5:08 am Post subject:
Re: Password on the code prevents the code from running |
|
|
Hi,
Did the program writer create a function to request a password each time you
run the program?
Then is the program exiting if you don't provide the password?
This can be a way of creating "Shareware". The incentive to purchase is
that you can get a permanent password.
As MP noted, having a password to hide the code from viewing/editing has no
effect on whether the program will run.
--
Laurie Comerford
CADApps
www.cadapps.com.au
"mgrigoriev" <nospam@address.withheld> wrote in message
news:26102600.1105041891011.JavaMail.jive@jiveforum2.autodesk.com...
| Quote: | Hi,
I have a code that programmatically puts some stuff into "This Drawing"
with the help of VBEModel. The code doesn't work when I put a password on my |
code. What can I do about it? Once I type in the password the code works
fine.
|
|
| Back to top |
|
 |
Nathan Taylor
Guest
|
Posted:
Fri Jan 07, 2005 5:55 am Post subject:
Re: Password on the code prevents the code from running |
|
|
I understand what your problem is and don't think there is a solution. What is the purpose of your program adding code into ThisDrawing object as you may be able to do something else to meet this purpose.
Regards - Nathan |
|
| Back to top |
|
 |
|
|
|
|