VS2005 panel location

  • Thread starter Thread starter Harry Simpson
  • Start date Start date
H

Harry Simpson

I used a simple sub to show hide panels in VS2003. When I imported the code
into VS2005, this did not work.

Basically trying to show/hide based on the Left property of the panel.

ie. hide is pnlPanel.Left = 300
show is pnlPanel.Left = 0

Has this behaviour been changed in VS2005??

TIA
Harry
 
No, the Left property is still there. Describing what it does do might be
useful rather than just saying "it did not work."
 
Apologies for the vaqueness there Chris....

Well there are two forms - app starts with the main form then loads the
logon form which has the Splash panel at location left = 0. In the load I
start a timer which after 2 seconds the tick event sets the Splash panel
left to 300.

Works like a charm running in VS2003. In VS2005, I'll see the main form
then after the splash timer tick even I see the Logon screen. I never see
the Splash panel at all. It just doesn't appear at all.

Thanks
Harry
 
That didn't work - I sprinkled the code with DoEvents and to no avail. I'm
using the full screen API calls etc. Think they could work differently in
CF2?

'*****Full Screen Code********************************************

Capture = True

Dim hwnd As IntPtr = GetCapture()

Capture = False

SHFullScreen(hwnd, SHFS_HIDESTARTICON)

'****************************************************************

Do I still need this in VS2005?

I there a problem moving controls around on the form from within the
Form_Load? It worked in VS2003......

Are any of the additional attibutes in VS2005 affecting the behaviour of the
panel movement or placement?

Thanks

Harry
 
Changed the startup form around and it works great now.

Trying to gather the files I need to build a CAB file for my project using
MAKECAB file and an ini file. I figure I need to include EVERYTHING in the
Projects\ProjectName\bin\debug\ directory. Is this a good assumption?
Noted the ProjectName.pdb and ProjectName.xml files. The XML file has
reference info regarding the Web service it hits during an app run. The PDB
file is binary and I can't read it.

thanks
Harry
 
Back
Top