Hi. I'm a bit of a novice with ctypes and this is my first post here so please
forgive any detected newbiness. After trying and searching I hereby give up
and appeal to the pros out there who may be more intimately familiar with
DeviceIoControl usage.
I'm trying use Python to access a USB
Hi!
A way is to launch separate instance, then connect to instances.
Example:
import os,time,win32com.client
def finstance(url):
for instance in
win32com.client.Dispatch('{9BA05972-F6A8-11CF-A442-00A0C90A8F39}'):
if instance.LocationURL.find(url)>-1:
re
On 17/12/2008 2:54 PM, Roger Upole wrote:
Mark Hammond wrote:
On 17/12/2008 12:30 AM, Roger Upole wrote:
Enric Jaen wrote:
It's the library of the Xcalibur, a propietary program used in
proteomics. to read spectra. They provide an API, and VB examples to
access it.
The problem is happening
Hi!
Several solution are given.
Another (example) :
import win32com.client
from win32com.client import Dispatch
connexion = Dispatch('ADODB.Connection')
connexion.ConnectionString = "Provider=SQLOLEDB.1; Data
Source=192.168.10.10; uid=username; pwd=password; database=baseSQLdata"
Ferdinand Sousa wrote:
>
> Actually, I am using COM to control Adobe Acrobat 7. I searched high
> and low for methods to enable pdfs for commenting in Adobe Reader, and
> the only method I could find was to execute the appropriate menu item
> in Acrobat. I did all this in COM. The problem is that o
Romain Gilles wrote:
>
> I'm new in python and I would like to know how I can create 2 (and
> more) session independent Internet Explorer.
>
> This is my actual code:
>
>
>
> ie1 = Dispatch("InternetExplorer.Application")
>
> ie1.Navigate(url)
>
> login(ie1)
>
>
>
> ie2 = Dispatch("InternetExpl
Hi,
Thank you Everybody who vested their valuable time in replying me.
Thanks Vernon Cole
Thanks Michael.
Michael,
As you said,i have downloaded the latest version of pyodbc and tested with
it.
same issue comes up again.
Other facts i noticed while testing :
1) The script just exists with retur
Hi,
Summary-: python.exe crashes while connecting to the MSSQL Database on
remote machine using pyodbc module
OS-: win 2003 server, 32bit
Installed python products: python 2.5,pyodbc-2.0.52,pywin32-211
Problem Description & Steps followed:
i have MSSQL Database on a remote machine
i have created
Do you have some special reason for using pyodbc, such as higher
performance?
If not, you might try replacing pyodbc with adodbapi.
import adodbapi
try:
DBCon = adodbapi.connect("DSN=TestDB;UID=tester;PWD=tester")
except adodbapi.Error, erno:
mesg = "Unable to connect testD
siddhartha veedaluru wrote:
i have created a System DSN in my local machine using python script which
uses ctypes module
using pyodbc module i'm trying to connect to remote database.
sometimes python.exe crashes in the connect function
Not answering your question directly but... did you know
Hi,
> Summary-: python.exe crashes while connecting to the MSSQL Database on
> remote machine using pyodbc module
> OS-: win 2003 server, 32bit
> Installed python products: python 2.5,pyodbc-2.0.52,pywin32-211
>
> Problem Description & Steps followed:
> i have MSSQL Database on a remote machine
>
Hi,
I'm new in python and I would like to know how I can create 2 (and more)
session independent Internet Explorer.
This is my actual code:
ie1 = Dispatch("InternetExplorer.Application")
ie1.Navigate(url)
login(ie1)
ie2 = Dispatch("InternetExplorer.Application")
ie2.Navigate(url)
...
12 matches
Mail list logo