VBCE.com - The Premier Website For Visual Basic/CE Developers

 

*Dev Corner

Sample Code
Controls
Workarounds
Tips & Tricks
Q & A
Forums

*Goodies
Downloads
Software
Bookstore


*General
Home
What's New
General Info
Misc. Info


*News Worthy
News
Articles
Editorials
KB Articles
Reviews
Awards

*Miscellaneous
Web Links
Partners
Search
Feedback
Advertising

<% On Error Resume Next SiteStats() %>

Sponsors


More...


VBCE Utility Control V2 - Installation Guide

Installation
1) Unzip the vbceUtil.zip file using your favorite ZIP application (We recommend WinZip). 

2) After unzipping the vbceutil.zip, you will see a set of directories:

PPC
HPC
Pro
Desktop

The VBCE Utility Control has been compiled for Palm PC's, HPC's, and Handheld Pro devices. 

Within each directory there are sub-directories for each chipset available on that device.  For example, the HPC directory has:

HPC\Emulation
HPC\SH3
HPC\MIPS

Each of these sub-directories contains the proper vbceutil.dll compilation for that specific architecture.

3) If you are a VBCE user (This does not apply to NSBasic users) you must register the VBCE Utility Control for use within the VBCE IDE.   This is the desktop version of the control.

Under the \Desktop directory is the Win 9x/NT compiled control.  Register the vbceUtil.dll from using Regsvr32.exe using the following syntax:

regsvr32 \Desktop\vbceutil.dll

Note: Be sure to substitute the exact location the \Desktop\vbceutil.dll file as it appears on your machine.

 

4) This step will copy the appropriate files to your Emulation environment.  Empfile is a utility which is supplied in the CE SDK for copying files to the emulation environment.   Using Empfile, copy the ATLCE2xx.dll and vbceUtil.dll files to your emulator from the appropriate sub-directory.  Each processor type is split up in directory structures:

\HPC\Emulation\
\PPC\Emulation\
\PRO\Emulation\

For example, if you are copying the VBCE Utility Control to the HPC Emulation environment, then you would type:

EMPFILE -c c:\hpc\emulation\atlce200.dll wce:windows\atlce200.dll
(Copy ATL200.dll to object store's \Windows directory)

EMPFILE -c c:\hpc\emulation\vbceutil.dll wce:windows\vbceutil.dll
(Copy vbceutil.dll to object store's \Windows directory)

5) IMPORTANT!  In the emulator, click on Start and choose the Run.  In the dialog box type:

\windows\regsvrce \windows\atlce200.dll
(Be sure to substitute the location where you placed the atlce200.dll)

Note: If you are using a PPC device, tap the taskbar once, and then using the virtual keyboard type in RUN23 to get the RUN dialog to appear.

Emulation Run Dialog

You will then get a dialog indicating successful registration of the control.

Successful Registration

6) Now, you will register the vbceutil.dll in emulation by typing:

\windows\regsvrce \windows\vbceutil.dll
(Be sure to substitute the location where you placed the vbceutil.dll)

Note: You must register the ATLCE2xx.dll FIRST.

7) Now that the control is registered, you must make the control useable within the VBCE environment.  Using the CE Control Manager select the specific device that you want to register the vbceutil.dll for Desktop Design Controls mode.

Choose Desktop Design Controls and then click on the Control Menu/Add New Control... Then browse to the \desktop\vbceutil.dll (Substitute the directory on your hard drive where you unzipped the control).

Control Manager

Note: You must use the Control Manager to register the vbceutil.dll from the \desktop sub-directory.  This must be done for all project types - i.e.  HPC, HPC/Pro, and PPC.  Not performing this step will display the error message, "This control has not been marked for use in Windows CE" in the VBCE IDE.

8) The final step involves copying the atlce2xx.dll and vbceutil.dll to the CE device.  Copy the appropriate file from the vbceutil install directory using CE Services Explorer.  For example, if you have a HP 620LX / SH3 processor, you would copy the files from:

\HPC\SH3\atlce200.dll
\HPC\SH3\vbceutil.dll

Now, you will register the atlce200.dll first by typing (On the device):

\windows\regsvrce \windows\atlce200.dll
(Be sure to substitute the location where you placed the atlce200.dll)

Then, register the vbceutil.dll as follows:

\windows\regsvrce \windows\vbceutil.dll
(Be sure to substitute the location where you placed the vbceutil.dll)

Note: If you are using a PPC device, tap the taskbar once, and then using the virtual keyboard type in RUN23 to get the RUN dialog to appear.

Lic Agreement
Distribution
Installation
FAQ's
Sample Projects
Buy Now!

Methods
AddToRecentDocs
AlwaysOnTopOff
AlwaysOnTopOn
Beep
CreateShortcut

GetHwnd
GetShortcutTarget

InputBox
MemoryStatus
MsgBox
ObjectStore
PlayWaveFile
PowerStatus
RegCreateKey
RegDeleteKey
RegDeleteValue
RegGetValue
RegSetValue
SendMessageLong
SendMessageString
Shell (Enhanced)
Sleep
WaitCursor

 

VBCE.com is DevX Winner!

Unless otherwise noted, all information on VBCE.com is Copyright 1998 - 2002
Windows, Windows CE, and Visual Basic are trademarks of the Microsoft Corporation.
VBCE.com is not responsible for content on external sites.
Send all feedback to webmaster@vbce.com
Webmasters - feel free to link to
VBCE.com - Premier Website for Visual Basic/CE Development

Buy Books!