473,624 Members | 2,232 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to open a new window that runs with ActiveX object?

109 New Member
Hi.. i want to create an application that run with ActiveX which allow user to keep in some data. This activeX window will pop up when user click on a button inside a PHP page. How do i do that?

Thanks!
Aug 14 '07 #1
5 3852
Purple
404 Recognized Expert Contributor
Hi Skyy,

You can do this with javascript by firing the following:

Expand|Select|Wrap|Line Numbers
  1. window.open("your_url","win2","menubar=no,width=520,height=310,toolbar=no,status=yes,top=300,left=300")
from the onclick event on your form. change your_url to the url of the page you want to run..

Regards Purple
Aug 14 '07 #2
skyy
109 New Member
Hi Skyy,

You can do this with javascript by firing the following:

Expand|Select|Wrap|Line Numbers
  1. window.open("your_url","win2","menubar=no,width=520,height=310,toolbar=no,status=yes,top=300,left=300")
from the onclick event on your form. change your_url to the url of the page you want to run..

Regards Purple

Hi thanks.. that works well with the URL..

But do you have any idea how to declare an activeX object linking to the pop up window? As in not using URL for the pop up window but a activeX application..
Aug 14 '07 #3
Purple
404 Recognized Expert Contributor
Hi Skyy,

have you taken a look at the <object> html element, read more here

by combining this with the javascript you will get your popup running the activex control.

let me know if this is not what you are after...

Regards Purple
Aug 14 '07 #4
skyy
109 New Member
Hi Skyy,

have you taken a look at the <object> html element, read more here

by combining this with the javascript you will get your popup running the activex control.

let me know if this is not what you are after...

Regards Purple
Hi.. yup i am trying to use the <object> tag to insert the object. Do you know if its possible to insert c++ object?

If cant then i will have to create a ActiveX object and insert it using the <object> tag.

Thanks!
Aug 15 '07 #5
Purple
404 Recognized Expert Contributor
Hi Skyy,

its not something I have tried, the book says:

"Initially the object element was used to insert ActiveX controls, but according to the specification, an object can be any media object, document, applet, ActiveX control or even image."

My suggestion would be to ask this question in the C/C++ forum for a definitive answer and some assistance.

Regards Purple
Aug 15 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

0
796
by: Engin H. | last post by:
Hi everyone i reference a windows control Library,which i developed, in an ASP.NET web project. I need to open a pop-up window(an aspx page) from this ActiveX(Windows Control Library) using some parameters that i set in activex.Can anybody help me about this issue? Thanks Engin H.
5
60670
by: VR | last post by:
Hi, How can I open a web site in a new browser window from a regular windows form? (not an ASP.NET) Do I have to use a COM ActiveX control or is there anything like that already built in in .NET? Thanks, VR
2
4147
by: Peter S. | last post by:
I have an ASP.NET page that invokes a web control written in C#. What I want to do is (based on the session ID) display a certain spreadsheet that exists on a network drive. I want the webcontrol to open the spreadsheet using my log on credentials since they won't have priviliges to access their particular file from the network drive. BTW, I am guessing I will have to use HTTP as this file exists in a Sharepoint document library. I can...
31
2237
by: darwinist | last post by:
*With manual. http://darwinist.googlepages.com/htmldesktop.html Please criticise or contribute.
10
3632
by: Andrew Neiderer | last post by:
I think I am asking the right newsgroup. If not maybe someone could tell me where to ask this "beginner" question. I want to click on an image (.jpg) that launches a Microsoft window (cmd.exe or command.com) which executes some .exe, e.g googleearth.exe. I know this is simple for most of you but I am just starting XHTML. I think it begins with <html> <body>
7
5812
by: Toccoa | last post by:
After considerable googling - I mean searching with Google(r) - I could not find javascript on a button or <a href=... to close a window in the latest versions of IE and FireFox. There seemed to be two techniques for earlier versions. But the window.opener='' ;window.close(); and the window.open('','_parent','') ;window.close(); techniques do not work for me. I.e., I still get confirmation message
7
8630
by: =?Utf-8?B?Vmlua2k=?= | last post by:
public void sendKeysTest() { Process myProcess = Process.Start(@"C:\winnt\system32\cmd.exe"); SetForegroundWindow(myProcess.Handle); if (myProcess.Responding) SendKeys.SendWait("{ENTER}"); else
6
20441
by: Filips Benoit | last post by:
Dear All, All 3 codes, copied from internet, triggers error 429 : ActiveX component can't create object ! No compile error. I have the reference set to Adobe Acrobat 7.0 Type Library I do not have the full version of Adobe Reader 7.0 ! The final goal is to print a PDF-file from access after selecting the file in a browser.
1
3447
by: SilverGS | last post by:
I want to automatically open a Command Window from the Startup folder in Windows XP. right now after XP starts, I click on Start run, cmd and then when the command window is open I type in a bunch of commands to start a program and I leave the command window open as the program I am running runs in the command window. How can I invoke the command window via a .bat file, and then run my commands automatically? I have the second part...
0
8242
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8177
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8629
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8488
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6112
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5570
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4183
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1793
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1488
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.