I have been all over looking for the answer to this and need to get it
done as quickly as possible!

I have a Embedded Visual Basic 3.0 program that uses the MenuBar
control. It works great when I run it through the Embedded Visual
Basic environment on my Desktop (I run it on the pocket pc Default
Device mode) but when I install the program after creating a setup I
get the following error:

The control MenuBar ({ODA80E6D-788B-43A4-A443-E35B1FBAD9CC}) could not
be created.

I have used the Control Manager (through the Tools->Remote tools menu)
as suggested in another thread on here and it is already installed. I
uninstalled it through Control Manager and reinstalled since I figured
I would try anything.

What am I missing? This same program worked fine on another Pocket PC
last year. Any suggested are appreciated.

Thanks.

Tim Ludwig

Re: Urgent Help! MenuBar can not be created! by wings23

wings23
Wed Aug 20 11:48:41 CDT 2003

This gets even more interesting by the minute. I tried the Menubar in
a new application as a test. It worked fine after I installed it. So I
determined the one thing that I have changed in my App since last year
and also was not present in my test application is the fact that I am
using the XMLHTTP object in it. I use the following code to hook up to
a web service I created to validate the user that logs in:


' Create an xmlhttp object:
Set xml = CreateObject("Microsoft.XMLHTTP")
' Opens the connection to the remote server.
xml.Open "POST", "http://Servername/pocketauthorize/pocket.asmx/Authorize",
False, txtUsername.Text, txtPassword.Text

' Sends the request and returns the data:
xml.send
strResponse = xml.responseText
Set xml = Nothing

I ended up commenting out this code and everything works great. I have
also had other issues with using this code earlier too. I could not
create a new SQL Server CE database using the ADOXCE.Catalog object's
create method. I ended up having to create the database before the
user logs in instead of after.

Now I do need the user to log in so this code is necessary. Can anyone
out there please tell me why the XMLHTTP object would cause the
menubar object to blow up (not to mention prevent the ADOXCE object
from being able to create a new database)? Is this a bug in the
XMLHTTP?

Any help is really appreciated.

Tim Ludwig

wings23@hotmail.com (tludwig) wrote in message news:<27314c60.0308200620.65c6b063@posting.google.com>...
> I have been all over looking for the answer to this and need to get it
> done as quickly as possible!
>
> I have a Embedded Visual Basic 3.0 program that uses the MenuBar
> control. It works great when I run it through the Embedded Visual
> Basic environment on my Desktop (I run it on the pocket pc Default
> Device mode) but when I install the program after creating a setup I
> get the following error:
>
> The control MenuBar ({ODA80E6D-788B-43A4-A443-E35B1FBAD9CC}) could not
> be created.
>
> I have used the Control Manager (through the Tools->Remote tools menu)
> as suggested in another thread on here and it is already installed. I
> uninstalled it through Control Manager and reinstalled since I figured
> I would try anything.
>
> What am I missing? This same program worked fine on another Pocket PC
> last year. Any suggested are appreciated.
>
> Thanks.
>
> Tim Ludwig