View Single Post
  #1 (permalink)  
Old 10-08-03, 07:06 PM
geneane's Avatar
geneane geneane is offline
Newbie Coder
 
Join Date: Sep 2003
Location: The Carolinas
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
ASP in Java applet buttons

I have 2 files... one an include.

Security.asp contains sql code and should define a field called "lkey"
The second file has an applet that needs one of the parameters to look in security.asp (which is an include) for the field "lkey"

Here is what I havrso far but does not work...I think I am missing something...

security.asp
CODE ************************************************** **

'Declare some variables
dim mysql
dim lkey
dim active

'Read Database
mySQL = "SELECT lkey,active " _
& "FROM licensekey " _
& "WHERE active='active' " _
& "AND lkey<>''"

set rsTemp = openRSexecute(mySQL)
do while not rsTemp.EOF

lkey = ("lkey")
call closeRS(rsTemp)

END CODE ************************************************** **



menupage.asp
CODE ************************************************** **

<applet Code=apXPButtonMenu.class Width=140 Height=451>
<param name=key value="<%=(lkey) %>">
<param name="isHorizontal" value="false">
<param name="menuItems" value="

{Setup & Utilities,utilities.asp,_self,new4-136.gif}
">
</applet>

Can someone pleez help?
Thanks in advance.
Reply With Quote