Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Install ActiveX on client over the web

Status
Not open for further replies.

rtshort

IS-IT--Management
Feb 28, 2001
878
US
I have a web app that uses a MSHFlexGrid. I used Visual Interdev to make the app. In the properties of the grid there is a place to put the address "codebase" for the grid. I have it on my IIS server and have the address correct for it. I can go straight to the location of it in the address bar of my browser and it ask if I want to download and install it. When I click on yes it acts like it downloads it, and I can look in the registry and see it. But it won't work. What am I missing or doing wrong? Rob
Just my $.02.
 
can you post the <object> tag code? ________
George, M
 
I have the version set like it is (-1,-1,-1,-1) because I read somewhere that using that number it would look at the current version each time the page loaded. I was just trying to get it to load and self register. I know it did something, like I said above, because it was in the registry of the computer I tested it on 2 times.

Thanks

<OBJECT classid=clsid:0ECD9B64-23AA-11D0-B351-00A0C9055D8E code=&quot;&quot;
codeBase=height=125 id=flexParts
style=&quot;FONT-FAMILY: serif; FONT-SIZE: smaller; FONT-STYLE: normal; FONT-VARIANT: normal; FONT-WEIGHT: bold; HEIGHT: 125px; LEFT: 374px; POSITION: absolute; TEXT-ALIGN: left; TOP: 5px; WIDTH: 285px; Z-INDEX: 100&quot;><PARAM NAME=&quot;_ExtentX&quot; VALUE=&quot;7541&quot;><PARAM NAME=&quot;_ExtentY&quot; VALUE=&quot;3307&quot;><PARAM NAME=&quot;_Version&quot; VALUE=&quot;393216&quot;><PARAM NAME=&quot;BackColor&quot; VALUE=&quot;12632256&quot;><PARAM NAME=&quot;ForeColor&quot; VALUE=&quot;8388608&quot;><PARAM NAME=&quot;Rows&quot; VALUE=&quot;2&quot;><PARAM NAME=&quot;Cols&quot; VALUE=&quot;2&quot;><PARAM NAME=&quot;FixedRows&quot; VALUE=&quot;1&quot;><PARAM NAME=&quot;FixedCols&quot; VALUE=&quot;0&quot;><PARAM NAME=&quot;RowHeightMin&quot; VALUE=&quot;0&quot;><PARAM NAME=&quot;BackColorFixed&quot; VALUE=&quot;-2147483633&quot;><PARAM NAME=&quot;ForeColorFixed&quot; VALUE=&quot;8388608&quot;><PARAM NAME=&quot;BackColorSel&quot; VALUE=&quot;-2147483635&quot;><PARAM NAME=&quot;ForeColorSel&quot; VALUE=&quot;-2147483634&quot;><PARAM NAME=&quot;BackColorBkg&quot; VALUE=&quot;12632256&quot;><PARAM NAME=&quot;BackColorUnpopulated&quot; VALUE=&quot;-2147483633&quot;><PARAM NAME=&quot;GridColor&quot; VALUE=&quot;-2147483630&quot;><PARAM NAME=&quot;GridColorFixed&quot; VALUE=&quot;12632256&quot;><PARAM NAME=&quot;GridColorUnpopulated&quot; VALUE=&quot;12632256&quot;><PARAM NAME=&quot;WordWrap&quot; VALUE=&quot;0&quot;><PARAM NAME=&quot;Redraw&quot; VALUE=&quot;-1&quot;><PARAM NAME=&quot;AllowBigSelection&quot; VALUE=&quot;-1&quot;><PARAM NAME=&quot;ScrollTrack&quot; VALUE=&quot;-1&quot;><PARAM NAME=&quot;Enabled&quot; VALUE=&quot;-1&quot;><PARAM NAME=&quot;RightToLeft&quot; VALUE=&quot;0&quot;><PARAM NAME=&quot;TextStyle&quot; VALUE=&quot;0&quot;><PARAM NAME=&quot;TextStyleFixed&quot; VALUE=&quot;0&quot;><PARAM NAME=&quot;FocusRect&quot; VALUE=&quot;0&quot;><PARAM NAME=&quot;HighLight&quot; VALUE=&quot;1&quot;><PARAM NAME=&quot;FillStyle&quot; VALUE=&quot;0&quot;><PARAM NAME=&quot;GridLines&quot; VALUE=&quot;1&quot;><PARAM NAME=&quot;GridLinesFixed&quot; VALUE=&quot;2&quot;><PARAM NAME=&quot;GridLinesUnpopulated&quot; VALUE=&quot;0&quot;><PARAM NAME=&quot;ScrollBars&quot; VALUE=&quot;3&quot;><PARAM NAME=&quot;SelectionMode&quot; VALUE=&quot;1&quot;><PARAM NAME=&quot;MergeCells&quot; VALUE=&quot;0&quot;><PARAM NAME=&quot;AllowUserResizing&quot; VALUE=&quot;0&quot;><PARAM NAME=&quot;PictureType&quot; VALUE=&quot;0&quot;><PARAM NAME=&quot;BorderStyle&quot; VALUE=&quot;1&quot;><PARAM NAME=&quot;Appearance&quot; VALUE=&quot;1&quot;><PARAM NAME=&quot;MousePointer&quot; VALUE=&quot;0&quot;><PARAM NAME=&quot;GridLineWidth&quot; VALUE=&quot;1&quot;><PARAM NAME=&quot;GridLineWidthFixed&quot; VALUE=&quot;-1&quot;><PARAM NAME=&quot;GridLineWidthUnpopulated&quot; VALUE=&quot;1&quot;><PARAM NAME=&quot;FormatString&quot; VALUE=&quot;&quot;><PARAM NAME=&quot;DataMember&quot; VALUE=&quot;&quot;><PARAM NAME=&quot;BandDisplay&quot; VALUE=&quot;0&quot;><PARAM NAME=&quot;RowSizingMode&quot; VALUE=&quot;0&quot;><PARAM NAME=&quot;FontWidth&quot; VALUE=&quot;0&quot;><PARAM NAME=&quot;FontWidthFixed&quot; VALUE=&quot;-1&quot;><PARAM NAME=&quot;OLEDropMode&quot; VALUE=&quot;0&quot;><PARAM NAME=&quot;_NumberOfBands&quot; VALUE=&quot;1&quot;><PARAM NAME=&quot;_Band(0).BackColorBand&quot; VALUE=&quot;-1&quot;><PARAM NAME=&quot;_Band(0).BackColorHeader&quot; VALUE=&quot;-1&quot;><PARAM NAME=&quot;_Band(0).BackColorIndent&quot; VALUE=&quot;-1&quot;><PARAM NAME=&quot;_Band(0).ForeColorBand&quot; VALUE=&quot;-1&quot;><PARAM NAME=&quot;_Band(0).ForeColorHeader&quot; VALUE=&quot;-2147483630&quot;><PARAM NAME=&quot;_Band(0).BandIndent&quot; VALUE=&quot;0&quot;><PARAM NAME=&quot;_Band(0).Cols&quot; VALUE=&quot;2&quot;><PARAM NAME=&quot;_Band(0).BandData&quot; VALUE=&quot;0&quot;><PARAM NAME=&quot;_Band(0).GridLinesBand&quot; VALUE=&quot;1&quot;><PARAM NAME=&quot;_Band(0).GridLinesHeader&quot; VALUE=&quot;-1&quot;><PARAM NAME=&quot;_Band(0).GridLinesIndent&quot; VALUE=&quot;0&quot;><PARAM NAME=&quot;_Band(0).GridColorBand&quot; VALUE=&quot;-1&quot;><PARAM NAME=&quot;_Band(0).GridColorHeader&quot; VALUE=&quot;-1&quot;><PARAM NAME=&quot;_Band(0).GridColorIndent&quot; VALUE=&quot;12632256&quot;><PARAM NAME=&quot;_Band(0).GridLineWidthBand&quot; VALUE=&quot;-1&quot;><PARAM NAME=&quot;_Band(0).GridLineWidthHeader&quot; VALUE=&quot;-1&quot;><PARAM NAME=&quot;_Band(0).GridLineWidthIndent&quot; VALUE=&quot;-1&quot;><PARAM NAME=&quot;_Band(0).TextStyleBand&quot; VALUE=&quot;0&quot;><PARAM NAME=&quot;_Band(0).TextStyleHeader&quot; VALUE=&quot;0&quot;><PARAM NAME=&quot;_Band(0).ColHeader&quot; VALUE=&quot;0&quot;><PARAM NAME=&quot;_Band(0).BandExpandable&quot; VALUE=&quot;-1&quot;><PARAM NAME=&quot;_Band(0).FontWidthBand&quot; VALUE=&quot;-1&quot;><PARAM NAME=&quot;_Band(0).FontWidthHeader&quot; VALUE=&quot;-1&quot;><PARAM NAME=&quot;_Band(0)._ParentBand&quot; VALUE=&quot;-1&quot;><PARAM NAME=&quot;_Band(0)._Column(0).ColHeaderCaption&quot; VALUE=&quot;&quot;><PARAM NAME=&quot;_Band(0)._Column(1).ColHeaderCaption&quot; VALUE=&quot;&quot;></OBJECT> Rob
Just my $.02.
 
From what i see all seems ok but 1 thing the -1 from the version.
Try to look what is the real verison of the object and place it there not -1 values cuz from what i knw the ActiveX object it's a system one and placing the right verison number will be better or at least leave it how Interdev uses it.

Then you have to knw how version number works.
Ok lets say you have an object with version 1.0.0.1 you used on the object tag.
Client gets to that page and then will be 2 ways of handling this
1. Client doesnt have object. IE looks for his clsid and finds that there is no one in registry then decide to download the activex and installs it autiomaticaly using the verison you placed there. all ok after.
2. Client has the activex but a 1.0.0.0 version. IE checks the clsid he find it and then compare the version number if the number is bigger it will donload the activex and makes necesarely updates on system.

I'm not shure if you place a lower version number it will update it so you better place a higher number for an component update.

so to resume this
placing same version number each time it wont download the component each time unless it's not exist on client machine but if your client already have the component and you want to make an update for him whenever he sees the page again you have to raise the version number.
1.0.0.0 to lets say 1.0.0.1
i hope this helped ________
George, M
 
I'll look into that and see what version I have, but if you don't mind, how do I do that? I'm using Visual Studio 6.0 with SP5 installed.

I also read on MS (ask dr gui thing) website that the correct dll's (relied on by the flexgrid)have to be installed too. I don't know how to tell which dll's are needed or how to package them with the Cab for the flexgrid. Any idea?

I appreciate the reply's, cause my nads are kinda in a vise on this one. I kinda need to have it working by Friday afternoon.

Thanks again. Rob
Just my $.02.
 
I really don't have VS installed on any computer but my own at the office and here. It will work in both places. I can connect to my IIS at the office, from home, and it will work.

How do I go about licenseing it? Rob
Just my $.02.
 
Oh. It was late last night when I posted that. I see the link. Thanks. I'll check it out. Rob
Just my $.02.
 
Ok, to check the verison of the MSFlexGrid control try use registry. It's best way to look on what Version is there and put same version on the object tag.
Open registry editor then search for the &quot;0ECD9B64-23AA-11D0-B351-00A0C9055D8E&quot; the object CLSID and under that kwy you will find a subkey named &quot;Version&quot; as long woth ProgID,Typelib and few others. You should see the 6.0 or 5.0 or maybe lower version of the control then put at version #version=6,0,0,0 or #version=5,0,0,0 or what ever version number is there.
But i think the version of control is 6.0 i dont think Microsoft got better version yet.

________
George, M
 
Thanks George, I'll have a look at it. Rob
Just my $.02.
 
Well, I checked the registry and it's in there. Also the 2 required dll's in the mshflxgd.dep file are installed and registered. (comcat.dll & msstdfmt.dll) I ready to scream.

I also changed the codebase to:


Still won't work. It still comes up and ask, acts like it's downloading, even puts it back in the registry(after I found it and deleted the keys for it). Still no go? It's driving me crazzyyy. Rob
Just my $.02.
 
I've also created a license .lpk file and used it. Still a blank screen where the grid is supposed to be. Rob
Just my $.02.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top