473,583 Members | 3,386 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

(MAC) CoreGraphics module???

Running OS X 10.4 "Tiger". Various references
by Apple and others say that there exists a
module that gives Quartz bindings, allowing
all sort of graphics things in Python.

Sure enough, after installing Xcode I have
some sample scripts. They all start with

from CoreGraphics import *

(as do all the examples in two books, both
of which say they're talking about Tiger.)

I get an ImportError trying to import CoreGraphics.
I found a CoreGraphics.py in a folder named Carbon;
when I change the script to read

import Carbon
from Carbon.CoreGrap hics import *

there's no import error, but all of the Quartz
things are NameErrors. I look at CoreGraphics.py ,
it's just about twenty lines long, defining a few
constants with Quartz-sounding names.

What gives? I'm supposed to do something else?
Someone accidentally deleted all the code from
my CoreGraphics.py ? (Is there a working
CoreGraphics.py around somewhere? I found a
file somewhere on the net that was the same
as mine except it ended with

from CG import *

Adding that doesn't change anything.)

(Yes, the XCode installation seems to be working
fine.)

???

*************** *********

David C. Ullrich
Nov 2 '07 #1
10 1913
David C. Ullrich wrote:
Running OS X 10.4 "Tiger". Various references
by Apple and others say that there exists a
module that gives Quartz bindings, allowing
all sort of graphics things in Python.

Sure enough, after installing Xcode I have
some sample scripts. They all start with

from CoreGraphics import *

(as do all the examples in two books, both
of which say they're talking about Tiger.)

I get an ImportError trying to import CoreGraphics.
I found a CoreGraphics.py in a folder named Carbon;
when I change the script to read

import Carbon
from Carbon.CoreGrap hics import *

there's no import error, but all of the Quartz
things are NameErrors. I look at CoreGraphics.py ,
it's just about twenty lines long, defining a few
constants with Quartz-sounding names.
That's different than the one that is referenced. The one those articles
reference is only available in the Python that came with the system in
/System/Library/Frameworks/Python.framewor k, not one that you might have
installed from www.python.org into /Library/Frameworks/Python.framewor k. The
module was made by Apple, and they have not released the source code, so it
cannot be made to work with the www.python.org distribution.

--
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco

Nov 2 '07 #2
On Thu, 01 Nov 2007 19:39:20 -0500, Robert Kern
<ro*********@gm ail.comwrote:
>David C. Ullrich wrote:
>[why doesn't CoreGraphics work?]

That's different than the one that is referenced. The one those articles
reference is only available in the Python that came with the system in
/System/Library/Frameworks/Python.framewor k, not one that you might have
installed from www.python.org into /Library/Frameworks/Python.framewor k. The
module was made by Apple, and they have not released the source code, so it
cannot be made to work with the www.python.org distribution.
usenet is amazing - your reply appears to have been
posted a half hour before my question! Thanks.

So CoreGraphics is a builtin in Apple-Python,
explaining why I didn't find the relevant
CoreGraphics.py anywhere on the hard drive, eh?

Fine. Now what? Please feel free to bear in mind
that I have very little experience with the Mac
and with Unix - I'm certain that if I knew what
I was doing there I wouldn't need to ask the
questions below, sorry. And sorry about the length
of this post - there's a second issue that maybe
you could explain, that I'd really love to have
an explanation for before modifying things. Anyway:

Since I didn't do anything special to remove it
when I installed the Python-Python, the Apple-Python
should still be there, yes? I'd appreciate any
advice on how to get things set up the way I'd
like. Below when I refer to the MacPython stuff
I mean ApplicationLaun cher (or however it's spelled,
the Mac's at the office and I'm at home) and Idle;
the stuff that gives convenient access to Python
scripts in the GUI.

Note that I don't have any particular reason to
want to use the latest version of Python - I was
actually getting along fine with 1.5 until very
recently. I'd be perfectly happy to set things
up so everything used the Apple-Python. (i) If I
just uninstalled the Python-Python (how?) would
everything (Terminal, the MacPython stuff)
automagically find the Apple-Python instead?
(ii) If not, what would I have to do to make
things use the Apple-Python instead? (And if
I have to do something to make that happen,
would doing that still work if I just left
the Python-Python sitting there?)

OR: Is there something special I could do with
CoreGraphics scripts and/or how I invoke them
so that _they_ would use the Apple-Python while
other scripts would just use the Python-Python
as now?

(A last choice would be a setup where most
scripts work as they do now and I somehow
make CoreGraphics work from Terminal but
not in Finder...)

(Hmm, a wild guess: something somewhere is an
alias to Python-Python, and I just change that
(how?) to an alias to Apple-Python?)

I'm a little nervous about making any changes,
because something very mysterious happened when
I was setting things up the way they are now -
since I have no idea what I did to make things
work the way they are now I don't know that
I could set things up the way they are now
again if I had to. If you can explain the
following that will be something (I've been
meaning to ask about the following sometime,
hasn't been important til now when I'm
contemplating changing the setup):

The history: I get a Mac. I discover that it
includes Python, can't figure out how to
execute .py files in Finder. I hear about
MacPython.

I install the "small" MacPython download, that's
supposed to just add ApplicationLaun cher(?),
Idle, etc on top of the existing Python.
Works fine _except_ that when I double-click
a .py file in Finder it executes with the
cwd equal to the root directory instead of
the directory where the script is located.

Trying to fix that I install the "full"
MacPython, including Python itself. Doesn't
help, scripts still execute in "/".

A few weeks later I decide to try to fix that.
The plan is to edit whatever.py, the script
that's supposed to run before everything else
allowing customizations (always takes me a
while to find the magic name in the docs -
probably you know the name I mean). The plan
is to extract the directory I want from
sys.argv and then chdir.

And here's the mysterious part: The day I
plan on modifying whatever.py I find the
problem has fixed itself! When I double-
click .py files they execute in the right
directory.

If you asked what I was smoking I wouldn't blame
you. (Not that I really think that's it, but
the _only_ thing I can imagine I did that
could have led to the change was that perhaps
I hadn't yet tried out Idle when things were
executing in the wrong directory, and somehow
the first time I ran Idle it fixed something
for me.)

Anyway. You have any idea what was going on there,
and/or any idea about what to do to fix that
problem if it appears again? Something somewhere
changed - what, and how do I change it manually?
"defaults write what.what.what what what"?
Or what? I'd be much happier understanding what
happened here before making any changes...

Evidently you've read this far - thanks. Long
posts are irritating. Of course so are posts
that don't describe the problem - oh well.
*************** *********

David C. Ullrich
Nov 2 '07 #3

On 2 nov 2007, at 02.10, David C. Ullrich wrote:
Running OS X 10.4 "Tiger". Various references
by Apple and others say that there exists a
module that gives Quartz bindings, allowing
all sort of graphics things in Python.

Sure enough, after installing Xcode I have
some sample scripts. They all start with

from CoreGraphics import *

(as do all the examples in two books, both
of which say they're talking about Tiger.)

I get an ImportError trying to import CoreGraphics.
I found a CoreGraphics.py in a folder named Carbon;
when I change the script to read

import Carbon
from Carbon.CoreGrap hics import *

there's no import error, but all of the Quartz
things are NameErrors. I look at CoreGraphics.py ,
it's just about twenty lines long, defining a few
constants with Quartz-sounding names.

What gives? I'm supposed to do something else?
Someone accidentally deleted all the code from
my CoreGraphics.py ? (Is there a working
CoreGraphics.py around somewhere? I found a
file somewhere on the net that was the same
as mine except it ended with

from CG import *

Adding that doesn't change anything.)

(Yes, the XCode installation seems to be working
fine.)

???

*************** *********

David C. Ullrich
--
http://mail.python.org/mailman/listinfo/python-list
There are Python wrappers for the Cocoa API. These can be used with
binaries from Python.org.
The name of the module is PyObjC, and can be downloaded from
sourceforge.
There are binary builds for Python up to version 2.4.1.
For Python 2.5.1, it is necessary to build it yourself, which I've
found out requires modifying setup.py.
(The problem is that setup.py tries to use two modules that's not
installed by default on Tiger)
------
What is a woman that you forsake her, and the hearth fire and the
home acre,
to go with the old grey Widow Maker. --Kipling, harp song of the
Dane women
Tommy Nordgren
to************@ comhem.se

Nov 2 '07 #4
David C. Ullrich wrote:
On Thu, 01 Nov 2007 19:39:20 -0500, Robert Kern
<ro*********@gm ail.comwrote:
>David C. Ullrich wrote:
>>[why doesn't CoreGraphics work?]
That's different than the one that is referenced. The one those articles
reference is only available in the Python that came with the system in
/System/Library/Frameworks/Python.framewor k, not one that you might have
installed from www.python.org into /Library/Frameworks/Python.framewor k. The
module was made by Apple, and they have not released the source code, so it
cannot be made to work with the www.python.org distribution.

usenet is amazing - your reply appears to have been
posted a half hour before my question! Thanks.

So CoreGraphics is a builtin in Apple-Python,
explaining why I didn't find the relevant
CoreGraphics.py anywhere on the hard drive, eh?
Okay, which version of OS X do you have? In 10.3 and 10.4 it used to be here:
/System/Library/Frameworks/Python.framewor k/Versions/2.3/lib/python2.3/plat-mac/CoreGraphics.py

I notice that in 10.5, it no longer exists, though.
Fine. Now what? Please feel free to bear in mind
that I have very little experience with the Mac
and with Unix - I'm certain that if I knew what
I was doing there I wouldn't need to ask the
questions below, sorry. And sorry about the length
of this post - there's a second issue that maybe
you could explain, that I'd really love to have
an explanation for before modifying things. Anyway:

Since I didn't do anything special to remove it
when I installed the Python-Python, the Apple-Python
should still be there, yes?
Yes, in the location I mentioned.
I'd appreciate any
advice on how to get things set up the way I'd
like. Below when I refer to the MacPython stuff
I mean ApplicationLaun cher (or however it's spelled,
the Mac's at the office and I'm at home) and Idle;
the stuff that gives convenient access to Python
scripts in the GUI.

Note that I don't have any particular reason to
want to use the latest version of Python - I was
actually getting along fine with 1.5 until very
recently. I'd be perfectly happy to set things
up so everything used the Apple-Python. (i) If I
just uninstalled the Python-Python (how?) would
everything (Terminal, the MacPython stuff)
automagically find the Apple-Python instead?
(ii) If not, what would I have to do to make
things use the Apple-Python instead? (And if
I have to do something to make that happen,
would doing that still work if I just left
the Python-Python sitting there?)
Python-Python installed a couple of symlinks into /usr/local/bin and then put
/usr/local/bin in the front of your $PATH environment variable so it gets picked
up first on the terminal. For my Python-Python 2.5, I have

python
python2.5
pythonw
pythonw2.5
python-config
python2.5-config

Remove these and then when you type "python" at the terminal, you will get
/usr/bin/python, which points to the Apple-Python.
OR: Is there something special I could do with
CoreGraphics scripts and/or how I invoke them
so that _they_ would use the Apple-Python while
other scripts would just use the Python-Python
as now?
For scripts executed from the terminal, you could start them with a hash-bang line:

#!/usr/bin/python

Use "chmod u+x" on the script, and then you can execute it like any other
program from the terminal.
(A last choice would be a setup where most
scripts work as they do now and I somehow
make CoreGraphics work from Terminal but
not in Finder...)

(Hmm, a wild guess: something somewhere is an
alias to Python-Python, and I just change that
(how?) to an alias to Apple-Python?)

I'm a little nervous about making any changes,
because something very mysterious happened when
I was setting things up the way they are now -
since I have no idea what I did to make things
work the way they are now I don't know that
I could set things up the way they are now
again if I had to. If you can explain the
following that will be something (I've been
meaning to ask about the following sometime,
hasn't been important til now when I'm
contemplating changing the setup):

The history: I get a Mac. I discover that it
includes Python, can't figure out how to
execute .py files in Finder. I hear about
MacPython.

I install the "small" MacPython download, that's
supposed to just add ApplicationLaun cher(?),
Idle, etc on top of the existing Python.
Works fine _except_ that when I double-click
a .py file in Finder it executes with the
cwd equal to the root directory instead of
the directory where the script is located.

Trying to fix that I install the "full"
MacPython, including Python itself. Doesn't
help, scripts still execute in "/".

A few weeks later I decide to try to fix that.
The plan is to edit whatever.py, the script
that's supposed to run before everything else
allowing customizations (always takes me a
while to find the magic name in the docs -
probably you know the name I mean). The plan
is to extract the directory I want from
sys.argv and then chdir.

And here's the mysterious part: The day I
plan on modifying whatever.py I find the
problem has fixed itself! When I double-
click .py files they execute in the right
directory.

If you asked what I was smoking I wouldn't blame
you. (Not that I really think that's it, but
the _only_ thing I can imagine I did that
could have led to the change was that perhaps
I hadn't yet tried out Idle when things were
executing in the wrong directory, and somehow
the first time I ran Idle it fixed something
for me.)

Anyway. You have any idea what was going on there,
and/or any idea about what to do to fix that
problem if it appears again?
I'm afraid I don't. I don't use ApplicationLaun cher.

--
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco

Nov 2 '07 #5
On Fri, 02 Nov 2007 14:09:25 -0500, Robert Kern
<ro*********@gm ail.comwrote:
>David C. Ullrich wrote:
>[...]

So CoreGraphics is a builtin in Apple-Python,
explaining why I didn't find the relevant
CoreGraphics.p y anywhere on the hard drive, eh?

Okay, which version of OS X do you have? In 10.3 and 10.4 it used to be here:
/System/Library/Frameworks/Python.framewor k/Versions/2.3/lib/python2.3/plat-mac/CoreGraphics.py
I'm using 10.4. Yesterday I checked that there is indeed a

/System/Library/Frameworks/Python.framewor k

but I didn't look any deeper because I already "knew"
that CoreGraphics.py wasn't there. Come to think of
it, it could well be that it's there and I didn't find
it because Spotlight didn't want to show me things
inside /System? I'll check. (I'll check "soon" -
again, I'm at home and the Mac's at the office.)
>I notice that in 10.5, it no longer exists, though.
>[How do I get to the Python I want?]

Python-Python installed a couple of symlinks into /usr/local/bin and then put
/usr/local/bin in the front of your $PATH environment variable so it gets picked
up first on the terminal. For my Python-Python 2.5, I have

python
python2.5
pythonw
pythonw2.5
python-config
python2.5-config

Remove these and then when you type "python" at the terminal, you will get
/usr/bin/python, which points to the Apple-Python.
Thanks. Right this second I have no idea _where_ I should
go to "remove" that, but I can probably find out. It's
in .bashrc or somewhere, I bet, No, don't tell me...
>
>OR: Is there something special I could do with
CoreGraphics scripts and/or how I invoke them
so that _they_ would use the Apple-Python while
other scripts would just use the Python-Python
as now?

For scripts executed from the terminal, you could start them with a hash-bang line:

#!/usr/bin/python

Use "chmod u+x" on the script, and then you can execute it like any other
program from the terminal.
Curiously, I did make one of the sample scripts executable and it
still didn't work. I _think_ the hash-bang at the start was
usr/bin/python (I did verify yesterday that /usr/bin/python is
pointing to ApplePython.) Again, don't tell me...
>[ApplicationLaun cher mystery]

I'm afraid I don't. I don't use ApplicationLaun cher.
Thanks anyway - this has all been very informatiive.

*************** *********

David C. Ullrich
Nov 3 '07 #6
On Fri, 2 Nov 2007 13:14:16 +0100, Tommy Nordgren
<to************ @comhem.sewrote :
>
On 2 nov 2007, at 02.10, David C. Ullrich wrote:
>[Why doesn't CoreGraphics work?]
--
http://mail.python.org/mailman/listinfo/python-list
There are Python wrappers for the Cocoa API. These can be used with
binaries from Python.org.
The name of the module is PyObjC, and can be downloaded from
sourceforge.
Ah. I'd read about this in the context of using Python in Xcode
applications, which seems like something I definitely want to
learn how to do, but it was scheduled for "later"...

PyObjC will also allow a person to access Cocoa things from
an ordinary Python script? If so, keen.

Thanks.
>There are binary builds for Python up to version 2.4.1.
For Python 2.5.1, it is necessary to build it yourself, which I've
found out requires modifying setup.py.
(The problem is that setup.py tries to use two modules that's not
installed by default on Tiger)
------
What is a woman that you forsake her, and the hearth fire and the
home acre,
to go with the old grey Widow Maker. --Kipling, harp song of the
Dane women
Tommy Nordgren
to************ @comhem.se


*************** *********

David C. Ullrich
Nov 3 '07 #7
David C. Ullrich wrote:
On Fri, 02 Nov 2007 14:09:25 -0500, Robert Kern
<ro*********@gm ail.comwrote:
>David C. Ullrich wrote:
>>[...]

So CoreGraphics is a builtin in Apple-Python,
explaining why I didn't find the relevant
CoreGraphics. py anywhere on the hard drive, eh?
Okay, which version of OS X do you have? In 10.3 and 10.4 it used to be here:
/System/Library/Frameworks/Python.framewor k/Versions/2.3/lib/python2.3/plat-mac/CoreGraphics.py

I'm using 10.4. Yesterday I checked that there is indeed a

/System/Library/Frameworks/Python.framewor k

but I didn't look any deeper because I already "knew"
that CoreGraphics.py wasn't there. Come to think of
it, it could well be that it's there and I didn't find
it because Spotlight didn't want to show me things
inside /System? I'll check. (I'll check "soon" -
again, I'm at home and the Mac's at the office.)
Possibly. The "locate" command on the terminal is usually more reliable.
>I notice that in 10.5, it no longer exists, though.
>>[How do I get to the Python I want?]
Python-Python installed a couple of symlinks into /usr/local/bin and then put
/usr/local/bin in the front of your $PATH environment variable so it gets picked
up first on the terminal. For my Python-Python 2.5, I have

python
python2.5
pythonw
pythonw2.5
python-config
python2.5-config

Remove these and then when you type "python" at the terminal, you will get
/usr/bin/python, which points to the Apple-Python.

Thanks. Right this second I have no idea _where_ I should
go to "remove" that, but I can probably find out. It's
in .bashrc or somewhere, I bet, No, don't tell me...
$ rm /usr/local/bin/python /usr/local/bin/python2.5 ...

--
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco

Nov 3 '07 #8
On Fri, 02 Nov 2007 14:09:25 -0500, Robert Kern
<ro*********@gm ail.comwrote:
>David C. Ullrich wrote:
>[???]

Okay, which version of OS X do you have? In 10.3 and 10.4 it used to be here:
/System/Library/Frameworks/Python.framewor k/Versions/2.3/lib/python2.3/plat-mac/CoreGraphics.py

I notice that in 10.5, it no longer exists, though.
Um, surely that doesn't mean that there's no CoreGraphics
available in 10.5?
>>[...]

For scripts executed from the terminal, you could start them with a hash-bang line:

#!/usr/bin/python

Use "chmod u+x" on the script, and then you can execute it like any other
program from the terminal.
Sure enough: As I suspected yesterday morning, the reason that didn't
work the first time I tried it is that I'd already "corrected" the
import statement to Carbon.CoreGrap hics. When I put it back the way
it's supposed to be everything's great.

Such a happy camper - I now have a pdf consisting of a blank white
page with one red circle in the middle! Something I've always
wanted - thanks.

*************** *********

David C. Ullrich
Nov 4 '07 #9
David C. Ullrich wrote:
On Fri, 02 Nov 2007 14:09:25 -0500, Robert Kern
<ro*********@gm ail.comwrote:
>David C. Ullrich wrote:
>>[???]
Okay, which version of OS X do you have? In 10.3 and 10.4 it used to be here:
/System/Library/Frameworks/Python.framewor k/Versions/2.3/lib/python2.3/plat-mac/CoreGraphics.py

I notice that in 10.5, it no longer exists, though.

Um, surely that doesn't mean that there's no CoreGraphics
available in 10.5?
The CoreGraphics C library still exists, of course. The Python module they
provided does not.

--
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco

Nov 4 '07 #10

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

Similar topics

3
3682
by: Fortepianissimo | last post by:
Just started learning how to write a C extension module on Mac OS X. Here is a simple module taken from Programming Python: --- #include <Python.h> #include <string.h> /* module functions */ static PyObject * /* returns object */ message(PyObject *self, PyObject *args) /* self unused in
11
1373
by: Thomas Nelson | last post by:
I'm on a mac OS X (10.3.8), and I seem to have accidentally destroyed the default python installation. How should I put it on? Do I need to use the unix version? any help would be greatly appreciated. THN
0
2264
by: follower | last post by:
This post is mostly Google-bait for anyone else that might want to compile SpiderMonkey ( libjs / libjs.so / libjs.dylib ) for OS X (10.4.5 in my case) and then use it with Python's ctypes. I can't say this will work for anyone else, but it worked for me... Using: http://ftp.mozilla.org/pub/mozilla.org/js/js-1.5.tar.gz First up:
1
1712
by: Siddartha Krishnan | last post by:
Hi, I'm new to using python and SWIG. I am running Mac OS X 10.4. I have a C++ class which I want to access from python, however I am unable to compile it as a shared module in Mac OS X. I have tried using Distutils and have successfully created a C extension module, however I am unable to create a C++ extension module (I dont know how...
4
1419
by: goodepic | last post by:
I'm newish to python and just got my first mac, so sorry if this is stupid. I have a little app developed by someone else in wxGlade that implements a complex stats package and language package, all in python. It works fine on my work PC, but not on my laptop. I have a new macbook 2ghz core duo, running os x 10.4.8 with python 2.5 installed...
5
5853
by: Daniel | last post by:
I'm trying to implement a routine that converts a PDF document to image files using ctypes and the Apple CoreGraphics library as per the 'Splitting a PDF File' example on Apple's web site . Unfortunately I cannot use the CoreGraphics module used in that example because I'm using Python 2.5 (AFAIK that module is only available in the system...
3
8808
by: menzies | last post by:
Hi, I"m new to this forum, but I have been trying all day to install DBD::mysql onto my Intel MacBook. I've read lots of forums pages and none have gotten me to a successful 'make test' or a successful 'sudo make install.' Before every attempt I even do a sudo make distclean to make sure I haven't gotten things mucked up from a prior attempt. ...
3
3592
by: ricardo.turpino | last post by:
Hi, I've installed Mac Python 2.5. I'm running Mac OS X 10.4.10 on a Macbook 1.83GHz. I though that the python sqlite library was installed by default as part of Mac Python 2.5, however, I still have a problem. Sqlite does not appear to be my system: Traceback (most recent call last):
8
2765
by: geert | last post by:
Hi all, I have a mac mini running maocosx 10.5 leopard I want to deploy a django project on. My backend is MySQL, and I have it running as a 64- bit app. Of course, apache2 is also running as 64-bit. MySQLdb installs with the usual warnings after applying the various patches I found here and there. These patches consist of altering...
0
7894
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8172
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8190
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5697
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5370
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3814
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3841
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2328
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 we have to send another system
1
1424
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.