Open A Form As Invisible And Be Able To Still Call Subroutines From It?
May 17, 2011
1. If i have 2 projects in the same solution, how do i use one to open the other?
2. How would I open a form as Invisible and be able to still call subroutines from it?
View 6 Replies
ADVERTISEMENT
Dec 21, 2011
am developing an application automatingExcel 2011 from Visual Studio2010 with Visualasicthe problemis that I can call other subroutines.I developed the following subroutine to addformatting to the selected ce
View 3 Replies
Jun 10, 2009
Visual Studio 2008, Standard Edition VB.NET I have only limited experience using the background worker, and all that I've done with it thus far was fairly straightforward and worked fine.
I am now looking to run a process in a background worker which calls various functions and/or subroutines, but of course it generates an error indicating that it's on the main thread (or something like that - I don't recall exactly, but that was the crux of it).
View 3 Replies
Jul 23, 2009
I have a main form (frmPos) and through a module (modTransaction) I open and close several other forms. This works flawlessly. However, when the function on the module is finalized, I want to clear the main (open) form. Therefore, I made a public sub (clearForm) on the main form and when I call this from the main form it works.
View 2 Replies
Mar 18, 2009
Does anyone know how to call an InfoPath form to open from VB? The form is located on a webserver so the path would be something similar to[url]...
View 1 Replies
Oct 30, 2009
I recently added three subroutines to a form, and as a result of adding only the three subroutines, I have noticed some weird behavior in the form and I can't pin down why these three subroutines would cause it.
View 16 Replies
Jan 6, 2012
I am currently using a DevExpress (10.2) Banded GridView within my Visual Studio 2010 project. It works great except I was have an area where I allow the user to choose which columns they want visible or invisible. I noticed that if I make all the columns within a band invisible the band still remains and gives an empty column in my grid. I was wondering if there is some way to automatically
View 1 Replies
Nov 25, 2011
I am using VB.Net and I'd like to ask how could I make my form invisible while the other objects on it are visible? When I set the form's opacity property into 0%, the objects on it are affected.
View 2 Replies
Jul 25, 2010
Is it possible to make my Form invisible? Not putting Form1.Hide or Form1.Visible = false in Form_Loading. I want it to be invisible on startup, basically have no GUI.
View 12 Replies
May 18, 2012
I understand the properties to change a button from visible to invisible, but I need to be able to have two buttons alternate visibility when the first button is clicked.It's for a game. The first button is to "Begin Game" and on open, the invisible button that sits over it is called "Begin Again" which I would like to only appear once the Begin Game button has already been clicked. This would then trigger the "Begin Game" to become invisible.
View 3 Replies
Dec 5, 2009
[code]....
View 3 Replies
Apr 10, 2011
I have a printing problem. I made a VB 2005 form with a few controls like labels and listboxes. Some of them are located at the bottom of the form and they are invisible. The problem is when I start printing the form - that invisible controls could not be printed. I tried with follows
View 3 Replies
Mar 18, 2012
make a Form invisible without using the opacity?I am using VB10.
View 5 Replies
Oct 8, 2009
So I have a program that only has one form in it, this form is just an "About" window that appears when a specific context menu item is clicked from the system tray icon (NotifyIcon) that is on the form.
All I want to do is make it so that when the program is launched, the form is not displayed at all and just the system tray icon appears.
I have accomplished this by doing the following but just wondered if there is a better/easier way?
1. Set the Opacity of the form to 0 in the designer
2. Set the ShowInTaskBar property to False in the designer
3. Use a timer that is started in the form Load event to call Me.Hide after 1 second
Then when I want to show the form I just set the opacity back to full and call Me.Show
View 9 Replies
May 22, 2009
I'm working on a project, and one thing it's supposed to do is make itself (the form) invisible, take a screenshot of the current screen, and the make itself visible again.[code]I made the 'FinishScreenshot function to call the 'TakeScreenShot' function, courtesy of AdamSpeight2008 and save that result as a specified image file in a specified location. the problem is, the screenshot ends up usually showing the form that was supposed to be invisible, but sometimes not (usually on the first form). I'm guessing this is because the FinishScreenshot and Take ScreenShot functions aren't finished working until after the form becomes visible again, but I'm not sure.
View 4 Replies
Jan 10, 2010
I'm using the command line parameters to start my applicaton. To do that, I'm using the Application Startup event:
Friend Sub MyApplication_Startup(ByVal sender As Object, ByVal e As Microsoft.VisualBasic.ApplicationServices.StartupEventArgs) Handles Me.Startup
If e.CommandLine.Count = 1 AndAlso e.CommandLine(0) = "-startintray" Then
[code]....
Code works but I can't set my startup form as invisible. It always shows itself as usual. I want to put it to system tray.
View 2 Replies
Feb 25, 2011
VS 2008 [RESOLVED] Making Form Invisible?
View 5 Replies
Nov 3, 2010
i have a form and a datagridview in form i work with backgroundworker in here i want invisible a column in my datagrid i use delegate for it but i have error
Delegate
Sub SetDgvLastIssuedCard_Columns_Delegate(ByVal
[DataGridView] As DataGridView,
[code]....
View 2 Replies
Jan 27, 2010
I want my form to be invisible but I want the buttons and list-box to still be visible. So basicaly I want a bunch of floating buttons and listboxes on my screen.
View 2 Replies
Aug 12, 2011
i want to make some arears of my form invisible, i have 2 scenarios, one how to hide parts of a form that have specific color such as blue
the other scenrio is to make the for invisible and show only controls on it such as group box, also how to give the form different shape not rectangular
as an example same as startup form for VS 2010, and how to make its corners more rounded
View 4 Replies
Jan 16, 2009
How can I make a form invisable but not the items on it?
View 2 Replies
Feb 5, 2010
I have 2 textboxes one for datetime picker and another for entering the name. i waant to make the datetime textbox invisible when the form is executed & when i press save the data from both textboxes should be saved into the database.
View 3 Replies
Jun 2, 2011
Still using VS 2005. My concept is to use the same form space to display different "pages", like a "wizard" where you click the [Next] button, and the current UI disappears and a new UI appears. I want to "turn off" multiple controls and "turn on" multiple other controls. Example code: -
Private Sub
Button4_Click(ByVal
sender
[Code].....
View 8 Replies
Sep 22, 2010
I have a VB .NET 2010 application. I added a C# project to my solution. I tried to call the form called 'main'. However, I could not figure out a way to do that. What is the best way to do that? I Goggled, and did not find anything. Actually I noticed that my Developer converted everything to VB .NET.
View 5 Replies
Feb 23, 2009
How I Can open the same form in my application one time only can not open the form tow time in same time
View 5 Replies
Oct 23, 2009
I am trying to use Vb to call explorer to open some web pages that I already downloaded. I use this command.
Shell("C:Program FilesMozilla Firefoxfirefox.exe G:BlogsBlog35242+0")
it works fine for this file. However, I have tens of thousands files to open. So I need a variable to replace "G:BlogsBlog35242+0". Like, I write blogaddress="G:BlogsBlog35242+0" and Shell("C:Program FilesMozilla Firefoxfirefox.exe blogaddress")it doesn't work.I write, Shell("C:Program FilesMozilla Firefoxfirefox.exe" &blogaddress) it doesn't work either.
View 6 Replies
Oct 15, 2009
In my current project I added a couple of .jpg-images in the project explorer and their build-action to "Resource". My question is: How do I "call" one, according its name and show it in a picturebox?
View 3 Replies
Mar 28, 2012
I am calling a function in an external dll to a device that runs some firmware. When I call device_open(), the device driver brings up a Warning dialog box that says there is a newer version of the firmware available. How do I suppress the warning dialog box? I am calling this function during an overnight test, so the dialog box prevents my tests from finishing.
View 1 Replies
Jun 3, 2011
I have two forms. Form A and Form B. Form A has a datagrid that is populated from a SQL Database Table query. When a button is pressed Form B is launched that allows you to add a record to the database table. I need for the datagrid to be refreshed and show the newly added record when I close form B and go back to the parent.
[Code]...
View 2 Replies
Aug 4, 2009
I need to know the proper way, or maybe I should say, the different ways to call another form from a parent or preceding form. I am currently using ex: formname.showdialog() to call my next form, but I am uncertain if I should be using that in every situation. [code] Whats the difference between these different methods? (ex: .showdialog() , .show() )I tried both of these to open a temporary form to retrieve a persons name from a database, so as the users progresses through my training program they can keep track of their scores.But, I also call other forms as I branch through my program, from the main page, to a secondary page, to a testing page, to a results page and then back to the secondary page
View 5 Replies