Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

[solved] Video hook behavior with VB.NET app

Post Reply
BobFischer
Posts: 6
Joined: 2009-12-04 20:42

[solved] Video hook behavior with VB.NET app

Post by BobFischer »

In order to see the opening screen of my VB.NET app I must enable the video hook driver (v 1 00 22). But in order to see any data display grids (called from that screen) without large open or unpainted areas this same video hook must be off. Can anyone help with a solution to this? There must be something unusual with the controls being used, but I cannot find a solution through normal coding practices, such as refreshing or resizing the screen, etc. Thanks.
Last edited by BobFischer on 2010-01-01 19:32, edited 1 time in total.
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: Video hook behavior with VB.NET app

Post by redge »

image can explain better for have solution.
capture screen of compute hosting winvnc
capture screen of vncviewer connected to server
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
BobFischer
Posts: 6
Joined: 2009-12-04 20:42

Re: Video hook behavior with VB.NET app

Post by BobFischer »

I have three screenshots available. The first is the main screen of the app, which cannot be seen over UVNC unless the video hook is used.

The second is a view of what happens when one of the data grids is requested. A few lines of the grid are apparent, that is all. Everything else on the screen is from the form calling the grid.

The third is what the screen should look like. I can get it to show correctly by maximizing the form (once I can find the control box).

At all times the screen on the host machine displays the correct forms with all the data. It is only the remote machine that sees an error.

Please use this url:

http://docs.google.com/View?id=dfgw54xk_55d4f33ccg

Thanks!
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: Video hook behavior with VB.NET app

Post by redge »

1. what is your settings of your winvnc properties enabled case. (not admin properties)

2. you use a very old vncviewer of some known problem of refresh !!!!
did you try new vncviewer 1.0.8.2 or is old computer with win9x/nt4 wher you limited vncviewer 1.0.2 last working on old computer OS windows before windows 2000
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
BobFischer
Posts: 6
Joined: 2009-12-04 20:42

Re: Video hook behavior with VB.NET app

Post by BobFischer »

Properties are Poll Screen and Video Hook.

I tried 1.0.8.2, it is slightly better but the same problem persists.

The viewer machine is a Dell Inspiron 1525, lots of RAM, WinXP Pro.

The host is an older PC running XP Pro.
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: Video hook behavior with VB.NET app

Post by redge »

ultravnc server is 1.0.8.2 ?

try
poll full screen
poll foreground windows
video hook driver
low acuracy (turbo mode)
you need to restart winvnc after change, is not dynamic


ultravnc.ini (1.0.8.x)

[poll]
TurboMode=1
PollUnderCursor=0
PollForeground=1
PollFullScreen=1
OnlyPollConsole=0
OnlyPollOnEvent=0
EnableDriver=1
EnableHook=0
EnableVirtual=0
SingleWindow=0
SingleWindowName=
MaxCpu=100

doc ultravnc.ini
doc.uvnc.com
Last edited by redge on 2009-12-30 23:35, edited 1 time in total.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
BobFischer
Posts: 6
Joined: 2009-12-04 20:42

Re: Video hook behavior with VB.NET app

Post by BobFischer »

The server is not 1.0.8.2. But it is the current version as of November 2009. I will update it tomorrow and test. Thanks.
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: Video hook behavior with VB.NET app

Post by supercoe »

In the ultravnc.ini change:

CaptureAlphaBlending=1

This has fixed many programs that would display incorrectly (I don't use the video hook driver).
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
BobFischer
Posts: 6
Joined: 2009-12-04 20:42

Re: Video hook behavior with VB.NET app

Post by BobFischer »

The combination of v1.0.8.2 and the ini settings have fixed the problem. Thanks for the help!
Post Reply