Configname not working

Configname not working

Anonymous
Not applicable
249 Views
2 Replies
Message 1 of 3

Configname not working

Anonymous
Not applicable
I changed computer, reinstalled my softwares and reconfigured "most" of
everything the way it was with the previous computer.

but I have an AutoCAD VBA app that creates a viewport on a layout that won't
work anymore... here is the faulty code:

mLayout.ConfigName = "n:\apps\autocad\plotters\HP650c.pc3"

I have full access to this folder, and this HP650c.pc3 is a newly created
PC3 file, I can use all the PC3's created with my previous installation, but
if I rename one, I can't use the newly renamed file, where can change things
so I can use newly created PC3s.


Thanks.
0 Likes
250 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
According to the help, the ConfigName property does not take a fully
qualified path. You just feed it the file name with the extension. The
help also says you should use the RefreshPlotDeviceInfo method before trying
to change the ConfigName.

Chuck


"Yves Allaire" wrote in message
news:3CE613B9EE5EDF5E391522BE48EDCFC6@in.WebX.maYIadrTaRb...
> I changed computer, reinstalled my softwares and reconfigured "most" of
> everything the way it was with the previous computer.
>
> but I have an AutoCAD VBA app that creates a viewport on a layout that
won't
> work anymore... here is the faulty code:
>
> mLayout.ConfigName = "n:\apps\autocad\plotters\HP650c.pc3"
>
> I have full access to this folder, and this HP650c.pc3 is a newly created
> PC3 file, I can use all the PC3's created with my previous installation,
but
> if I rename one, I can't use the newly renamed file, where can change
things
> so I can use newly created PC3s.
>
>
> Thanks.
>
>
>
0 Likes
Message 3 of 3

Anonymous
Not applicable
Thanks,

I simply missed it, it's working now...


"Chuck Gabriel" a écrit dans le message de
news: 5C58868679A48B4A81721640943EA332@in.WebX.maYIadrTaRb...
> According to the help, the ConfigName property does not take a fully
> qualified path. You just feed it the file name with the extension. The
> help also says you should use the RefreshPlotDeviceInfo method before
trying
> to change the ConfigName.
>
> Chuck
>
>
> "Yves Allaire" wrote in message
> news:3CE613B9EE5EDF5E391522BE48EDCFC6@in.WebX.maYIadrTaRb...
> > I changed computer, reinstalled my softwares and reconfigured "most" of
> > everything the way it was with the previous computer.
> >
> > but I have an AutoCAD VBA app that creates a viewport on a layout that
> won't
> > work anymore... here is the faulty code:
> >
> > mLayout.ConfigName = "n:\apps\autocad\plotters\HP650c.pc3"
> >
> > I have full access to this folder, and this HP650c.pc3 is a newly
created
> > PC3 file, I can use all the PC3's created with my previous installation,
> but
> > if I rename one, I can't use the newly renamed file, where can change
> things
> > so I can use newly created PC3s.
> >
> >
> > Thanks.
> >
> >
> >
>
>
0 Likes