VB2008 How To Make Form1 Invisable
Jun 8, 2009form1.visable = false wont work and i don't see it on the properties window.
View 2 Repliesform1.visable = false wont work and i don't see it on the properties window.
View 2 RepliesUsing VB 2008:Situation: A Form1.BackgroundWorker calls a Form1.subroutine. That sub starts a Form1.Timer with Me.tmrOK_BlinkForm.Enabled = True...fires Timer code in event: Public Shared Sub tmrOK_BlinkForm_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles tmrOK_BlinkForm.Tick
Form3.Visible = True
Form3.Label1.Text = gNowButtonDispText
Form3.BackColor = Color.White
Form3.Refresh()
[Code]...
There must be a way to do this, I just need the correct BackgroundWorker Syntax send Stop commad to Form1.Timer from Form3.Click_event...all inside a Form1.BackgroundWorker thread started in Form1.
I have a USERFORM with several CHECKBOXs and one TEXTBOX. When the user clicks a checkbox the textbox appears next to it for the user to enter dollar amounts.I am trying to use the ENTER KEY from the TEXTBOX to set the TEXTBOX.VISABLE to FALSE. But, I cannot get it working. I have tried to use KeyPress, KeyDown, KeyUp and Exit to no avail. When I check for the KeyAscii or KeyCode it is blank. I anly see the numbers that were entered in the TEXTBOX.Do you know how I can check for the enter key from within the TEXTBOX?
View 3 RepliesHow to make in VB08 Background image to be .gif animeted I put the picture that is .gif for background image but no effect from the image how to fix it?
View 7 Repliesis there anyway to make my form1 always on top of the desktop?like when i open it i ca always see it and another program will just go under it instead of over it
View 1 RepliesI have searched for a solution to make a nice printlayout from my form with a few textboxes. How do you make a nice printlayout from a form? I only use textboxes and I have searched for:
richtextboxes
.rtf and .txt format
writeline
etc.
On my printlayout I won to make a headline in bold. And some of the textboxesoutput in bold, some without and maybe some colors.
I want to make hotkeys for my project, it needs hotkeys to complete. how to make hotkeys even if it now focused on form1.
View 3 Repliesi want to make my secure application. i want to make form1 greating screen and locked with pasword.if right password entered then go to another form
View 9 RepliesIn my window application, Form1 variable eg. Public str as string. value blank/null when move to Form2 and Back to Form1. How to maintain Form1 varable's value when back to Form1 In vb.net if any one know, reply me soon
View 2 RepliesI have a program which has 2 forms. I execute form1 first because it reads files and then writes to a file. Then I execute second form (form2) that will read the file created by form1.
How could I make form1 start form2 once it finishes reading file and writing to a file?
is there any way to make the form title(form1.text) moving?like marquee in HTML?
View 2 RepliesI have got 2 forms ----- form1 and form2
i wanted to navigate from form1 to form2. and then close form1
i did the following code.
-sub form1 _ page load
dim form as new form2
form.show()
me.close
-end sub
i also tried -- form1.close() and form1.dispose() but all in vain
Problem is that my form1 is not getting closed
I have an aboutbox1 and form1..I also have a button. When I click the button it runs the backgroundworker. My background worker then opens form1.My backgroundworker doesnt just open it, it does alot of other stuff so don't ask why im doing it like that.My problem:When the background worker opens form1, form1 is not responding.
View 3 RepliesI`ve this function search if process is running so where do i have to add this ?
Public Declare Function OpenProcess Lib "kernel32" ( _ ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwProcessId As Long) As Long Public Declare Function CloseHandle Lib "kernel32" ( _
[Code]...
Which different abount Form1.Close and Form1.Dispose?
View 1 RepliesI am trying the whole day to make an excel-macro run through VB2008. The macro in excel calls another file and extracts two values in order to draw a graph. The VB code should run the excel macro everytime and import the graph. However, I have a problem with this line : oExcel.Run("Macro1")
[Code]....
make a splashscreen with an installer like the image below.. I know how to make a splashscreen. Say i made a splashscreen in vb2008 i added a button saying install Is there a way i can get a app into the button..Sorry for my bad english.. Do you see the image below? If i click copytodvdsetp it will open the installer and start installing
If i click the serial button it will open a text box.. How do i make that??
I am trying to make an application using vb2008, and I'm facing a problem. I have a command button, and I want it to generate a new groupbox each time it's clicked. So here's the problem: when the user clicks the button, the previous groupbox disappears, which is sth I don't want to happen. Also, I wonder how I can use each of the controls included in the groupbox, while I can't name them or something...
View 7 RepliesI want to make multi level side strip with some data as shown in figure below:
The first column could be labels (names) read from an array or a variable and the second column could be a value to that label read from a variable or array. The value of the last column will be assinged to the label or in the first column. for example:
Column1 (level1) Column2 (Level2) Column3 (Level3)
Area1 => Value => 5
8
Importance => 9
[Code].....
Is there a way to put a Paint.net image you make onto a form on vb2008? Like using a picturebox?
View 15 RepliesI want to write a program that if ping www.microsoft.com is success,than caption title it's "ok,connected Internet",if ping it's failed,the program "caption" title is "sorry,not connected",but I don't know how to write those code
View 10 RepliesWell I want to make a log-in system that loads the .txt files from your server (Simular to this code:
[Code]...
I need to be able to start with Form1, move to LoginForm, then back to Form1 taking 2 variables and the "values" they have in the LoginForm back to Form1 and using the variables. I start with the main form (Form1) and have the user enter some information. Once they click OK I have the LoginForm open. After they enter their credentials I will check to make sure they are legal users, then go back to Form1 (here is where I need to take the Username and Password with me) to log onto a server using the same credentails from the login form.
View 1 RepliesI have these code in my project one from my lecture one that i did myself [code]what is the difference between "dim" something as new form than using the form name straightaway?
View 2 RepliesI just upgraded from Windows XP Professional to Windows 7 Ultimate. Now I have a program in which I am receiving the following error:"There is no editor available for C:...Form1.vb. Make sure the application type (.vb) is installed."
This occurs when I try to open the designer view of the form.This problem does not exist in new programs (ones created after the upgrade).I am at a loss to explain this.
I have login form as start up form and i call Form1 after successful validation and in Form1, i have close button on click of Close i would like to reset username and password fields on loginform to null. If i add code in form1 below i get exception Dim fmLogin As New LogInForm
An unhandled exception of type 'System.StackOverflowException' occurred in System.Windows.Forms.dll
Make sure you do not have an infinite loop or infinite recursion
I get above on LoginForm below statement Dim fmMain As New Form1
Are there any good websites that would teach me how to make a anti-virus and anti-spyware scanner in vb 2008 express
View 2 RepliesI am attempting to make a tabbed browser and I am getting a couple of errors. First one is "name 'addtab' is not declared" the second is "reference to a non-shared member requires an object reference" the third is "statement is not valid in a namespace" and lastley "the resource name 'stop' is not a valid identifier"
View 18 RepliesI know that
Public Incognito As Boolean
is a variable called "Incognito" that is class-wide that is a boolean.My question is that is there a form-wide variable form that can like communicate with different forms. So if a variable in form1 is "True" than, how can you make a variable in form2 turns to "True" too?
I have 2 forms. In form1 i have a textbox called TextBox1 In Form2 i have another textbox called TextBox2.
I want the text from textbox1 to textbox2, i tried this.
TextBox2.Text = Form1.TextBox1.Text
Do i need to make changes to the first textbox?