how to create sql database in visual basic


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: how to create sql database in visual basic

  1. #1
    Join Date
    Mar 2005
    Posts
    37

    how to create sql database in visual basic

    Is possible to create, via vb classic or VBA, a sql database in this instance:\\DVD377-14D9E48C\SQLEXPRESS...
    I have Sql Express.

    Database name: mydatabase
    Database Table: mytable

    fileds:
    fiedl1 text
    fiedl2 text
    fiedl3 text
    fiedl4 date
    fiedl5 number
    fiedl6 text

  2. #2
    Join Date
    Jan 2007
    Posts
    10

    just post

    as my limited knowledge, you can create db in vb.net, not sure if you can do in pre Net vb. How about mdb?

    How about XML or flat file, or you can try call store procedure.

  3. #3
    Join Date
    Aug 2004
    Location
    Orange, California
    Posts
    1,263
    Here is a link to sample code for creating a SQL Server database. Which SQL Express essentually is.
    http://www.freevbcode.com/ShowCode.Asp?ID=3211

  4. #4
    Join Date
    Mar 2005
    Posts
    37
    Quote Originally Posted by Ron Weller
    Here is a link to sample code for creating a SQL Server database. Which SQL Express essentually is.
    http://www.freevbcode.com/ShowCode.Asp?ID=3211
    Ron excellnet link!
    But sorry me, where i insert the name of my instance/SERVER, assumed is called:CL259F4500

    ... and i have not pass and user asssigned (i use Windows autentication)
    Tks for all.
    Sal, from Italy

Similar Threads

  1. Database not properly created
    By Arjuna in forum Database
    Replies: 2
    Last Post: 07-25-2007, 04:22 AM
  2. Replies: 0
    Last Post: 11-16-2005, 07:31 PM
  3. create database in ms sql server
    By jimmy6 in forum Database
    Replies: 4
    Last Post: 05-27-2005, 10:09 PM
  4. yag's status report - April 4, 2002
    By Yair Alan Griver [MSFT] in forum vb.announcements
    Replies: 0
    Last Post: 04-04-2002, 10:28 PM
  5. YAG's status report - Feb 14, 2002
    By Seth Grossman [MSFT] in forum .NET
    Replies: 1
    Last Post: 02-15-2002, 01:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center