Jump to content

Can you convert this to VB?


CsM33
 Share

Recommended Posts

Currently my class is working with visual basic. Because Autoit and C are the only other programming languages I know, I was wondering if you could convert this code into VB.

$oIE = ObjCreate("Shell.Explorer.2")
$GUIActiveX      = GUICtrlCreateObj   ( $oIE,     10, 40 , 600 , 360 )
$oIE.navigate("http://socomstrategy.com/pg/gbsa/staff.html")
$refreshbutton = GuiCtrlCreateButton ("Refresh",     10, 420, 100,  30)
Case $msg = $refreshbutton
            $oIE.Refresh

Or if there is a way to make a browser window equal to that one. I know this may seem like more of a VB question then an autoit question, but I don't want the code in VB if it cannot produce the same result as the autoit code.

Link to comment
Share on other sites

Currently my class is working with visual basic. Because Autoit and C are the only other programming languages I know, I was wondering if you could convert this code into VB.

$oIE = ObjCreate("Shell.Explorer.2")
$GUIActiveX      = GUICtrlCreateObj   ( $oIE,     10, 40 , 600 , 360 )
$oIE.navigate("http://socomstrategy.com/pg/gbsa/staff.html")
$refreshbutton = GuiCtrlCreateButton ("Refresh",     10, 420, 100,  30)
Case $msg = $refreshbutton
            $oIE.Refresh

Or if there is a way to make a browser window equal to that one. I know this may seem like more of a VB question then an autoit question, but I don't want the code in VB if it cannot produce the same result as the autoit code.

VB6?
# MY LOVE FOR YOU... IS LIKE A TRUCK- #
Link to comment
Share on other sites

VB6?

I suppose. The most current version. We're using Microsoft Visual Studio #Net or something. I don't know what version but I'm pretty sure it's the newest.

Edited by CsM33
Link to comment
Share on other sites

I know this may seem like more of a VB question then an autoit question

Actually, it's not more of a VB question ... it *IS* a VB question. You may want to ask this on a VB forum?

Sounds like you want someone to do your work for you.

We have enough youth. How about a fountain of SMART?

Link to comment
Share on other sites

Actually, it's not more of a VB question ... it *IS* a VB question. You may want to ask this on a VB forum?

Sounds like you want someone to do your work for you.

No, if you could tell me HOW to do it, or give tips that would work as well. And regardless of what it "Sounds Like" you didn't even answer my real question which is "CAN IT" be done.

Link to comment
Share on other sites

No, if you could tell me HOW to do it, or give tips that would work as well. And regardless of what it "Sounds Like" you didn't even answer my real question which is "CAN IT" be done.

Maybe because you posted this in a V3 support forum?

As I stated earlier, you may want to check with a VB forum about VB questions.

We have enough youth. How about a fountain of SMART?

Link to comment
Share on other sites

Well, if your talking about VB6, I wouldve thought you would know what language your doing. Try:

Project > Components > Microsoft Internet Controls

That should start you off.

Edited by AzKay
# MY LOVE FOR YOU... IS LIKE A TRUCK- #
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...