Title Bar Flickering


T

Tommy

When going from one form to another the titlebar on my vb app flickers back
and forth from the underlying to the top form. It all happens in the
InitializeComponent() function of the new form.

If i step through my code it all happens only on that line. It's very slow
and very noticable. My forms have a quite a bit of code on them and a few do
some db access in the load.

To create the form and show it i simply use the following code:

Dim oFrm as New Form1
oFrm.ShowDialog

Thanks for any help.
 
Ad

Advertisements

T

Tommy

Does that go for vs.net 2003? Doesn't it have the cf framework 1.1?

Thanks,
Tommy
 
T

Tod Johnson

Is it possible to install ServicePack on an emulator? especially is it
possible to install it for keeps for an emulator.
 
P

Peter Foot [MVP]

You can install the X86 version in the download linked below to the
emulator - it will of course be lost if the emulator is hard-reset. Another
option (although not supported) is to overwrite the RTM versions of the cab
files within VS2003 with the updated SP2 versions so for example for the
Pocket PC 2002 emulator copy netcf.core.ppc3.x86.cab from the SP2
redistributable to
C:\Program Files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\x86\

Then whenever Visual Studio deploys the framework to a freshly reset
emulator it will install the SP2 version.

Peter
 
Ad

Advertisements

T

Tommy

It seems the sp2 fixed that problem and caused another.

I have a class containing some buttons to act as a mini tool bar that get's
instantiated in the load of some of my forms. When i click one of those
buttons and show a utility form with showdialog and close that dialog form
the underlying form is gone. I have to go to memory settings of the device
and select the form then click activate to see it again.

This didn't happen before the service pack.

I tried Bringtofront(), Focus() and Show() on that hidden form after closing
the dialog for to bring it back to the top but nothing seems to work.

Any experience with this problem anyone?

Thanks,
Tommy
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top