I am making a login page form for a project of mine and there is also a registration form in it so what basically I want to do is to store the different usernames and password stored by different people from registration form and use those to login I made a module but the information stored in an array in the module is temporary so is there a way to store the registration information into the rom permanently???
![]() |
Patch reliability is unclear, but widespread attacks make patching prudent. Go ahead and patch, but watch out for potential problems. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Want to save value in the variables even after the application is closed in visual basic 6.0
Home » Forums » Developers, developers, developers » DevOps Lounge » Want to save value in the variables even after the application is closed in visual basic 6.0
- This topic has 3 replies, 2 voices, and was last updated 8 years, 11 months ago.
Viewing 1 reply threadAuthorReplies-
RetiredGeek
AskWoody_MVPMay 23, 2016 at 7:26 am #1564958Polar,
Welcome to the Lounge as a new poster. :cheers:
First you can’t store to ROM as that is Read Only Memory.
What you’ll need to do is to write all the information you want to preserve to a file. Since it is to be used later to verify logons, as I read your post, you’ll need to store that file in a location, e.g. network drive, cloud drive, etc., that all your users will have access to.
You’ll also have to make your VB routine read that file first thing when it is started. Also once read you will want to close it so if another user needs to write to it it will be available, e.g. only keep it open the minimum time necessary to complete an operation Read/Write.
HTH :cheers:
-
WSpolar
AskWoody LoungerMay 23, 2016 at 9:56 am #1564969Polar,
Welcome to the Lounge as a new poster. :cheers:
First you can’t store to ROM as that is Read Only Memory.
What you’ll need to do is to write all the information you want to preserve to a file. Since it is to be used later to verify logons, as I read your post, you’ll need to store that file in a location, e.g. network drive, cloud drive, etc., that all your users will have access to.
You’ll also have to make your VB routine read that file first thing when it is started. Also once read you will want to close it so if another user needs to write to it it will be available, e.g. only keep it open the minimum time necessary to complete an operation Read/Write.
HTH :cheers:
thank you :rolleyes:
Then can you guide me of what kind of file should I be making?? like should it be a notepad file and if it is to be a notepad file then how do I store the value of the array in the notepad file I am very new so sorry for my little knowledge.
-
-
RetiredGeek
AskWoody_MVPMay 23, 2016 at 1:18 pm #1564974Polar,
Sorry but I can’t offer further advice as I’m not a VB programmer nor do I have the tools to investigate the posibilities. I was answering the question from my general background in programming with other languages.
My recommendation would be a database file of some kind. You should have a look at the dll references available in VB (I’m pretty sure there are ones for Access and/or SQL Databases or possibly Excel) with them you could create and populate a database/list w/o actually having Access and/or Excel.
Perhaps some Lounge members with VB experience will chime in.
BTW: Since this is about Visual Basic and NOT Visual Basic for Applications I’m moving the thread to Windows Programming.
:cheers:
Viewing 1 reply thread -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
How much I spent on the Mac mini
by
Will Fastie
4 hours, 3 minutes ago -
How to get rid of Copilot in Microsoft 365
by
Lance Whitney
4 hours, 5 minutes ago -
Spring cleanup — 2025
by
Deanna McElveen
4 hours, 5 minutes ago -
Setting up Windows 11
by
Susan Bradley
4 hours, 6 minutes ago -
VLC Introduces Cutting-Edge AI Subtitling and Translation Capabilities
by
Alex5723
4 hours, 26 minutes ago -
Powershell version?
by
CWBillow
1 hour, 12 minutes ago -
SendTom Toys
by
CWBillow
5 hours, 30 minutes ago -
Add shortcut to taskbar?
by
CWBillow
6 hours, 35 minutes ago -
Sycophancy in GPT-4o: What happened
by
Alex5723
15 hours, 24 minutes ago -
How can I install Skype on Windows 7?
by
Help
14 hours, 7 minutes ago -
Logitech MK850 Keyboard issues
by
Rush2112
8 hours, 52 minutes ago -
We live in a simulation
by
Alex5723
1 day, 5 hours ago -
Netplwiz not working
by
RetiredGeek
16 hours, 7 minutes ago -
Windows 11 24H2 is broadly available
by
Alex5723
1 day, 17 hours ago -
Microsoft is killing Authenticator
by
Alex5723
5 hours, 36 minutes ago -
Downloads folder location
by
CWBillow
2 days ago -
Remove a User from Login screen
by
CWBillow
20 hours, 2 minutes ago -
TikTok fined €530 million for sending European user data to China
by
Nibbled To Death By Ducks
1 day, 15 hours ago -
Microsoft Speech Recognition Service Error Code 1002
by
stanhutchings
1 day, 15 hours ago -
Is it a bug or is it expected?
by
Susan Bradley
1 day, 20 hours ago -
Image for Windows TBwinRE image not enough space on target location
by
bobolink
1 day, 14 hours ago -
Start menu jump lists for some apps might not work as expected on Windows 10
by
Susan Bradley
14 hours, 10 minutes ago -
Malicious Go Modules disk-wiping malware
by
Alex5723
2 days, 4 hours ago -
Multiple Partitions?
by
CWBillow
2 days, 5 hours ago -
World Passkey Day 2025
by
Alex5723
1 hour, 13 minutes ago -
Add serial device in Windows 11
by
Theodore Dawson
3 days, 13 hours ago -
Windows 11 users reportedly losing data due forced BitLocker encryption
by
Alex5723
1 day, 14 hours ago -
Cached credentials is not a new bug
by
Susan Bradley
3 days, 18 hours ago -
Win11 24H4 Slow!
by
Bob Bible
3 days, 18 hours ago -
Microsoft hiking XBox prices starting today due to Trump’s tariffs
by
Alex5723
3 days, 15 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.