User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the VB.NET section within the Software Development category of DaniWeb, a massive community of 426,514 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,115 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our VB.NET advertiser: Programming Forums
Views: 226 | Replies: 2
Reply
Join Date: Jun 2008
Posts: 107
Reputation: kavithabhaskar is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
kavithabhaskar kavithabhaskar is offline Offline
Junior Poster

Problem in uploading VB project on the server

  #1  
Jul 14th, 2008
Hi folks:

I will need to upload my Access DB and my VB exe file to a server..

Will it be ok if I changed the pathname in the connection string to the path of the server where my DB is located now ?

my vb form has to comboboxes that need to get filled when the form loads.. but this does not get loaded atall! the comboboxes are all empty! Pleas suggest something.

Thanks
Kavithabhaskar
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Sep 2007
Posts: 3
Reputation: ibanez335 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
ibanez335 ibanez335 is offline Offline
Newbie Poster

Re: Problem in uploading VB project on the server

  #2  
Jul 19th, 2008
Hi,
with regard to populating the comboboxes you could use a bound datagridview to add items to a table in your access database. You can then bind your combobox to the table to populate it.


Cheers,

Alan
Reply With Quote  
Join Date: Mar 2006
Location: East Amherst, NY
Posts: 102
Reputation: cutepinkbunnies is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 6
cutepinkbunnies's Avatar
cutepinkbunnies cutepinkbunnies is offline Offline
Junior Poster

Re: Problem in uploading VB project on the server

  #3  
Jul 20th, 2008
Originally Posted by kavithabhaskar View Post
Hi folks:

I will need to upload my Access DB and my VB exe file to a server..

Will it be ok if I changed the pathname in the connection string to the path of the server where my DB is located now ?



Yes. I'm not sure why you're not getting some type of exception thrown if its unable to reach the DB, perhaps you have coded around this possibility or there is something missing.

Make sure you use a UNC with appropriate permissions for that application only. If you have to setup a share just for the application and adjust the ACL accordingly. \\Server1\Application\ etc. Avoid use of hidden shares, domain admin accounts, etc. Keep in mind best practice is using the least necessary permissions to get the job done.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb VB.NET Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the VB.NET Forum

All times are GMT -4. The time now is 6:03 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC