window

open new silverlight window when button click

i created a silverlight window and i whant it to appear when i press a button, how can i do it? it does't has a "show" method... ...

Calling WPF Control Library

Hi all, When I want to show user a (windows) form which resides in a DLL (in this case Form1), I use the following code from another executable; Assembly a = Assembly.Load(System.IO.File.ReadAllBytes("mydll.dll")); Form MyDLLFormInstance = (Form)a.CreateInstance("myNamespace.Form1"); MyDLLFormInstance.Show(); Now, I created another D...

Closing Window in IE8

I have a some javascript that calls is calling for a popup (media player) to load. That works But I want the parent page to close or not even appear to have opened. This works great in Firefox. Code is: window.open("radio.html","Levante_Radio_Live","width=323,height=281,scrollbars=no,menubar=no,location=no",); window.close(); ...

How to change height div on window resize?

Hi Guys, I have a div on my website that should be the height of the window. This is what i got: $(document).ready(function() { var bodyheight = $(document).height(); $("#sidebar").height(bodyheight); }); However, it does not automatically change when the window is resized? Does any body know how to fix this? Thanks ...

How to get informed if your PopUp window was blocked?(HTML JS PHP)

How to get informed if your PopUp window was blocked BY pop up blocker? (CODE EXAMPLE NEEDED) ...

Reference to Window in Android

How do you get a reference to the window from outside of an Activity or from the context? Is it possible to access the window without having a reference to an activity? ...

Cross-thread operation not valid: Control 'listBox2' accessed from a thread other than the thread it was created on.

after entering some text in textbox control (C# window application)and pressing button it will raise two events one is button click and another is my application defined event. im not able to catch the event. and im getting this error. how to solve this ... pls help.. ...

How can I open a Shell inside a Vim Window?

I can open a shell by using the :shell command in Vim, however I can't edit a file and at the same time use the shell. Is there any way to split Vim in many Windows (or tabs), and have a shell opened in one of them? ...

How to display a window on top with Java ?

I have the following code to display a message : JLabel A_Label=new JLabel("Updating channels ..."); A_Label.setFont(new Font("Times New Roman",0,16)); A_Label.setForeground(Color.BLUE); A_Label.setHorizontalAlignment(SwingConstants.CENTER); JOptionPane pane=new JOptionPane(A_Label); Object[] options=new String[]{"OK"}; pane.setOptions(...

how to create setup of database

how to create setup of database. I have windows application in c#.net i am able to create setup of my application in vs2008 but i want to create my MySql database server setup for multiple clients of my application. Please help me... ...

Have to find if some window name has some string on it with python

First of all, I get the name of the current window win32gui.GetWindowText(win32gui.GetForegroundWindow()) k, no problem with that... But now, how can I make an if with the result for having an specific string on it... For example, the result gave me C:/Python26/ How can I make an True of False for the result containing the word,...

How to see the status of my application created using launch4j

Hi All, I have created on exe application using launch4j.I created it in GUI mode and when i run the application it is not displaying any window or anything but i am able to see that the process is running internally.Can anyone specify what i need to change so that i able to see the status of the application in a window when i run the a...

facebook connect

hi friends i m developing website which has facebook connect functionality, all the websit is working well with facebook connect, but only problem is that when i click to the logout button of facebook connect i got the popup window with the facebook CSS, which is not showing correctly, i want to change or update the CSS of facebook conne...

How do I take out the focus or minimize a window with Python?

I need to get focus to a specified window, and the only way I'm seeing on my head, is minimizing all windows on front of it until I get the right one... How can I do it? Windows 7, and no specific toolkit.... Every type of window, for example, firefox and console command ...

Problem with custom aero window

Hi all, i ran into a problem while developing my own custom WPF Aero Window. I created a custom WPF control derived from Window I created a Generic Template (for XP an Non-Aero-Clients) and i set the WindowStyle to None and the ResizeMode to CanResize. I designed my own title bar. Everything fine. At the moment i'm doing the same ...

Printing prn file in window service.

I am unable to print prn file on network printer from .Net window Service. I use File.Copy method but it does not work. I use cmd.exe through Process.Start method but it does not work. But If I copy the same code in windows form application then it works fine. Can anybody help me. ...

Popup window won't close until I click the alert shown on the parent page

So the child popup window won't close until I click the alert button, however, when I use the resize method for the child, it resizes before it shows the alert. Here is the code on the parent page: function ClosePopup(objWindow, strMessage) { objWindow.close(); //objWindow.resizeTo(30, 30); if (strMessage != '') { alert(str...

pywinauto: taking more than one app windows

I have a GUI application which can create many similar windows on desktop. All windows have same title. I have to enumerate all dialogs with same title and make some tests against each of such dialogs. If I call: dialog = app['Window Name'] pywinauto returns a WindowSpecification object which is useful along with accessing controls b...

how to create window that opened when close main window??

Hi everyone .. Iam a absolute Beginner in QT.. i am trying to create window that has only text and one push button when you press it, you will get another window that has menu for program .. but Unfortunately, i didn't know how can i create new window and connect it with main window! so, i need to helping you ...

Which command line tools can I use to get the currently active application / window on each platform?

I'm trying to create an AIR application to log application usage and the only easy way to get information from the system with AIR is using command line tools and scraping stdout. I know about tools like top and ps for OS X, but neither of them seems to tell me which application / window is active, maybe I shouldn't even be looking for ...