I would like to hava an application in which I have several buttons on the main scream. Each button will open new screens (or forms) but I'd like them to open it in the same screen as the main form not in a new one.
if you guys have used office 2003 or better( i am sure all) then you would have seen that when the help window open it causes the active windows say of MS WORD to change accordingly so that this help windows fits with it along the right side and this functionality i want to implement in my VB windows application and have no idea how to do it Also i have seen this feature in GOOGLE DESKTOP GADGETS...
i want to implement that when my application opens which ever is the active window( of any application) snaps to the left and allows my application to fir in the right hand side i am developing my application in VS 2005 using Visual Basic.
how to disable parent window while child is open so the user cannot click any object in the parent window and to Force the user to interactive only with the child
Just a quick qquestion. My application opens a web browser window with the click of a button. Today it looks like this: Process.Start("[URL])(It's not this website, but this is just an example.) This will open the requested website with a specified number at the end of the adress.
I have a form with a webbrowser control on it, and I load up a local file in it with some code for a rotating banner (so I can support my app with advertising).The problem I'm having is, it is for example, a banner ad in the small banner sized control, when the user click's it, it loads the new page within the same control, which is way too small.I'd like for any click in the control to load up the link in IE itself, outside of my app. Putting target=_blank so far hasn't helped. Below is the code that I am loading up in my control.
<!--/* OpenX Javascript Tag v2.8.2 */--> <center> <script type='text/javascript'><!--//<![CDATA[
I am trying to pass query string from one page to popup window as follow:
Dim popupScript As String = "window.open('cFinder.aspx?cName=" & c_TextBox.Text & "','', 'width=420,height=200,menubar=no,scrollbars=yes');" If (Not Page.ClientScript.IsStartupScriptRegistered("popup")) Then
I have create a project with one main form window and also i have to use a number of other forms as well. now i want to open these other forms inside the main window and not outside. I'm using Visual Studio .NET 2010 as developing environment.
When I run project splashscreen is popup and then Logon window is run. But unfortunately when Logon window is run the splashscreen still open like maximized window and I cannot see Logon window. How to fix that problem?
First off a short background of the project I am working on- I am developing a program that will be run off removable media (i.e. USB Flash drive). This will be a �virtual desktop� which you will be able to take with you and have the same �desktop� on any system. As we know drive letters can change with each host system the drive is plugged into, I need to be able to determine the path for the flash drive and access a specific folder ( i.e. My Documents)
I have an picture box(representing the icon) placed on my form (form1) and when I click the icon I want to be able to open and view the a specific folder from the portable drive. I need a click event that will determine a dynamic drive letter for a directory on the removable drive and then open that directory in an explorer window.
Private Sub LinkClicked(ByVal sender As Object, ByVal e As EventArgs) Dim link As HtmlElement = WebBrowser1.Document.ActiveElement Dim url As String = link.GetAttribute("href") [code]...
Okay so here's the question how do I get the links that open in a new window to open in my main webbrowser control. The above code does some, but it's not fool proof.
I like to open a file. The open option should be shown in a separate window. My code works fine but the open window is not displaying to open a file. Here is the code:
I am making a browser and i have putted tabs in it too. But when i click "open in new window" in my browser the internet explorar pops up. I want my browser window to pop up. Secondly the "open in new tab" option is not avaliable when i right click a link. How to make it avaliable and the new tab should open in my browser(not internet explorar)
I have no idea what I have done wrong here, so I'll just attach my project as a zip file and see if any of you are kind enough to look into it for me.I am reasonably experienced in C#.NET but having trouble using VB.NET for a school assignment.I cannot open half of my forms in designer view because "To prevent possible data loss before loading the designer, the following errors must be resolved".
i was doing a fair amount of programming many years ago, like 10 it feels like, so I'm sorely not up to date on how my newly downloaded Visual Basic Express expects me to communicate with it.I am writing a program that pulls a cell from a database after the user has gone through several forms to determine which cells they want. When I write it like that, it doesn't sound very efficient, but I've designed it this way for usability.Here's where I have a problem: Should I store the path the user takes in a string, an array, what?
Here's an example:Someone wants baseball stats and trivia. They run my program, main form pops up, they select National League button, the NL Form pops up. Now the way my program is set up right now, is there are two ListBoxes on the form, one is populated, and as the user selects a Team from ListBox1, it jumps to ListBox2. Once they've selected all the teams they want info for, they click a button Next.
What I now need the program to do is show the next form "Team: name" once for each team, and insert the name of the team on the form in the appropriate label which I'll have blank. This form will also do the Listbox thing except the first listbox will populated with Topics like HR Stats, Pitching Stats, Coach History, etc.
So i have a program and pretty much they enter a user name and pw.Then press log in Once they press log in i want a new window to pop up With more stuff i will put in it.The log in user name and pw can be anything.But how can i make it to where once they press login button a new window will pop up and the old one with the log in page will vanish and in the new window ima add more codes
Im currently making a program that basically tries to create an account (aint started with database yet) so my program starts off with a window which tells me the basic information and then there is a button on the window, asking me to start creating my account, what I want is for another window a appear asking for the details, how would I go about adding a new window? im using Visual basic 2008 express edition.
I am using very simple code to open up a hard coded link in IE.[code]I have looked and everyone has a different way of doing it, none of which I can make work.Is there a simple explanation for making it work ?
im trying to run "ipconfig /all" in vb this is the code i have but the window closes down after it has completed the command is there away to keep the window active until the user wants to close it?
I have two forms frmMain and frmNew, and one module modMain. In modMain I hold public variables which are needed for application. My question is how to open and close those two forms when needed? I ask this because if i set frmMain as startup form, then when closed, application will end, and one of those two forms will always be displayed. Also if I set frmNew as startup form, then when I close this form, application will also end. Is there a way to do this from module or something so my application won't end after closing and opening any of those two forms?
I'm running Visual Studio 2008. Often, when I'm in one project, I want to open another project that is related in some way, either to fix a bug that affects both or implement a feature that will benefit both.If I'm currently editing project A, how can I open project B in a new window?
we use a terminal emulator called facetwin to run our main unix based applications we want to attach a small document scanner and magnetic strip reader to the system this runs on currently we have a magnetic reader that emulates a keyboard so it sends keystrokes back to the unix app. however the new scanner does not.
i wonder how i can open a new form in same window . Example : i have a button on my first form when user click the button , form2 must appear in same window .
I cannot seem to open a new window in WPF consistantly. It will work one time, and then the next time I execute the same script, it throws the following exception: XAMLParseException occured 'Provide value on 'System.Windows.Baml2006.TypeConverterMarkupExtension' threw an exception.' Line number '4' and line position '208'. {Cannot evaluate expression because the code of the current method is optimized.}
Here is the script: Dim Window As Window = New GAME_WINDOW Window.Show() Yes, "GAME_WINDOW" is a legitimate WPF window. Here are the first four lines of XAML code for the window I'm trying to open: <Window x:Class="GAME_WINDOW" xmlns="[URL]" xmlns:x="[URL]" Title="Operation SpyRat: Word4Word" Icon="/VBP-WORD4WORD;component/alicia.ico" WindowState="Maximized" Background="Black" xmlns:my="clr-namespace:VBP_WORD4WORD">
Having problems trying to find or come up with code to open my current web browser i have made, in a new window using the file option in the menu strip
I want to open a second form from the same window.the form2 should have the same size of the form1.I have searched a lot in order to find a good solution for this.and i thought of using panels. i would hide the panel when opening form1. a button in form1 will show the panel. it works just the way i want.form1 has the datagridview while the panel contains the details in which i will use to update the table.but i cant seem to update the table.is there a better way to open form2 in the same window and how can i update the table if i use panels.
this is code which opens new window link in same programe
Private Sub WebBrowser1_NewWindow(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles WebBrowser1.NewWindow ' This will be triggered only when link tries to open in new window.