Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Difficulty with DBCombos in executables
Message
From
15/10/1997 01:50:21
 
 
To
10/10/1997 15:44:20
General information
Forum:
Visual C++
Category:
Troubleshooting
Miscellaneous
Thread ID:
00053926
Message ID:
00054629
Views:
33
>>Hi,
>>The causes for the problem you are coming across could be :
>>Check the database property of the data control on your form and check the path of the database. If you are specifying the path in run time thro' a variable then check that the complete path of the database is given. You can try out a sample form by placing a data control and a dbcombo and attaching with your database. Then set the properties of dbcombo and check the properties set on your present forms.
>>You have also not specified with backend database you are using for these forms.
>>
>>
>>>Hi -
>>>
>>>I'm in the last stages of debugging a Visual Basic 4.0 16-bit application, and I've run into an extremely frustrating problem. Many of my forms have DBCombo boxes on them - and these controls work perfectly so long as I'm working in development mode. But as soon as I make an executable from my project, they stop working - they drop down, but my users can't select an item from them. Needless to say, this seems extremely mysterious. Has anybody seen anything similar, and, if so, do you know what might be happening and how I might resolve the situation?
>>>
>>>Thanks -
>>>
>>>Bill Bukovsan
>>>Database Systems Supervisor
>>>The Trust for Public Land
>
>Thanks for your suggestions. Sadly, the problem doesn't seem to lie with the path to the database. However, in the course of investigating this possibility, I discovered an additional factor - the problem only occurs on modal forms - DBCombo controls work just fine if I show a form modelessly. (Of course, this doesn't really help me.) Unfortunately, I really need to use modal forms...
>
>I would be eternally grateful for any other suggestions...
>
>-Bill Bukovsan

Hi Bill,
I tried the problem you have mentioned and its true that its just with the modal forms that the dbcombo control does not work in an executable. You can use the down arrow key to select the particular entry but that really will not help you. Why don't you check with Microsoft as to why this problem is occuring. I checked the on-line help of VB too but there is nothing documented regarding this. See if you can work with non-modal forms. This might include a design change for your app.
Tell me if you find out a solution.

Manika
Previous
Reply
Map
View

Click here to load this message in the networking platform