Search found 22 matches

by univeda
Sun Mar 21, 2010 12:27 pm
Forum: Tricks 'n' Tips
Topic: A small procedure to send syslog messages (with program)
Replies: 9
Views: 3916

Re: A small procedure to send syslog messages (with program)

Just found your code while searching for a syslog-possibility in purebasic.

Works great for me. Thank you!

Michael
by univeda
Tue Mar 16, 2010 12:10 pm
Forum: Windows
Topic: Using ActiveX Control
Replies: 16
Views: 7966

Re: Using ActiveX Control

<german>
Hallo Kiffi,

ja, ich spreche deutsch. Hab im deutschen Forum einen entsprechenden Beitrag erstellt: http://www.purebasic.fr/german/viewtopi ... 16&t=22079

Danke.
</german>

@board: kiffi tries to help me in the german forum.
by univeda
Tue Mar 16, 2010 8:36 am
Forum: Windows
Topic: Using ActiveX Control
Replies: 16
Views: 7966

Re: Using ActiveX Control

srod wrote:You have some redundancy/repetion here in that hUIMainClass and WindowID(#WinMain) refer to the same window.
You mean that huiMainClass and #WIN_MAIN is the same? Sorry did not get what you mean.
by univeda
Mon Mar 15, 2010 10:51 pm
Forum: Windows
Topic: Using ActiveX Control
Replies: 16
Views: 7966

Re: Using ActiveX Control

Thanks srod for your help. This is my working solution:

IncludePath "inc\"
XIncludeFile "COMatePLUS.pbi"

Global.COMateObject RdpObject

Define Server.s = "your_servername_or_ipaddress"
Define Domain.s = "your_logon_domain"
Define UserName.s = "your_username"
Define Password.s = "your_password ...
by univeda
Mon Mar 15, 2010 5:11 pm
Forum: Windows
Topic: Using ActiveX Control
Replies: 16
Views: 7966

Re: Using ActiveX Control

I now have tried this:

#WS_EX_NOPARENTNOTIFY = $4
#WS_EX_NOINHERITLAYOUT = $100000

If OpenWindow(0, 0, 0, RdpWidth, RdpHeight, "Extended Terminal Services Client - " + Server, #PB_Window_SystemMenu | #PB_Window_SizeGadget | #PB_Window_MaximizeGadget | #PB_Window_MinimizeGadget)

RdpObject ...
by univeda
Mon Mar 15, 2010 2:49 pm
Forum: Windows
Topic: Using ActiveX Control
Replies: 16
Views: 7966

Re: Using ActiveX Control

I tried to produce the error with my autoIt-Code:

; modify the styles of the child controls to match those set by the offical client application
; this prevents clipping problems
Const $WS_EX_NOPARENTNOTIFY = 0x4
Const $WS_EX_NOINHERITLAYOUT = 0x100000
$hUIContainerClassStyle = BitOR($WS_CHILD ...
by univeda
Mon Mar 15, 2010 2:09 pm
Forum: Windows
Topic: Using ActiveX Control
Replies: 16
Views: 7966

Re: Using ActiveX Control

I tried your hint but it looks like it's getting even worse.

Here is my sample code:

IncludePath "inc\"
XIncludeFile "COMatePLUS.pbi"

Define.COMateObject RdpObject

Define Server.s = "your_server_ip_or_name"
Define Domain.s = "server_logon_domain"
Define UserName.s = "your_username"
Define ...
by univeda
Mon Mar 15, 2010 8:49 am
Forum: Windows
Topic: Using ActiveX Control
Replies: 16
Views: 7966

Re: Using ActiveX Control

After fixing the password-problem (thanks, kiffi), there is another one:

When i move my Windows with the embedded rdp-activeX-Control, some parts of the rdp-desktop disappear. It looks like some kind of clipping error. I realized this program already in autoIt, but how can i adapt this code to ...
by univeda
Wed Mar 10, 2010 8:30 pm
Forum: Windows
Topic: Using ActiveX Control
Replies: 16
Views: 7966

Re: Using ActiveX Control

Thanks, Kiffi. This made the job! Works perfect.
by univeda
Tue Mar 09, 2010 11:28 pm
Forum: Windows
Topic: Using ActiveX Control
Replies: 16
Views: 7966

Using ActiveX Control

I try to embed a rdp-client activex-control (mstscax) into my purebasic-app.


IncludePath "inc\"
XIncludeFile "COMatePLUS.pbi"

Define.COMateObject rdpObject

If OpenWindow(0, 0, 0, 600, 600, "rdpObject", #PB_Window_SystemMenu | #PB_Window_SizeGadget | #PB_Window_MaximizeGadget | #PB_Window ...
by univeda
Sat Jun 13, 2009 1:30 pm
Forum: Applications - Feedback and Discussion
Topic: EsGRID grid gadget 2.1. Don't post here!
Replies: 331
Views: 129201

Thanks, this works.

I've joined your forum now.
by univeda
Sat Jun 13, 2009 12:13 pm
Forum: Applications - Feedback and Discussion
Topic: EsGRID grid gadget 2.1. Don't post here!
Replies: 331
Views: 129201

I use a CellCallBack to display the CellText as a CellTooltip:

Case #egrid_GetCellTooltip
*cellinfo\text = eGrid_GetCellText(egrid, *cellinfo\column, *cellinfo\row)
result = #True

But with some special characters (like this one -> &) there are problems, the &-sign is shown as this: _

Do i ...
by univeda
Sat Jun 13, 2009 11:45 am
Forum: General Discussion
Topic: purebasic.com down???
Replies: 6
Views: 2713

Fred's answer, i think wh can close this one here...
by univeda
Tue Jun 09, 2009 9:33 pm
Forum: Feature Requests and Wishlists
Topic: Enhanced ToolBar
Replies: 6
Views: 2043

Have a look at ToolBarPro, it is part of the PBOSL.
by univeda
Mon Jun 08, 2009 6:59 pm
Forum: Applications - Feedback and Discussion
Topic: EsGRID grid gadget 2.1. Don't post here!
Replies: 331
Views: 129201

Perfect, thanks for your explanation. This made it much more understandable.

Michael