SunQuest
 
           Web Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today!
  #1  
Old May 20th, 2005, 10:45 AM
jfornwall jfornwall is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2005
Location: Williamston, MI
Posts: 2 jfornwall User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 m 5 sec
Reputation Power: 0
COM Safe Registration

I have a COM component which accesses the serial port on a client machine to access a barcode scanner. I am attempting to integrate it into our website, but am having problems with it telling me the "Object does not contain property or method". I know the method is there, and it works in a win application, so I believe the problem is with IE security. How do I make this control register itself as "Safe for Scripting"? Or does anyone have any other ideas as to what may be causing my problem.

Thanks

Reply With Quote
  #2  
Old June 1st, 2005, 08:06 AM
jfornwall jfornwall is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2005
Location: Williamston, MI
Posts: 2 jfornwall User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 m 5 sec
Reputation Power: 0
Okay, I managed to register my control as "Safe", but the method still does not work.

Here is the reference code:

Code:
 		<form id="Form1" method="post" runat="server">
 			<OBJECT id="wimScan" codeBase="/scannerTest/WirelessIM-XTCsetup.cab#Version=-1,-1,-1,-1" height="50" width="50"
 		    	classid="CLSID:DEA42429-0BD2-4499-86CB-A7C6E884E0F0" VIEWASTEXT>
 				<param name="enabled" value="1"/>
 			</OBJECT>
 			<INPUT style="Z-INDEX: 101; LEFT: 80px; POSITION: absolute; TOP: 72px" onclick="sync();"
 				type="button" value="Read"/> 
 			<INPUT style="Z-INDEX: 104; LEFT: 144px; POSITION: absolute; TOP: 72px" type="button" value="About" onclick="aboutBox();">
 			<INPUT style="Z-INDEX: 102; LEFT: 80px; WIDTH: 216px; POSITION: absolute; TOP: 104px; HEIGHT: 80px"
 				type="text" size="30" name="txt"/>
 			<DIV style="DISPLAY: inline; Z-INDEX: 103; LEFT: 80px; WIDTH: 168px; POSITION: absolute; TOP: 16px; HEIGHT: 24px"
 		    	ms_positioning="FlowLayout">ABDS Scanner Prototype</DIV>
 		</form>
 		<!---->
 		<script language="javascript">
 		function sync()
 		{
 			//var myScanner = Server.CreateObject("WIRELESSIMXTC.WirelessIMXTCCtrl");
 			var monkey = document.getElementById('wimScan').v_Synchronize()  ;
 		    //document.getElementById("myControl1").WirelessIMXTCClass.v_Synchronize();
 			//alert("This ain't working!");
 			//Form1.txt.value = "Monkey!";
 		}
 		function aboutBox()
 		{
 			document.getElementById('wimScan').AboutBox() ;
 		}
 		</script>
 

Reply With Quote
  #3  
Old June 2nd, 2005, 01:34 AM
B-Con's Avatar
B-Con B-Con is offline
:bcon: moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Location: int main()
Posts: 350 B-Con User rank is Private First Class (20 - 50 Reputation Level)B-Con User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 2 Days 22 h 54 m 58 sec
Reputation Power: 4
This question is more closely related to web page functionality. Moved to Web Development from C/C++ Help.
Comments on this post
edwinbrains agrees: b-con is being a moderator!
__________________
Officially a member of the Itsacon fan club. Beer blasts are every friday at Viper_SB's house. I bring the chips.



Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Development > COM Safe Registration


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Iron Speed




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway