VS 2008 - Alternative To The MdiWindowListItem For Window Navigation In An MDI Application
Aug 9, 2010
I've made an alternative to the MdiWindowListItem for window navigation in an MDI application. It consists of each window being added as a toolstripbutton to a toolbar, similarly to the Windows taskbar. I don't use any of the mechanics I should probably use, such as for loops catching each child window etc etc. Instead I look at window titles and do a lot of string manipulation and using counters etc.
I'd like to get rid of my method and use something a little more technical. I'd like to have the same effect, but to be able to add toolbar buttons relative to the MDI children as opposed to looking at window titles and such, because I've also got a plugin system that allows users to create their own windows and add them as mdi children. But, if a plugin is added, it doesn't get added to my toolbar taskbar thing because the titles are all user defined and I cannot control them.
So, basically, I want something exactly like the menubar's MdiWindowListItem feature, but using my toolbar idea. I want all MDI children to show up in it, including the 3rd party windows.
View 1 Replies
ADVERTISEMENT
Apr 20, 2012
On our intranet website, I need to give option to user to specify the location where they would like to save files. The files would be generated by a background process. Is there a way user can specify the location? I can not use FileUpload since that requires file to be specified. I notice that FolderBrowserDialog is for clientserver vb.net app and not asp.net.
View 2 Replies
Aug 13, 2009
I have a mdiChild which changes it's text (caption) when I click on a MenuItem. The Text changes as it should, but the mdiWindowListItem does not change. So I tried to refresh it and update it, but both commands didn't make any difference.
View 2 Replies
Apr 26, 2011
I'm learning WPF, and NavigationWindow in particular. I want to add stuff to the window, like a status bar, a favorite bar, etc. Unfortunately when I try adding anything, I get an error.
I'm hoping there might be a way that pages can be bookmarked as someone browses between them; let the user drag pages up to a favorite bar.
Something similar with the status bar; I'd like to have page specific information on the status bar, without having to have it on each individual page.
Is this possible with a navigation window, or am I barking up the wrong tree?
Edit:
<NavigationWindow x:Class="Window2"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
[code]...
I ended up putting the status bar on the individual pages, so that I can more easily change what's displayed from page to page, but the tool bar behaves nicely with the frame.
View 2 Replies
Jun 16, 2009
In my project when someone logs in I refresh the overhead and side menus. My overhead menu is an extended menustrip component that I have made. I am able to clear the menu, reload it dynamically but I am not able to add/insert the open windows which are managed by the mdiwindowlistitem property. These are the items named "1 - form name " "2 - form name" etc.
I have been able to copy the whole dropdown list, and with some very hacky loop work I can take out everything but the items related to the forms. But when I add them back in, they are not on my list. The related forms are still open and if you click the maximize button to shrink a open child window, and then re-maximize that same window...the items magically show up in the list.
This ManageMenus sub is called during a login change. If you breakpoint on "openwindowslist" after it is returned with data, it has the proper entries and nothing extra. It just seems that the for/each add loop does not actually add the items. Or, if it does add them, I can't see them.
Tried both insert and add functions, same results both ways.
CODE:
In my xmlMenuStrip component this is the function that removes everything but what follows the seperator. It returns them in a list.
The format of the full window menu is:
CODE:
View 4 Replies
Sep 20, 2011
Document Thumbnails in Navigation Window not working on Print Layout, it only works on Outline and Draft view. It does not allow me to checkmark when in print layout.
View 1 Replies
Apr 17, 2009
Is there are VB.net alternative to the C++ command of set active window.text ? (its something like that) baisicly this command renames the active window to what ever you want, is VB.net powerful enough to do this?
View 3 Replies
Jun 6, 2011
Any good alternative to using DoEvents in VB.NET
View 6 Replies
Sep 7, 2009
I'm try to make a multiple form as like as navigation form. There are several form(MainForm, Form1,Form2,....and Next Form)in the MainForm i'm put a "ADD" button, when i click on the add button Form1 is show up. On the Form1 there are 3 button (Back,Next,and Cancel) when i'm click Next Button on the Form1 then Form2 is show up and the same way to next button / back button
View 4 Replies
Apr 15, 2008
Can VB 2005 have alternative choice other than publish the application by click once.
I mean to say many installation softwares has choice like "click next"------------>"click next"------------------->"click next"----------->Finish.
And also ask where to install the application(Location to Browse).
View 3 Replies
Apr 6, 2011
I have a menu item which is set to be the MdiWindowListItem. If I open several child windows, they appear in the Windows menu on the MDI Parent as expected. If I minimize one or more of the child forms they appear along the bottom of the parent and are still in the list. So far so good. If I select one of the non-minimized child forms which is behind another, then it comes to the front, which is what I expect. However if I select from the Windows menu item one of the minimized child forms, the it's title bar is activated showing it is selected, but it doesn't restore to its previous state. How do I get the minimized child form to automatically restore (to normal or maximised) when I select it from the Windows list.
I have tried using the Activated event for the child, but it has undesirable effects (ie restores at times when you don't want it to!)
View 5 Replies
Jan 19, 2009
What would be the reason of creating a wpf window application?
View 6 Replies
Feb 27, 2009
1, My form application works well on my computer, but my colleague told me the size of window is not adjustable on his computer. Which property should I set to adjust size of window?2, THere are tabs, groups... in my form. After I maximize the form, how do I adjust the items in the form to be compatible with teh maximum form window?
View 2 Replies
Jun 2, 2011
I got a window form, and I want to send data to another computer or a server over internet after the submit button is clicked. Yes, this is a very "general" question (I cant not ask it in more detail), because I don't have any information how to do that, I google it, and I heard WCF, but I am not sure how it actually can do this job (seem like WCF is related, but still researching).
View 4 Replies
May 2, 2012
Excuse me for posting this, but I have searched both Google along with this forum before asking this question, maybe I'm not using the right keywords but I apologize if it's easy to find.I would like to know how one could close a third-party window (application) if a specified string was found in the window title.
View 2 Replies
Nov 30, 2010
I would like to know how one could close a third-party window (application) if a specified string was found in the window title.
View 4 Replies
Dec 12, 2011
If you have ever noticed in the Task Manager, when you right-click on the running task, you have many options which include 'Minimize' and 'Maximize'. Is there anyway to do achieve this in vb?
View 1 Replies
Aug 8, 2009
how do i can modify IEXPLORER window size with one button from my own application/project?I have form with button1 what should be a code?
View 3 Replies
Feb 22, 2012
I wanna know a thing.I wanna know how to move into the different regs of the form (using databindings), just focusing the ID textbox and selecting ALT + => to go to right, ALT + <= to go to left, ALT + UPbutton to go to next and ALT + DOWNbutton to go behind.
View 2 Replies
Jan 24, 2009
I'm making a WPF form that has a large map as an Image in a ScrollViewer. It also has a mini-version of the map as another image. I want to make it possible to click the mini-version of the map to scroll the big version to a certain area of the map. So I need to do the following:
1. When moving the mouse over the mini-map change the mouse cursor to a square with the appropriate size to indicate what part of the map will be shown.
2. Scroll the big map to the appropriate section when the mini-map is clicked.
View 10 Replies
Feb 27, 2010
Im currently developing an app, in which there is a list box which will contain between 200 and 3000 items. These items are loaded into the list box from a .txt file. Now on the same form i have Picture boxes x 6 Textboxes x 5..The contents of which changes with each list item selected, and to do this i have the code attached to the list box, heres a snippet of the [code] but at the moment with 178 items on the list the total code is pretty big, and i get the feeling it would run faster if loaded dynamically.Am i right in thinking that? Especially when the list has 3000 items, thats alot of code to have attached to a listbox.And how do i go about making the code dynamic, im looking round the forum and seeing ADO database mentioned alot and that seems to be the answer at least for the text fields, would that also work for the picture box fields?
View 1 Replies
Nov 10, 2009
hey been looking around for an example of Sendmessege to send keys, but all you find is the basic notepad example, can anyone please show me the way to use Sendmessege to sendkeystrokes to any application (i have the hwnd)
View 3 Replies
Jul 24, 2009
I'm writing an app that reads zip files from a folder and then displays them in a listbox. As a user clicks on one of the zip files in the list they can see a particular file that is located inside the zip archive in a textbox. The way I'm doing this now is to read the files from the folder and store the zip file name and the file associated with it into a two dimensional array. Kind of like this:
Dim a_files(500, 1) a_files(0,0) = name of zip file in folder a_files(0,1) = name of a particular file in the zip file The problem is that there may be more than 500 files so the array has to be scalable. I know you can use 'ReDim Preserve' to resize the right element on the fly, but I need to resize the left element. I've looked at collections, but I can't see an example where they can be multidimensional. Does someone know of an alternative way to store these values that would have the flexibility I need?
View 19 Replies
Aug 8, 2009
I have a vb application ive been working on and its pretty much complete. I posted in the asp section but we couldn't get it figured out there so im reverting back to vb so looking for some help.I have a vb.net app I created and I have an internet browser embedded in it calling an asp page. the asp page is just a simple file that searches an access database. I used the asp page because I wanted to display the results with graphics and tables so I used html for that.Everything technically works except I am running it on a local intranet and the asp file is located on a server that is REALLY slow so it is taking 20-30 seconds to get my results. so, my question is, Are there any other options or ways I can do the search within the vb app itself so everything stays local and I don't have any speed issues. I can't install IIS on the local computer because the IT department is strict unfortunately.I don't HAVE to use "html" but I would like it to look nice with graphics and html was the only way I knew how to do that.
View 6 Replies
Oct 22, 2010
Well this listbox contains sensitive data not very important but i dont want the end user to be able to see what the listbox contains, therefore i have hidden the listbox But my question is how do i store this information i could easily write it to a text file i know but the user could locate the text file. So i attempted to create my text file as a resource and that failed as i can read from it i cant write to it. More simplistic question. I have data i need to save from a listbox but if i save it as a text file the user could still access it and i dont want the user to be able to acesss the file i would like it to be internal because i also dont want the user to be able to delete the file?
View 7 Replies
Jul 10, 2009
I have made a really simple program launcher for my home theater pc that allows me to launch 6 programs, open/close the optical drive and shutdown.I don't have a mouse or a keyboard normally hooked up. I can navigate the buttons with the up and down arrows fine, but only in the tab index order. Is there a way to allow the left/right arrows to focus on the buttons to the side? Here is a screen shot of my application to hopefully give a better idea of what I'm asking. (eg. Can I hit the right arrow from my first button and focus on the Open button?)
View 4 Replies
Mar 12, 2010
I am currently working on building a kiosk, and I have to make the pdf reader part in vb.net. The pdf reader should have following functionalities. 1. It should be able to print the pdf showing by clicking a button saying PRINT instead of the adobe reader print button
2. I must hide the menu bar, navigation bar, etc from the adobe reader AxAcroPDF because it is a touch screen application and we don't want people to be able to get any access to the actual computer.
[Code]...
View 5 Replies
Mar 14, 2009
Is it possible to attched some kind of Flash animation Menu & Navigation buttons in VB.NET? or only in website can do that? cause i want to create some flash animation buttons and datagridview or something components.....
View 4 Replies
Dec 22, 2011
modify console application below to window form application for me.I've tried by myself for million times, but i couldn't console application.rar?
View 2 Replies
May 26, 2011
I am in need of a small application, that will allways be topmost and will send keystrokes to the last active application (typically notepad or an explorer window). My problem is retrieving the current active form (or application), when my application is started up. Every search seems to return old and rather complex solutions using Win32 library functions, but I was kinda hoping, that .Net allowed for a neater and more simple solution.I need a code example or link on how to retrieve the currently active application window from another application just starting up.
View 2 Replies