VS 2008 Moving Other Windows (to The Other Side Of The Screen)
Apr 17, 2009its possible to move other windows etc if I have Ie open can I restore down the window then move it to the other side of the screen?
View 1 Repliesits possible to move other windows etc if I have Ie open can I restore down the window then move it to the other side of the screen?
View 1 RepliesLong time since I was active on this forum, but I recently picked up VB.NET again. I'm working with VS 2010 Express now, and I want to create a little app that resides on the side of my screen (about 40px wide), to collect data.
I've seen this program, Trillian, 'docking' to the right side of my screen, thereby making the maximized size of all windows just as much as the space left of the application window. In other words, even if I maximize other programs, the Trillian application stays visible at all times, on the right side of my screen.
Now I was wondering, is there any similar effect possible with VB.NET?
I'm trying to make a simple appbar on the right side of the screen. I have accomplished this many times before.. but I can't seem to get it working in Windows 7. The placement seems right, and as far as I can tell the messages seem to be in the right order. I have tried both Windows.Forms.FormBorderStyle .None as well as Windows.Forms.FormBorderStyle.FixedToolWindow. What am I doing wrong?
[code]...
I am starting a butterfly program and having an issue and really just barely have it started and would like to get some helpfeedback on how to do this. The following is the instructions and I will make a second post on what code I have so far...The butterfly is going to be moving from side to side in a slightly upward assent when the animation starts. You need to build a set of controls that allow the user to control whether the butterfly ascends (up) or descends (down) and also allows the direction of the butterfly to change (left or right). The best way to implement this feature is through the use of keystrokes that when pressed act to control the direction of the butterfly. Whether you implement this feature through keystrokes or controls, make sure that the feature is communicated to the user.
Butterflies fly by opening and closing their wings. So it is expected that the butterfly will alternate between opened and closed as it wings its way across the form. If the butterfly is moving right, make certain the butterfly graphic displayed shows the butterfly as moving toward the right. If the butterfly is moving to the left, make certain the butterfly graphic displayed shows the butterfly as moving toward the left.
If the butterfly reaches the top of the form in its assent, it should wrap around to the bottom of the form. If the butterfly reaches the bottom of the form in its descent, it should wrap around to the top of the form. If the butterfly reaches the left edge of the form, it should begin flying toward the right side of the form. If the butterfly reaches the right edge of the form, it should begin flying toward the left side of the form. If the user changes the direction of the butterfly, insure that the correct graphics are used in relation to the direction of the butterfly and that the butterfly moves in the indicated direction. Please note that when the butterfly reaches the edge of the form, the butterfly must change direction regardless of any user input.
Im creating a space invaders game that has a group of "invaders" moving side to side and when i shoot one it gets destroyed, my invaders are in an array. So in order for the invaders to keep moving right until they get to the edge, i made a function that detects which invader is right most. But this was crudly done as I wa trying to make the opposite of my left most function which works. So my rightmost function dosent work
[Code]...
Is there any way I can move a form in the center of the screen ? I am talking about run time for a form that is already shown . I need this because some times this form may become larger or smaller during run time and I'd like it to be moved in the center of the screen in order to look better . Back in VB6 I used to show again the form (despite being already shown) by MyForm.Show , which resulted i the form being moved to the center , but now it seems this doesn't work anymore ...
View 7 RepliesSometimes when updating the entire screen or moving around controls etc, there is some fairly bad screen flickering.
View 2 RepliesMy project is made in VS 2008.
It works fine in Windows 7 but now we are trying to migrate to windows 8 .
I have set up VS2008 on Win8 and now debugging how it works.
I get the following message when Debugging.
The specified module could not be found. (Exception from HRESULT: 0x8007007E)
I was wondering if there was a simple explanation for the fact that most of the balls in the following code seem to end up on the left side of the screen....
Code:
'***********************************************************************
' Assembly : Balls
' Author : FOlphen
' Created : 01-28-2010
[code]....
I would like to display 2 forms side by side. Frm1 will call Frm2. The problem is, if Frm1 is too near the edge of the computer screen, when Fr2 is shown, part of it will be outside the screen. How do I make it so that if Frm1 is near the right-side of the screen then Frm2 will show on the left-side of Frm1 and vise-versa?
View 2 RepliesHow would i make a program automatically align to one side of the screen, and fill the whole side? (Like windows sidebar).
View 9 RepliesI'm trying to make a simple appbar on the right side of the screen. I have accomplished this many times before.. but I can't seem to get it working in Windows 7. The placement seems right, and as far as I can tell the messages seem to be in the right order. I have tried both Windows.Forms. Form BorderStyle.None as well as Windows.Forms.FormBorderStyle.FixedToolWindow. [code]
View 4 RepliesWe are trying to let a hedgehog walk from behind a bush, towards the other side of the screen. The code we are using is:
dim hedgehog as integer
imgHedgehog.left = 11520 - hedgehog
hedgehog = hedgehog +50
It does move on the screen to the left, but the problem is that the picture keeps flashing while it's moving, so it's like its extremely bad quality.
I have my main form which will have the option to hide itself and open up a mini version. I would like this mini version to start at the top-right of the users screen.I have went through other posts and understand that you can set distance from top-left.
View 9 RepliesI have small lightswitch application having CreateNewUser Screen.Screen fields comes from Datatable added in DataSource, I have made all Validattion of fields at DataSource side.However i have added one Custom Control in the screen named : Re-TypePassword.Whenever user click on save button I want to match the Password and Re-TypePassword and want to prompt user a validation message if Password and Re-TypePassword are different.how can i display that validation massage ? ( I mean i want to add validation message to Summary of messages that appears at the top of screen)
View 1 RepliesSome programs display a window, like some antivirus programs, at the windows welcome screen. This is before anybody has logged in.I want to do the same thing. I am creating a security program that can be used for maybe a library to monitor the computer and/or block webpages (That's another thread!).Anyhow, how would I be able to have my program run before anybody logs on. Would it have to be a Windows Service? How could I get it to be running in safe mode, too.
View 6 RepliesI'm wondering, do services run at the welcome screen??
View 1 RepliesHow to make a object moving on the screen- How to make game with VB.NET
- In 2d game, ex i see a mario charator, which is object ( Label, image v.v.v)
- Is there a physical engine for vb.net
I have a picturebox that is moving across the screen. At the moment I want it too stop at a certain point until a button that is called next is pressed. I then want the picture box to carry on moving across the screen (The total number of times I want this to happen is 5)
Dim nextcommand As Integer = 7
Dim rewindcommand As Integer = 7
Dim x As Integer = 144
Dim y As Integer = 44
Private Sub NextButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NextButton.Click
[Code] .....
I am working on moving applications from Windows 2000 to new server Windows 2003 R2(64 Bit). I noticed that there are some VB programs and config files for those programs have been placed in Windows 2000 Registry. Some other applications are using them from different servers.Why do we use registry here? How can i move these to registry in windows 2003? Can I just move these or do I have to write VB programs to place them in 2003 registry?
View 1 RepliesI have an application that is currently playing videos through the windows media player control from a website. I want it so that a button I have created, when clicked will make the wmp control full screen.
View 1 RepliesMe.Width is what i am having issues with. I can adjust the width to work on my system but the bar is a different amount of pixels on different versions of windows. I was wondering if there was a function that would give u the amount of pixels the side bar is. I was considering writing some code so look for a color change but people can change the color so i do not think it would work very well. Also the program allows you to draw in a picture box so that would make it hard to get it to work correctly.
View 2 RepliesAnyone know why in Windows vista if i have a comboBox in in my program it looks differant in vista. AKA when i drop the combo box in windows xp it has a scroll bar to the side, but if i drop it in vista it just drops the entire length (how many rows i have put in the box) This could get very anoying if i had lots of items.
View 4 RepliesCan I send an object from client-side javascript to server-side code via ASP.NET ?
View 5 RepliesI know this defeats the purpose of client side vs. server side (refer to title of this thread). What I would love to do is build my own custom progress indicator on the client showing how far a server side code has progressed. I figure if I could only get a JavaScript to fire and render a value of some control at pre-defined intervals while the server is working I could make it happen - but alas I'm beginning to believe that this is impossible. Below is some code that performs three 2 sec loops. At the end of each I want to change the visible value of a control on the browser. [Code]
View 8 RepliesI have a basic asp.net web page. I have a menu bar divided into 3 columns. Each column displays an xml file. However instead of showing them side by side it displays them one on top of each other. i think it might be to do with my css?
My asp.net web code:
<div class="menubar">
<div class="menuleft">
[code]....
Using the following script:
$("#some_button").click(function() {
var changed = [];
[CODE]...
I need to send back the id, the old value from _1 and the new value from _0 back to the server. What is the best way to format this data so I can easily extract the data from the server side so I can easily email someone for example to let them know which textboxes have changed, what the old values were, and what the new values are
At the serverside level, I am using .NET-3.5 (VB). I know how to send the data bacl. and how to email the data, I just wanted to know how to best format the data at clientside before sending it back. I could have upto 50 sets of id, old, and new values to send back. Sorry for not making that clear earlier.
Example:
How can I modify the script above to generate this?
[
{
"id": "name_0",
"new": "text",
[CODE]...
I'm working on a 2d game. making a button that can move in a path random up,down, side -side, etc. in a selected space. and once hits end of the form to slide out and reappear at other side of the selected space and do same thing over.
View 1 RepliesHere are my two grids -- they are ExtJs grids however we wrap the declarations in vb.net code:
Dim VehicleOptionsGrid As New Framework.WebControls.Grids.Grid
With VehicleOptionsGrid
.ID = "VehicleOptionsGrid"
.Title = "Vehicle Options"
[code]....
Using javascript, is there anyway I can add a bottom scroll bar to these grids? Doesn't seem like we have a wrapped command to do it...
I currently have a parent Listview and its child Listview displaying in the centre column of an HTML page that consists of three columns left, centre and right. And all looks very good. However I would like to display the child list view in the right column beside the parent list view.
To do this it seems I must somehow generate from the code behind page a new row in the table every time the parent Listview displays a record of its data and then some column HTML so the first child list view will appear in the right hand column.