external

How would I host an external application in WPF?

How can I host a (.Net, Java, VB6, MFC, etc) application in a WPF window. I have a need to use WPF windows to wrap external applications and control the window size and location. does anyone have any ideas on how to accomplish this or a direction to research in? ...

How to call external command in Python

I want to be able to call external command in Python. Thanks for your help! ...

Load external JS from bookmarklet?

How can I load an external Javascript file using a bookmarklet? This would overcome the URL length limitations of IE and generally keep things cleaner. ...

How to disable right click menu in external launched applicaton

Good day. I have a program thats launches an external application. That external app has a right click sub menu on it which I need to disable. Is it possible (without modifying the external app) to disable the right click? Maybe permission or group policies and etc. Thanks. ...

Subversion, external references, binaries, and MSBuild/Visual Studio

I have a project that is stored in a Subversion repository. In this repository, in a different folder, I have a set of libraries that I use in many of my projects. These libraries are stored as binary files, ie. the dll's, pdb's, and xml's. Here's an example layout: <repo-url> \Libraries \SQLite \SystemHooks ...

runtime font loading in Flash/AS3

Imagine you're creating a presentation that will be translated into a dozen different languages, including ones with non-latin characters (Chinese, for instance). The client's branding style guide dictates that certain fonts are acceptable for certain languages. The content itself is required to be externalized, so that the text can be r...

always try-catch external resource calls?

Should I always wrap external resource calls in a try-catch? (ie. calls to a database or file system) Is there a best practice for error handling when calling external resources? ...

How does the Gaia Flash Framework access the scaffold.as file?

In the Gaia Flash Framework, a file called 'Scaffold.as' is used to make each page a scaffold page. This is accessed by the code, new Scaffold(this); But the class itself does not appear to be imported. Am I missing something about the way flash handles external classes? Or is there something else pulling it in? Any help appreciated....

dimensions of loaded swf's stage

Here's the situation - I've got a shell that loads an external .swf. Now, that .swf is 800x600, but it's an animation piece, and there are elements that extends off the stage. When I load the .swf into the shell and call its width attribute, it returns 1200 - because it's including the elements that break out of the stage. This isn't wh...

Netbeans and external configuration files

I am developing a Java desktop application and would like to have an external configuration.xml. I am developing the application using Netbeans and tried to add the configuration.xml file in the dist directory so that it resides in the application work folder. But when Netbeans executes its clean operation it deletes the dist directory, ...

What are the differences between using an iframe and ajax to include the contents of an external page?

I have been reading up on this, and it seems that if you use ajax you can only bring in content that resides on the same domain whereas with an iframe you can bring in content from any domain. Is that the case? What other differences are there? ...

The same script using two js files?

I admit, I don't know too much about javascript, mostly I just "steal and modify" from Javascript.com and Dynamic Drive. I've run across a few scripts that call two .js files <script type="text/javascript" src="lib/prototype.js"> </script> <script type="text/javascript" src="src/aptabs.js"> </script> and was wondering why, can I...

external interface

I have a calc function in java script that takes three integer parameters, following is the AS3 code import flash.external.ExternalInterface; var para:Array = new Array(); send_btn.addEventListener(MouseEvent.CLICK, clickListener); function clickListener(eventObj:Object ):void { para.push(mean.text); para.push(std.text); p...

sync online order portal with local DB

So we're building a locally(at customers site) hosted, custom point of sale system, nothing too much out of the ordinary. Its all .NET, C# and SQL Server. One of the requirements is that the system allows orders to be taken over the internet as well. For various reasons(connection reliability/speed, backups, stability, maintainance, et...

Interacting with actionscript 2.0 using javascript

As the title says... I'm trying to interact with my flash movie's actionscript via javascript. Specifically I'm trying to send text to my flash movie. I've come across a couple sites that had some walkthroughs but I for the life of me could not get them to work. From the adobe site. http://kb.adobe.com/selfservice/viewContent.do?externa...

Delegate as external class in Objective-C

I'm creating a simple project for iPhone, using XCode and Interface Builder. While I understand what a delegate is, I have a problem with using it. I have an UITextField in my interface. It displays keyboard when user taps on it, but I need to program manually how to hide keyboard. It can be done using delegates. So in IB, I'm taking Ob...

Eclipse: How to build an executable jar with external jar?

Hi all, I am trying to build an executable jar program which depends on external jar downloaded. In my project, I included them in the build path and can be run and debug within eclipse. When I tried to export it to a jar, I can run the program but I can't when I try to press a button which includes function calls and classes from the ...

.NET - Find external applications main thread ID.

I'm trying to find the handle of the main thread of an external application. The program I am trying to find the main thread of is multithreaded and it is important I always find the main thread. I know that at most there will be one copy of this program running. This is how I am doing it at the moment: Process[] someProcesses = Process...

Adding GUI controls to external program

Hi all, is it possible to add buttons or menu items to external programs? For instance, adding an menu item into notepad itself which will show a messagebox (after clicking on it) with the current text within notepad. if yes, is there a url which gives some more details about it? looking forward to your answers. ...

Access to elements defined in MXML from External AS

Hi guys, I have a mxml with a form, and inside it, two TextInputs. I hate having any piece of code inside the MXML file (I come from a Javascript formation) so I use a mx:Script source="external.as" tag to include any code used in any MXML file. The problem is that if I have this code on the external.as file: private function popul...