Can't access an Active-X control within ASP page.

O

Oscar

I am quite new to the ASP scene. I want to display the results of a
recordset into a third party grid control called VSFlexgrid. I've prepared
one asp page which queries an Access database and holds the object in which
the results should be writte. I've tried two options :

1. The grid active-X component was instantated within the html part as :
<OBJECT id=Flex style="WIDTH: 352px; HEIGHT: 256px" height=256 width=352
classid=clsid:0F026C11-5A66-4c2b-87B5-88DDEBAE72A1>
</OBJECT>
The problem is that when I refer to the grid object within the scripting
part, such as' Flex.Rows', the browser reports ' runtime error 424 : object
required'. The object is rendered when browsing the page, however it is not
accessable within any scripting. That's why I decided to configure the
object to run at the server by my second approach :

2. The grid active-X component was instantated within the html part and the
tag RUNAT=SERVER was added.
<OBJECT id=Flex style="WIDTH: 352px; HEIGHT: 256px" height=256 width=352
RUNAT=SERVER
classid=clsid:0F026C11-5A66-4c2b-87B5-88DDEBAE72A1>
</OBJECT>
Now the browser doesn't fire an error message. I am able to access the
properties of the control. However, the grid is not shown in the browser at
all!

I guess that I am doing something wrong basically. Any suggestions what to
do ?

regards,
Oscar
 
O

Oscar

Hi John, thanks for your reply.

Does this mean that method 1 never would be a solution or is there a way to
solve that ?
Regarding method two, I only know that the grid has a feature to save the
whole grid in html format.

Oscar
 
O

Oscar

Hi John,

since the website is build for restricted users (for entering of weekly
timesheets) there is no problem in such that people won't allow the Active-X
controls to run in their browser.
I've been able to do the implementation within a not-ASP configuration, but
I am afraid for time-consuming disadvantages. Meanwhile I'll look for an ASP
grid.

regards,
Oscar
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,434
Messages
2,571,685
Members
48,796
Latest member
Greg L.

Latest Threads

Top