embedding

How can I embed firefox in a GUI application?

Has anyone ever embedded the firefox web browser technology in their own [unmanaged] C/C++ GUI application in the same way that IE can be embedded as a COM object? (I would like to do this on Linux, not Windows). Are there "better" alternatives to firefox? I'm open to anything as long as I can use it with non-GPL code. My needs are f...

What are the possibilites to embed content from other pages on my own page

Hello this is may first question and I have found so far the following alternatives: ServerSideInclude embedding complete pages via iframe to parse xml and translate into html It would be nice, if you have some more suggestions. Thanks for your patience. Best regards Matthias Günther ...

How to handle value types when embedding IronPython in C#?

There is a well known issue when it comes to using .NET value types in IronPython. This has recently caused me a headache when trying to use Python as an embedded scripting language in C#. The problem can be summed up as follows: Given a C# struct such as: struct Vector { public float x; public float y; } And a C# class such ...

CSS Hide Youtube Video not working in IE

I have a youtube video like so... <object id="video_1" class="a_video ....... However the css for a_video: display:none; Isn't hiding it in IE. Anyone know how to hide embedded youtube videos in IE? ...

@font-face and letter-spacing in webkit

I just discovered that letter-spacing doesn't always work in webkit (and perhaps other browsers?) when embedding fonts. I've tried it on two different fonts and received different results. "League Gothic Regular" will work http://www.theleagueofmoveabletype.com/fonts/7-league-gothic "Quicksand Light" will not http://www.fontsquirrel...

why does firebug debugging sometimes work and sometimes not?

I want to debug a javascript file that is embedded in the HEAD element. I navigate to the site, see the code, and make a breakpoint: But when I click on Reload, the script disappears and it doesn't stop at the breakpoint: Debugging was working earlier so I know it works in general. What do I have to do so that Firebug always debug...

C++: GUI libraries for embedding into an interpreter

I've got my interpreter up and running - quite bug-free and stable for now - now I want to add some visual options to my language to play around. What is a good GUI library easy to use and mainly easy to embed and "link" to my programming language? What general rules do I have to follow? I'm currently on XP with Microsoft Visual Stud...

Problem with fb:swf in Opera

Hi, I am embedding my flash game in the following way, which runs fine in IE, Firefox, Chrome but doesn't play in Opera. Please suggest what is wrong here. <div> <fb:swf waitforclick = "true" wmode = "opaque" width = "640" height = "480" imgsrc = ""http://mygame.jpg" ...

Embedding Python and adding C functions to the interpreter

I'm currently writing an applications that embedds the python interpreter. The idea is to have the program call user specified scripts on certain events in the program. I managed this part but now I want the scripts to be able to call functions in my program. Here's my code so far: #include "python.h" static PyObject* myTest(PyObject...

PHP: testing two double-variables gives different result without changing the variables

Dear All, in my code i have two double values. Lets call them $a and $b. now I want to test which one of them is larger, so I wrote the following: print ($a > $b ? "larger\n" : "smaller\n"); print ($a > $b ? "larger\n" : "smaller\n"); strangely the result is larger smaller does anybody encountered a similar problem before? This pr...

Embedding a scripting engine in C++

I'm researching how to best extend a C++ application with scripting capability, and I am looking at either Python or JavaScript. User-defined scripts will need the ability to access the application's data model. Have any of you had experiences with embedding these scripting engines? What are some potential pitfalls? ...

Embedding Python in C: Having problems importin local modules

I'm needing to run Python scripts within a C-based app. I am able to import standard modules from the Python libraries i.e.: PyRun_SimpleString("import sys") But when I try to import a local module 'can' PyRun_SimpleString("import can") returns the error msg: Traceback (most recent call last): File "", line 1, in...

Concatenative language inrepreter in Java

I'm interested in finding a concatenative language interpreter in Java. Ideally, it should satisfy the following conditions: It has an interpreter, not (only) a bytecode compiler for JVM. The language itself has decent documentation, not only a few examples and a "I'll document the rest someday" notice. The project is not completely ab...

need a web browser in my desktop application

part of the specification of this desktop application is to have a mini browser built in, so that you can enter URL, and navigate the site as you would on a normal browser. Access to the browser page's DOM is required, should let me programmatically change the rendering view of a page, should be cross-platform, renders javascript JDIC s...

How to declare different non-JPA annotations on embedded classes

@Embedded public class EmbedMe { private String prop1; private String prop2; } @Entity public class EncryptedEmbedded { @Embeddable private EmbedMe enc; } I am current using Jasypt for encryption. Is there a way to indicate that the @Embeddable in EncryptedEmbedded will use @Type(value = "newDeclaredTypeHere") per attr...

Importing ctype; embedding python in C++ application

I'm trying to embed python within a C++ based programming language (CCL: The compuatational control language, not that any of you have heard of it). Thus, I don't really have a "main" function to make calls from. I have made a test .cc program with a main, and when I compile it and run it, I am able to import my own python modules and s...

Display embed images in Flash/Flex Builder

Hi, i'm using image embedding in Flex 4 (the same goes with Flex 3). I have one class with a lot of [Embed(source="../assets/icons/icon1.png")] public static const image:ClasS And i reference them using: <mx:Image source="{imagesResources.image}"/> When i run the application i see the icon but in Flash(Flex) Builder i can't see th...

How to perform "shell" icon embedding in Visual Studio 2010?

As far as I can tell, there have been (at least?) three types of icon embedding. There's the original style used by shell32.dll and friends, .Net's embedding, and the new type that WPF uses. I'm looking for how to perform the first one, as I want to have a few other icons available as resources for a jumplist, which can only accept that ...

Powerpoint displays a "can't start the application" error when an Excel Chart object is embedded in it

This is a very common problem when Excel Worksheet or Chart is embedded into Word or Powerpoint. I am seeing this problem in both Word and Powerpoint and the reason it seems is the COM addin attached to Excel. The COM addin is written in C# (.NET). See the attached images for error dialogs. I debugged the addin and found a very strange ...

WPF UserControl Embedded Animation

Hi all, I have a UserControl called Beetle.xaml which has animation makeing the legs move. So far so good. I added this to my Background.xaml page by decaring the xmlns and xaml as: xmlns:my="clr-namespace:Intellident.Liber8.GUI.Theme.Jungle" and <my:Beetle VerticalAlignment="Bottom" HorizontalAlignment="Left" Margin="180,...