Make The App Do Something When A Form Has Loaded Up, Or Clicked?

Nov 4, 2011

So just to get better at VB, I'm trying to make this application that takes pictures from your clipboard and uploads them. I'm adding a label, that will tell you if there's anything in your clipboard or not, but the problem with that is that I don't know how to make it check the clipboard all the time.I'm still a beginner, so I only know how to make the app do something when a Form has loaded up, or clicked etc., but how do I make it so it checks the clipboard when it has changed? If I can't do it, how do I make it so it checks the clipboard like maybe every second. Do I need to use threads (I'm not sure, because I don't quite fully understand threads).

View 2 Replies


ADVERTISEMENT

Make Sure That Only One Instance Of A Child Form Is Loaded In .net?

Aug 31, 2010

How could i make sure that only one instance of a child form is loaded in my application.

View 3 Replies

Make Form Not Focus When Clicked?

Jul 12, 2010

I how can I make my form not get focus when it, or a control on it, is clicked?

Basically i want to be able to click a button on the form, and the buttonclick event occurs, but the current window retains focus. How can I do that?

View 20 Replies

Make A Form Read Only Until A Certain Button Is Clicked?

Nov 17, 2011

I also need to know how to make the same button create a folder to save a txt file in. I havnt yet figured out how to save changes made into my program, that way next time i open it, i can continue where i left off.

View 4 Replies

Make Form Grow Vertically When Button Clicked?

Sep 9, 2011

How would i make a form grow down vertically like say 200px when i click a button ?

View 5 Replies

How To Do Array Of Textboxes When User Input Number Of Textbox To Be Loaded / When Button Clicked

Jun 22, 2010

how to do array of textboxes when a user input a number of textbox to be loaded and when the button clicked, the array of textbox that the user enters will appear?

View 1 Replies

Accessing Datasets Loaded In Main Form From A Child Form?

Aug 11, 2009

I have a program I've been working on for some time now and I'd like to try to streamline it somewhat. I have a main menu form that has a split panel, in the left panel is a treeview that displays forms you can open and when one is selected, it opens in a child window in the right panel. Each time I open form I called DWNForm, it does a series of dataset loads which are the populating items for a series of listviews.

What I would like to do is have these datasets load once during the mainMenu load and then have the DWNForm be able to access the datasets once it is called from the treeview selection.

View 8 Replies

Use A Progressbar To Show On Main Form And Then Finish When Next Form Is Loaded

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

Get A Button On Form A To Open Form B And Then Close (not Hide) Form A When Clicked?

Jun 12, 2009

get a button on form A to open form B and then close (not hide) form A when clicked?Background: I am coding a VSTO application for Excel in VB2008.

Private Sub FormAButton_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles FormAButton.Click
Dim FormB As New FormB

[code]....

View 1 Replies

Make A Progress Bar Reset After It's Been Fully Loaded?

May 14, 2010

I am literally BRAND new to VB, I have Vb 2010 express.I have been trying to use [code]The box literally spams, how do I make it only pop up once Also, how do I make a progress bar reset after it's been fully loaded?

View 19 Replies

Make A List Of Flight Plans Loaded Into Program?

Nov 15, 2009

I'm trying to make a list of flight plans loaded into my program, with each flight plan having a list of waypoints along the route, along with a few other properties associated with the flight plan. Each waypoint has its own associated properties, i.e. waypoint ID, waypoint type, location, etc.

Here's the declarations:

Code:

Public Class WPinfo
Public WPType As String
Public WPID As String

[Code]...

How do I implement the List methods to access the list elements, and add, remove, etc? The way I'm doing it now just gets me an 'Object reference not set to an instance of an object' error during runtime.

View 3 Replies

Make Current Tab Page Update When New Data Is Loaded?

Mar 31, 2010

I'm working on a VB.Net windows application.In the top half of the form application, I have a vendor number with a "GO" button and in the bottom half I have a list of tab pages. We have built the application to only go to the database and display data when the tab page is selected by the user. If I'm in one of the tab pages, and I change the vendor number and click the GO button, the data on the current tab page goes blank (it does not refresh). I have been told that I have to find a way of programmatically clicking on the tab page's tab a second time. How do I do that? I've tried using _Selected event, _Selecting event, _Click event. I've even tried to do a .Focus() on the tab page itself. Nothing seems to work to reload the new data without clicking off of the tab and back onto it manually.

View 4 Replies

VS 2008 : Make The Radiobutton ON When Webbrowser Is Fully Loaded?

Jul 10, 2011

I wonder how to make the Radiobutton ON when webbrowser is fully loaded, and the Radiobutton OFF when the page is loading. It's like boolen. Im using Webbrowser1.If you do not understand im mean this:

1. Click on a link on a site.

2. The Radiobutton gone OFF.

3. When the page is 100% loaded, the Radiobutton gone ON.

View 1 Replies

Make App View The Photo That Right Clicked On It?

Jul 11, 2011

I use this code to create shortcut to my app in context menu

Imports
Microsoft.Win32
Public Shared

[Code]....

View 4 Replies

Make Textbox Appear After A Button Is Clicked?

Nov 14, 2009

How do I make a textbox appear inside rich text box by clicking on a button. I want the new textbox to appear where the cursor is

View 12 Replies

Can Form Be Loaded Into Browser

Oct 15, 2011

I want to know if vb .net form can be also loaded into browser.And how it will done?

View 3 Replies

Draw Something When A Form Is Loaded?

May 1, 2012

I want to draw a histogram when Form2 is loaded, I load Form2 using button of Form1 It didnt work, Form2 is loaded, but no image...i dont know why here's the code

Private Sub Form2_Paint(ByVal sender As System.Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles MyBase.Paint
Dim img As Graphics = PictureBox1.CreateGraphics

[Code]....

View 5 Replies

How To Check If Form Has Been Loaded

Aug 3, 2010

Is there a way to check if a form has been loaded yet? I saw in C# they have a isLoaded property, but it doesn't seem to exist in the VB.Net Form class?

View 17 Replies

Inherited Form Cannot Be Loaded

Sep 12, 2009

I am trying to create an inherited form- when I go to add it, I get the following message- "CustomerInformation --- The base class 'Object' could not be loaded. Ensure the assembly has been referenced and that all projects have been built"

View 3 Replies

Forms :: Make A Picture Box Appear On The Forum When Clicked?

Jun 26, 2010

basically I am trying to expand my skills in visual basic 2010 and i want to find out how to make a kind of drawing program.The idea is when you click somewhere on the form a bit of dirt will appear at the location of the mouse.This code that I wrote did not seem to work:

Public Class city
Private Sub city_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Click
Dim dirt As New PictureBox

[code].....

View 2 Replies

How To Make String And Play It When Button Clicked

May 17, 2009

I've few Button on my form and when i press these button, Music has to play, and collect the word in label1 like what ever button i pressed those button's name has to catch on that label and make a string and there is one more button that button has to play that whole string music which one is in label1.I've done 1st part but i don't know how to make string and play it when button click.

[code...]

View 2 Replies

Make A Label Increase When A Button Is Clicked?

Mar 24, 2009

The idea is to make something that would count clicks but I dont know how to make it so the label increases by 1 when the button is pressed

View 15 Replies

Make A Progressbar That Runs When A Button Is Clicked?

Mar 18, 2011

I want to make a progressbar that runs when a button is clicked. However there is also a checkbox that affects the whole thing.If the checkbox is checked, the button works and starts the progress bar.If the checkbox isnt checked, an error message comes up when the button is pressed.

View 1 Replies

Make New Window Navigate To Clicked Link?

Nov 4, 2010

my webbrowser is getting better and better. Now, I have a minor proplem I tried to fix, but it will not work.

I am using this code to open a new window in my browser instead of the default, but when it opens the new window, it navigates to "about:blank" how can I get it to navigate to the site clicked?

Private Sub WebBrowser1_NewWindow(ByVal sender
As Object,
ByVal e As System.ComponentModel.CancelEventArgs)

[Code].....

View 5 Replies

Make The Textbox Text Disappears When Clicked?

Aug 5, 2010

want to make the text in the textbox control disappear when clicked

View 6 Replies

Way To Make Clicked Context Menuitem Checked?

Apr 13, 2010

is there a simpler way to make the clicked context menuitem checked? Because e.clickeditem has no checked property.[code]

View 5 Replies

Auto-refresh After A Form Has Already Been Loaded?

Jan 13, 2010

How do you auto refresh after a form has already been loaded?

View 4 Replies

Hide The Main Form When It Is Loaded?

Oct 21, 2009

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.Hide()
End Sub

I want to hide the main form when it is loaded, but the code above doesn't work. Can anyone show me how to do that?

View 2 Replies

Hiding / Unloading Form When Next One Loaded

Jun 8, 2011

I am learning VB.NET and as a first task I am creating a login form. I've been trying to link it to another form once a correct username and password are entered. However, despite that I still cant be able to hide it or unload it once the next form is loaded.

Here is the Code
Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK.Click
If UsernameTextBox.Text = "chris" And PasswordTextBox.Text = "chrispass" Then
Me.Hide()
Form2.Show()
End If
Me.Close()
End Sub

The Form2 appears as coded above but the 'Me.Hide()' manages to hide the login form but then it appears again.

View 2 Replies

Loading Form Before The Grid Is Loaded?

Feb 2, 2010

I have a form that contains two datagridview. I need to load the form first or anything that shows a "loading please wait.." form while the two grids load.Basing on your experience what are the ways to do this?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved