Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old March 9th, 2004, 04:02 AM
palie palie is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 5 palie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
ActiveX control & passing a SQL string from asp\VBScript

hi

I've been working on a project were by i've created a graph program in VB (an activeX control; ocx) that is dynamically populated by data from an ASP page.

At present the asp page creates a text file in which it writes a SQL string that is then read by the activex control which in turn displays the values of that string on the line graph.

This all works, but i want the string passed by the asp page to the page that contains the activex control with out the use of the text file. (i.e. i need a way to pass the sql string directly into my activex control)

I've used a hiddenfield to pass the sql string from my asp page to the page that contains the activex graph:


<%
'activeX web page

Dim savedSQL
savedSQL = Request.Form("hiddenField")

%>

<OBJECT ID="activeXCGraph" CLASSID="CLSID:3ac4c6d2-e43e-48c5-af6c-4479cf929799"
CODEBASE="activeXGProject.ocx">
</OBJECT>


But the problem i have is that i need a way to pass 'savedSQL' string into my activeX control were it can be used to make the graph.

Any help appreciated

Thanks



Palvinder Singh

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingVisual Basic Programming > ActiveX control & passing a SQL string from asp\VBScript


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 | 
  
 





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