Forms :: Opening An App Over All Other Open Windows?

Sep 17, 2011

Is there any switch that will allow you to open an application over all the other currently open applications? My problem is getting Explorer to open over all the other currently open applications. Right now, it only opens in the background......

View 5 Replies


ADVERTISEMENT

Using Window.open Via ClientScript.RegisterStartupScript Only Opening Two New Windows?

Nov 29, 2011

I have a point in my .NET (VB) application at which the user is prompted to select zero to many documents to be printed, which are spawned off in separate new windowsThe list of documents selected is passed in from the previous page, pipe-delimited, as part of the querystring, which is then split to create a list of documents. My code iterates through this list, builds the new window's URL dynamically and then spawns the new window. For some reason I'm getting a maximum of two new pop-up windows, regardless of whether the user chose three or more, and the list is being populated fully and properly

View 1 Replies

Forms :: Prevent Browser From Opening New IE Windows?

May 19, 2010

I am making a webbrowser,how to prevent my browser from opening new IE windows. Because what happens is, there are some links that will open new windows and therefore IE comes in place because it is set as default windows browser which I really don't want because my browser looks really bad if it opens links in another webbrowser.I want it to be just a basic browser, it has only one window, and it should navigate within that window. This is because the browser is integrated in a bigger application only for some website applications that are related to this main application.I am using VB.net 2008 Express Edition?

View 9 Replies

Forms :: Opening A New Application In A Panel Of A Windows Form?

May 14, 2010

i have a query of opening a new Application(eg. UgNx,Ansys)file with in a Panel (Which is already dropped on a Window Form).

For Example :-There in one Window Form and i have fixed a Panel there now with in the panel i want to open a new Application like other softwares UG NX or Ansys.

View 2 Replies

Multiple Windows Forms Opening Upon Program Launch

May 8, 2012

I am running Microsoft Visual Basic 2010 Express. I created a simple program that is nothing more than dozens of Windows Forms that are linked together by the various clickable buttons I put on each form. The program is like a "book" with several pages, and you jump to a specific page by clicking on specific buttons on the current page ("Windows Form").

My question is, how do I change my program so that when it is launched, instead of just 1 Windows Form opening, the program opens up several Windows Forms (of my choosing) automatically? In other words, instead of my "book" (VB program) opening "page 1," when I run it, I want it so that pages 4, 7, 8, 10, and 15, are "opened" whenever I run my "book."

Is there some code I need to insert into each Windows Form I wanted opened automatically when the program is loaded? Or is this a MS VB 2010 Express environment option I need to set?

View 7 Replies

Forms :: Open A Windows Form From Another?

May 10, 2010

I have two windows forms,say frm1 and frm2. I have to open frm2 from frm1 and frm1 from frm2.when one form opens other hide. But the the problem is that everytime when i open the form new object of the form is created which increase the memory usage of the application.What should be the efficient way to switch from one window form to another in vb.net.

View 2 Replies

Open Notepad From A Windows Forms Application And Place Some Text In It?

Apr 18, 2011

I'm new to programming and to Windows Forms development. I'm using VB.NET and Visual Studio 2008.

My question is: How do I open Notepad from a Windows Forms application, and then place some text string in the Notepad window?

View 3 Replies

Take Opening Balance When Open A Report Between Date Parameter It Show The Opening Balance

Apr 21, 2011

I want to take opening balance when i open a report between date parameter it show the opening balance, actually i have three columns "description" "debit" "credit" in crystal report now i want to add 1 more field which come throuhd formula which is opening balance. i have a data of debit credit from 2006. but user choose to show the data from 2008 so i want that the balcne from sum of debit and credit side between 2006 to 2007 end come in the shape of opening balance in the report and then add the debit and credit side of report into opening balance. i put a following fromual bt not accept it sum ({vr_detail.debitT})-sum({vr_detail.creditT}) > {?strtdte}

View 1 Replies

Opening And Closing Windows Explorer Not Working In Windows 7

Aug 1, 2011

I have 2 functions for opening and closing Windows Explorer, which is still working fine with Windows XP and even Vista. The same functions not working on Windows 7. Following are the functions:

Dim HTProcess
As New Hashtable
Private

[Code].....

View 1 Replies

Opening And Closing Windows Explorer Not Working In Windows 7?

Jul 9, 2009

I have 2 functions for opening and closing Windows Explorer, which is still working fine with Windows XP and even Vista. The same functions not working on Windows 7

Dim HTProcess
As New Hashtable
Private

[code]...

And 'CloseFolder' functions not able to close the Windows Explorer in Windows 7

View 11 Replies

Opening An Open RTF File

Jun 24, 2011

I have the following code:

Dim rtfMain As New Windows.Forms.RichTextBox
Dim sRTFFilename As String = m_sProjectFolder & m_sERI_RTF_Filename
rtfMain.LoadFile(sRTFFilename)

View 3 Replies

Open New Form Without Opening Window?

Feb 4, 2012

I'm making a game in which you advance through the levels when you click some buttons, the way I'm doing it is "formname.show" and "me.hide" inside the button code, but the problem is, using this code, it shows somewhat of an unprofessional look because it opens a new window everytime I reach a new level, and it gets quite annoying also.

View 1 Replies

Opening And Saving File Without Save / Open Dialogue

Aug 11, 2009

i would like to do FILE I/O without a dialogue. the file always be the same and the location will always be the same, therefore i dont need a dialogue. i would like to know how can i do this? what is the code to open, write, and save to a file without the dialogue.

View 2 Replies

Possible To Use DLL For Opening Forms?

Jan 23, 2011

I got a question can I make a dll for opening forms?

View 3 Replies

Operator '*' Is Not Defined For Types 'System.Windows.Forms.VscrollBar' And 'Systems.Windows.Forms.VscrollBar

Oct 29, 2011

I am trying to use values from form1 in my project, in form2, but Im not sure how to do it. I've tried

txtboxTotal = (Form1.vsbLength * Form1.vsbWidth) * Pattern

But I get: operator '*' is not defined for types 'System.Windows.Forms.VscrollBar' and 'Systems.Windows.Forms.VscrollBar.'

View 14 Replies

Opening PDF In Windows 7?

Feb 3, 2010

I wrote a program using visualbasic.net. Trying to open adobe reader viewer which works fine with Windows XP 32bit but crashes when using the program in Windows 7 64 bit.

View 8 Replies

Opening Forms In Tab Control

Jul 9, 2009

I'm new to non internet programing. But I got to start somewhere. So i'll try and make this simple I have a MDI parent form with a tab control section. From a link in the toolbar i would like to open a diffrent form in my tab section. This is what I figured out so far if its even close.

[Code]...

View 2 Replies

Opening Random Forms?

Apr 10, 2012

on visual basic how can you open random forms? (im doing a quiz with questions on separate forms and would like to open random forms to show the random questions)

View 24 Replies

Buttons Opening New Windows

Nov 9, 2010

I want my program to once a certain button is pushed it opens up a new picturebox on another application. I've already made the new application to be opened, but I have no idea how to link the two different applications like this.

I want it to open up basically like a messagebox

View 5 Replies

Implicit Conversions From 'System.Windows.Forms.Control' To 'System.Windows.Forms.Webbrowser'

Sep 8, 2010

I have the code which checks if there is a selected tab

Private Function GetBrowser() As WebBrowser
If TabControl1.SelectedTab IsNot Nothing Then
For Each c As Control In TabControl1.SelectedTab.Controls
If TypeOf (c) Is WebBrowser Then
Return c

[Code]...

View 2 Replies

Dynamic Buttons Opening Different Forms

Nov 13, 2010

Firstly though, I'll have to mention that I'm a relative newcomer to vb.net and don't really know that much about advanced functions.I have my main form which dynamically generates 15 buttons.

Each of these buttons will need to open another form, depending on which form has been assigned to that button in a config file (the config file isn't yet done, as I want to get it working simply by hardcoding the name of the forms for the time being)

The way I have it in my head is that I would assign the form name that needs to be open to the name of the button, if that makes sense....However, I have absolutely no clue how to do it, I've tried a couple of things but to no avail.

Here's my code, and I have no problem changing any part of it if it will help things along, this is just the only way I know how to create dynamic buttons.[CODE...]

View 8 Replies

Forms :: Closing And Re-opening The Same Form

Feb 22, 2010

I am attempting to find a way to get an existing form to close and re-open (with the controls re-set). If I use a method like

[Code]...

View 4 Replies

Forms :: Opening Form Using A Threadpool?

Sep 15, 2009

I want to open a VB.net form using a ThreadPool with a maximum of 10 threads. I need to do this because, the form should open based on a live event and i need atmost 10 forms on the desktop at a time. If i open the form on every live event without using a ThreadPool, the desktop will be floaded with many forms. I am using QueueUserWorkItem method of threadpool to queue a method which opens the form. In this queued method, there is form1.show() statement called. But after displaying the form, this method finishes execution and again we have 10 threads available in the system. I somehow want to either keep this method running so that 1 thread is occupied or i want to keep the thread alive till the form1 is closed by the user. I want the 11th form to appear on the desktop, only when any of the existing forms out of the 10 (already on desktop) is closed.

View 2 Replies

Multiple Forms Opening When Not Desired

May 16, 2012

I have a group of buttons all with different labels. I want to have each of these specific buttons open up the same form, but my problem is when I write the code of form1.show it pops open twenty or so different windows. How to I make one button open just one window?

View 15 Replies

Multiple Projects And Opening Forms?

Apr 29, 2010

Over the past months I have been working on small windows forms applications and learning vb as i go along. The aim was to pull these altogether into one big application.

I am now at the stage of pulling these together I have created a new project (called MainMenu) and designed all the buttons and interface. I have added my other projects (SISApp, CURApp) to this project. File > Add > Existing Project. I can see these projects in the solution explorer.

Now my problem. How can show Form2 in the SISApp project when I click ButtonX in the MainMenu project.

I dont just want to show Form2, i want all the functionality and the database connection in form2 to also work etc.

View 1 Replies

Switch Between Forms Without Opening A New Window?

Jan 16, 2012

I might be going about this the wrong way, but I'm trying to create a form that will include a single button, for instance "Enter". When "Enter" is clicked, I want the form to then display the contents of form 2, which might include more buttons and/or a textbox, etc. I want to do all this without ever opening or closing a form.

View 3 Replies

VS 2008 : Opening MDI Child Forms?

Dec 29, 2010

In a MDI application, for opening a form in the MDI, I am using the following code

Private Sub RoleToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RoleToolStripMenuItem.Click
Dim lobj_ChildForm As frmRole
'Check if form is already open
lobj_ChildForm = Nothing

[code]....

As you can see, I need loopong through all the open child forms.

View 2 Replies

Multiple Windows Opening While DEBUGGING

Jun 29, 2011

Since last 2 days I have been getting a strange problem with my Vb programming (VS2005). Whenever I open any Vb or C# code and press F5 (in order to debug), several windows open at a time like Memory1, Memory2, Memory3, Threads, Processes, Registers, Data sources. And simultaneously the SOLUTION EXPLORER that is present at top-leftmost corner generally goes missing. When I restore that and put my cursor over SOLUTION EXPLORER, the program hangs and a message comes as : "Microsoft Visual Studio has encountered a problem and needs to close".I have attached the screen shots of the problems to this Thread.I tried various ways like restoring my computer to an early date, repairing Windows XP and then uninstalling and reinstalling Visual Studio. But none seem to work.

View 15 Replies

Multiple Windows Opening While Debugging?

Jun 29, 2011

I am having a serious issue with Visual Studio 2005. Whenever I open any Vb or C# app and press F5(to debug), multiple windows open simultaneously like Memory1, Memory2, Threads, Processes, etc... Also, SOLUTION EXPLORER goes missing from top-leftmost area(where it is present usually). When I put the cursor over SOLUTION EXPLORER (after restoring it), the program hangs and the following message is displayed: "Microsoft Visual Studio has encountered a problem and needs to close".

There is no option to attach something, otherwise I would have attached the screenshots of the problems.

View 1 Replies

Dynamic Buttons Opening Specific Forms?

Jun 6, 2011

I have a form which gets populated by 15 buttons dynamically at runtime (these need to be dynamic as there will be a user config file at some point)What I need these buttons to do is to open a specific form when clicked. Which form that opens will be dealt with in the config file.

Public Class frm_MainScreen
Private Sub frm_MainScreen_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim count As Integer
Dim ImageDir As String

[code].....

View 2 Replies







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