I have a ACtiveX control and In that I have a method called, GetFileContents(str as string). This method takes string and uses this to initalize the control with that string.
I am hosting this activeX control on a web page and in the on_load event of the web page, I need to read contents of a ASCII text file and pass that to the ActiveX control using the exposed method GetFileContents.
This file will be there on the server will be there in virtual directory (where my default.asp) exists.
Can some tell me a way for doing this ?