|
-
Aug 2nd, 2001, 09:24 PM
#1
Thread Starter
PowerPoster
My Activex Control On Web Doesnt Work URGENT
Hey all,
I've created an Active x control that allows data entry to a database.
also parses a text file etc.
Now i put it on the companies web site so they can enter there timesheet through it. And i get this error: "This page contains object that is unsafe and it may not function properly!"
It continues on and i can enter data ok but when it comes especially to paresing the text file it doesnt work. No errors it just doesnt work.
Why is that?
Please help meeeeee!!
thanks
-
Aug 3rd, 2001, 06:26 AM
#2
Black Cat
Now i put it on the companies web site so they can enter there timesheet through it. And i get this error: "This page contains object that is unsafe and it may not function properly!"
You have to digitially sign it and mark it safe for scripting to get around this.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Aug 4th, 2001, 10:19 PM
#3
Thread Starter
PowerPoster
ta josh how can i do this?
-
Jun 15th, 2002, 08:39 AM
#4
Fanatic Member
Originally posted by Beacon
ta josh how can i do this?
I haven't got it cracked at this stage but look at http://support.microsoft.com/default...;EN-US;q182598
to get the idea of where to start
 Looking for a friendly intelligent chat forum? Visit the white-hart.net 
-
Jun 18th, 2002, 03:41 AM
#5
Addicted Member
Try this 1 also
Hi,
Try reducing your browser security for inranet. Means enable all the options under the ActiveX controls and plugins and then try loading the control.
Pres.
-
Jun 18th, 2002, 03:49 AM
#6
Addicted Member
Read this to know about signing...
-
Jun 18th, 2002, 08:43 AM
#7
Fanatic Member
Re: Try this 1 also
Originally posted by MrPresident2k
Hi,
Try reducing your browser security for inranet. Means enable all the options under the ActiveX controls and plugins and then try loading the control.
Pres.
Unfortunately this would mean that all users would have to do that!
 Looking for a friendly intelligent chat forum? Visit the white-hart.net 
-
Jun 18th, 2002, 07:42 PM
#8
Thread Starter
PowerPoster
Kzin digging up an old thread! 
You gotta get it signed by someone like verisign for a few hundred $$$ that'll make it authorised or something!
b
-
Jun 19th, 2002, 02:58 AM
#9
Fanatic Member
 Looking for a friendly intelligent chat forum? Visit the white-hart.net 
-
Jun 19th, 2002, 03:03 AM
#10
Next to a digital signature, there are two more security attributes for activeXControls: Save for scripting, and save for initialization. Only the digital signature will cost you money.
If your control is save for scripting, and save for initialization, you can set these options when you run the P&D wizard (if it is not, you can also set these options, this is completely left to the responsibility of the developer)
From MSDN:
Digital signatures create a path to you (through the company that authorized your certificate), in the event that your control causes harm on a user's system. You can incorporate your signature when you use Package and Deployment Wizard to create an Internet setup for your control component.
Marking your control safe for scripting tells users that there's no way a script on an HTML page can use your control to cause harm to their computers, or to obtain information they haven't supplied willingly.
Marking your control safe for initialization lets users know there's no way an HTML author can harm their computers by feeding your control invalid data when the page initializes it.
-
Jun 19th, 2002, 04:15 AM
#11
Fanatic Member
Originally posted by Frans C
Next to a digital signature, there are two more security attributes for activeXControls
Thank you Frans C - a very good and clear explaination! The problem that I had been having (and possibly Beacon?) was that until VB6 [SP3] the checkboxes that enable safe for scripting and safe for initialization in Package and Deployment wizard did not generate the correct registry keys in the INF file that is included in the CAB file generated as it was in VB5's SETUP wizard. This is corrected in the SP4 and SP5 packs.
 Looking for a friendly intelligent chat forum? Visit the white-hart.net 
-
Jul 2nd, 2002, 07:09 PM
#12
New Member
Hey guys, Um I just started working with ActiveX using VB. I just wanted to know what SP is? I have Microsoft Visual Studio 6.0 Enterprise Edition, so I hope this means I don't have to worry about the thangs you guys are talking aobut, right? Except the Package Wizzard thang. Unless SP is Packeage Wizzard. I want to make ActiveX stuff that cam be used on the web or were ever. If I make the control or what ever, in VB dose that mean I have to use it in only VB? What about VC / MFC?
-
Jul 7th, 2002, 03:57 PM
#13
New Member
Fraid So, Sakky
SP = service pack.
Active X - you will need to get to know this stuff if you are releasing components into a corporate environment or doing web stuff.
Active X components, like Java applets, are pretty powerful and operating systems will be on the lookout for outside code components that want to come in and read from files or write to files on a drive (and that is just the start of it).
What everyone has been talking about has been how you set up your app deployment to make sure your component is properly trusted to do what you want it to do.
Earlier releases of VB6 did not have the deployment stuff properly configured, but later service packs did.
-
Jul 8th, 2002, 05:53 AM
#14
Hyperactive Member
Old Fred maybe but..
Seeing as this is current-ish, I'll aska question ?
How do people normally reference Server Objects through Web Hosted OCX's ??

Best Bar.....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|