PDA

View Full Version : Made my own Browser in VB:)



[WF][10] Col.TheNick
28-11-2006, 08:49 PM
Hey,


This is basic.
I made my own program in VB called 'NickANet'
It works.. now how to inporve on it.. and how do I make it a EXE file?

http://www.****************/uploads/3cc50b77fa.png


Thanks,
Nick

Tomm
28-11-2006, 08:50 PM
Not very hard ''/ All you used was the internet explorer control and added it.

[WF][10] Col.TheNick
28-11-2006, 08:51 PM
Nope.. Ive been laerning for a while with VB + php just a biasc browser.. didnt copy anyhting

Heinous
28-11-2006, 09:21 PM
Lol omg. You can do that with one click dude (in .net). If you've been learning for "awhile" with vb, be it .net or not, you should know how to compile it. 8-)

[WF][10] Col.TheNick
28-11-2006, 09:23 PM
i only learn code frm mate he dont tell me anything about how to get it in exe

uber
28-11-2006, 09:33 PM
vb sounds hard :(

[WF][10] Col.TheNick
28-11-2006, 09:34 PM
hmm most things are hard in it

CHTom
28-11-2006, 09:34 PM
If i remember rightly you can just export it as an exe in the file menu :)

And Nick, VB created browsers automatically use Internet Explorer and a backend :)

-1.
28-11-2006, 09:37 PM
They are really, really easy. Even though they may not seem it if you've just started using it.

uber
28-11-2006, 09:39 PM
I'll download vb 2005 on this pc (it was on my old one) and see what I can do rofl.

[WF][10] Col.TheNick
28-11-2006, 09:46 PM
Lol,

Open it up then go in it make a buttun (call it home) then make a webbrowser then screen thing then double click on the buttun and in the midle of this:


Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click


End Sub


Put this in the middle of it so it looks like this


Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
WebBrowser1.GoHome()

End Sub


Then you have a basic browser which connects to the internet ect..
gose to pages 'Your home'

-1.
28-11-2006, 09:50 PM
Is this your first/one of your first VB .NET programs? If so, you should try adding Back, Forward, Refresh and Stop buttons.

And also a better layout of the program will make it look better.

Heinous
28-11-2006, 09:50 PM
VB is actually pretty easy. I learnt a lot of basic stuff in IT this year, but stopped using it because I don't need to develop applications. But it's a fairly simple language, like most other programming languages.

[WF][10] Col.TheNick
28-11-2006, 09:51 PM
Kinda.. I will do you know how I can save it as an EXE?

and Do you know if thers a thing you can do in VB which will by pass proxy servers?

CHTom
28-11-2006, 09:52 PM
VB is actually pretty easy. I learnt a lot of basic stuff in IT this year, but stopped using it because I don't need to develop applications. But it's a fairly simple language, like most other programming languages.

Trav? Eh? I didn't know you visited these parts....haha.

Anyway, VB is easy to learn :P

-1.
28-11-2006, 09:52 PM
Yeah, its pretty easy to make simple applications. But can be harder for advanced applications.

[WF][10] Col.TheNick
28-11-2006, 09:54 PM
How do I save as a EXE?

-1.
28-11-2006, 09:56 PM
Build > Build WindowsApplication1

it should appear in the bin/Debug folder where your project is saved.

[WF][10] Col.TheNick
28-11-2006, 09:56 PM
ahhh cheers dude + rep :)

Heinous
28-11-2006, 09:57 PM
Trav? Eh? I didn't know you visited these parts....haha.

Anyway, VB is easy to learn :P
only for the coding sections really. Need something to do in my spare time, HF hasn't got busy coding areas. :(

And you are?

RYANNNNN
28-11-2006, 11:02 PM
he's flame

hi trav lols

Mentor
29-11-2006, 11:24 PM
Yeah, its pretty easy to make simple applications. But can be harder for advanced applications.

So true, Mainly becuse although VB makes it **** easy to do simple stuff, when you try and do something more complex, it needs to go WAAAAAY out of its way to attempt to make doing something near impossible, for exsample try makeing a function that can get an imput from a form it loads and return it... you can do it with a sub, but subs cant return data...now my code must suffer a messy work around :(

But still VB's ok, but certain flaws, obscure bugs and Dodgy codeing methods can really be a pain in the **** if you do anything complex. <_< *is writeing library software*

Want to hide these adverts? Register an account for free!