
Can DHTML page and User Document communicate?
Thanks for the advice. But I am still not clear about the concept. If you
have some sample, it will be of great help.
Actually I am developing intranet application (backend Access2000).
Initially I thought of implementing ASP but each click of button on client
side requires the round trip to server (ASP processing) not good for this
time sensitive applicaton. So I thought of processing to database on client
side ( with batchoptimistic mode). Besides that I want to protect the code
so I used ActiveX DLL project with regular VB forms ( i could have used pure
DHTML but I need the full control over the user screen like full screen mode
and the form is modal. This will make sure that only one instance of form is
loaded. With DHTML, user can create another instance of the form, which
might comsume lots of resources at the client because of database processing
in client side).
At one point I have a difficulty creating the controls like
checkboxes,option buttons, textboxes on the fly + setting up its positions
and controling its click events, which depends on the value read from
database. Initially I thought of lightweight controls (windowless controls)
also but setting up positions and scrolling have to be manually implemented,
if space is not enough to show in the form.
To come up with the solution I thought of putting the Webbrowser control in
the form and create the HTML page on the fly ( based on the values from
database), which will be temporarily stored in users drive and point my
Webbrowser control to that temp HTML file (this frees me up from
implementing scrolling and positioning).
Now at this point, I have a problem reading the status of checkboxes (or
option buttons). In my host form, I have record navigation buttons so before
I navigate to another record I want to get the values from that temp HTML
page and update the current record. How can I communicate with that
temporarily created HTML page to check the status of checkboxes or option
button directly?
Is there a way or I am at the dead end?
Thanks again for the advice.
Quote:
> Very much possible. The way you go about it though may vary.
> If you're into databases, then using a database to store the information
> would be a great way to go. Otherwise, a form with hidden or unhidden
fields
> is a great way to pass information into an activeX control. This can be
done
> by using server side scripting (PERL, IIS, Java/JavaScript/VBScript,
> ColdFusion, et al).
> --
> Jim Carlock
> http://www.microcosmotalk.com
> Post your messages to the newsgroup for all to witness!
> > Hi all,
> > It may sound silly. Sorry for that but I really don't know about this
> thing.
> > Is it possible to reference the DHTML page elements from another form
(in
> > same project)? I have ActiveX dll project where I have one User
Document,
> > one Form and one DHTML page. What I want is to change the contents of
> DHTML
> > page from within a from (which uses a WEbBrowser control). Is it
possible?
> > Thanks