Visual Basic .NET Forums  
Click here to advertise with us

Go Back   Visual Basic .NET Forums > Database > Database General Discussion

Database General Discussion General discussion on database related topics

VB.NET Forums Newsletter Signup:
Email address:


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-10-2009, 4:43 AM
VB.NET Forum Newbie
.NET Framework: .NET 2.0 (VS 2005)
 
Join Date: Feb 2009
Age: 33
Posts: 1
Reputation: 0
d_vineet is on a distinguished programming path ahead
Default VB+MySQL conn string and deployment

Dear all,
can anyone pl. help me reg. a small query?
I have a WinForms application using VB2008+MySQL

The problem definition is two-fold

I) Deployment aspect --

I had thought of ClickOne. But I can't rely on the internet connection at my customer's locations for updation.
Suppose I have changed a small code in a form and want to send it to my customers immediately.
Till date, in VFP, I am maintaining separate project ( and therefore separate .exe file) for different form or forms.
I can send a small .exe file through email to all customers.
I can't believe the internet line to check the source for updating any changes (through ClickOnce).
So the only option available is splitting application into separate projects and deploy separate exe files through setup project.
Whenever required, I can update the customers by sending the updated exe file.


II) Connection String Sharing Aspect --

I have gone through the article of Dr. Bonat on Storing MySQL connection string. It is good as long as all the forms are in single project.
But in my case,---1) diferent users have different userid & password. It is entered on a Login form.
2) different forms are in different projects. Suppose I store the conn string in properties -- settings --- of project "myProj'
Now I want to access this conn string through a project "SecondProj". Certainly, I need to add reference of "myProj" into "SecondProj".
Likewise, reference of "myProj" to be added to a number of projects.
This, I think, is not an optimal solution.

I humbly request you to suggest on how should I tackle this.

Thanks,
Vineet.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





All times are GMT -4. The time now is 10:32 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2


For advertising opportunities click here.