473,402 Members | 2,055 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

In a Jam, need help quick-Mdf Files

Sorry If this has been asked 1000 times but in a bind..Need simple code using Visual Basic 2005 on how to open a SqlExpress MDF file..How to extract the data would help also..I can open an MDB file with VB5 and extract data no problem. Was told last night I had to do this in Visual Basic 2005 and would by usuing SqlServer Express.And done by monday..Done the Interface not do much of a learning curve,,but the database connection is stalling me.
Any help, pointer to help would be most welcome.
Thanks
Apr 22 '07 #1
1 1208
SammyB
807 Expert 512MB
Sorry If this has been asked 1000 times but in a bind..Need simple code using Visual Basic 2005 on how to open a SqlExpress MDF file..How to extract the data would help also..I can open an MDB file with VB5 and extract data no problem. Was told last night I had to do this in Visual Basic 2005 and would by usuing SqlServer Express.And done by monday..Done the Interface not do much of a learning curve,,but the database connection is stalling me.
Any help, pointer to help would be most welcome.
Thanks
I've not done any SqlExpress, but a quick google search had http://www.sitepoint.com/article/hos...ql-server-2005 on top. It seems to have all the information that you need. It is written for C#, but it's pretty easy to translate to VB: usually just rearrange & drop the semicolon. It has this line that seem pertinent to you (I translated to VB)
Expand|Select|Wrap|Line Numbers
  1. Dim conn As New System.Data.SqlClient.SqlConnection("connection string")
But, I don't do databases, so it's easy for me! HTH --Sam
Apr 22 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

41
by: Psykarrd | last post by:
I am trying to declare a string variable as an array of char's. the code looks like this. char name; then when i try to use the variable it dosn't work, however i am not sure you can use it...
7
by: lkrubner | last post by:
The PHP scripting language has the array_unique() function that gets the unique, non-redundant values out of an array. Does Javascript have anything similar?
0
by: aredo3604gif | last post by:
The user can dynamically enter and change the rule connection between objects. The rule is a "<" and so given two objects: a < b simply means that b < a can't be set, also it must be a != b. And...
2
by: A.M | last post by:
Hi, I uderstand any Quick Start samples in .NET documentation or VS.NET documentation or in any other community/portal websites, is a link to http://samples.gotdotnet.com/quickstart/. That...
1
by: jmbn2k | last post by:
HI Can anyone get me the code for the Big-O-Notation implementation of Quick sort and Bubble Sort........please (1) BUBBLE SORT Bubble Sort Time Complexity Space...
0
by: U S Contractors Offering Service A Non-profit | last post by:
Brilliant technology helping those most in need Inbox Reply U S Contractors Offering Service A Non-profit show details 10:37 pm (1 hour ago) Brilliant technology helping those most in need ...
1
by: AngelLopez1989 | last post by:
I need the complete C++ program/ algorithm of Quick Sort. Can you please help me out? No pseudocode please. Can you please also explain how to do the quick sort? Thank you!
1
by: bartman1973 | last post by:
Hi guys and gals, i am new in C++ and would like to seek some help. I just transfered to this new department and now they are asking me to do some programming. I am just in the process of...
2
by: giddy | last post by:
hi, I'm an MCP(70-536) so i know C# pretty well, the last app i made i had to resort to using a hideously confusing design to print reports, charts etc, and eventually it didn't work out well....
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.