FrontPage Addin Startup problem

J

Jason

Developing FrontPage Addin with .net 2003.

Tool runs just fine on my system in the developent environment. When Build
for release and installed on test machines the Add-in seems to have a problem
starting. The weird thing as that if I click on Tools/Addins the addin
imediately loads...What's it waiting for??

Any ideas?

Thanks
Jason
 
J

Jason

I've just found that this is due to FrontPage not shutting down correctly on
first run. When I startup Frontpage a second time the addin does not load
straight away...Why Won't FrontPage shutdown correctly? I am setting all
variables to nothing..Do I need to garbage collect?? Is there a tool to show
me what FrontPage is attached to that is not allowing it to close???

Thanks
Jason
 
J

Jason

More update:

I've narrowed it down to code where I store a reference to the application
object

moAppObj = Application

in the OnConnection method.

moAppObj is Declared as

Private moAppObj WithEvents as FrontPage.Application

I need the With events because I am interacting with them...

On Shutdown I am setting the object to nothing

moAppObj = Nothing

Is there something else I can to to kill the object?

Thanks
Jason
 
J

Jason

Looks like I got it to work.

Before final shutdown I added GC.Collect to force Garbage
collection...FrontPage now shutsdown just fine...

Jason
 
P

Peter Huang

Hi,

I am glad that you have resolved the issue, if you still have any concern
on this issue ,please feel free to post here.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
A

Abhishek Bagga

Hi!
I would like to ask u and Jason a related question
I am doing a similar thing, but i am facing a mojor problem.
How do i install this addin on the user/testing system
One way that i know of is vdproj but that creates three files .msi,.ini,.exe
and if distributing it to the user, it becomes difficult and confusing.
First can we have the vdproj create a single exe
Or i tried it with Installshield as well but that does not support addins

Kindly let me know if there is some better option

Regards
Abhishek Bagga
 
J

Jason

The MSI is all you need...Copy it to the Test machine and run it...The
install should work fine
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top