Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6961815
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T15:34:45+00:00 2026-05-27T15:34:45+00:00

I’m making a program that gets information from a database and puts in a

  • 0

I’m making a program that gets information from a database and puts in a grid in an agenda-like way.
What I want my user to do during the installation of that program, is logging in (which is checked through a database) and that the program remembers who installed the program so that the program only gets the information relevant to that user.

The user logs in with an 9-digit number and a text+number password.

Any one who has an idea if it is even possible to do such a thing?

If not, suggestions of alternatives are welcome.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T15:34:45+00:00Added an answer on May 27, 2026 at 3:34 pm

    You could probably do this using a custom installer – but I’ve found that building installers for .Net is a bit of an obscure process. Microsoft’s guidance is here. I’d have the installer be as dumb as possible – just install the app, basically. The installer should be able to deploy your local database – depending on which engine you’re using – and set up an app.config file to allow you to connect. I’d have all the smart stuff happen in the app itself.

    I’d recommend writing this logic as an “initialize” step in your application – that way, you can offer it as an option for multiple users on the same machine, or in the case of catastrophic failure.

    At startup of your app, you need to check for the presence of a database connection; if that’s not there, offer the user the “setup database” screen. If you can connect, but the database hasn’t yet been initialized – e.g. the dates in the agenda aren’t there yet – have a separate initialisation step.

    I’d use one of the “wizard” frameworks to make the process as easy as it can possibly be.

    The benefit of doing this within the main app, rather than the installer, is that you have the full power of C# at your disposal, and you can test it in the context of your app, rather than within the installer script.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For some reason, after submitting a string like this Jack’s Spindle from a text
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I've got a string that has curly quotes in it. I'd like to replace
I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I want to count how many characters a certain string has in PHP, but
I would like to count the length of a string with PHP. The string
I want use html5's new tag to play a wav file (currently only supported

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.