I am new to VB 2008 programming The first project I've been tasked with is creating a ticker/notice-board for our office - which will show Horizontaly scrolling updates of incidents being reported. I'm ok with the scrolling, keeping on top etc - but what I am unable to do is make my form dock to the top of the desktop window, and make any other applications windows smaller.
So that when any other application is maximized, it's window will not go behind my ticker application - so people can still easily use any other applications toolbar etc. Is this possible to do in VB 2008?
Let's say I have only Notepad.exe running. No other items are on my taskbar except "Untitled - Notepad". How do I tell VB that i want it to find notepad and for example, dock itself to the left hand side of the notepad window?
Alright, so what I'm looking to do is make a dock or some other thing that I can hide/show for programs. Kind of like a shortcut holder. how to approach the issue. I'm thinking maybe I could make a new button based on some settings in the VB thing, but that seems rather inconvenient. I was also wondering if anybody knew how to get the icons from shortcuts or the rest to use those as display pictures. "Victory is difficult to see beyond the devestation incurred in its pursuit."
I know how to dock a component using the windows forms designer as well as through code but I am having a problem with one thing. I am trying to dock a richtextbox on a panel through code but it seems to be filling up all of the space instead of just the panel. When I put it on the form and dock it works fine. The code I am using is:
From this forum I saw some discussions about form/controls resizing issue with different resolution screen setting. Most suggestions are using Anchor/Dock. My application's form has 10 group boxes and some buttons. In each group box there are 5 Text boxes and other more controls. I tried anchor and dock but couldn't make it work. My questions are -
1, How to re-size form and all individual controls as well?
2, If anchor/Dock are suggested, do i have to use both of them or just one? it seems to me there is no big difference between them.
I am developing a window based application in VS2008, it has 3 forms.on each forms i have used TableLayout panel and set the Dock property to FILL.due to this, on page load my screen get's flicker and resize event get's called.i have tried with "Doublebuffered" property but failed if i remove doc property (means set it to none) then it's working fine but on only spcific screen resolution my screen works, on higher resolution it get's cut.
I'm trying to dock my form to the top of the screen, but not as a desktop toolbar. There must be a simple way or a property... I just want it to start on the very top center of the desktop, I can't figure out how?
Can any one tell me is it possible to dock one object to another.Currently i have a datagridview in my form which i docked to bottom at runtime.after that i added a status bar to the form, and by default its docked bottom at design.when i run the application. status bar has come above the datagrid. and the grid is docked to bottom.
I want status bar to be at bottom of the form and Datagrid to be docked to the top of the status bar.is it possible.PBL (Visual Studio 2010 Professional, Win 7 64 bit Ultimate)
This is a big idea and I'm unsure of how easy or difficult this really is. I do not know how I would get this even started. What I am trying to accomplish is "docking" so to speak, a sub form into the original. Basically, there are 2 forms open, but one is like a helper so to speak. This concept is not new as many programs use it. An example is a program widely used call Teamviewer. If you use Teamviewer, open the "Partner List" Pane at the bottom to see exactly what I am talking about. Basically, it opens a new form that is next to it.
I created a basic winform project where I want to handle all resizing without writing a single line of code. I set up controls using dock/anchor. They all work properly, until I add a custom UserControl. When I first press F5, the project works fine. However when I get back to the IDE some (but not all) controls which have anchor right/bottom are resized/moved into positions and sizes not previously defined. Some cannot even be restored as they are moved permanently below the container's boundary with coordinates above 2000. If I fiddle around and test the project many times, all controls with right/bottom anchoring will go haywire eventually.
If the custom UserControl has controls inside with right/bottom anchoring those also get resized in weird ways. Adding the controls again solves the problem temporarily. It is the IDE that moves these controls around since these movements are displayed in the undo stack right after I exit testing the project (however,undoing these steps only messes things up even more).I am using VB 2010 on Windows 7 x64.
Basically I want to make a dock bar that is on the desktop, I want to be able to drag files into it and when the files are dragged in there icon appears and when you click the icon it opens the file
I have a tab control on my MDI parent form that I want to have docked so just the tabs show from the bottom up on the screen. Then on mouse over it slides open to reveal another form/controls that are contained in the tabs.
Just to understand me a little better I am including some images.
The first is where I want the tabs to start. The second is where I want it to slide to on mouse over or click.
I have custom collapsible panel control. I put it into a FlowLayoutPanel. he FlowLayoutPanel is docked within my form. The Panel Anchor property is set to Left/Top. The purpose of the anchor is so that if I want to put multiple panels in the FlowLAyout Panel, they will all stay snuggly together when they are expanding and collapsing. The panels work fine.
This should probably be a different topic, but the reason I was cutting/pasting is that I have a split panel form. I dock a toolstrip to the top of one panel, and then add a datagridview control. I set it to dock to parent, and it does, but goes under the toolstrip, hiding the top of the grid and scrollbar. Not acceptable of course. Is there a setting that I'm missing?
i have to write every property in the combobox don't you have a code that fill automatically the combobox with all properties of the Dockstyle in other words, i need to inherit the properties of tabcontrol1. dockstyle in a Combobox do you have any way to do it ?
I downloaded the custom made OvalShape control for Visual Studio 2005, and I really like it. One problem I have, is that I would like to have a label docked inside the Oval, as if it was a Panel or a GroupBox or pretty much any other control. With the other controls it does this automatically when I move the control inside them, but when I move the label inside the Oval, it won't "stick" to it. The OvalShape will move around and change size quite a lot in my app, so it would be nice ot to have to add a snippet of code after every movement of the OvalShape.
Im a bit new to vb.net and i have maked a webbrowser but cant get the dock thing to work im not so good to that the form looks like this: [URL] then when i maximize it to full screen it looks like this: [URL] not good how do i fix it?
I have a code method that I wrote in vb6 that works on every screensize and resolution combo...however vb.net is not letting me do this. Here is what I do. upon form load at program startup I gather all of the data of the controls (height,width,top,left,font size) prior to the form actually resizing and I store those in a listbox that is not visible. Then when the form resize is called I proportion all of the controls from their old positions versus the new form size.