Show Webpages In Form?
Jun 13, 2009
Microsoft Web Browser to my components, which I did.Now, as the memory fades, I have forgotten the method by which I tell the web pages to open in the AxWebBrowser area.
So, to try to be more precise, I have a form to which I will add LinkLabel or buttons, whichever is correct. I have added an AxWebBrowser area on the form.Normally I would add a Private Sub with the "On Click" to run
Process.Start("www. whatever") and the link opens IE and runs the web pages.To be even more precise, I want the user to be able to open Google Maps in the AX area.But I obviously need to make the web page appear in the AxBrowser area, not open a new web pagebrowser page.
View 6 Replies
ADVERTISEMENT
Jun 8, 2011
how do you show information from a datagrid cell to show up in a text box in another form, this is for a college project.
View 1 Replies
Jan 26, 2010
I'm new in .Net and I have an application with windows form "LOGIN" When users enter the user and password and click "ok", then if user passes validation then I have the code Show(MDIMainMenu) (I'm trying to open an mdi form), but I receive the following error: "Form that is already visible cannot be displayed as a modal dialog box. Set the form's visible property to false before calling Show. Error Number 5"
[Code]...
View 2 Replies
Sep 22, 2010
I'm working with an antivirus scanner.But I would like my scanner can block websites.So that some URLs are blocked from any browser[code]...
View 6 Replies
Mar 26, 2011
building webpages is it possible with vb
View 2 Replies
Jun 22, 2010
I want to get the values from web pages using vb.net..
THIS WORKS!
<strong>PHP</strong>
<input type="text" name="sample" <strong>id</strong>="sample" value="" />
<strong>VB.NET</strong>
[Code].....
View 15 Replies
Feb 23, 2010
I currently have this code use for printing a table in mysql database , but there's a problem, the print button is also shown when I print the table. Do you know of any alternative or even a vb.net code that will print what is currently on the web browser in vb.net(the one being dragged from the toolbox used to view web pages or php files).
[Code]...
View 1 Replies
Aug 19, 2009
I am trying to create a program that will open multiple web pages at a specific time. The code works but it will open multiple windows.[code]...
View 3 Replies
Jan 8, 2011
I have done a lot of coding in vb6, in particular with winsock. I have briefly looked at .net and written a few simple programs.I need to write a server application that incorporates some kind of dynamic web pages. I have looked at ActiveX, php and asp. I need to create a website where users will log in and change values in an array. I have not done anything like this before and I am not a professional programmer.
So my question is, what is the best and easiest way to create dynamic web pages?Secondly what should I program in, vb6 or .net. I have done a lot of work in vb6 and know it quite well, however if the host server is NT6.1 I will have to supply the vb dlls. Then there is .net which I have not done much of, however I would not need to supply any extra files and finally I will start to move any from vb6.
View 9 Replies
Jan 14, 2010
I have a program that uses two forms. The program opens to the Main form, and the user can navigate to the other form from the Main form through use of a button. Here's the way I've currently written it: When the Main form loads, it declares and instantiates the other form during the load procedure. When the user presses a button, the second form is displayed by means of the ShowDialog method. On the second form, there is a Return to Main Screen button which closes the second form, bringing the user back to the Main form.
So, here's the structure of the code:
Code:
Public Class frmMainForm
Dim frmSecondForm As New SecondForm
Private Sub btnSecondForm_Click(blah, blah, blah) Handles blah, blah, blah
[CODE]...
Here's my reasoning: Originally, I wrote the code so that a new instance of the second form was created every time the button was pressed. The problem was that whatever data was displayed on the second form, previously, was lost when the user returned to it a second time. Since the user would be switching back and forth between these forms, frequently, I needed that data to persist.
What is the best practice for accomplishing this:
1) Declare and instantiate the second form on program start, as I have done, and use the button simply to show the form?
2) Declare and instantiate the second form each time the button is pressed but maintain the variables on the Main form and pass them ByRef to a custom constructor for the second form? Is this even possible?
3) Something else?
View 5 Replies
Nov 11, 2011
Im trying to create a stopwatch in one form and another form show my progress bar using a combo box for mins and seconds to show the progress bar on form1 1
[Code]...
View 2 Replies
May 12, 2009
I am trying to use a progressbar to show on main form and then finish when next form is loaded, I have got this code.
1. When I click on button, it must open next form, but the next form must only open when the data in my list box has been loaded from Access Databse. When I run my program, it only shows the progressbar and don't open the next form.
Main form code:
Public Class Main
Dim PB As ProgressBar
Private Sub main_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub
[CODE]............................
View 4 Replies
Nov 12, 2009
Using the code below:
Private Sub ShowDropDown()
Using f As New DropDownForm
f.Visible = True
Do While f.Visible
Application.DoEvents()
[Code]...
This was a guess, after looking at the Form.ShowDialog method in reflector.My question is, is there a managed call I can make to acheive the same result, and what does a button click do that other clicks don't?
ETA: The problem does not occur if I open the form using a key.
View 1 Replies
Nov 8, 2011
This is a database app where I am trying to check for possible duplicates and give the user the option to keep the new record or assign to an existing record.In form1 the user will enter data into a textbox. I use this information to build a bindingsource.filter. Then I call another form (form2.show()) to display results to user and get user response. This part all works correctly.
The problem is that as soon as form2.show() executes, I loose the contents of the textbox - and it appears that I am no longer in the bindingsource.addnew() method.
View 14 Replies
Mar 5, 2009
Iam creating an application. i have a main form it has 5 buttons i have created 5 more forms. my aim is to show a particular form for every button the form is opened in a new window i dont want to open in a new window it should be embed in the main form when i click anthor button it will show the related form in place of previous form
View 2 Replies
Mar 5, 2009
Iam creating an application.i have a main form it has 5 buttons i have created 5 more forms.my aim is to show a particular form for every button the form is opened in a new window i dont want to open in a new window it should be embed in the main form when i click anthor button it will show the related form in place of previous form?
View 1 Replies
Sep 4, 2009
When I use
Me.Close()
Form1.Show()
It closes the whole app.
How would I change it so that it only closes the current form while opening a new one? EDIT: I put [Not Resolved] Because I accidently pressed the resolved thing
View 8 Replies
Apr 9, 2011
I want to be able to define some namespaced constants on the code-behind of my VB.net pages. For example,
[Code]...
View 1 Replies
Jun 8, 2010
is it possible to build webpages / applications with VB?
and wich one do i need in order to do that
View 2 Replies
Jan 7, 2012
I'm starting to work through Murach's ASP.Net 4 Web programming with vb2010.
Do I leave the 2010 studio default collection of settings from Visual Basic Development to Web Development or Web Development(Code Only) in order to follow the examples and learn to develop web pages? And are there other things I should do to set up the enviornment for persuing this.
View 1 Replies
Aug 17, 2011
I can load web pages into VS 2008 and then examine each component. Is there a way to load a web page in a browser control but not make it "active" - in otherwords, If there is a field for "Search Term" anmd a button for "Search", I want the prog to diosplay the properties of those elements rather than taking action.
View 7 Replies
Oct 7, 2009
Basically all I want to do is to interact with webpages using my programs.. To be more clear, Im trying to make a chat client, but theres one thing that I dont know how to do.. For example, I want to write "hello" and press the "send" button, so it will send "hello" to the chat room... Or better yet, Let me give you a better example.. Lets suppose I wanna log into my space, but I wanna do it trough my application, so when I write the email and the password it will log into my account.
View 2 Replies
Nov 16, 2010
I am trying to have a ComboBox on my form, be able to change the selected item in a Listbox/Combobox on a website, through a webbrowser control.
For instance, here is the HTML coding I am trying to interact with on the webpage:
<select name="day">
<option>1</option><option>2</option><option>3</option><option>4</option><option>5</option><option>6</option><option>7</option><option>8</option>
[Code].....
View 3 Replies
Nov 19, 2009
After a lot of research on how to put proper maths symbols i.e. FRACTIONS in VS2008 in a windows form application, I came acroos this LAtex font which is used in webpages, can this be used in my application.
View 10 Replies
May 20, 2009
I'm practicing creating a website for a test, although I am having trouble passing varialbes between the webpage with which the user logs in, and the web page in which the user sees/amends their details (it's an online bank).
Basically, I want the user to enter their customer ID and password, then click on the 'Login' button. When the user clicks on this, I want to display their details based upon their login info (ie their own, and nobody else's bank details).[code]...
View 6 Replies
Nov 4, 2010
I found the below sample to retrieve webpages. I need to request a lot of pages from the same website which requires authentication. Because there are a lot of pages to retieve I like to speed up the requests and like to avaoid to send the credentials and also the certificate. Is it somehow possible to stay connected?
[Code]...
View 1 Replies
Jul 23, 2008
This is what i had in mind first;
Dim myIcon As System.Drawing.Icon = Icon.ExtractAssociatedIcon(cmbUrl.Text)
Me.Icon = myIcon
But that didn't do much :s
Then i started to search and found that when you build a web page and you want browsers like firefox etc. to use your custom icon you have to name it: 'favicon.ico'.
I'm also searching to make multiple searchbars, found the one for google,
wich is quite simple;
web.Navigate("http:www.google.com/search?hl=en&q=" & txtGoogleSearch.Text)
the other ones though, i haven't found yet
View 3 Replies
Nov 18, 2009
I am sorry if this is in the wrong section (vba, similar to vb.net but many differences) but I couldn't find a forum for excel vba code.
how can I get my vba macro to search a webpage and find a specific hyperlink? I can get it to retrieve data from tables but to get some data I need it to take part of a string from a hyperlink location.
View 2 Replies
Dec 9, 2010
How can I specify a webpages url and have the source appear in a textbox?
View 3 Replies
Dec 25, 2011
I've been working on some autocomplete abilities for a webbrowser I'm building, rather like in IE or Firefox. This is what I mean: I have absolutely everything working - adding search providers from webpages, getting the search suggestions as an XML file from whatever provider may be being used, and adding them in a multithreaded manner to the combobox with all the suggestions in it.
But there's a problem. Due to the fact that the search suggestions are only retrieved (in a matter of milliseconds) after the user has typed something in the Combobox, the suggestions only flicker up, as they are modified just after the text is changed, therefore I get an effect like this:
Again, I'm pretty sure I'm getting this effect because of the fact that I'm adding the Auto Complete suggestions to the combobox right after the text is changed - so they just hide themselves again - and this process is repeated. Does anyone know any way in which I might be able to stop this disappearing from happening? Because I've had a good think about it and I can't really think of any workarounds.
View 10 Replies