Search found 11 matches

by rogal79
Fri May 07, 2004 9:59 am
Forum: Coding Questions
Topic: Printing from WebBrowser
Replies: 4
Views: 2352

Thanks. I've done it by setting registry keys.
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\PageSetup
(header and footer)
by rogal79
Wed May 05, 2004 10:49 am
Forum: Coding Questions
Topic: Printing from WebBrowser
Replies: 4
Views: 2352

Printing from WebBrowser

Can somebody help me to print a document from
WebBrowser but without header and footer
(or modify header and footer from PureBasic)?

This is a sample from this forum:


Enumeration 1
#OLECMDID_OPEN
#OLECMDID_NEW
#OLECMDID_SAVE
#OLECMDID_SAVEAS
#OLECMDID_SAVECOPYAS
#OLECMDID_PRINT ...
by rogal79
Mon Apr 26, 2004 2:52 pm
Forum: Coding Questions
Topic: CreateWindowExW (is it possible?)
Replies: 4
Views: 1570

CreateWindowExW (is it possible?)

Can somebody help me how to display window by "CreateWindowExW"
from User32.dll
I'm trying it but I can display winodw only by "CreateWindowExA"


My code:

hWnd.l = CallFunction(6, "CreateWindowExW", #WS_EX_TOOLWINDOW, "WC", "WT", #WS_VISIBLE | #WS_OVERLAPPEDWINDOW | #WS_SIZEBOX , x, y, w, h, 0, 0 ...
by rogal79
Wed Apr 21, 2004 12:52 pm
Forum: Coding Questions
Topic: Unicode on the window?
Replies: 0
Views: 696

Unicode on the window?

I'm trying to display unicode text on the window by DrawTextW function from User32.dll and I can't.
Can somebody help me?
Mayby the reason is wrong font?

A piece of my code is:

OpenLibrary(6, "User32.dll")
...
r\left2 = 10
r\top2 = 100
r\right2 = 800
r\bottom2 = 600
...
color.l = $00AA3333
*DC ...
by rogal79
Wed Apr 14, 2004 2:07 pm
Forum: Coding Questions
Topic: WebBrowser in window
Replies: 1
Views: 968

WebBrowser in window

Is it possible display a web browser in the window,
I think about web browser with menu, menuBar,
statusBar, ...

Or

Are there procedures that makes tha same that
buttons on web browser (but not only back, forward, refresh, stop).
by rogal79
Fri Apr 02, 2004 8:10 am
Forum: Coding Questions
Topic: Printing unicode text file
Replies: 0
Views: 699

Printing unicode text file

I'd like to print by printer the unicode text file.
I've found on the forum one answer for my problem
(with CaptureScreen procedure),
but I'd like to do it without displaing it on the screen.
Can somebody help me?
(Mayby by windows API?)
by rogal79
Wed Mar 31, 2004 2:03 pm
Forum: Coding Questions
Topic: Coping from WebGadget
Replies: 4
Views: 1582

(Thanks, thanks) * 100
I tried. It works!
by rogal79
Wed Mar 31, 2004 10:40 am
Forum: Coding Questions
Topic: Coping from WebGadget
Replies: 4
Views: 1582

Coping from WebGadget

Can I copy highlighted text from WebGadget by Ctrl+C?

I tried to do it in WebBrowser (from Examples)
and I had to click right mouse button and select copy
to copy the highlighted text.
by rogal79
Mon Mar 08, 2004 2:41 pm
Forum: Coding Questions
Topic: Database client
Replies: 11
Views: 3903

Database client

I've got the following problem:

I'd like to write a database client program,
but database is not on the local machine but
only on remote host.
The database server is MySQL.

Is it possible to do it by PB?
by rogal79
Fri Feb 27, 2004 9:11 am
Forum: Coding Questions
Topic: Database and Strings over 255
Replies: 0
Views: 866

Database and Strings over 255

How can I read a record from database, but datas are over 255 chars?
GetDatabaseString(i) allows me read only 255 first chars
by rogal79
Thu Feb 19, 2004 4:50 pm
Forum: Coding Questions
Topic: Printing
Replies: 0
Views: 899

Printing

My question:

Is it possible to print content of the Gadget (eg. WebGadget)?
or is it possible transform Gadget to Image?