Wrox Programmer Forums
|
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 8th, 2004, 03:15 AM
Authorized User
 
Join Date: Apr 2004
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Default Vb 6 How to

First fogive me about my english !
When I was shool My teacher create a visual basic database project
with MSSQL server He use Getseting and SaveSeting to connect to MSSQL Server Database . I feel it very usefull. But Now I'm unable to remember how to use it. Does anyone know how to do that ?
Thank for your help

 
Old October 8th, 2004, 06:25 AM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 363
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hello,

  Do you mean that connecting to database?

Use ADODC,

Go thru msdn and find the full information about ADODC and connecting to database(any).



 
Old October 22nd, 2004, 07:54 AM
Aal Aal is offline
Authorized User
 
Join Date: Oct 2004
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello minhtri ...
it is good to put your program setting in a windows registry or you can put it in a TextFiles or Dat files. VB give Save Setting and Get Setting method that all setting you made will be put in a VBA key in registry that VB create when you install the software ( the method search the key automatically ). The problems is, if user computer didn't installing the VB ???. my suggestion is, you can make it the key by your own use REG_CREATE_KEY and all the friends, you can find it in API Viewer to load the function in your programs, you can put the key anywhere in a registry just depends on how you call it later. That's all from me, hope this can help you to solve the problems, have fun with your scripts friends . . .bye

 
Old October 22nd, 2004, 07:58 AM
Aal Aal is offline
Authorized User
 
Join Date: Oct 2004
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

sorry i'm not in my computer right now, to give you some samples about this. Just try it first. . .OK!!
bye . . .






Similar Threads
Thread Thread Starter Forum Replies Last Post
Running a VB 2005 exe file on a system without VB dilionyi Pro Visual Basic 2005 3 September 21st, 2009 07:37 PM
How do I write this vb 6 code to work in vb 2008? sanderson Visual Basic 2008 Essentials 3 June 10th, 2008 01:46 PM
Crystal Reports 11 from VB to VB.net koushik_b2002 Crystal Reports 2 June 1st, 2008 01:58 AM
convert dsr file from vb to vb.net Shashi001 VB Components 1 September 22nd, 2006 12:24 PM
converting DTS package from VB 6 to VB .NET petroleo Pro VB Databases 0 August 18th, 2003 05:01 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.