forms text box, links to the DB which has a setting of "short date" therefore, if the user puts any format other than this 00/11/0000, it of course whinges with error 13 "type mismatch"
Can I re-write this error so that when it pops up the user will see rather than run time error something like "Check your date format"?
other than that, I dont know how to write into the program "the Database requires you to put the date into the dd/mm/yyyy format" sort of thing...
on right click of the toolbox, I have "Components, Add Tab, Dockable, Hide"
after selecting components, I dont have the same screen as you... I have 3 tabs "Controls, Designers, Insertable Objects" the location at the bottom states "c:\winnt\system32\vsflex3.ocx" and I dont have any of the options that you do... im guessing thats not a good thing?
The answer should be YES, however you would need Error-Handling for that, which you don't have!
The message you got is system generated, in order to give the user another message for that situation you have to write code for that error. After doing that, you could give the user any message you want in case of that error!
You're welcome to rate this post!
If your problem is solved, please use the Mark thread as resolved button Wait, I'm too old to hurry!
[QUOTE=koolsid;3608074]Vb6...
No Wonder
Go to Projects --> Components --> Check the "Microsoft Windows Common Controls-2 6.0(SP6) "
QUOTE]
Just to be akward
1. I just realised I am actually working on a virtual machine, windows 2000 on the xp platform, my bad...
2. I only have Microsoft Windows Common Controls-2 6.0, no service pack after the name
3. I have just gone through and the options after the right click remain the same as 5 posts up!
"Wisdom is only truly achieved, when you realise you dont know everything" ... I must be a genius because I always have to ask stupid questions...
Pointing an idiot like me in the right direction, is always appreciated by the idiot, explaining how to do what you have pointed the idiot to, is appreciated even more. I apologise to all experienced coders who will think I am an idiot, you are right, I am an idiot, but I am an idiot who is trying to learn
Thread moved from 'Office Development/VBA' forum to the 'VB6' forum
(thanks for letting us know Sid )
My Bad Si, sorry I didnt realise I had it in the complete wrong place...
"Wisdom is only truly achieved, when you realise you dont know everything" ... I must be a genius because I always have to ask stupid questions...
Pointing an idiot like me in the right direction, is always appreciated by the idiot, explaining how to do what you have pointed the idiot to, is appreciated even more. I apologise to all experienced coders who will think I am an idiot, you are right, I am an idiot, but I am an idiot who is trying to learn
I have just found the DT Picker, and its allowing me to choose a date, but I cant select the time...
Second Note: I think I have found it under the "custom properties" of the DTpicker... I think it looks like I am there...
So looking at this it allows me to choose dates like this, however is there a simple function to draw out a fully digital calander onto a form?
Last edited by JayCR; Sep 15th, 2009 at 08:08 AM.
"Wisdom is only truly achieved, when you realise you dont know everything" ... I must be a genius because I always have to ask stupid questions...
Pointing an idiot like me in the right direction, is always appreciated by the idiot, explaining how to do what you have pointed the idiot to, is appreciated even more. I apologise to all experienced coders who will think I am an idiot, you are right, I am an idiot, but I am an idiot who is trying to learn
Yeah I have foudn it, the DTpicker works fine ont hat front, and produces a little calender which will definately do, however when I set it up so the DTpicker is used for time, I have put a custom control on there, and now when I use the drop down box, on the area where the time is entered, it gives me another calender to select a date, can this be changed?
at present I think I am just going to go back to my text box for the time if its not fairly easy to fix...
"Wisdom is only truly achieved, when you realise you dont know everything" ... I must be a genius because I always have to ask stupid questions...
Pointing an idiot like me in the right direction, is always appreciated by the idiot, explaining how to do what you have pointed the idiot to, is appreciated even more. I apologise to all experienced coders who will think I am an idiot, you are right, I am an idiot, but I am an idiot who is trying to learn
Thanks for that Si, I will have to give that a go!
"Wisdom is only truly achieved, when you realise you dont know everything" ... I must be a genius because I always have to ask stupid questions...
Pointing an idiot like me in the right direction, is always appreciated by the idiot, explaining how to do what you have pointed the idiot to, is appreciated even more. I apologise to all experienced coders who will think I am an idiot, you are right, I am an idiot, but I am an idiot who is trying to learn