Locate A Form On A Custom Location On Desktop?

Aug 15, 2011

I need to know how do i locate a form window on custom location at the desktop[code]..

View 3 Replies


ADVERTISEMENT

2 Group Box Components And Both Are Same Size,font,location And Visible Is False - Both Component Cannot Locate At Same Location

Mar 13, 2012

I have 2 group box components and both are same size,font,location and visible is false. When i click button2, the groupbox1 won't appear(the group box2 is on bottom n group box1 is on top).

Example:

button1

groupbox1.visible=false

groupbox2.visible=true

button2

groupbox1.visible=true

groupbox2.visible=false

Because i want to show the different,so the location have a little different(actually both are same location). I think my code is no problem. The problem i guess is both component cannot locate at same location?

View 6 Replies

Locate An User's Desktop?

Feb 2, 2010

I am making a program that stores all information that is entered into a directory and then zips that directory onto the C drive. It is working perfectly fine, but I think it would be easier for the user if the final directory was zipped onto the desktop.

Is there a way that VB.Net can locate the user's desktop and then zip the directory and place it on the desktop? For example, zipping it to "C:Documents and SettingsAdministratorDesktop" would work on my PC, but it may be different on a user's computer.

View 4 Replies

Any Way To Locate Desktop Path For User On Another PC?

Jun 1, 2012

VB2010. I'm trying to figure out how to locate the desktop path for a user on another pc/server. Something similar to:
Environment.GetFolderPath(Environment.SpecialFolder.Desktop)
The main reason is we area talking about an Environment that has XP, Win Server 2003 (TS), Win Server 2008 and Win 7. Obviously different path depending on the OS. I need to copy a file to a users desktop and would like to do so without having to hardcode the path as it could change depending on where they are working from.

View 10 Replies

Desktop Application And Multi Location?

Sep 11, 2009

i developed software use visual basic & microsoft access and run until now.but this software insatalled at many location and distance between location very far. and now, for this solution for every location use local database, then when i need data from other location every location send data to central offfice using email or flashdisk. but this can't get data for real time, because i must wait data for long time.What solution to send data into central office by automatically at every location's data (with internet connection) ?

View 3 Replies

Universally Save A File To Desktop Location Across Different OS's?

Aug 7, 2010

I'm new to this forum and new to programming (literally just a week or so). I'm trying to write a program that uses a combo box selection accompanied with a button that when pressed, will download a file off a website, save it to my desktop and the run itself.[code]The thing I want my code to do is to universally be able to save the file to the desktop of any windows OS a user may be using. I'm going to end up having people using XP, Vista and Win7 use this application and each of those I believe have a different root to reach the desktop. Instead of having to hard code each and every scenario, there must be an easier way, right?Can you guys help me figure out what the syntax is for getting the users windows username and desktop location so that no matter what OS they're using, the file will always be downloaded to their desktop?

View 5 Replies

Universally Save A File To The Desktop Location Across Different OS's?

Jun 12, 2012

I'm trying to write a program that uses a combo box selection accompanied with a button that when pressed, will download a file off a website, save it to my desktop and the run itself.Here is a snippet of the code I currently am using:

Select Case cmbo1.SelectedIndex
Case 0
If System.IO.File.Exists("C:UsersAll UsersDesktopPeggle.exe") Then

[code]....

The thing I want my code to do is to universally be able to save the file to the desktop of any windows OS a user may be using. I'm going to end up having people using XP, Vista and Win7 use this application and each of those I believe have a different root to reach the desktop. Instead of having to hard code each and every scenario, there must be an easier way, right? figure out what the syntax is for getting the users windows username and desktop location so that no matter what OS they're using, the file will always be downloaded to their desktop?

View 2 Replies

Set Progressbar Locate On Another Form?

Apr 27, 2011

I should update a value of progressbar that not is placed on main form but on another "wait form". I have wrote this code in

[Code]...

View 3 Replies

Control The Starting Location Where On The Desktop Those Four Windows Will Appear When Load (Open) The Window?

Nov 22, 2010

I have a game that will open four windows on the desktop using VBE2008.How do I control the starting location where on the desktop those four windows will appear when I Load (Open) the Window?

View 2 Replies

Creating A Desktop For Custom OS?

Nov 16, 2010

Iam developing a OS using wince Kernel.It supports .net framework 2.0.

so i succesfully extracted the kernel and i booted my mips processor,Now i can see a black screen running wince kernel.

Now i want to create a form that should look like a desktop in vb.net and should have desktop Properties.cool huh?

what are the properties of the desktop.

Property-1

The Deskstop should be attached at last.

For Example:when a application is opened it should have the capability to open the application on the top of the Desktop.

and it should be locked on the background.

Property-2

If i close a application in my kernel the application is closed but the image stays still because there is no desktop background to repaint itself.so i want to create a form with the two properties above Mentioned.

View 2 Replies

.net - Moving App.config File To A Custom Location?

Jan 25, 2011

My application is a service application, and it needs to load a set of configuration that the user can change. I was using the System.Configuration classes to set up the app.config file, and then I was going to give the user the option of editing this file to change configuration.

Can I move this file to a custom directory, something like C:settingsapp.config? Or is it forced to reside in the app directory?

View 2 Replies

Deployment :: Project Output In Custom Location?

Sep 1, 2009

im still fairly new to this. i have written a program, built it and created my setup project and can install it no problems, however, in the "setup view" where you have the threefolders "Application folder" "Users Desktop" and "Users Programs menu" ... u know "the file system view/setup1" ... well here is the problem, i click on "Application folder" and change the "default location" ... so i can specify the program is installed in "C:ProgramFilesJohns AppCalculator" ...... BUT when i build the setup and install the program it does not appear in this location !! arghh i can see all the program files on my pc ... except mine ( i have tried all day and all night the only way i can get it to appear here is by INCLUDING the "project output" into THIS folder ..... even though i only want it to be on the "users desktop" ....

View 4 Replies

Move The App.config File To A Custom Location?

Nov 27, 2011

I have an application that has a load of values in its app.exe.config file. The application is used by a few users, and the settings would change on a regular basis. so im having to change the config file, and send it out to all users.

I'd love to move the config file to the network somewhere and point the app to this file. ive tried to use;

Imports System.Configuration.ConfigurationManager
OpenExeConfiguration("I:app configHelpDeskQuickCallLogger.exe.config")

But i cant get it to read in the values.

View 2 Replies

Specifiy A Custom Location For The Settings File?

Jun 4, 2010

I would like to be able to specify exactly where the My.Settings file gets saved. It bugs me how it gets saved off in the middle of appsettings nowhere, and I would prefer it gets saved where the executable is. If anyone knows how to do this, that would be great. (P.S; I'm using VB.Net.)

View 14 Replies

Designer Changing Location And Size Of Custom Controls

Oct 8, 2011

I have come across a problem with visual studio 2010 & vb.net. i have a few custom controls on the form and few standard controls. When i build the application, the custom controls automatically change size and location. Anchoring and Dock properties are fine. Anchored to Top Left without dockstyle. Even if i fix the location and size in design mode, after i run the application the controls again change back to weird position.

View 2 Replies

Make A Form With Icons That Have Labels Are Like Desktop Icons On Your Desktop?

Mar 20, 2010

I would like to make a image in the form representing the icon and a label below it to represent name but is there a easy way to do this.

View 2 Replies

Set Custom Context Menu Location In Visual Basic 2010?

Sep 8, 2010

how can I set custom context menu location in visual basic 2010:

View 1 Replies

Make A A Form When Send Items In Form As Like As Desktop

Nov 24, 2009

i want to make a a form when i send items in form as like as my desktop

View 3 Replies

Translate MouseEventArg.Location X,y Pixel Coordinates To Custom Grid Coordinates?

Nov 29, 2010

I want to translate MouseArgEvent.Location (x,y) coordinates into my custom graph coordinates. Mouse Y coordinates increase from top to bottom while my grid's y value increase from bottom to top. Given my following code, I would need to create 21,500 separate conditional expression for 100(y) x 215(x) possible coordinate locations for my grid.

Sub OnMouseMove(ByVal e As System.Windows.Forms.MouseEventArgs)
If e.X > 48 AndAlso e.X < 50 AndAlso e.Y > 397 AndAlso e.Y < 399 Then
MessageBox.Show("about 0,0")

[code]....

View 5 Replies

Set Location Of Child Form To A Specified Point Of Parent Form

Nov 11, 2010

how to set location of child form to a specified point of parent form.Below is my code but it is not working for setting the location.[code]

View 1 Replies

Set A Form On Desktop?

Dec 8, 2009

In my application, when the main form loads, it also loads a second form.

This form has it's ShowInTaskBar property set to False, has no control box, and is not movable by the user.

This form is only used to show information about the PC, to the User.

I need a way to make the form pretty much completely inaccessible and appear beneath all windows. When the application loads, the second form loads above other windows and you can Alt+Tab to that form.

I was wondering if there was a way to get it to"set" itself on the desktop and no appear in the application list when you Alt+Tab.

View 8 Replies

How To Make A Form Like A Desktop

Jul 25, 2009

i have two forms one is a text editer and the secone one is a big form and i want to save a file form the text editor to the secone form just like on a desktop would.

View 1 Replies

.Net Form As Part Of Desktop?

Oct 1, 2011

I've spent a while searching around and I can't find a solution to this:I have a transparent, borderless form that displays a clock. I can load this just fine, but I want the clock to be part of the desktop, so it cannot take focus, is behind other applications, and is not hidden with Win+D (similar to applications like RainMeter).

I need the solution to work with VB.Net (I'm using 2010)

View 1 Replies

Docking Form To Desktop

Oct 15, 2009

Is there anyway to "dock" a form to the desktop? I have a "child" form that will display info when the main form loads. This form is not meant for the User to interact with it. When I load the form and other windows are open, it displays over those windows until I minimize and then restore the windows. So I want to be able to dock it to the desktop.

View 3 Replies

Minimize A Form To The Top Of The Desktop?

Feb 18, 2011

I created an app that allows the user to look up pricing and search for items, to help speed up dealing with customer asking for pricing and what not. The form stays atop all windows at the top of the desktop, and is setup, currently, to shrink down (or up in this case) by double clicking on the title bar; I've disabled the minimize and maximize buttons.

How it is setup now is okay, but not as sleek as I want it to be. Is there any way to minimize the form to just the caption bar, like what happens with a command window; it minimizes to the a title bar above the start menu, but I want it to minimize to the top of the screen, almost blending into the title bar of the other open windows. Right now, the form is out of the clients way when minimized, or shrunk up, but it looks kind of lame, with a thin strip of the gray part the form still showing.

View 5 Replies

Set A Form's Location In Relation To A Picture Box In Another Form?

Sep 29, 2010

I have created a form with pictures of plants on it (note these pictures are moved to the left when the left button is pressed). When a mouse is placed over or hovers over one of these pictures i want a mini form to pop up beside the plant with the plants name on it.

[Code]...

View 3 Replies

Desktop Showing Through Picture Box On Second Form?

Nov 10, 2011

I'm new to .net programming, but I do have some experience programming. I've used a picture box to make a custom button. It works on the main form, but when I open a dialog form with the same image the transparent areas shows the desktop and not the dialog. Thishappened for images with an alpha channel and also images that used the transparency key. I tried it with a winform instead and the images with an alpha channel worked fine, but the transparency keyed images showed the screen. All

View 3 Replies

Determine Form Inside Desktop?

Dec 29, 2009

How to determine whether form is it inside the desktop?

View 3 Replies

Opening Form Causes Another Desktop App To Come To The Front?

Jul 25, 2011

I had started a similar thread http:[url].... in May but got side tracked, tried to resurrect it by posting back to it but not getting any response so I am starting anew.I have a .net 2.0, VS2010 application. I have users that occasionaly have the following occur:

Open my application, do some work, leave it open go to another application, excel, IE, Firefox, outlook come back to my application, open a new form My application form opens but instead of it being on top with the focus some other application that was previously opened (the excel, IE, etc.) pops up the user can minimize the offending application and there is my form or go to the taskbar and select my application and there is the form

This post echos my problem: http:[url]....Although my app is a windows form app.The issue arises if I had been checking my email for example in outlook or I may have had IE open for example, so the other aplications on on the desktop not minimized. Both my app and the Outlook(the other application is not important it happens with any open application) are open on the desktop. I finish checking email, I click on my app to bring it to the foreground. I then click on a button that results in opening another form. My "I am working" form pops up. The main app now ready to display the new form closes the"I am working" form, outlook comes to the foreground and I can then see the new form in my app get displayed behind outlook.

The code flow is my app is opened, a midi child is created in the main app window.a double click on a contol causes a background worker to be started. That background worker opens a form that just shows a spinning ajax control with the words "working" in it. Meanwhile the app is busy prepping a form for display.When the form is ready to be displayed the background worker is cancelled which removes the popup form and then the newly constructed form is displayed.

At first I thought this had something to do with the background worker and a different thread being created but that is not the case.I can replace the background worker with a simple popup of a modeless dialog. Of course any work done in the background worker is not done but the modeless dialog will not block the main app. And when the main app closes the modeless dialog I get the same behavior with the last opened desktop app coming to the foreground and I can see my newly created form popup behind it.

I can of course just as soon as return from the call to close the working form give my app focus but that still results in the other desktop app coming to the foreground briefly and then my app coming to the foreground, not really a solution. With that bit of info it seems that my application is for some reason giving up focus between the time the working form is closed and the main app new form pops up.My code is way to big to post and it involves DB reads so it is just not feasible to post it.I tried recreating the scenario in a much smaller project that really did not represent much of the complexity of my application and could not get the issue reproduced.

View 13 Replies

Placing A Form Above Desktop, But Below All Other Windows?

Aug 26, 2009

I'm new at the forums but not to .net development. I'm trying to make an application, which stays above the Dektop level but ALWAYS below any opened window. This application cannot be minimized, it has to be visible as a desktop background (just for getting you the main idea). As I was reading, I found that the way to make the form not to minimize is by using the WndProc function, and intercepting the Minimize message. My question is.. which of all the available messages is the correct for this case?.

P.D.3 (And last one I hope): See, the main reason of this application, is to make some kind of an "Active Desktop" function, which is not supported by Windows XP 64-bit. As XP64 doens't come with Active Desktop to use Web Pages as Desktop backgrounds, my idea is to make an application which loads certain web page and put's it on the desktop background.

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved