if this sounds stupid, keep in mind i'm new. anyway, i have a project that captures the html from the browser using the wininet.dll. the functions look like the one below...
Public Declare Function InternetOpen Lib "wininet.dll" Alias "InternetOpenA" _
(ByVal sAgent As String, ByVal lAccessType As Long, ByVal sProxyName As String, _
ByVal sProxyBypass As String, ByVal lFlags As Long) As Long
i have this function and others that use winient in a module, and everything works perfect. however, i want to turn this project into a .dll and when i tried to create a class module with these functions it got the warning "you cannot have a public function in a class module, etc. etc." So is it even possible to do this - is there some kind of work-around. any advice is much appreciated!!!
Public Declare Function InternetOpen Lib "wininet.dll" Alias "InternetOpenA" _
(ByVal sAgent As String, ByVal lAccessType As Long, ByVal sProxyName As String, _
ByVal sProxyBypass As String, ByVal lFlags As Long) As Long
i have this function and others that use winient in a module, and everything works perfect. however, i want to turn this project into a .dll and when i tried to create a class module with these functions it got the warning "you cannot have a public function in a class module, etc. etc." So is it even possible to do this - is there some kind of work-around. any advice is much appreciated!!!