Hi All,
I have an ActX dll that I use to interface with my billing system from webpages. I am trying to pass a delimited string from my database into a function and I can't figure it out.
Basically, what I am trying to pass is a list of keycodes that I want to activate/allow for a particular <text> tag in a dynamic html page.
My function outlines and allows the different keys based upon keywords that I created.
In other words, I am passing the following string to allow the keys of 0,1,2,3,4,5,6,7,8,9,/,Tab,Return, and the 4 Arrowkeys to be used. Like for a DATE textbox.
MC is my DLL obj and is in working condition, as the other functions are working fine...
CALL MC.ActivateKeys("0TO9, /, TAB, RETURN, BACKSPACE, AKEYS"
My Function begins as:
Public Function ActivateKeys(strKEYS)
' Work through the Key List...
End Function
My Problem is that in VB Studio, IF I add "AS STRING" to strKEYS listed above, it works. BUT... If I add "AS STRING" and compile it into the DLL, and access it from the webpage, it errors as it see's the info from the webpage as a variant. Which I also tried (as variant)...
How can I pass a delimited string from a webpage using a comma as the delimiter to an ActX dll Com obj?
Thanks...
Rock6431
I have an ActX dll that I use to interface with my billing system from webpages. I am trying to pass a delimited string from my database into a function and I can't figure it out.
Basically, what I am trying to pass is a list of keycodes that I want to activate/allow for a particular <text> tag in a dynamic html page.
My function outlines and allows the different keys based upon keywords that I created.
In other words, I am passing the following string to allow the keys of 0,1,2,3,4,5,6,7,8,9,/,Tab,Return, and the 4 Arrowkeys to be used. Like for a DATE textbox.
MC is my DLL obj and is in working condition, as the other functions are working fine...
CALL MC.ActivateKeys("0TO9, /, TAB, RETURN, BACKSPACE, AKEYS"
My Function begins as:
Public Function ActivateKeys(strKEYS)
' Work through the Key List...
End Function
My Problem is that in VB Studio, IF I add "AS STRING" to strKEYS listed above, it works. BUT... If I add "AS STRING" and compile it into the DLL, and access it from the webpage, it errors as it see's the info from the webpage as a variant. Which I also tried (as variant)...
How can I pass a delimited string from a webpage using a comma as the delimiter to an ActX dll Com obj?
Thanks...
Rock6431