Hi,
I have used the datasource wizard to add a local datasource to a combo box.
This all works fine up to a point, but what I want to do is at runtime,
specify the path to the database file that the combo box should be bound to
as it may not always be in the same location.
The Wizard has added a DataSet, a DataConnector and a TableAdaptor and the
database.mdb and a DataSet.xsd have been added in solution explorer.
I'm using Visual Basic 2005 Express Beta.
If this is posted in the wrong group, I apologise and would appreciate it if
someone could point me in the right direction.
Thanks in advance,
Martin Horn. 4 1833
All the designer is doing is writing code for you. All you need to do is
store those values somewhere, for instance in a config file, and then set
the properties whenever your form loads.
--
W.G. Ryan, MVP www.tibasolutions.com | www.devbuzz.com | www.knowdotnet.com
"Martin Horn" <ma****@mhorn.co.uk> wrote in message
news:DF****************@newsfe1-gui.ntli.net... Hi,
I have used the datasource wizard to add a local datasource to a combo
box. This all works fine up to a point, but what I want to do is at runtime, specify the path to the database file that the combo box should be bound
to as it may not always be in the same location.
The Wizard has added a DataSet, a DataConnector and a TableAdaptor and the database.mdb and a DataSet.xsd have been added in solution explorer. I'm using Visual Basic 2005 Express Beta. If this is posted in the wrong group, I apologise and would appreciate it
if someone could point me in the right direction.
Thanks in advance,
Martin Horn.
All the designer is doing is writing code for you. All you need to do is
store those values somewhere, for instance in a config file, and then set
the properties whenever your form loads.
--
W.G. Ryan, MVP www.tibasolutions.com | www.devbuzz.com | www.knowdotnet.com
"Martin Horn" <ma****@mhorn.co.uk> wrote in message
news:DF****************@newsfe1-gui.ntli.net... Hi,
I have used the datasource wizard to add a local datasource to a combo
box. This all works fine up to a point, but what I want to do is at runtime, specify the path to the database file that the combo box should be bound
to as it may not always be in the same location.
The Wizard has added a DataSet, a DataConnector and a TableAdaptor and the database.mdb and a DataSet.xsd have been added in solution explorer. I'm using Visual Basic 2005 Express Beta. If this is posted in the wrong group, I apologise and would appreciate it
if someone could point me in the right direction.
Thanks in advance,
Martin Horn.
Martin,
I would not say wrong group, however we mostly don't answer 2005 questions
here, there are more proper discussion groups, with posting too that has
Microsoft directly more change to see the Beta problem in my opinion. http://communities.microsoft.com/new...idbey&slcid=us
I hope this helps?
Cor
Martin,
I would not say wrong group, however we mostly don't answer 2005 questions
here, there are more proper discussion groups, with posting too that has
Microsoft directly more change to see the Beta problem in my opinion. http://communities.microsoft.com/new...idbey&slcid=us
I hope this helps?
Cor This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Simon Harvey |
last post by:
Hi everyone,
I was wondering if it is possible, to use SQL to return more than one table
at a time into a dataset. I only know the basics of SQL and so I'm not sure
if I'm just asking a stupid...
|
by: JS |
last post by:
I'm trying to create a data layer and having problems returning a DataSet
from my code that's in a class module.
Please forgive me. I'm new to C# (VB'er). I decided to create my data layer
in...
|
by: Simon Harvey |
last post by:
Hi everyone,
I was wondering if it is possible, to use SQL to return more than one table
at a time into a dataset. I only know the basics of SQL and so I'm not sure
if I'm just asking a stupid...
|
by: Mike |
last post by:
Hi,
I am trying to solve a problem with a DataSet issue I am having. In my app
the user selects certain options and based on those options it goes out to
the db to get data based on those...
|
by: JIM.H. |
last post by:
Hello,
Can I send a dataset as a parameter into stored procedure and import data to
a table in the stored procedure?
Thanks,
Jim.
|
by: Jeff Brown |
last post by:
OK i have came to the conclusion that since this app will be run on multiple computers that loading a complete database and then updating on exit is a moot point. I have tried several ideas...
|
by: markerussell |
last post by:
I have a question, in that if i have an application is it better to have one dataset per data adapter, ie daCustomerTable -> dsCustomer, daOrders -> dsOrders etc. or to say have a couple of dataset...
|
by: Arne |
last post by:
How do I pass a dataset to a webservices? I need to submit a shoppingcart
from a pocket PC to a webservice.
What is the right datatype?
II have tried dataset as a datatype, but I can't get it to...
|
by: JT |
last post by:
I have an SQL database with one table in it. I want to load the table into
a DataSet, add new records to the DataSet, then commit the changes back to
the database.
Using C#.NET, the following...
|
by: Ken Fine |
last post by:
This is a question that someone familiar with ASP.NET and ADO.NET DataSets
and DataTables should be able to answer fairly easily. The basic question is
how I can efficiently match data from one...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |