3 Replies - 2306 Views - Last Post: 05 August 2007 - 06:44 AM Rate Topic: -----

#1 mramesh4you  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 02-August 07

how to write a visual basic program to connect with sql server

Post icon  Posted 02 August 2007 - 01:54 AM

[font=Arial Black][size=3]



I am new to Visual basic programming . please help me how to connect to sql server from vb front end.plese give me the complete program

Thanks in advance

This post has been edited by mramesh4you: 02 August 2007 - 01:57 AM

Is This A Good Question/Topic? 0
  • +

Replies To: how to write a visual basic program to connect with sql server

#2 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1641
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: how to write a visual basic program to connect with sql server

Posted 02 August 2007 - 02:04 AM

I'm sorry, we're not going to just give you all the code you need to complete your homework assignment/project at work, you are going to have to do some work. Have you written any code yet? Have you researched this on Goggle or other search engines?

If you have written code and cant get it to work, post it here and I will try to guide you the best I can, but I'm not going to just give you all the code you need, sorry.
Was This Post Helpful? 0
  • +
  • -

#3 tody4me  Icon User is offline

  • Banned
  • member icon

Reputation: 12
  • View blog
  • Posts: 1,398
  • Joined: 12-April 06

Re: how to write a visual basic program to connect with sql server

Posted 02 August 2007 - 06:27 AM

The only help that I could give would be to go out to connectionstrings.com and look up the connection string that you need on the site. That should at least get you started.
Was This Post Helpful? 0
  • +
  • -

#4 oas4ever  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 05-August 07

Re: how to write a visual basic program to connect with sql server

Posted 05 August 2007 - 06:44 AM

'Set h = wrkJet.OpenDatabase("tcisli205777.mdb", , True, _
"SQLOLEDB.1;Persist Security Info=False;User ID=sa;Initial Catalog=HEDO;Data Source=oas")
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1