473,800 Members | 2,304 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

GetEntryAssembl y Screen Positon

C# WinForm Project, VS2005:

I'm writing code in CAB Module. I need to be able to identify the screen
location of the Shell for the project at runtime. I don't have direct access
to the Shell, so myShell.Locatio n doesn't seem like an option. I've tried
using reflection (GetEntryAssemb ly()), but I'm not coming up with the right
combination of calls to get the screen location (note that the assembly
location, which is a path to the executable is right there). Any suggestions?

Thanks,
Randy
Jun 27 '08 #1
0 999

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

Similar topics

0
1416
by: Kenan | last post by:
hi, i want to get the part of a text where i click (where the mouse positon is) as it's done in glossary program "babylon". this text can be any part of a name of an icon,a window title,edit,static, etc. n thanks for now.
1
571
by: SS | last post by:
Assembly.GetEntryAssembly(); is returning null in asp.net. it works fine with Win apps. How to get the entry assembly in web apps
0
926
by: yy | last post by:
Hi,i want to make a control.It is made of a trackbar and numbericupdown.I expand its funtion,and it can drag the trackbar to control the number.When i click the control,it can popup the trackbar undow the numbericupdown. My problem is when i use double screen ,and trackbar is in the other screen but not in the current screen.My trackbar location sentence is: trackForm.Location = this.Parent.PointToScreen(new Point(this.Left, this.Bottom));
0
1605
by: Adnan Selimovic | last post by:
Hi folks! In which circumstances does this method return null. Assembly.GetEntryAssembly() I have two web application DLLs. The first is calling a method in the second one. The GetEntryAssembly() method returns null if called in the second assembly Cheers,
4
1036
by: Carmen de Lara | last post by:
hi all, i have a master detail form. In the datagrid control i have the following code Private Sub dtgCobD_CurrentCellChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles dtgCobD.CurrentCellChange Dim Val As Intege MessageBox.Show("Col is " & dtgCobD.CurrentCell.ColumnNumber & ", Row is " & dtgCobD.CurrentCell.RowNumber & ", Value is " & dtgCobD.Item(dtgCobD.CurrentCell) Val = dtgCobD.Item(dtgCobD.CurrentCell.RowNumber, 0...
4
3896
by: Andy | last post by:
Hi, I was wondering if it was possible to get the Entry assembly for the default application domain (and how to determine what the default app domain is..). I'd like to get to it for logging purposes, and it would be nice it the object can discover that one its own, instead of trusting that a string it was passed is actually the name of the application.
0
3287
by: Jeffery Tyree | last post by:
I have a machine that will be used to demo some Excel spreadsheets at a convention. Because I did not author the spreadsheets and attendees will be allowed to play with the spreadsheets, I needed a way to periodically restore the original versions. In addition to the "always-on-top click this button to reset demo" application I wrote, I chose to use screen saver code to reset the demo after a period of inactivity in the event an attendee...
3
1484
by: Peter Oliphant | last post by:
I'm programming using MS VS VC++ 2008 Express (Beta 2) in /Cli pure mode. I've found the Screen class. With it I can very easily get the count and all the data on the various Screens attached to a system, whether it be a single screen or multiple screen system. I believe the FromControl method of the Screen class can be used to determine which Screen a Form is on. But I can't find how I can place or move a Form onto the Screen of my...
0
4589
Shashi Sadasivan
by: Shashi Sadasivan | last post by:
Hi All, i Have an application functionaluty which has 4 forms which are needed to interact by the user by dragging data from these forms to one another the main form is located in the MDI Parent and the rest are on their respective screen (3 other secondry screens) At the moment i am testing using 2 screens but i get a very similar behavious when i run it on a 4 screened system. For the 2 screen system: form1 opens in primary screen (ie...
0
9690
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
9551
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10505
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
10275
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
10253
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
6811
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5471
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
5606
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4149
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

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.