6 Replies - 480 Views - Last Post: 18 June 2011 - 11:12 AM Rate Topic: -----

#1 Milto  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 23
  • View blog
  • Posts: 139
  • Joined: 10-February 11

Project: Email client with logon and contact list function.

Posted 18 June 2011 - 07:07 AM

Hello. I'm working on a personal application for sending emails off my desktop.
I have already completed a large amount of the work, and here is an overview of what I made and what I need help with making.

Developed:
2 forms, logon form and email format/send form.
Working SMTP client using Gmail.
Credentials are obtained through the log on form.
--All of these functions work properly--

Need help developing:
A "remember me" checkbox on the logon screen.
A friends list drop-down box.

I would appreciate some advice telling me where I should start tackling this
(mainly where/how to use a memory function, which I'm new to)

Thanks in advance :bigsmile:

Is This A Good Question/Topic? 0
  • +

Replies To: Project: Email client with logon and contact list function.

#2 tlhIn`toq  Icon User is online

  • Please show what you have already tried when asking a question.
  • member icon

Reputation: 5508
  • View blog
  • Posts: 11,813
  • Joined: 02-June 10

Re: Project: Email client with logon and contact list function.

Posted 18 June 2011 - 07:55 AM

"remember me" would be a bool. Either remember the user or don't.

A drop down list can be filled with objects. So make a "contact" class and a List<contact> friends for the user to add people to.

Your question is truly vague so that means you get vague answer(s).

It sounds a lot like you started typing before you finished engineering. The job title is "Software Engineer". You need to make a blueprint for anything before you start construction and software is no different. I'm concerned that if you didn't know how you were going to accomplish a friends list, then the underlying architecture of your application may not allow for it easily.


The tutorials below walk through making an application including inheritance, custom events and custom controls.
Bulding an application - Part 1
Building an application - Part 2
Was This Post Helpful? 0
  • +
  • -

#3 Milto  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 23
  • View blog
  • Posts: 139
  • Joined: 10-February 11

Re: Project: Email client with logon and contact list function.

Posted 18 June 2011 - 08:00 AM

I apologize for the vague question, I tried making it specific.

I know how to make the friends list and checkbox (and understand how to implement if ((bool)rememberMe.IsChecked) yada yada. Quite frankly, all I need to know is how to save data in my application for later reference.
Was This Post Helpful? 0
  • +
  • -

#4 SurfingShark  Icon User is offline

  • D.I.C Head

Reputation: 38
  • View blog
  • Posts: 188
  • Joined: 18-April 11

Re: Project: Email client with logon and contact list function.

Posted 18 June 2011 - 08:31 AM

That can be done through different means. If you have the ability to hit a database, say MSSQLSERVER, then that might be best if you expect clients to have a lot of data. You can equally use a flat file, like XML, to store the data. It all depends on who your audience is and what you have at your disposal.
Was This Post Helpful? 0
  • +
  • -

#5 Milto  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 23
  • View blog
  • Posts: 139
  • Joined: 10-February 11

Re: Project: Email client with logon and contact list function.

Posted 18 June 2011 - 08:34 AM

Well, for now I'm the only one that will be using it. So whichever is more suitable for small amounts of data. I'll look into storing data as XML.
Was This Post Helpful? 0
  • +
  • -

#6 tlhIn`toq  Icon User is online

  • Please show what you have already tried when asking a question.
  • member icon

Reputation: 5508
  • View blog
  • Posts: 11,813
  • Joined: 02-June 10

Re: Project: Email client with logon and contact list function.

Posted 18 June 2011 - 10:52 AM

How are you storing all the rest of the persistent variables for the application? Path to files... username and email account information... which tabs and modes to open into... schedules for how often to check for new email... the last open screen location and form size so you can restore to the same geometry...

your 'remember me' bool is no different. Just save it in the same way all all your other persistent variables.
Was This Post Helpful? 1
  • +
  • -

#7 Milto  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 23
  • View blog
  • Posts: 139
  • Joined: 10-February 11

Re: Project: Email client with logon and contact list function.

Posted 18 June 2011 - 11:12 AM

Alright, thanks for the help I think I figured it out now :bigsmile:
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1