473,387 Members | 3,033 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

User Control Odd Behaviour


I have written a 'File Manager' control which combines a TreeView and
ListView and incorporates Explorer's Context Menu.

The Solution contains three projects, the control plus two test apps.

I am seeing different behaviour from the control depending on which
test app I run, VS.NET seems pretty good at keeping the versions up to
date but I have manually deleted and re-added the control but it makes
no difference to the behaviour.

When I right click on a file in TestApp1 the context menu appears and
the 'Open With' item gives the choice of 4 program plus 'Choose
Program...'.

In TestApp2 choosing the same file the Context Menu only gives a
choice of 2 programs (plus 'Choose Program...').

This happens with several different file types.

All the code is in the control itself, not in the test apps.

I really don't know where to start looking for an explanation of this,
I thought that having designed a control it would behave the same
wherever it was used.

I have even used two different methods of calling the Context Menu,
one is 'native' (in C#), the other is a DLL built in C, whichever I
use I still get the same behaviour.

Can anybody give me any guidance on ensuring the control behaves in
the same way wherever it is used? It makes debugging and testing
interesting with this inconsistency :-))

Many thanks.

--
Jeff Gaines Damerham Hampshire UK

Nov 15 '05 #1
0 996

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

Similar topics

9
by: Bob Cummings | last post by:
Greetings I have googled this to no avail, maybe someone here can help. I have a user control that has several radio buttons and text boxes. I place 5 of these user controls on a windows form....
2
by: Kiran | last post by:
Hi, I use a lot of web user controls for web development. And I need all your views on this. (1)Does the functionality(Logic part) of a web user control should be included in the aspx page...
3
by: jonathan.beckett | last post by:
I have been experimenting with placing user controls (using Windows Forms controls) into an ASP.NET webpage - and am completely stuck. I can get a blank user control to work, but nothing beyond...
4
by: BerkshireGuy | last post by:
I have a form, with a subform that changes AllowsEdits,AllowAdditions, etc depending on who is coming in. This is done by using the OpenArgs and is working fine. However, if the user is...
0
by: Ben Crinion | last post by:
Hi Im having a bit of a problem with an exception that doesnt seem to be bubbling up from a user control to its containing user control. The exception can occur on an event fired by a user...
0
by: Dave A | last post by:
I have a user control that is dynamically loaded into a repeater; (so the user control appears several times) The user control features a text box and a delete button. When the delete button...
2
by: =?Utf-8?B?UGhpbCBKb2huc29u?= | last post by:
Hello, I have a page that contains a user control that is nested within other user controls... the nesting is quite deep, not sure exactly how ddep but there is a control inside a control inside...
6
by: Gouri.Mahajan7 | last post by:
Hello, When I press the button on the web page I am loading the user control on the web page. This user control is invoking some methods of the web service. The control on the web page is loaded...
5
by: =?Utf-8?B?UGF1bA==?= | last post by:
Hallo, I have a radiobuttonlist control that is added on a custom Web User Control. This control has a property that exposes the SelectedIndex property of the embedded radiobuttonlist. When...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...

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.