create link and navigate from ActiveX Calendar

G

guy

On this page:
http://www.daltongrouptrading.com/gr/index.htm

I have an ActiveX calendarcontrol, 4 radio buttons, and a submit button.



On clicking the submit button I would like to build and navigate to a link
based on the calendar and radio button selection.



Do I need to use ASP? Is this the easiest? Or how would you suggest I do
this?



The pseudo code for the submit button would be something like this:



OnSubmitClick

switch(radioButton)

case ES:

directory = "es/"

file = "ES"

case NQ:

...

end switch



finalLink = directory + file + "_MP_" + cal.Year.FormatLongYear
+ "-" + cal.Month + "-" + cal.Day + ".htm"

GoToLink(finalLink)



End
 
S

Stefan B Rusynko

You may want to start here
http://msdn.microsoft.com/library/default.asp?url=/workshop/components/activex/controls.asp




| On this page:
| http://www.daltongrouptrading.com/gr/index.htm
|
| I have an ActiveX calendarcontrol, 4 radio buttons, and a submit button.
|
|
|
| On clicking the submit button I would like to build and navigate to a link
| based on the calendar and radio button selection.
|
|
|
| Do I need to use ASP? Is this the easiest? Or how would you suggest I do
| this?
|
|
|
| The pseudo code for the submit button would be something like this:
|
|
|
| OnSubmitClick
|
| switch(radioButton)
|
| case ES:
|
| directory = "es/"
|
| file = "ES"
|
| case NQ:
|
| ...
|
| end switch
|
|
|
| finalLink = directory + file + "_MP_" + cal.Year.FormatLongYear
| + "-" + cal.Month + "-" + cal.Day + ".htm"
|
| GoToLink(finalLink)
|
|
|
| End
|
|
|
 
Top