473,409 Members | 2,006 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,409 software developers and data experts.

COM Server & wxPython

Hi all,
i'm doing a COM server that have to expose some graphics (panels and
configuration controls), that would be embedded in an application through
OLE. I was wondering if I can do this using wxPython. Another question is
if my COM server would inherits from one of the wxPython class. If it's
true, from which? wx.App, wx.Frame, wx.Panel.

The important thing is that i would to have the same effect that you have
when you the calendar OLE control on a Delphi or VB form (you see the
graphics ;) )

thanks,
nelson

Apr 1 '06 #1
2 1424
nelson wrote:
Hi all,
i'm doing a COM server that have to expose some graphics (panels and
configuration controls), that would be embedded in an application through
OLE. I was wondering if I can do this using wxPython. Another question is
if my COM server would inherits from one of the wxPython class. If it's
true, from which? wx.App, wx.Frame, wx.Panel.

The important thing is that i would to have the same effect that you have
when you the calendar OLE control on a Delphi or VB form (you see the
graphics ;) )

thanks,
nelson


I found a mailing list message in which one person got errors trying to
make a wx.Frame into a COM server, and someone else claimed to have
made a wx app into a COM server (and unfortunately that project seems
to have disappeared):

http://mail.python.org/pipermail/pyt...ay/000349.html

If inheriting from a wxPython class doesn't work, maybe you can create
a COM server wrapper for the wxPython class.

--
Want to play tabletop RPGs online?
Check out RPZen: http://koboldsoft.com

Apr 3 '06 #2
Hi,

I do not know what your constraints are ... but, having been through the
same thought process (because there is not VB6 _free_ calendar) ... I feel
that getting to that stage _might_ justify rewriting the application in
Python/wxPython (and potentially gain cross-platform compatibility in the
process).

Philippe


nelson wrote:
Hi all,
i'm doing a COM server that have to expose some graphics (panels and
configuration controls), that would be embedded in an application through
OLE. I was wondering if I can do this using wxPython. Another question is
if my COM server would inherits from one of the wxPython class. If it's
true, from which? wx.App, wx.Frame, wx.Panel.

The important thing is that i would to have the same effect that you have
when you the calendar OLE control on a Delphi or VB form (you see the
graphics ;) )

thanks,
nelson


Apr 3 '06 #3

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

Similar topics

0
by: RJS | last post by:
Hi all, I can't get a py2exe compiled app to run with numarray (numarray-0.5.win32- py2.2). Also wxPythonWIN32-2.3.3.1-Py22 and ActivePython-2.2.1-222. In the sample below, commenting out...
2
by: flupke | last post by:
Hi, i'm developing an app in wxPython but when i have an error in the wxPython code i've written, the app starts, an extra windows is opened where the error messages are print and then it closes...
5
by: linuxfreak | last post by:
Hi guys, Has anyone installed wxPython on Fedora Core 4. Apparently it need the libstdc++.so.5 file while Fedora installs the newer libstdc++.so.6 file. I tried installing the libstdc rpm from...
5
by: Gilles DRIDI | last post by:
Does someone has installed wxPython on the Cygwin platform, environment ? Thank you Gilles DRIDI http://cdridi.club.fr
16
by: PyDenis | last post by:
Today, I found strange error while using py2exe: 1. I wrote simple program and save as 1.py: import win32ui import win32con win32ui.MessageBox('Test messageBox.' , 'Test', win32con.MB_OK |...
9
by: zxo102 | last post by:
Hi everyone, I am using a python socket server to collect data from a socket client and then control a image location ( wxpython) with the data, i.e. moving the image around in the wxpython frame....
1
by: Eric von Horst | last post by:
Hi, I need some advice on Drag&Drop. What I want to achieve is the following: - I have a window that is divided in two : on the left hand I have a wx.TreeCtlr and on the other hand a...
4
by: python | last post by:
I'm looking at rewriting some legacy VB applications and am pondering which of the following techniques to use: 1. Browser based GUI with local web server (Browser + wsgiref.simple_server) (I'm...
3
by: lee.walczak | last post by:
Hi, I have just started writing a GUI using wxpython after finding a limitation using Tkinter. I have read most tutorials on wxpython and slowly becoming accustomed considering I started with...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...
0
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...

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.