Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Problems building Excel Addin from Command Line LoadBehavior changes

Hi all,

Just joined this newsgroup because I can't find any forums out there
for Excel Plug-In developers.

I am working on an Excel Plug-In that is for users of Excel 2000 and
above. And everytime that I build it from within the IDE I see a new
registry key is created under

HKEY_CURRENY_USER\Software\Microsoft\Office\Excel\ Addins\MyAddin.Connect

In this registry key there is a REG_DWORD value "LoadBehavior" and its
value is set to 3. Which to my understanding means the plug-in is
"Connected" and will "Load on Startup". Which means that everytime the
user starts excel, my addin will run. If I change this value to 1, the
plugin is simply "Connected", and will not run when the user starts
excel.

So, my problem is that when I build the plug-in from the command line
the registry is loaded with the same information as before but except
that the value of LoadBehavior is 1.

This is causing me many headaches because I feel that the VB6 command
line compiler is screwing up badly.

And to make this more interesting, if I continue to build the addin
from the command line, for certain iterations the value of LoadBehavior
will be correct, 3, and for all other cases, its value will be 1.

Anybody know anything about buliding VB6 addins? I have the proper
values set in my Connect.Dsr file, "Connect at Startup", and I have
verified these values by looking at the text of connect.dsr in a text
editor.


Thanks,

John Stratoudakis
johnstratoudakis at gmail dot com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Problems building Excel Addin from Command Line LoadBehavior changes

Here is a quick update:

I changed my build batch file to not build my excel addin, so what I do
now is check out the project from sourcesafe, increment the build
number, build the project, check it back in, then run my batch file to
build the installation package.

Where I figure this out, I'll let the group know,

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
I'm building a stacked line chart. Ron Charts and Charting in Excel 1 January 23rd 08 08:49 PM
Problems creating a dll in Excel 2003 using addin designer Tammy[_5_] Excel Programming 1 October 22nd 04 05:20 AM
addin problems Brian Z Excel Programming 0 October 14th 04 05:41 PM
AddIn installation Problems ale036 Excel Programming 0 June 22nd 04 07:37 PM
Problems with Excel Com Addin Chip Pearson Excel Programming 1 August 9th 03 10:11 AM


All times are GMT +1. The time now is 06:01 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"