473,499 Members | 1,568 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 3837
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
784
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...
5
60662
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...
2
4140
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...
31
2207
by: darwinist | last post by:
*With manual. http://darwinist.googlepages.com/htmldesktop.html Please criticise or contribute.
10
3619
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...
7
5788
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...
7
8605
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}");...
6
20431
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...
1
3440
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...
0
7178
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7223
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...
0
7390
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...
0
5475
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4919
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...
0
4602
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...
0
3103
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1427
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.