Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old September 23rd, 2005, 07:25 AM
Fowler_ko Fowler_ko is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: Cumbria, UK
Posts: 277 Fowler_ko User rank is Second Lieutenant (5000 - 10000 Reputation Level)Fowler_ko User rank is Second Lieutenant (5000 - 10000 Reputation Level)Fowler_ko User rank is Second Lieutenant (5000 - 10000 Reputation Level)Fowler_ko User rank is Second Lieutenant (5000 - 10000 Reputation Level)Fowler_ko User rank is Second Lieutenant (5000 - 10000 Reputation Level)Fowler_ko User rank is Second Lieutenant (5000 - 10000 Reputation Level)Fowler_ko User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 5 Days 10 h 24 m 33 sec
Reputation Power: 84
VB Advice

I have a small amount of VB6 knowledge, and am competent with Access and Vba.

I am trying to put together a program that accesses a SQL server database and need a couple of pointers in the right direction. I am looking at it having similar functionality to an access database.

What is the best way to connect to the database (DataEnvironment, ADO or other)? Once connected what is my best way to display data in the forms, unbound or bound?

I am just looking for any pointers from people with more knowledge than myself, and also any links to example apps that you may know of…

Thanks in advance.

Reply With Quote
  #2  
Old September 23rd, 2005, 07:36 AM
Guddu's Avatar
Guddu Guddu is offline
Contributing User
Click here for more information.
 
Join Date: Jul 2005
Location: Oxford UK
Posts: 3,652 Guddu User rank is Major General (70000 - 90000 Reputation Level)Guddu User rank is Major General (70000 - 90000 Reputation Level)Guddu User rank is Major General (70000 - 90000 Reputation Level)Guddu User rank is Major General (70000 - 90000 Reputation Level)Guddu User rank is Major General (70000 - 90000 Reputation Level)Guddu User rank is Major General (70000 - 90000 Reputation Level)Guddu User rank is Major General (70000 - 90000 Reputation Level)Guddu User rank is Major General (70000 - 90000 Reputation Level)Guddu User rank is Major General (70000 - 90000 Reputation Level)Guddu User rank is Major General (70000 - 90000 Reputation Level)Guddu User rank is Major General (70000 - 90000 Reputation Level)Guddu User rank is Major General (70000 - 90000 Reputation Level)Guddu User rank is Major General (70000 - 90000 Reputation Level)Guddu User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 2 Months 3 Weeks 2 Days 13 h 7 m 16 sec
Reputation Power: 787
use ADO ........thnx

Reply With Quote
  #3  
Old September 25th, 2005, 08:59 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
Personally, I try to do all my db work in code with ado. I use databound controls but I try to bind the data in code rather than design time. One reason is databound controls in VB6 have "issues" with mysql database back ends.
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
  #4  
Old September 26th, 2005, 12:18 PM
Fowler_ko Fowler_ko is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: Cumbria, UK
Posts: 277 Fowler_ko User rank is Second Lieutenant (5000 - 10000 Reputation Level)Fowler_ko User rank is Second Lieutenant (5000 - 10000 Reputation Level)Fowler_ko User rank is Second Lieutenant (5000 - 10000 Reputation Level)Fowler_ko User rank is Second Lieutenant (5000 - 10000 Reputation Level)Fowler_ko User rank is Second Lieutenant (5000 - 10000 Reputation Level)Fowler_ko User rank is Second Lieutenant (5000 - 10000 Reputation Level)Fowler_ko User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 5 Days 10 h 24 m 33 sec
Reputation Power: 84
Thanks for the pointers, I have gone with ADO and binding the data using code... Seems to be going fine, so far!

Thanks again

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingVisual Basic Programming > VB Advice


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT