vb里写的dll为什么在asp.net里引用了,提示“未设置对象变量或 With block 变量 ”为什么???
我用vb编译了一个dll,在vb历代码调用dll好用:代码如下:
dim strPostCood as string
strPostCood="test"
Dim GeoServer As new GeoImageServer.GIServer
strFileName = GeoServer.QueryImage(strPostCood)
正常执行
但是在asp.net里就出现错误:未设置对象变量或 With block 变量.为什么?
dim strPostCood as string
strPostCood="test"
Dim GeoServer As new GeoImageServer.GIServer
strFileName = GeoServer.QueryImage(strPostCood)
难道有什么区别马?
请指教,谢谢!!!!!!!!!!!!