Opening Windows In MDI Form With Different States At Same Time?

May 5, 2012

I did a MDI Winforms application and noticed behaviour that I have a question for. If one of the forms is opened with a Maximized Window State and another form is opened with a Normal Window State, the form Window State that used to be Maximized is changed to Normal. Can several windows be open in a MDI form with different window states at the same?

View 1 Replies


ADVERTISEMENT

Prevent A User From Opening More Than One Form At A Time?

Mar 15, 2012

I have developed an application in VB.NET. It has 20 forms. All 20 can be opened from a menu strip control. The user should be able to open only one form at a time. How might

View 3 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

Office Automation :: Opening Windows Form Shared Add-in?

Oct 29, 2011

I've created a shared add-in for Office that adds a button to Office application.

If I am using the button to show a message, it works good:

Code:
Sub settingsPressed(ByVal control As Office.IRibbonControl)
MessageBox.Show("Hello")
End Sub

But I am not able to use it for opening Windows form:

Code:
Sub settingsPressed(ByVal control As Office.IRibbonControl)
frmSettings.Show()
End Sub

The .Show() command is not available and is not proposed by intellisense.

Of course I've added a reference to System.Windows.Forms

View 2 Replies

Merge Row In Run Time In C# Windows Form?

Mar 10, 2010

i use datagrid view in my project in Windows form. During run time there are 8 column, among these, in one column(PURPOSE) there is a value which is repeated 3-4 times depend on Query. now i want that i merge these 3-4 cell in PURPOSE column..so that the data which is repeated 3-4 times can only 1 time..

View 1 Replies

How To Display Time In Windows Form Application

Jan 10, 2011

i am using MS access as my database and VB.net(2008) as my programming.my table has four columns.my table name is myRecordtbl and the columns are ,myid, myname, starttime and endtime.now i know how can i insert into table. but i got hard how to display times then i can choose to insert into my table.the time should be in the form of Hours:Minutes:Seconds AM or PM with up and down arrow.then when i select the time and hit ADD, it should insert into my table.

View 2 Replies

How To Make Only One Windows Form Show At A Time

Feb 16, 2012

i have a combobox that has 3 cases. case "0" opens a dialog saying, "Not a valid choice"but case "1" and case"2" open up there own separate forms. (FormMain and Form3)How do i make it so if Form3 is open FormMain Can not be opened, And a messagebox appear saying so. I do not just want the ".hide" function. I already have that set.I have tried a few differant things, none of which worked. And i tried them in the formload and in the combobox selected index

View 3 Replies

Login Time Out Solution For Windows Form App?

Apr 14, 2011

I have a print driver Windows app that uses a web service to connect to an authenticate its credentials. But the problem is, I don't want a user to login every time they want to print. Basically I want the login part of the app to only pop up if the printing functionality hasn't been used in 20 minutes.

tell me what would be the best way to go about this? I'm unfamiliar with Timer functions. This app isn't always on. It's on briefly then closed. So I need a solution where the timer is set somehow on the computer.And I don't want to write data to a text file when it can just be edited..

View 3 Replies

Select A Standard Windows Form At Design Time?

Dec 5, 2010

When I select a standard windows form at design time, then in the toolbox, under the "general" section, there are ellipse, line, and rectangle, but they are all gray and so can't be used and I can't find any way to make them not gray and thus usable. What am I missing? The help system tells how to USE them but nothing about how to make them accessible, it just assumes they are.

I have no problem drawing a line on a form at run-time but I want to drop one on at design time and can't find any way that's my real problem.I'm not a heavy user of VB.NET so I figure there's probably something simple that I'm overlooking.

View 7 Replies

Constantly Update Current Time Display On A Windows Form?

Jun 28, 2011

I have a windows form where I want the time to constantly be updated. Right now it will take the current time from when the program was started.

For example, if I started the program at 4:30:29 PM that is what it will show the whole time the program runs.I need it to constantly be updated as the seconds tick by. So, If I started the program at 4:30:29 PM and ran it for exactly 5 minutes, the time displayed then should be 4:35:29 PM.The data being taken in and saved needs a time associated with it and the end user also need to know the current time as the program is ran in full-screen. [code]...

View 14 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

Error When Opening Tab For 2nd Time

Jun 6, 2011

i have two tabs one is expiry date and block. my problem is, when i click block tab for 1st time it will correctly populate the datagridview. but when i click expiry date tab then block tab again, i got this error 'Provided column already belongs to the DataGridView control.'

[Code]...

View 3 Replies

.net - Excel Worksheet In Windows Form Application Without Opening Excel Application?

Nov 18, 2011

I am converting several VBA projects to Windows form applications. The only problem I have is that some of the functionality of Excel is essential to the application, such as R1C1 formulas. I do not want to instantiate the Excel application or access saved worksheets. All of the data is retrieved by querying Oracle databases. 2-Dimensional arrays are not an option because the columns contain differing datatypes, and DataGridViews are too slow to work with.

I thought simply dimming a Microsoft.Office.Interop.Excel.Worksheet object would be enough, but the program kept failing and upon inspecting the object's elements in debug mode, I found that every value says this:

{"Unable to cast COM object of type 'Microsoft.Office.Interop.Excel.WorksheetClass' to interface type 'Microsoft.Office.Interop.Excel._Worksheet'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{000208D8-0000-0000-C000-000000000046}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))."}

View 1 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

Displaying Current "Real" Date And Time In Windows Form?

Jan 28, 2011

how you display a live or current date and time on a Windows for application.

I am working with Visual Basic 2008(VS Studio 2008).

Example: January 28, 2011 8:00AM.

I have several books, strangely this subject is not properly covered.

This is my

Private Sub lblDisplayDateTime_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles lblDisplayDateTime.Click
Dim currentDateTime As Date = #8/2/2007 1:02:00 PM#

[Code]....

Finally, how do I make the time load when the form runs? I can't seem to find an event, that allows the time to display when I run the form. Currently, I have to click the area containing the label to get the time to display.

View 5 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

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

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

.Net Windows Application (Opening A New Procees In A Panel)?

May 12, 2010

i have a query of opening a new application or you can say a new Process in a Specific dimension means to say i have dropped a Panel in a WndowForm and i want to open that particular new process in that panel only.

View 4 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

Opening A File At Runtime Through Windows Explorer

Apr 2, 2010

I have my registry set up so it will call my application when a certain filetype/file extension is double clicked, however, as of now I can only get my program to open up those files if it was already closed. I am currently using the [URL] to get the passed files.

View 2 Replies

VS 2010 : Make A Form With Multiple Buttons Opening Different Things Than Having A Form That Has Lots Group Boxes For Each Tab?

Jul 25, 2011

Is there a better way to make a form with multiple buttons opening different things than having a form that has lots group boxes for each tab. So in the begining each box will be invisible and when you click the button the corresponding group box will become visible. Is there any other way?It will be like a background image and it'll have buttons that will mask it with invisible buttons. when the button is clicked it will open the corresponding group box.

View 5 Replies

Error While Opening Form In Designmode, Pressing F5 Opens Form

Jan 15, 2009

Whenever I want to reopen a project that I didn't worked on for several month and want to view my form in design mode I receive following error.

Warning1Method not found: 'Void System.Windows.Forms.Design.ParentControlDesigner.WndProc(System.Windows.Forms.Message ByRef)'.00

[Code]....

I used this project in VB2005 express, but also in VB2008.

View 4 Replies

Forms :: Main Form Minimized After Opening Form In A Different Thread?

Jun 7, 2009

In the main form the user can choose to download information from a device.Since this request takes time, when "download information" is pressed I open new form in a separate thread: Private Sub RunDownload()

[Code]...

View 3 Replies

Winforms - Know The Event Order Of Form Which Is Executed While Opening Form

Jun 30, 2011

I would like to know the event order of form which is executed while opening form. I am showing my form using following code and the code in form_load event executes twice. Once when the form variables are initialised and second when form is displayed. I want it to execute once only. form showing code:

[Code]...

View 1 Replies

Writing A Windows Service (MacTimeFix.exe) To Fix The Windows Time On A Macintosh?

Jan 31, 2009

I'm writing a windows service (MacTimeFix.exe) to fix the Windows time on a Macintosh (it's like this: i live in Moscow (GMT+03:00), and Mac OS thinks that the system time is GMT+00:00 and adds 03:00 to it< and Windows thinks that system time is the local time).I need to execute my code when my VB app is closed. (it happens with the shutdown of Windows) The form is invisible (hidden), and the user mustn't click anything except windws shutdown button. It is a service. When i write a Form1_FormClosing sub, it works only on Alt+F4 or CloseButton and doesn't work when the app is stopped from Windows Task Manager or whatever also.I need a way to execute sub when app is closed with taskkill (without /force) or a way to execute a several app on Winshutdown.

Here is my code:

Public Class Form1
Dim SystemMary As String
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Me.Load
SystemMary = Mid(TimeString, 1, 2)

[code].....

View 3 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

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







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