Author Topic: Why like this  (Read 3546 times)

0 Members and 1 Guest are viewing this topic.

Adesu

  • Guest
Why like this
« on: March 07, 2007, 03:30:31 AM »
Hi Alls,
I just load a code from my friend,then I load it but display alert box as like at attach file,I don't know what meaning it.

Arizona

  • Guest
Re: Why like this
« Reply #1 on: March 07, 2007, 06:45:05 AM »
I'm just guessing...
but I think it may not like the spaces in the names. Try taking out the spaces :-)

Not to mention the long search path...
« Last Edit: March 07, 2007, 06:46:25 AM by Arizona »

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Re: Why like this
« Reply #2 on: March 07, 2007, 08:14:18 AM »
I would suggest shortening the path to the file as well.
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

Adesu

  • Guest
Re: Why like this
« Reply #3 on: March 07, 2007, 06:52:38 PM »
Hi Keith™ and  Arizona,
That code has solve,it contained a password.

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Re: Why like this
« Reply #4 on: March 07, 2007, 08:31:52 PM »
strange .. I use passwords to protect VBA projects regularly without incident.
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

Glenn R

  • Guest
Re: Why like this
« Reply #5 on: March 07, 2007, 09:41:06 PM »
The second screen caption also shows that it's in a different location to the first screen cappy with messagebox.

JohnK

  • Administrator
  • Seagull
  • Posts: 10604
Re: Why like this
« Reply #6 on: March 07, 2007, 10:34:29 PM »
Man you got a lot of buttons!!
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Re: Why like this
« Reply #7 on: March 08, 2007, 08:25:22 AM »
Ok .. I'll bet I know what happened ...

In VBA you can set a reference to the current project .... that reference is hard coded to the path of the vba file. The reference cannot be updated unless the project has full access.

Understood now ...
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

Guest

  • Guest
Re: Why like this
« Reply #8 on: March 08, 2007, 08:59:24 AM »
Man you got a lot of buttons!!

I thought FOR SURE you were going to comment on the subject text.   :-D

Adesu

  • Guest
Re: Why like this
« Reply #9 on: March 08, 2007, 06:45:20 PM »
Hi Keith™,
After I posted to my friend,that code contained a password,then he reposted code without password.

Ok .. I'll bet I know what happened ...

In VBA you can set a reference to the current project .... that reference is hard coded to the path of the vba file. The reference cannot be updated unless the project has full access.

Understood now ...