|
-
Feb 20th, 2005, 01:21 AM
#1
Thread Starter
Admodistrator
Shell ie in form?
How can i open iexplorer inside the form?
like, instead of it happening in its own window, i want it to happen inside my program. another question, will i be able to view pictures will this, and will iexplorer.exe be in my taskmanager?
im doing this to help out a website by clicking its ads, then killing the site, unfortunately, it opens a new window which wont let me click on it...
-
Feb 20th, 2005, 01:44 AM
#2
Re: Shell ie in form?
Can't you use a web browser control? There will be an intance of IE in the task manager if you call it. I'm not sure if you can run it inside of a window on your form.
-
Feb 20th, 2005, 01:47 AM
#3
Thread Starter
Admodistrator
Re: Shell ie in form?
hmm, then i wonder how ill do this. it cant show up in taskbar, thats my trouble
-
Feb 20th, 2005, 01:50 AM
#4
Re: Shell ie in form?
you don't want your program to show up in the taskbar, or IE?
-
Feb 20th, 2005, 01:53 AM
#5
Thread Starter
Admodistrator
Re: Shell ie in form?
correct, i dont want it to show up in taskbar within my program..
i doubt this will work...
but any ideas on how to click on the add with the mouseclick api, close the popup windows and click again?..upon thinking..couldnt i kill the window by its name?
-
Feb 20th, 2005, 01:57 AM
#6
Re: Shell ie in form?
If you used Fx, then you coud let AdBlock tell you the name of all of the images and ads on a page.
-
Feb 20th, 2005, 02:05 AM
#7
Thread Starter
Admodistrator
-
Feb 20th, 2005, 02:06 AM
#8
-
Feb 20th, 2005, 02:07 AM
#9
Thread Starter
Admodistrator
Re: Shell ie in form?
ooh, i have mozilla, is that enough?
-
Feb 20th, 2005, 02:17 AM
#10
Re: Shell ie in form?
go to their download page and see if you can get AdBlock. I don't know, but I think it is compatible. I downloaded about 20 add-ins when I got it last week. It works well.
https://addons.update.mozilla.org/ex...0+&os=nt&id=10
According to this, you need Fx v1.0. I recommend it. It is pretty neat.
-
Feb 20th, 2005, 02:44 AM
#11
Thread Starter
Admodistrator
Re: Shell ie in form?
thx, i got another question, (they told me to not do this project because it could potentially ruin the host), so i tried this code
VB Code:
Private sub form_load()
x=0
call zero
end sub
private sub zero()
while x=0
text1.text = text1.text + 1
wend
end sub
and i think it works, but it like does it constantly, so it doesnt load the form and eventually i have to kill vb6, any better ways without a timer?
-
Feb 20th, 2005, 02:56 AM
#12
Re: Shell ie in form?
What are you trying to do? You shouldn't add to a text field. it will be slow. you would be better off using a variable that is numeric. If you want to end the code, just check to see if text1 = 4000 or something like that. if it is, then set x to 1, and the loop will stop.
VB Code:
option explicit
dim x as integer
dim z as long
Private sub form_load()
x=0
z=0
do while x=0
call zero
loop
end sub
private sub zero()
z=z+1
if z=4000 then x=1
text1.text = z
end sub
-
Feb 20th, 2005, 03:11 AM
#13
Thread Starter
Admodistrator
Re: Shell ie in form?
well i want text1.text to add to itself every second (easy with a timer) but im just trying new things, ill try that code later, thx
-
Feb 20th, 2005, 03:20 AM
#14
Re: Shell ie in form?
use a timer, and enable it and disable it programmatically
set the interval to one second, and count the seconds.
-
Feb 20th, 2005, 03:33 AM
#15
Thread Starter
Admodistrator
Re: Shell ie in form?
lol i know how to do it with a timer..im a master of textboxes
just wondering new ways
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|