Results 1 to 28 of 28

Thread: planner/ reminder program

  1. #1

    Thread Starter
    Fanatic Member dark_shadow's Avatar
    Join Date
    Feb 2005
    Location
    Igloo
    Posts
    900

    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

  2. #2

  3. #3

    Thread Starter
    Fanatic Member dark_shadow's Avatar
    Join Date
    Feb 2005
    Location
    Igloo
    Posts
    900

    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?

  4. #4

  5. #5

    Thread Starter
    Fanatic Member dark_shadow's Avatar
    Join Date
    Feb 2005
    Location
    Igloo
    Posts
    900

    Re: planner/ reminder program

    alright would you know of any examples on how to use databases that i can take a look at?

  6. #6
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: planner/ reminder program

    Take a look at the database tutorial in the database section, and the database portion of our FAQ section.

  7. #7

    Thread Starter
    Fanatic Member dark_shadow's Avatar
    Join Date
    Feb 2005
    Location
    Igloo
    Posts
    900

    Re: planner/ reminder program

    lol wow today i have been so out of it thanks hack

  8. #8
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: planner/ reminder program

    Quote 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.

  9. #9

    Thread Starter
    Fanatic Member dark_shadow's Avatar
    Join Date
    Feb 2005
    Location
    Igloo
    Posts
    900

    Re: planner/ reminder program

    so according to your other post you cant write "external data" to the control?

  10. #10

  11. #11

    Thread Starter
    Fanatic Member dark_shadow's Avatar
    Join Date
    Feb 2005
    Location
    Igloo
    Posts
    900

    Re: planner/ reminder program

    ok i see

  12. #12

  13. #13

    Thread Starter
    Fanatic Member dark_shadow's Avatar
    Join Date
    Feb 2005
    Location
    Igloo
    Posts
    900

    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

  14. #14

  15. #15

    Thread Starter
    Fanatic Member dark_shadow's Avatar
    Join Date
    Feb 2005
    Location
    Igloo
    Posts
    900

    Re: planner/ reminder program

    ok i did as RhinoBull said and it still does not show up for some reason

  16. #16

  17. #17

    Thread Starter
    Fanatic Member dark_shadow's Avatar
    Join Date
    Feb 2005
    Location
    Igloo
    Posts
    900

    Re: planner/ reminder program

    yes i did but i'll try again

  18. #18

    Thread Starter
    Fanatic Member dark_shadow's Avatar
    Join Date
    Feb 2005
    Location
    Igloo
    Posts
    900

    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.

  19. #19

    Thread Starter
    Fanatic Member dark_shadow's Avatar
    Join Date
    Feb 2005
    Location
    Igloo
    Posts
    900

    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.

  20. #20

  21. #21

    Thread Starter
    Fanatic Member dark_shadow's Avatar
    Join Date
    Feb 2005
    Location
    Igloo
    Posts
    900

    Re: planner/ reminder program

    should of figured that lol

  22. #22
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: planner/ reminder program

    Quote 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.

    Quote 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.

  23. #23

    Thread Starter
    Fanatic Member dark_shadow's Avatar
    Join Date
    Feb 2005
    Location
    Igloo
    Posts
    900

    Re: planner/ reminder program

    the code is just establishing the connection
    VB Code:
    1. set Adodc = new Adodc.Connection

  24. #24

  25. #25

    Thread Starter
    Fanatic Member dark_shadow's Avatar
    Join Date
    Feb 2005
    Location
    Igloo
    Posts
    900

    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:
    1. set Adodc = new Adodc.Connection



    i get a "syntax error with FROM clause"

  26. #26

  27. #27

    Thread Starter
    Fanatic Member dark_shadow's Avatar
    Join Date
    Feb 2005
    Location
    Igloo
    Posts
    900

    Re: planner/ reminder program

    ok thanks i appoligize for the very basic questions that are probally wasting your time

  28. #28

    Thread Starter
    Fanatic Member dark_shadow's Avatar
    Join Date
    Feb 2005
    Location
    Igloo
    Posts
    900

    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:
    1. rs.Open "SELECT * FROM table1", cn, adOpenDynamic, , adCmdText
    2.   [COLOR=Red]rs.AddNew[/COLOR]    
    3.   rs.Fields(0).Value = txttitle
    4.   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
  •  



Click Here to Expand Forum to Full Width