control

vb.net calling a sub routine on a user control

I am very new to development and I have a question about my user controls. I have a panel2 inside a split container that has several user controls loaded into it. Panel 1 has an exit button and I want to call one of the sub routines that is in one of the user controls loaded into Panel2. Private Sub btnExit_Click(ByVal sender As Syste...

Control an embedded into website flash player with Python?

Hello, I am trying to write few simple python scripts, which will allow me to control one of the Internet radio (which I listen) with an keybinded python scripts. I am now able to connect and log into the website, I am able to get out the song data ( that is - all the data which are passed to the player). I noticed, that the player is...

ASP.NET dynamically reassign controls in the control tree

Let's say I have a custom control that looks like this <cc:MyControl runat="server" ID="myc" LinkControlID="NewParent" /> and, on the same page: <asp:TextBox runat="server" ID="NewParent" /> What I would like to do is, from MyControl, change NewParent's parent so that it would be part of MyControl's Controls collection. When I try ...

WPF Databinding based on conditions

Goal Develop a custom control which displays summary data for a specified week. The data passed in would be as follows: 3rd May 2009 Customer A $2000 4th May 2009 Customer A $3900 6th May 2009 Customer B $1900 The expected display would be 3rd May 4th May 5th May 6th May Cu...

WPF Reference ScrollContentPresenter of ScrollViewer Template

I have a WPF ScrollViewer, and I would like to get to the ScrollContentPresenter of it's template. ...

Has any one use jameleon along with cruise control for testing Java GUI applications

I am looking for tool for java web applications as well as testing other components in a project. Just found a tool jameleon. Want to know whether I can carry on with this for developing automated regression tests. ...

What is the name of this Mac OS X control?

Does this control have a name? Or is it just a bunch of simple controls merged together? If so, what controls are they? http://img8.imageshack.us/img8/3002/picture2xrb.png ...

Best practices of building composite custom controls WPF

Hello! Can You tell me about subj? For example I need to create new custom control that must be derived from datagrid and toolbar. And I want that new control to expose/propagate properties of base controls in order they to be accessed easily. The only way I know is deriving a class. Then descendant automatically gets all properties of a...

Asp.net Time Input Control Suggestions

Can anyone recommend a Time Input control for an asp.net web application? It should be able to handle the following items Am/Pm 24 Hour client side validation client side completion (if you start the hour with a 3 then jump to minute) one textbox (not separate textboxes for hours and minutes, or drop downs) ability to actually type ...

WPF Visual Studio Templates - extend tabitem

I'm working on a wpf project in visual studio 2008. I would like to add a xmal and xaml.cs file that describe a TabItem. Templates exist for "Page", "UserControl" and others but not TabItem. How do I either make my own template or accomplish this without a template? Thanks! ...

Silverlight 3 - ScaleTransform or other method to zoom in a Canvas?

I need to be able to zoom in and out of a Canvas using the mousewheel. I have successfully set up the mouse wheel handlers and am currently using a ScaleTransform to apply the zoom; however, the scaling is not done in an "intuitive" way. I'm trying to accomplish the same style of "zooming" as you can see in MultiScaleImage, Google Ma...

Is there a way to use a class as a class factory for user controls?

Is there a way in .NET 2.0 to use a class as a class factory for user controls? In other words, 1 super that sits there and when I want a user control, it creates it and returns it to me. It seems it needs the ASP namespace which I can't seem to get it to reference. I have a masterpage with a placeholder. Depending upon the user's authe...

c# Winforms Controls rendering the components they are positioned over to a bmp (intelligent screenshot?)

The problem: I have a UserControl (LightBox) which overlays a number of other controls to allow the user to see the controls it is positioned over, but not allow the users to interact with the controls under the Lightbox. Winforms is (almost notoriously as I'm finding out) bad at handling alpha-blending. Question: How can I get the Li...

WPF Browser Control - does not run scripts on vista but is fine on XP - why ?

I have an WPF application that hosts a <WebBrowser x:Name="WebBrowser" /> control. After loading I set the control to navigate to a web camera. this.WebBrowser.Navigate(this.NodeUrl); This web camera will run some active X controlls. On an XP machine in the rgular broser IE7 these run fine and I see video. But the hosted browser in t...

website downtime control strategies

Could someone pointing out what is the best way to control the website downtime; especially when having many sites running? ...

How to populate listview with a lot of information without blocking?

Hi there! I am creating an array of ListViewItems on a background thread and then i populate my listview with it on the ui thread. The problem is that if the array is too big the ui blocks while the listview is updated. Is there a way to populate the listview with a small impact on the ui? ...

How do I determine when to show a tooltip?

I'm writing a calendar control in .Net WinForms that will show a tooltip for each date. What's the best way to determine when to show the tooltip? Showing it immediately in MouseMove would make it get in the way, so I'd like it to show when the mouse hovers over each date cell. The MouseHover event only fires on the first hover after ...

Avoiding control paint spam (during the heavy update of treeview, listview controls)

I've got an application which adds 10+ items to a treelist every second. This causing the control and UI to unresponsive and sometimes can't even paint it enough, also consumes a lot of CPU. These new items coming from different threads so I can't use .BeginUpdate() unless I do some sort of local caching. If I do BeginUpdate() and EndU...

How do I create control tables in DB2 UDB for setting up new replication

How do I create control tables in DB2 UDB for setting up new replication ...

A "Windows Explorer" Type Interface in ASP.NET?

Does anyone know of a third party control or set of code that allows directory browsing integrated into a web page that uses master pages? So I'd need a content control that I can simply give a local server directory to as a root directory and it will display any files and directories in the browser underneath the root. I don't need any...