473,386 Members | 1,835 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Can ActiveX interop require minimum version of the control?

With JScript in html, the object codebase can be given a version number which
will do a pull from the server if the user has an earlier version.

Is there a comparable setup inside an interop wrapper? The generated wrapper
seems to have no such ability out of the box.

thanks,
/steveA
Aug 25 '07 #1
4 1524
It shouldn't matter. The wrapper doesn't implement methods. In the case
where you have added a new method, you would need to rebuild the wrapper and
the pull would always be for the latest. Are you wanting to run legacy and
updated on the same machine?

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET - MS Press
Professional VSTO 2005 - Wrox/Wiley
OWC Black Book www.lulu.com/owc

"Steve Alpert" <sr*@newsgroups.nospamwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
With JScript in html, the object codebase can be given a version number
which will do a pull from the server if the user has an earlier version.

Is there a comparable setup inside an interop wrapper? The generated
wrapper seems to have no such ability out of the box.

thanks,
/steveA

Aug 26 '07 #2
The problem is that as bugs are fixed in the control, we've been incrementing an
internal version but not a control version. If we have a .Net based product
running inside a browser, a newer instance of the control is not loaded from the
server, the user continues to use the old one. I don't want the legacy control
to be used. I don't want to update the ActiveX "CurVer" for each bugfix. The
interface hasn't changed.

In HTML/JScript, the version tag at least asks the user to download a new version.

/steveA

Alvin Bruney [MVP] wrote:
It shouldn't matter. The wrapper doesn't implement methods. In the case
where you have added a new method, you would need to rebuild the wrapper and
the pull would always be for the latest. Are you wanting to run legacy and
updated on the same machine?
--
Steve Alpert
my email fgrir.nycreg @ tr.pbz is encrypted with ROT13 (www.rot13.org) and spaces
Aug 26 '07 #3
I see. How are you loading the control? If you are running embedded in a
browser, then the object tag written to the browser contains the codebase
attribute that you can set appropriately. Is that not working for you?

If you have already tried that approach and failed, can you write a short
but complete program that demonstrates the problem? I'd like to take a much
closer look at this issue. I assume this only fails for a legacy component
since a .NET assembly doesn't require a wrapper.

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET - MS Press
Professional VSTO 2005 - Wrox/Wiley
OWC Black Book www.lulu.com/owc

"Steve Alpert" <sr*@newsgroups.nospamwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
The problem is that as bugs are fixed in the control, we've been
incrementing an internal version but not a control version. If we have a
.Net based product running inside a browser, a newer instance of the
control is not loaded from the server, the user continues to use the old
one. I don't want the legacy control to be used. I don't want to update
the ActiveX "CurVer" for each bugfix. The interface hasn't changed.

In HTML/JScript, the version tag at least asks the user to download a new
version.

/steveA

Alvin Bruney [MVP] wrote:
>It shouldn't matter. The wrapper doesn't implement methods. In the case
where you have added a new method, you would need to rebuild the wrapper
and the pull would always be for the latest. Are you wanting to run
legacy and updated on the same machine?

--
Steve Alpert
my email fgrir.nycreg @ tr.pbz is encrypted with ROT13 (www.rot13.org) and
spaces

Aug 27 '07 #4
We have two flavors of "clients." One set uses push technology with locked-down
desktops and the other uses a pull technology. For those with pull, the
solution is to include a "virtual" product that has the old html object tags and
that at least nags them. The problem is that if they say NO, the system
continues and the .Net interop just starts up with the prior installed controls.
When all use of the object was based on html tags, it wouldn't start unless
they had at least the described version.

I don't know if I can cobble together and example that easily illustrates this.

/steveA

Alvin Bruney [MVP] wrote:
I see. How are you loading the control? If you are running embedded in a
browser, then the object tag written to the browser contains the codebase
attribute that you can set appropriately. Is that not working for you?

If you have already tried that approach and failed, can you write a short
but complete program that demonstrates the problem? I'd like to take a much
closer look at this issue. I assume this only fails for a legacy component
since a .NET assembly doesn't require a wrapper.
Aug 27 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

28
by: AK | last post by:
Hi, I recently read an advice here that one should try to use make and version control system even if you're the only one working on the program. Is that a good advice? How many of you do that? ...
13
by: Carl | last post by:
Dear friends, What is the ultimate version control tool for Python if you are working in a Windows environment? When you work on a Visual C++ project then it's easy, use Visual Source Safe...
0
by: CR | last post by:
To check out stored procs that are under VSS control via my client machine using .NET, I believe I need to change the Options - Database Tools - Server Explorer - STored Procedures - Enable Version...
1
by: SPE - Stani's Python Editor | last post by:
A SPE user reported this: http://developer.berlios.de/bugs/?func=detailbug&bug_id=4878&group_id=4161 >SPE Installer gives option for installing for python22 (i have python22, 23, and 24...
1
by: relisoft | last post by:
SEATTLE, Washington. - July 12, 2006: Reliable Software® announces the upcoming release of Code Co-op® version 5.0. Code Co-op is an affordable peer-to-peer version control system for distributed...
5
by: JDS | last post by:
I am trying to figure out how to use Subversion, but this question isn't really Subversion-specific. Any version control system will suffer from the same problem, IMO. I've crossposted to those...
0
by: Hans | last post by:
Hi, That's my first time to send mail to this address for asking help. Sorry for my poor english firstly. My case is like this: Many guys are using a mysql database, each guy has a database...
2
by: monomaniac21 | last post by:
Hi all we are thinking of using a version control system at work. I was wondering what are some of the issues we should take into consideration when deciding upon which one to use? and which...
12
by: lawpoop | last post by:
I'm developing a php website that I have under subversion version control. I'm working on an image upload functionality, and in the middle of it I realized that any files that a user uploads will...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.