A preserved archive of the Logical Gamers community forums, 2009-2025. The original threads and posts, served read-only. Registration, posting and private messages are gone for good.

HTTP Wrapper error

2.2k views · started by Stapled ·
#1
HTTP Wrapper error
sorry if this doesn't go here


Line 13: Property PropertyPages in HTTPWrapper had an invalid file reference.


how can i fix that?
#2
stapled wrote:
sorry if this doesn't go here


Line 13: Property PropertyPages in HTTPWrapper had an invalid file reference.


how can i fix that?


copy paste code that you were using.
#3
that automatically goes to the error log when i put the wrapper into my project :S

and then it stops all code from working
#4
re-download the http wrappers and re-add to your project.
#6
What version of vb?


vb6

@chad
i still get the error
#7
stapled wrote:
vb6

@chad
i still get the error


I kept getting that error as well in vb6, thats why I moved on to vb8.
#8
I kept getting that error as well in vb6, thats why I moved on to vb8.


is there http wrappers for 08?
#9
stapled wrote:
is there http wrappers for 08?


Ya. Lots of em.

You will have to change the code a bit (to vb.net)...

Edit: Might know how to fix...

Have you tried the name (Instead of HttpWrapper) Wrapper, Wrapper1, and HttpWrapper1.
#10
Ya. Lots of em.

You will have to change the code a bit (to vb.net)...


crap im not very good at coding so i don't think i would be able to change anything unless its easy :mad:
#11
stapled wrote:
crap im not very good at coding so i don't think i would be able to change anything unless its easy :mad:


I can help.

Edit: Might know how to fix...

Have you tried the name (Instead of HttpWrapper) Wrapper, Wrapper1, and HttpWrapper1.
#12
it started work by itself o.o

i kept deleting and re adding it to my project and it started working
#13
stapled wrote:
it started work by itself o.o

i kept deleting and re adding it to my project and it started working


XD Glad to hear it.

Problem solved?
#14
yup its fixed :D

but can some one tell me how to check if something is written on a page using http wrappers?
because im trying to make a program the check if your tank has booty grab every minute
#15
stapled wrote:
yup its fixed :D

but can some one tell me how to check if something is written on a page using http wrappers?
because im trying to make a program the check if your tank has booty grab every minute


Why do you need to type into a booty Grab Bot?

Anyway I may be able to help, depending on what it is exactly. I think I am about to turn in for the night (Haven't gotten much sleep lately), I can help tomorrow and do everything I can for you. (Any free time tomorrow, will be dedicated to the help with this bot for you.)

Could you PM me a source or something? (I won't rip from you.) Just so then I can understand what you are talking about.
#16
Why do you need to type into a booty Grab Bot?

Anyway I may be able to help, depending on what it is exactly. I think I am about to turn in for the night (Haven't gotten much sleep lately), I can help tomorrow and do everything I can for you. (Any free time tomorrow, will be dedicated to the help with this bot for you.)

Could you PM me a source or something? (I won't rip from you.) Just so then I can understand what you are talking about.

i haven't started yet because i don't know how to do that part xD

but this site here tells you if your tank is glowing (Gaia Aquarium Analyzer not my tank) and how many people are playing it

so the program i ant to make will have a text box that you type the tanks id into so the http wrapper will go to absol.site88.net/gtools/glowTime.php?id= TANKID and refresh every minute to find out if your tank is glowing and if it is make a beeping sound
#17
stapled wrote:
i haven't started yet because i don't know how to do that part xD

but this site here tells you if your tank is glowing (Gaia Aquarium Analyzer not my tank) and how many people are playing it

so the program i ant to make will have a text box that you type the tanks id into so the http wrapper will go to absol.site88.net/gtools/glowTime.php?id= TANKID and refresh every minute to find out if your tank is glowing and if it is make a beeping sound


You should to chad. Then maybe Gamechief.

Gamechief knows php and vb and Chad knows vb, c++, c# (I am not 100% on how many/what languages chad knows)...

Game may be able to convert it to vb (In a basic form) and then I could help you more or chad could.
#18
Dim StrHTML as String

Refresh:
StrHTML = Wrapper.GetWrapper ("http://absol.site88.net/gtools/glowTime.php?id=" & txtID.Text)

Call Wrapper.Wait(1) 'Might be different in your own wrappers.

If (Instr(StrHTML, "True")) Then
Beep
Call Wrapper.OpenSite ("http://gaiaonline.com/images/Gaia_Flash/aquarium/SignatureView.swf?gsiUrl=www&userEnvironmentId=" & txtID.Text & "&version=118&quality=low&location=forum")
'Once again, you wont have this option it's from my own custom wrappers.
'Your gonna need a different way to open up sites in default web browser.

Else
GoTo Refresh
End if


took 1 minute. Anything else?

my 300th post!
#19
Chad wrote:
Dim StrHTML as String

Refresh:
StrHTML = Wrapper.GetWrapper ("http://absol.site88.net/gtools/glowTime.php?id=" & txtID.Text)

Call Wrapper.Wait(1) 'Might be different in your own wrappers.

If (Instr(StrHTML, "True")) Then
Beep
Call Wrapper.OpenSite ("http://gaiaonline.com/images/Gaia_Flash/aquarium/SignatureView.swf?gsiUrl=www&userEnvironmentId=" & txtID.Text & "&version=118&quality=low&location=forum")
'Once again, you wont have this option it's from my own custom wrappers.
'Your gonna need a different way to open up sites in default web browser.

Else
GoTo Refresh
End if


took 1 minute. Anything else?

my 300th post!


XD... Nice Chad, I knew it wouldn't take you long...

Did you just want to see if it was glowing or all the stats as well, Stapled?

Congradz on the post count Chad.

Mind downloading "MSN" and "Team Viewer", stapled?
#20
XD... Nice Chad, I knew it wouldn't take you long...

Did you just want to see if it was glowing or all the stats as well, Stapled?

Congradz on the post count Chad.

Mind downloading "MSN" and "Team Viewer", stapled?


Just went to see if it stats was "true" for glowing if it was (on my wrappers) it opens up the site.
#21
Chad wrote:
Just went to see if it stats was "true" for glowing if it was (on my wrappers) it opens up the site.


Ya I know. XD

Just seeing if thats the kind of thing he wanted... Or if he wants the score and things to pop up in the bot.
#22
my wrappers get an error at the Wrapper.Wait part xD

i have a wait module btw

EDIT: i have a wait.secondstowait thing that i used instead but my wrappers dont have a "OpenSite" feature xD
mind sending me your wrappers?
#23
stapled wrote:
my wrappers get an error at the Wrapper.Wait part xD

i have a wait module btw

EDIT: i have a wait.secondstowait thing that i used instead but my wrappers dont have a "OpenSite" feature xD
mind sending me your wrappers?



put this some were on your wrappers code at the very top


Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long


Make a new sub form in the wrapper like this

Public Sub Open Site(StrURL as String)
ShellExecute 0, "open", StrURL, vbNullString, vbNullString, 1
End Sub


Then in your project it should work. Really simple.
#24
when i add
Public Sub Open Site(StrURL as String)
ShellExecute 0, "open", StrURL, vbNullString, vbNullString, 1
End Sub


it looks like this

Public Sub Open Site(StrURL as String)
ShellExecute 0, "open", StrURL, vbNullString, vbNullString, 1
End Sub

WDIT: ohh i forgot to take out the space lmfao
#25
stapled wrote:
when i add
Public Sub Open Site(StrURL as String)
ShellExecute 0, "open", StrURL, vbNullString, vbNullString, 1
End Sub


it looks like this

Public Sub Open Site(StrURL as String)
ShellExecute 0, "open", StrURL, vbNullString, vbNullString, 1
End Sub

why xD


If it's not public you wont be able to use the function. StrURL as String is creating the String without really dimming it and also making it a public string at the same time.
#26
i took the space out from "Open Site" and it worked

now that everything should work but it doesn't D:
nothing happens after i start it set the tank ID and click the button... the numbers on the hpptwrapper change but even if the tank has booty grab it wont do anything
#27
stapled wrote:
i took the space out from "Open Site" and it worked

now that everything should work but it doesn't D:
nothing happens after i start it set the tank ID and click the button... the numbers on the hpptwrapper change but even if the tank has booty grab it wont do anything


Call Wrapper.OpenSite ("http://www.google.com/")
#28
Chad wrote:
Call Wrapper.OpenSite ("http://www.google.com/")


that code alone works

but in the loop even if the tank has booty grab it keeps running and never opens anything
#29
stapled wrote:
that code alone works

but in the loop even if the tank has booty grab it keeps running and never opens anything


Do you have an MSN?
#30
added your but you not online
#31
stapled wrote:
added your but you not online


Hey what did you do to make it work? (Heard you got it to work from chad...)
#32
Hey what did you do to make it work? (Heard you got it to work from chad...)


add the wrapper double click on it in the part where it shows what you have in your project and then it should work
#33
stapled wrote:
add the wrapper double click on it in the part where it shows what you have in your project and then it should work


Uh, no.

That doesn't work. I have tried, me and Chad edited the wrapper as well...

Added Wait, and he said open site wasn't easy to make with vb8, so I used an alternative...