|
-
Jan 15th, 2006, 07:22 PM
#1
Thread Starter
Fanatic Member
planner/ reminder program
hey guys
i'm gonna be starting on making a planner program using the MonthView Control. i've got when you click on the date and click add reminder a form comes up with 3 textboxes one for the event, one for the time it starts and the time it ends. i'm not sure exactely what i should use to save the data for the reminders in any ideas would be appreciated thanx
-
Jan 15th, 2006, 07:33 PM
#2
Re: planner/ reminder program
A database would be the usual choice.
-
Jan 15th, 2006, 07:35 PM
#3
Thread Starter
Fanatic Member
Re: planner/ reminder program
alright lol your gonna have to bare with me as i have absoutely NO experience with databases and such i'm assuming you would use MsAccess to do the job?
-
Jan 15th, 2006, 07:37 PM
#4
Re: planner/ reminder program
Yes that is perhaps the most popular choice.
-
Jan 15th, 2006, 07:44 PM
#5
Thread Starter
Fanatic Member
Re: planner/ reminder program
alright would you know of any examples on how to use databases that i can take a look at?
-
Jan 15th, 2006, 07:45 PM
#6
Re: planner/ reminder program
Take a look at the database tutorial in the database section, and the database portion of our FAQ section.
-
Jan 15th, 2006, 07:46 PM
#7
Thread Starter
Fanatic Member
Re: planner/ reminder program
lol wow today i have been so out of it thanks hack
-
Jan 15th, 2006, 07:57 PM
#8
Re: planner/ reminder program
 Originally Posted by dark_shadow
hey guys
i'm gonna be starting on making a planner program using the MonthView Control. ...
Just using that control might be difficult to accomplish what you're after.
You may want to look at the sample I posted in this thread - it demonstrates how to layout your own calendar. You may utilise MonthView for dates selection if you wish.
-
Jan 15th, 2006, 08:13 PM
#9
Thread Starter
Fanatic Member
Re: planner/ reminder program
so according to your other post you cant write "external data" to the control?
-
Jan 15th, 2006, 08:17 PM
#10
Re: planner/ reminder program
Of course not - it's good only for selecting dates. Just like DateTime Picker control.
-
Jan 15th, 2006, 08:20 PM
#11
Thread Starter
Fanatic Member
Re: planner/ reminder program
-
Jan 15th, 2006, 08:28 PM
#12
Re: planner/ reminder program
Your guidance to perfect GUI could be MS Outlook 2000. 2003 version was overkilled with some unnecessary features and I also found GUI to be very cumbersome.
-
Jan 15th, 2006, 08:31 PM
#13
Thread Starter
Fanatic Member
Re: planner/ reminder program
ok for adding the database i've got msAccess 2003 what reference would i use it ? according to the example i downloaded it says to reference the "Microsoft Active Data Objects 2.5 Library" but i didnt see that as one of my options when i was looking through the refernces
-
Jan 15th, 2006, 08:38 PM
#14
Re: planner/ reminder program
You may need to download MDAC directly from Microsoft and install it first.
-
Jan 15th, 2006, 09:17 PM
#15
Thread Starter
Fanatic Member
Re: planner/ reminder program
ok i did as RhinoBull said and it still does not show up for some reason
-
Jan 15th, 2006, 09:26 PM
#16
Re: planner/ reminder program
That's not possible... Did you properly install it?
-
Jan 15th, 2006, 09:38 PM
#17
Thread Starter
Fanatic Member
Re: planner/ reminder program
yes i did but i'll try again
-
Jan 16th, 2006, 05:21 AM
#18
Thread Starter
Fanatic Member
Re: planner/ reminder program
RhinoBull in your example of a calander you cant resize any controls why is that ?
Last edited by dark_shadow; Jan 16th, 2006 at 09:52 AM.
-
Jan 16th, 2006, 10:05 AM
#19
Thread Starter
Fanatic Member
Re: planner/ reminder program
alright i've been doing some reading on using ADODB control first and for most would this help my situation? second when i use it i get an "error with FROM clause" error why does this mean?
Last edited by dark_shadow; Jan 16th, 2006 at 10:13 AM.
-
Jan 16th, 2006, 10:12 AM
#20
Re: planner/ reminder program
 Originally Posted by dark_shadow
RhinoBull in your example of a calander you cant resize any controls why is that ?
Because it's only a sample - it wasn't designed to do that.
-
Jan 16th, 2006, 10:14 AM
#21
Thread Starter
Fanatic Member
Re: planner/ reminder program
should of figured that lol
-
Jan 16th, 2006, 10:56 AM
#22
Re: planner/ reminder program
 Originally Posted by dark_shadow
alright i've been doing some reading on using ADODB control first and for most would this help my situation?
It may but using bound controls isn't something that you would want to do on a regular basis - using ADODB library is much more flaxible way but much coding involved as well.
 Originally Posted by dark_shadow
...second when i use it i get an "error with FROM clause" error why does this mean?
You'll need to post your code.
-
Jan 16th, 2006, 11:07 AM
#23
Thread Starter
Fanatic Member
Re: planner/ reminder program
the code is just establishing the connection
VB Code:
set Adodc = new Adodc.Connection
-
Jan 16th, 2006, 11:21 AM
#24
Re: planner/ reminder program
I don't follow you dark: what about that "error with FROM clause" question ?
Last edited by MartinLiss; Jan 16th, 2006 at 11:26 AM.
-
Jan 16th, 2006, 11:27 AM
#25
Thread Starter
Fanatic Member
Re: planner/ reminder program
ok i'm trying to get the basics of using the Adodc and just to understand the connection i've made a small program if it connects to the then it gives me a msgbox but when i put the code
VB Code:
set Adodc = new Adodc.Connection
i get a "syntax error with FROM clause"
-
Jan 16th, 2006, 11:39 AM
#26
Re: planner/ reminder program
Take a look at this thread - we have few tutorials and samples there.
-
Jan 16th, 2006, 11:45 AM
#27
Thread Starter
Fanatic Member
Re: planner/ reminder program
ok thanks i appoligize for the very basic questions that are probally wasting your time
-
Jan 16th, 2006, 12:14 PM
#28
Thread Starter
Fanatic Member
Re: planner/ reminder program
that tutorial worked great... but now i've got another problem when i try to add a record i get a "current recordset does not support updating" at this line (higlighted in red)
VB Code:
rs.Open "SELECT * FROM table1", cn, adOpenDynamic, , adCmdText
[COLOR=Red]rs.AddNew[/COLOR]
rs.Fields(0).Value = txttitle
rs.Update
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|