Search found 16 matches

by Pat Verner
Thu Nov 21, 2013 11:35 am
Forum: wxCode
Topic: Submit a PDF form by email
Replies: 2
Views: 2157

Re: Submit a PDF form by email

Thank you, you have given me a lot of info to follow up on.
Regards
=Pat
by Pat Verner
Thu Nov 21, 2013 9:06 am
Forum: wxCode
Topic: Submit a PDF form by email
Replies: 2
Views: 2157

Submit a PDF form by email

I use wxPdfDocument for a number of small applications, including generating membership cards, various reports, etc. I now have the need to generate a specific application form that can be placed on a web site, and which can be completed and then emailed back to me. The principle is exactly the same...
by Pat Verner
Wed Mar 27, 2013 5:24 pm
Forum: wxCode
Topic: wcPdfDocument - closing and opening a new document
Replies: 2
Views: 2013

wcPdfDocument - closing and opening a new document

Hi there I am running through a database, generating pre-completed application forms for a number of clubs. When I reach a new club, I want to close the current document, and open a new one. Although SaveAsPdf() will "close" the file and save it, the next file generated contains everything from the ...
by Pat Verner
Sat Dec 22, 2012 6:58 pm
Forum: Platform Related Issues
Topic: wxCHANGE_DIR not effective
Replies: 2
Views: 1253

Re: wxCHANGE_DIR not effective

Thanks.

I will try getting the SVN version first; if this fails to build I will try applying the patches.

Regards
=Pat
by Pat Verner
Sat Dec 22, 2012 6:14 pm
Forum: Platform Related Issues
Topic: wxCHANGE_DIR not effective
Replies: 2
Views: 1253

wxCHANGE_DIR not effective

Hi there My environment: Linux (Slackware 14.0), wxGTK-2.8.12, gcc-4.7.1 I have just moved my development host from an old host to a new I3 based system, and in the process have update my OS to the Slackware 14 (from Slack 12) and have been porting my main development environment to the new host. Re...
by Pat Verner
Mon Oct 22, 2012 12:42 pm
Forum: C++ Development
Topic: Unicode and special characters
Replies: 2
Views: 1155

Re: Unicode and special characters

Thanks for the guidance. I am now in the process of re-compiling wxWidgets "-enable-unicode" on three hosts, and will take it from there.

Regards
=Pat
by Pat Verner
Mon Oct 22, 2012 8:35 am
Forum: C++ Development
Topic: Unicode and special characters
Replies: 2
Views: 1155

Unicode and special characters

In all my years of programming I have always managed to use only standard ASCII strings. Now I have the need to use Unicode and special characters (the four card symbols for spades, hears diamonds and clubs) within several cells in a PDF report, and am quite at a loss as to where to start! I have be...
by Pat Verner
Tue Jan 10, 2012 8:51 am
Forum: C++ Development
Topic: Segmentation fault after WxTimer::Stop
Replies: 3
Views: 1237

Re: Segmentation fault after WxTimer::Stop

Issue Resolved!
Stupid error - simply a matter of scoping. I had declared a "new" timer, which I started, but when I wanted to Stop() it I was referring to the original declaration.
Sometime I wonder about the state of my mind:-)

Thanks for the help
=Pat
by Pat Verner
Tue Jan 10, 2012 7:30 am
Forum: C++ Development
Topic: Segmentation fault after WxTimer::Stop
Replies: 3
Views: 1237

Re: Segmentation fault after WxTimer::Stop

I don't think WxTimer::Stop is the real reason for the crash. First get a backtrace in debug mode to check where exactly it crashes. Guessing the reason for a crash is not very reliable ;) I based my guess on the fact that if I extend the period to about 30 seconds, then the seq fault will occur ab...
by Pat Verner
Mon Jan 09, 2012 8:31 am
Forum: C++ Development
Topic: Segmentation fault after WxTimer::Stop
Replies: 3
Views: 1237

Segmentation fault after WxTimer::Stop

I use a wxTimer with a period of about 10 seconds to provide a test of external events. On completion of the external process (which may take several hours), I stop the Timer, and close the class. However, it seems as if the Stop() function has not been effective, for within a few seconds the progra...
by Pat Verner
Tue Oct 25, 2011 3:41 pm
Forum: Database Related
Topic: Linux MDB ODBC problem
Replies: 0
Views: 2561

Linux MDB ODBC problem

Hi there Using WxWidgets-2.8.10 under Linux/GTK I work very happily using wxDb to access a MySQL database. I now have the requirement to import some data from a "Jet4" type database into the main MySQL database, for which purpose I am trying to access the Jet4 database using the (very limited) ODBC ...
by Pat Verner
Tue Sep 06, 2011 2:10 pm
Forum: C++ Development
Topic: wxGrid::GetSelectedRows
Replies: 1
Views: 1066

wxGrid::GetSelectedRows

Hi there I must be doing something wrong, but I cannot get the wxGrid::GetSelectedRows() to return more than a single row. The environment is Linux, GCC V4.1.2, wxWidgets 2.8.10: ---------------------- void partnersEd::WxGrid1SelectCell(wxGridEvent& event) { int thisrow=event.GetRow(); WxGrid1->Sele...
by Pat Verner
Mon Sep 06, 2010 8:08 pm
Forum: wxCode
Topic: wxPdfDocument - odd behaviour under Vista
Replies: 6
Views: 2069

Voila - magic. Made the 2 changes in pdfdoc.cpp, rebuilt, copied the DLLs over to the Vista machine, and out came the PDF reports as required. I find it amazing this problem has only manifested itself after several years of use on several machines. I will also take schedule an upgrade to the latest ...
by Pat Verner
Mon Sep 06, 2010 3:22 pm
Forum: wxCode
Topic: wxPdfDocument - odd behaviour under Vista
Replies: 6
Views: 2069

Hi Ulrich Thanks for the reply. The version of wxPdfDocument in use is 0.8.0 I edited the source on the Win98 host, added the pdf.SetCompression(false) immediately after instantiating the wxPdfDocument, and recompiled. I then generated a one page report on the W98 machine. Next, I copied the executa...