473,403 Members | 2,359 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

ActiveX & parameters

Hello everybody,

my little problem resurfaced together with COM.
The generated .py file contains the following function:

def showApplication(self, show=defaultNameNotOptArg):
return self._oleobj_.InvokeTypes(.......,show)

The value for "show" (defaultNameNotOptArg) must be True|False.
I read in Mark Hammonds book the part over python objects and VARAIANT
types. There is True|False the the way for translation to VT_BOOL.

Now I use myOCX.showApplication(False)... but nothing, I can see the
application anyime ?
I tried it with ctypes and "ctypes.c_short(False)" but the same :-(

If I use functions without parameters or functions with string parameter
from the generated .py file, then is the sequence as expected.

Can anybody explain my mistake ?

gerd
Jan 2 '06 #1
0 810

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Kai I. H. | last post by:
Hi, I have an activeX control (programmed with c++) which is displayed in the Internet Explorer via the object tag. Now, as you probably know, you can pass parameters to the activeX control by...
18
by: DartmanX | last post by:
Is there a simple way to determine if someone using Internet Explorer has completely disabled ActiveX controls? Jason
1
by: James Pannozzi | last post by:
I have a C++ App which currently uses #import to access some ActiveX DLL's provided to me from some companies. These desktop ActiveX apps typically have a GUI with a VB form in which the desktop...
1
by: Allan Cammish | last post by:
Dear all I am developing a web application in ASP.NET & VB.NET and I need to pass parameters from the server side code to an ActiveX control which is loaded and run on the client's browser. ...
6
by: Rich | last post by:
Hello, I have to create a table in an Access mdb (remotely) on the fly. Create Table tbl1(fld1 Integer, fld2 varchar(10), fld3...) Then I have to insert data: Insert Into tbl1 Values(" &...
1
by: david | last post by:
I have created an ActiveX and load it into the Component in ToolBox in the Visual Studio IDE. After create a web form project (VB.NET), I drag the activeX component into the web form design, set...
2
by: MartyInOz | last post by:
Hi, I'm currently running Crystal Reports 8.5 from PHP using COM..(yes I know that is an older version of Crystal)...I am also running PHP on localhost. The following code: <?php $crapp =...
1
by: jb | last post by:
Hi, I've a ACTIVEX component in an ASPX(aspnet 2.0) page, and I need to pass parameters dinamically, someone know how to do this? Thanks Jesus
2
by: deccio | last post by:
I have create an activex Control with Visual studio 2005 and framework 2.0 in c# to add drag & drop functionality to upload multi file. When I use it in a windows form it work fine. Infact if I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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
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
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,...
0
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...

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.