embedded-control

How do I embed Media Player in a C# MailMessage to play an Attachment

I'm using a C# MailMessage to attach a wave file (8K) to an email message. I'd like to provide a player within the body of that email message that will play that wave file if the user chooses to do so. I've tried using the embedded <object> version of WMP, and a cid: reference to the file, but Outlook 2003 rejects the object tag and wo...

How to embed a browser object, other than IE<n>, in a Delphi application

Using the default TWebBrowser makes things easy to embed a web browser. Unfortunately the one that comes in by default is IE<n>. I'm wondering how does one integrate a Gecko or WebKit one. Are there VCL examples somewhere? If not, how would one go about doing it? Where's the best place to find the core for Gecko and/or WebKit in an em...

Stop embedded Windows Media Player from looping?

I've got an embedded Windows Media player in an HTML page, and when the audio gets to the end, it just starts again from the beginning. According to the documentation, there's an autorewind parameter/attribute and also a loop. The problem is, I've set both of those to false (and/or zero) and it doesn't seem to make any difference. Mig...

Internet Explorer control uses IE7's own settings for ClearType and font size, can I override them?

I'm embedding an IE control into my C++ application. The problem is that although system-wide, ClearType is disabled, IE7 has its own separate setting, and unless I specifically disable that too, text inside the IE control will be antialiased while the rest of the app will not. The same goes for IE7's font size setting. It wouldn't be ...

Maintaining state between two machines

We have two industrial controllers that are used to control critical systems. The idea is that on failure of one controller, the other controller will automatically take over. To ensure the swap over is seamless, each the standby controller must mirror the state of the online controller at all time. We have a solution, which is poorly c...

Open a new browser window from embeded Internet Explorer

I am working on a Windows desktop app (C++) that has an embedded Internet Explorer page. I'm working on the html page that is displayed in the There is not a back button control, so one of the requests is that links clicked on in the page should open the link in a browser window. It can open the link in the users default browser or in IE...

Trap errors on load for IE embedded UserControl

I have a UserControl (.dll) that is embedded via the object tag in a asp.net page, normally the control loads fine but when it does not it only shows a blank page with a icon in the top left corner. Is there any way to trap any errors or view any error messages during the loading of the UserControl? The visual studio 2008 debugger does n...

How to determine the Window size in IE for a window to be opened from the COM API?

I'm using the IE control embedded in an application. Works as advertised. When a user opens a new browser window I intercept the NewWindow2 event and force it into a new tab. However for a certain class of windows I want to allow a popup. Most notably a few windows legacy applications that use popup windows instead of Ajax for Date or Na...

How do I Control a Device’s Embedded Control Software in C# using HTTP?

I have a piece of hardware with an embedded user control accessed by typing the device's IP Address into a web browser. The device is connected directly to my PC via x-over ethernet cable and static IP's. I need to integrate the control of the device into my C# application. My thought was to use a packet sniffer to monitor the traffic ...