.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
ADVERTISEMENT
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
Apr 16, 2009
I am at the form/application stage, and now working on my final project. I know how to open an application from the form, but I want to open the app within the form. I already have my web browser on one form, and button command that gets me there. I also want to run a special program that I have already created in the command window on the form that I have. I have the form ready, the command that I click to open the cmd.exe but, now it I cannot get it to run in the form, ie. a panel. At least that is where I think it should run.
my panel is called pnlcommandwindow, and I have it visible:false until I click the button. It opens with cmd.exe and command.com. But, I want the same window that is opened when I run a program in VB command window.
In the command button or the panel or another box?
View 2 Replies
Sep 7, 2010
How to export datagrid or Panel to word or excel useing vn.net 2008 windows application ?
View 1 Replies
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
Jun 7, 2011
I wan to create a program that can get the application name.i can start the program but cant get the program name[code]...
View 1 Replies
Nov 21, 2011
I'm just trying to open a ColorDialog so that the user can select a color. But if I just use the following simple code with Button, ComboBox or anything, the application will completely freezes itself.
Dim cd As New ColorDialog()
If cd.ShowDialog() = DialogResult.OK Then
PictureBox1.BackColor = cd.Color
[Code].....
View 3 Replies
Oct 19, 2009
I have an application that I want to review existing word documents. What I mean by review is that they can look at them and print them and that is about it. I am a bit stuck on how to complete this task though. I tried using a web browser and that allows changes and with a very minor bit of work the document can be modified and saved. I also tried using process.start and that just starts up the word application as does SetParent.
Is it possible to just take snapshots of the document and view those? Or to open the document as a readonly document?
View 5 Replies
Mar 18, 2010
not quite sure why this is happening but I am just debugging right now and the buttons I am using are opening the wrong forms, I have made sure of the form names, button names etc and it looks all good but specifically the btnPrintReport is opening up the form enterAuditForm while btnProcessAudit is opening printAuditForm instead of their correct ones.
Here's my code, it is rather simple. The reason why I am using a separate sub as my btnPrintReport is because I am using that also on the baseForm's OnLoad Event, which again is also opening the wrong form.
[Code]...
View 4 Replies
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
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
Jun 6, 2009
I need to center the red panel in the middle of the dark grey panel, when you resize the form the red panel should be in the middle, and the red panel can't be resize, anyone have a code or property to do this?
View 2 Replies
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
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
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
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
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
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
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
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
Apr 14, 2009
This is code i am applying for Draw a Rectangular on Form..same logic i applied for Panel it's not work..
[Code]...
View 2 Replies
Aug 3, 2011
I am trying to fix a vb.net program that works with windows xp but not windows 7. The following steps will recreate the basis of the problem I am having. 1. Run MS Visual Basic 2010 on Windows 7.
View 7 Replies
Sep 29, 2011
May I know how can I collapse panel or group box in a windows form? I just want to put my datagridview in the panel or group box and collapse the panel..
View 2 Replies
Apr 16, 2010
I want to open a vb.net application with a vb.net application if that makes sense. Im designing a programme that allows the end user to open and have a go at doing a vb.net application with the application that im making. [Code] But keep getting an error that it can't find the application even thought it is there. I think it might be the .exe that is wrong but im not sure want ending the VB.Net application uses.
View 13 Replies
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
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
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
Sep 29, 2011
May I know how can I collapse panel or group box in a windows form? I just want to put my datagridview in the panel or group box and collapse the panel..
View 2 Replies
Jul 30, 2009
My task is simple enough for most .net programmers , open a new work book in excel and view a new work sheet. I know how to program this task easily using vb.net, only because i had to do a similar task a few seasons ago. However, when I confronted this task last week my previous solution did not work. Here is my code.
[Code]....
View 7 Replies
Nov 25, 2010
I am trying to load a cmd.exe into a panel lock it in and become interactive? I found some code on the net and it works with notepad but doesn't work with dos-cmd application.
View 6 Replies