DavidBG
Nov 20th, 2000, 08:40 AM
Hi, I have referenced the Microsoft Active Server page Object, in VB, at Menu item PROJECT/REFERENCES
and check on MICROSOFT ACTIVE SERVER PAGE OBJECT LIBRARY.
Then I write:
'Var Declaration
Private MyServer As Server
Private MyText As String
In a fuction I write
MyText = "Text encoded to go URL"
MyText = MyServer.URLEncode(MyText) 'Line 12
Then I past it through http connection.
Howerver, on line 12, it generates an Error as follow:
Run-time Error '91':
Object Variable OR With block variable not set
I dont get the meaning of this error, please help.
and check on MICROSOFT ACTIVE SERVER PAGE OBJECT LIBRARY.
Then I write:
'Var Declaration
Private MyServer As Server
Private MyText As String
In a fuction I write
MyText = "Text encoded to go URL"
MyText = MyServer.URLEncode(MyText) 'Line 12
Then I past it through http connection.
Howerver, on line 12, it generates an Error as follow:
Run-time Error '91':
Object Variable OR With block variable not set
I dont get the meaning of this error, please help.