473,668 Members | 2,759 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Controlling Desktop Apps

I have a form which I want to dock to the side of a monitor (left or
right), but I do not want the form to be covered by any other apps, I need
to know how to control the desktop so that when my app runs it loads this
form, and basically takes that space away from the desktop so other apps do
not use it. Can anyone help or point me in the right directction ?

TIA
Martin
Nov 17 '05 #1
1 1314
Hi,

There are two ways..

1) Have a look for some way of setting the size of the Desktop. I can't
remember how, but someone else might, and I'm pretty sure that's the
way to go.

The Desktop size is usually the size of Screen excluding the Taskbar.
In this way, no windows can draw themselves over the taskbar. So, if
you set the size of the desktop to exclude where your App is to go, no
other Apps will occupy that space.

2) (The Easier way) Again, i'm not sure, but... I think the .Net Forms
can be set to 'Top Most' or the old 'Always on Top'. This would be alot
easier, however, any maximixed Apps would take up space behind them,
and you would be able to see them.

Hope this helps a little...

:)

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

22
4830
by: owen | last post by:
I have been developing web-based applications for around 3 years, first using ASP, and more recently, ASP.NET. I am starting to wonder if web applications are really the way forward for software. And by 'software' I mean applications, (eg. word, excel) not web sites (eg. amazon.com). I am starting to think, with the .NET framework being shipped with new operating systems, and freely available online, that a better way forward is...
8
1440
by: Greg | last post by:
I use .NET for web but I have been holding off using .NET for desktop apps. This is because I think it is lower performance and because customers would need to install Framework which is large. 1. Is .NET recommended for desktop apps? If so, are there exceptions that would still warrant using C++/MFC and not .NET? 2. Are any ISVs using .NET for major desktop apps? I don't even think Microsoft apps such as Office use .NET - will .NET be...
7
2504
by: gabe | last post by:
I've been looking unsuccessfully for resources on building apps that show up on the desktop's context menu. Any ideas?
4
2150
by: Leo J. Hart IV | last post by:
Hello, I come from a mostly web application background, but am currently working on a desktop app to be designed using VB.NET. The app will have around 15 users; I don't expect that amount to increase significantly. I'm trying to decide on which approach to use in regards to database connection handling. Should I open my database connection (to SQL Server) on application startup and hold it for the user's entire session (meaning...
0
1024
by: balu | last post by:
Hi, We are developing an client-server like application in visual basic in which a server , After connected to a client using the client's ip address , must be able to see the client's desktop and all the files opened on the client's desktop and server must be able to View selected file on the client's desktop . If a selected file is opened , It must be opened on the server. If the selected file is minimized , it must also be...
8
2175
by: GaryDean | last post by:
We have been noticing that questions on vs.2005/2.0 don't appear to get much in answers so I'm reposting some questions posted by some of the programmers here in our organization that never got answered... In 1.1 we always did our own myDataAdapter.fills and we liked that control for lots of good reasons. Now the new DataSource (or is it a TableAdapter:Dataset) automatically fills the Gridview. How can we control that fill? In a...
2
1673
by: John Brock | last post by:
At work we are using a virtual desktop manager called AltDesk (http://www.astonshell.com/), and it is causing a weird and extremely annoying problem with the VB.NET application I am developing. If I start my app, open a test form using ShowDialog() (this is a menu choice on the main app), and then switch to a different virtual desktop, the test form immediately closes (in what seems to be an abnormal way -- the Closing event is raised,...
16
20679
by: Daniela Roman | last post by:
Hello, can someone tell me the main differences between the web and windows based applications? thank you
0
8462
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8893
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8797
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8583
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8656
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4205
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4380
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2791
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1786
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.