473,772 Members | 2,424 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1542
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******** ********@TK2MSF TNGP03.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******** ********@TK2MSF TNGP04.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
2833
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? Thanks, -AK
13
2985
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 for your source code! But when it comes to large Python projects and no universal Python IDE with version control integration is available, checking in and out files is not as simple. I am a keen user of Emacs, but version control, which is very...
0
1244
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 Control from unselected to selected. Problem is that I can't select it. Our sql server is already setup for VSS/SourceSafe control, and other users are able to check out stored procs from it through the .Net IDE by checking the 'Enable Version...
1
1315
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 installed) >I thought that spe requried 2.3+ (ie it should allow for 23, 24 but not 22). Is there anyway that SPE can require a minimum version (eg python 23)? Thanks, Stani
1
2187
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 development enabling collaboration through Email, LAN, or VPN-no server required. The upcoming release of Code Co-op 5.0 is due out this fall. With this release Reliable Software continues its track record of innovation by introducing...
5
1675
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 groups I've deemed most relevant WRT web development. (Well, relevant to *me*). I don't think this question will be completely relevant in a C/C++ or other local devlopment environment. Maybe it is...
0
5769
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 copy in his own PC, they need to do some changes in their local database from time to time. then all guys need submit the changes to the central database for sharing.
2
1982
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 one/s you would recommend? thanks marc
12
1803
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 not be under version control, and if I checkout or export the site from version control, and deploy it, it won't bring any of the uploaded files with it. I'm looking at php subversion functions, but the manual says that they're experimental,...
0
9619
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10261
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10103
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7460
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6713
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.