473,566 Members | 2,770 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VB-Access

49 New Member
Hi everybody,

I have taken Access as Backend for VB . I set a password to the access file. But when i run the application it is giving an error. How to set the password in the VB 6 in coding. in Connection String. please help me in this concept.

Thank in advance.
bye
Jun 18 '07 #1
5 1218
r035198x
13,262 MVP
Hi everybody,

I have taken Access as Backend for VB . I set a password to the access file. But when i run the application it is giving an error. How to set the password in the VB 6 in coding. in Connection String. please help me in this concept.

Thank in advance.
bye
Do not post questions in the articles section.
Moved to the forum.
Jun 18 '07 #2
ansumansahu
149 New Member
Hi everybody,

I have taken Access as Backend for VB . I set a password to the access file. But when i run the application it is giving an error. How to set the password in the VB 6 in coding. in Connection String. please help me in this concept.

Thank in advance.
bye
Hi ,

This is how you define the connection string.
Driver={Microso ft Access Driver (*.mdb)};Dbq=C: \mydatabase.mdb ;Uid=Admin;Pwd= ;

good luck
-ansuman sahu
Jun 19 '07 #3
debasisdas
8,127 Recognized Expert Expert
Please find the details regarding connection string here .
Jun 20 '07 #4
Jayachandra
49 New Member
Thank you for Reply,

Here I am using ADODB.connectio n

How can I open my Access Database which is having password set by Exclusively. while trying with dbOpen.Mode it is not appearing in the list for ADODB connection.

Thank you
Aug 7 '07 #5
sumitbatra1981
4 New Member
User id will be admin
password will be the one u set tou your access file
Aug 8 '07 #6

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

Similar topics

16
486
by: Terry | last post by:
Hi, I need some feedback. We are converting to .Net and we are trying to decide on whether to use VB.net or C#.net. As far as our current systems, they will probably be rewritten in ASP.Net. I have looked into both and I don't see anything that would scream out to use one or the other. So at this point, it is still a toss up. However, I want...
13
5138
by: Arsalan | last post by:
Is there any advantage in C# over VB.NET ? Or the difference is only syntax ? Can anything done in C# which cannot be done in VB.NET?
28
2427
by: Andy | last post by:
Any good resources regarding benefitis by using C3 over VB? /Andy
34
3130
by: Eric Wise | last post by:
Does anyone work for companies that actually implement both VB and C#? I know that you can do this in theory, I just find it hard to imagine that a company would split its programming technologies like that. Of course now with the CLR there doesn't seem to be any performance benefit to using C# over VB, and VB I think is an "easier"...
12
1646
by: Leo Muller | last post by:
I always thought that moving from VB.NET to C# would be very easy. Even though so far it hasn't been hard, there are some annoying things, that may have to do with my visual studio settings. - When I type "system." the intellisense doesn't comlete this, only if I write it with a capital S, rather annoying... - is the type "string" or...
16
2573
by: Ben Hannon | last post by:
Hi, I'm writting a COM Class in VB.NET to be used in a VB6 project (Tired of the VB6 hassles with cloning and serializing an object). All my classes I need cloneable/serializable are now in a VB.NET class that exposes those objects to COM perfectly. However I ran into a problem because some of these objects requires a Collection. When I...
182
7415
by: Jim Hubbard | last post by:
http://www.eweek.com/article2/0,1759,1774642,00.asp
25
1807
by: Sharrukin Amiri | last post by:
Hello, I am using VB 6.0 for many years. Everytime I needed to build software applications, I just opened VB 6.0 and started coding. I am now looking VB.NET Express Edition and I find I can no longer do this very easily. I find that there is too much copy and paste of code in order to get an app running. I also find it slow. Is it me...
2
1679
by: D H | last post by:
Hi, Hi, I was looking for your opinion on VB.NET - its long-term prospects, etc. Sorry this is vague, but it's not meant to be a troll. It's a pro-VB.NET post actually. I haven't used VB or VB.NET really, but I have used Realbasic (a vb clone), Java, C#, C, and Python. I work in education, and I'd like something that is easy enough for...
0
7888
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7644
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7951
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6260
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5484
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5213
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3643
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1201
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.