473,473 Members | 1,918 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Adding to VB

***
I'm looking for a simple way to add python scripting support to a VB
project so that I can have a python script modify what the vb program
does. A
Jul 18 '05 #1
5 1370
*** wrote:
I'm looking for a simple way to add python scripting support to a VB
project so that I can have a python script modify what the vb program
does. A


Throw VB away - use only Python.

Reinhold

--
Wenn eine Linuxdistribution so wenig brauchbare Software wie Windows
mitbrächte, wäre das bedauerlich. Was bei Windows der Umfang eines
"kompletten Betriebssystems" ist, nennt man bei Linux eine Rescuedisk.
-- David Kastrup in de.comp.os.unix.linux.misc
Jul 18 '05 #2
*** wrote:
I'm looking for a simple way to add python scripting support to a VB
project so that I can have a python script modify what the vb program
does. A


Have a look into Mark Hammonds PPW32 book, Mark and Andy do this in one
of their excellent real world examples.

Cheers
Franz
Jul 18 '05 #3
Reinhold Birkenfeld wrote:

Throw VB away - use only Python.

Not everyone can do this -- especially if you work for the corporate
world that depends heavily on Microsoft products / compatability.

Here is some information that might come in handy. Also, search
Google.com for "VB and Python"

http://www.hps1.demon.co.uk/users/andy/pyvb/

http://vb2py.sourceforge.net/

Byron
---
Jul 18 '05 #4
This might be of help also:

http://forums.devshed.com/t158692/s.html

Byron
---
Jul 18 '05 #5
F. GEIGER wrote:
*** wrote:
I'm looking for a simple way to add python scripting support to a VB
project so that I can have a python script modify what the vb program
does. A

Have a look into Mark Hammonds PPW32 book, Mark and Andy do this in
one of their excellent real world examples.

A brief summary of the approach they use -- design your VB project as a
set of COM objects. Create a set of Python classes that understand how
to manipulate those COM objects. Embed a Python interpreter inside of
your VB project (as yet another COM object). You now can use Python
code to manipulate all (exposed) aspects of your VB app.

But seriously, go buy the PPW32 book. If you're doing anything
involving COM objects, it's well worth it -- and if you're scripting
other applications on Windows, you *should* be doing it through COM.

Jeff Shannon
Technician/Programmer
Credit International

Jul 18 '05 #6

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

Similar topics

6
by: Jamie Fryatt | last post by:
Hi everyone, here's what id like to do. I have a table with 2 fields, name and value I need to be able to add multiple records quickly, for example I need to add name value abc 1...
10
by: sp0 | last post by:
Is there a reason why to make mix numbers improper when adding? It seems when subtracting and adding, adding a subtracting the whole numbers and fraction parts should be sufficient? what'ch think
3
by: Jim Heavey | last post by:
Trying to figure out the technique which should be used to add rows to a datagrid. I am thinking that I would want an "Add" button on the footer, but I am not quite sure how to do that. Is that...
9
by: Kadett | last post by:
Hi all, I have following problem: I'm creating a ListView (Details) control at run-time and filling it with some records (let's say 10 000). This operation seems to be quite fast, but when I call...
0
by: AndyL69 | last post by:
Hello I've got a very strange Problem. When im adding a new ACE entry to a UNC Direcotry the inherented ACL's will be lost. When I'm adding a new ACE to a directory / file in this UNC path the...
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
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...
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...
1
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,...
1
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.