Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Beginning VB 6
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 22nd, 2006, 07:44 AM
Registered User
 
Join Date: Aug 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to aaryan
Default

Hi Sandeep Kothari,

Ur piece of code worked for me...

this piece of code works only when u click yes.....

that's part of the security....

 
Old August 28th, 2006, 11:40 PM
Registered User
 
Join Date: Aug 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I pass a value from HTML code to an AciveX (c# .net) by using PARAM.
How can I receave a string result from activeX to an HTML page.

I face some problems while working with this activeX called from HTML page. I will not support to connect to a database, showing some security prblems. We cant call a web service, it also showing some security problems.
 
Old June 13th, 2007, 10:29 PM
Registered User
 
Join Date: Jun 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

u need to check this out
it worked for me
but however pass parameters to roperties u exposed in vb using javascript or vbscript.. not the param tag
http://support.microsoft.com/kb/182598/EN-US/

 
Old June 17th, 2007, 08:03 AM
Registered User
 
Join Date: Dec 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by aaryan
 Hi Sandeep Kothari,

Ur piece of code worked for me...

this piece of code works only when u click yes.....

that's part of the security....

Hi,

I click yes and the control does not get displayed at all on the page. if I click no the control gets displayed, but the value is not populated.

Here is my code:
Public sTest As String

Private Sub Command1_Click()

    MsgBox sTest
End Sub

Private Sub UserControl_ReadProperties(PropBag As PropertyBag)

    sTest = PropBag.ReadProperty("Test")

End Sub


and html:
<HTML><BODY><OBJECT id="uc1" classid="clsid:DBA2F732-40A2-42E2-AC1F-56E853C0B616" codebase="prjOX.ocx">
<PARAM NAME="Test" VALUE="aaa" >
</OBJECT></BODY></HTML>

Please help.
Thx





Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows command : How to pass param ?? elayaraja.s XSLT 4 July 28th, 2008 05:17 AM
ActiveX : getting PARAM value in activeX src smaraux Visual Studio 2005 1 March 4th, 2008 12:31 PM
Want to pass value at href in anchor tag on xslt Abhinavnaresh XSLT 4 February 21st, 2008 04:32 AM
pass multi value param from ASP toCrystal Runtime ushasku BOOK: Beginning ASP 3.0 1 January 5th, 2007 03:41 PM
pass multi value param from ASP toCrystal Runtime ushasku Classic ASP Basics 0 August 5th, 2005 06:44 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.