Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1{Visual C++} Web Empty {Visual C++} Web Thu Nov 11, 2010 9:26 pm

des

des
Achiever
Loading
Let's start.

1. Create a new Windows Application.

{Visual C++} Web 1

2. Now add a Panel and Dock it to the top. (For the Address Bar and GO Button)
{Visual C++} Web 2
3. Now add web browser control from the toolbox.
{Visual C++} Web 3
4. Add the label, textbox and button on the panel.
{Visual C++} Web 4

5. Now the basic structure is ready, its time for the real action.

Double click on the Button to generate a event handler and type the following code

private void button1_Click(object sender, EventArgs e)
{
webBrowser1.Navigate(textBox1.Text);
}

6. Now, just build your solution and type any website name in the address bar and click on go button.

Note: The website address should be in the format [You must be registered and logged in to see this link.]
{Visual C++} Web 5

Extra Features
you can add several extra features to the Windows form that you have created..

Status Strip
Menu Strip

Accept Button (to generate the event when user hits ENTER in the address bar)


All Images were from someone else.
If this helped you get a start on Visual C++, +rep

2{Visual C++} Web Empty Re: {Visual C++} Web Sun Jan 09, 2011 9:02 pm

OwenWilson

OwenWilson
Master
Loading
oh huh, thanks Smile

View previous topic View next topic Back to top  Message [Page 1 of 1]

Related topics

Permissions in this forum:
You cannot reply to topics in this forum