Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

if this sounds stupid, keep in mind

Status
Not open for further replies.

hinchdog

Programmer
Feb 14, 2001
380
US
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!!!
 
oh thanks. i'm just learning. i appreciate the help!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top