Computer Help forum

General discussion

Desktop application

I do web programming, but now need to create a desktop application.

Basically, the application will sit on a USB memory stick. Upon insertion of the USB stick, I want a dialog box to pop up asking for a username and password.

Upon correct authentication, I then want a text file to open up. I don't want the text file accessible until the user has successfully authenticated.

What is the best way to accomplish this for Windows?

I don't mind learning a new programming language for this.

I do both procedural, and OOP.

Thanks.

Discussion is locked
You are posting a reply to: Desktop application
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: Desktop application
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
Just checking.

In reply to: Desktop application

Collapse -
Autorun will do partially

In reply to: Just checking.

Autorun is only part of the equation. I need to write a program that pops up a dialog box and allows me to authenticate the user. What programming language should I learn for such a task?

Collapse -
Re: programming

In reply to: Autorun will do partially

All the user has to do to circumvent your program: keep shift pressed when inserting the USB-stick to disable any automatic action. Then he can access all files on it. If you don't want that, you need to encrypt the file in some way and have your program unencrypt it after verification of the password.

As a programming language (assuming that it needs to be Windows only, not Linux or OS X) try Visual Basic Express. That's a free download from Microsoft.

Kees

Collapse -
VB

In reply to: Re: programming

I'll try VB Express, along with the encryption idea. As I mentioned in my post, I'm a web app programmer and have never created a desktop app before. That is why I needed advice on a simple language that I can learn to create such a desktop application.

The application will consist of two parts:

Part 1 will be installed on a computer. It'll present a series of forms for gathering information. That information is then saved to a USB stick.

Part 2 is what will run when the USB is inserted again into a computer, to show the data saved on it in part 1.

Collapse -
Why not try it?

In reply to: VB

VB Express is simple enough that many never open a book or take a class. All your prior schooling should do fine here.

Collapse -
ANY language will do.

In reply to: Autorun will do partially

"I need to write a program that pops up a dialog box and allows me to authenticate the user. What programming language should I learn for such a task?"

I could do that in any language so far.

Bob

Popular Forums

icon
Computer Newbies 10,686 discussions
icon
Computer Help 54,365 discussions
icon
Laptops 21,181 discussions
icon
Networking & Wireless 16,313 discussions
icon
Phones 17,137 discussions
icon
Security 31,287 discussions
icon
TVs & Home Theaters 22,101 discussions
icon
Windows 7 8,164 discussions
icon
Windows 10 2,657 discussions

SMART HOME

This one tip will help you sleep better tonight

A few seconds are all you need to get a better night's rest.