Iam getting error when i load a single form from my project what to do......
i saw error detail but could not find what and why it is giving due to datepicker..
please help,below u can find error log which is given for dependent form How to remove this??
I got one clue that this error is only to the form which have date picker property please help me,iam waiting to ur response
Thank u
sowmya s
Last edited by sowmya s; March 16th, 2006 at 10:18 PM.
Iam getting error when i load a single form from my project what to do......
i saw error detail but could not find what and why it is giving due to datepicker..
please help,below u can find error log which is given for dependent form How to remove this??
I got one clue that this error is only to the form which have date picker property please help me,iam waiting to ur response
Thank u
sowmya s
Check the component,whether it is loaded properly or not.
If you are trying to set properties of the DatePicker, you cannot do it in Form_Load, as the form isn't actually visible yet. Place your code for the DP into the Form_Activate event instead, which fires as soon as the form is displayed.
pls check for you installed components, in case you have all the components installed, then tell me how many forms r ther in ur application and r u talking about the form_load event or r u trying to run only one form out of many?
if i open the whole project it does not give any problem but if i open one form out of that project it gives problem...............due to this even if i copy my project in thumb drive and put it in another computer it does not open.........
You need at least the minimum of VB6 Runtime Library on each computer. You could also save it on the thumb drive. I don't know why you'd open only a form, if it is separate? I save each program as a project, in a different folder.
This prevents changing a form in one project, which messes up the same form in another project.
You need at least the minimum of VB6 Runtime Library on each computer. You could also save it on the thumb drive. I don't know why you'd open only a form, if it is separate? I save each program as a project, in a different folder.
This prevents changing a form in one project, which messes up the same form in another project.
HI sir,
Even i don't want to open a single form,but if i copy whole project and open in another computer......it is not opening........
and mystery is i have 6 forms 3 forms are opening properly(which don't have datepicker) and other three(dtpicker is there)are not opening...........
Did you try to comment the DateTimePicker to see if it is really causing you problems?Comment all code related, disable the control.Then start to uncomment part of the code.
Daniela
Did you try to comment the DateTimePicker to see if it is really causing you problems?Comment all code related, disable the control.Then start to uncomment part of the code.
Daniela
i commented all date picker code but.............not working
i think i have to remove date picker i think so.
Hi,
I asked others who had a similar problem before.
They solved it by reinstalling VB or register again the ocx for that control.
Sorry about bad news...Hope it helped
Daniela
if i open the whole project it does not give any problem but if i open one form out of that project it gives problem...............due to this even if i copy my project in thumb drive and put it in another computer it does not open.........
If you open only one form in many forms that form if having other OCX tool let say DTPicker, MSFlexGrid so forth tools. That will occur error because you only open one form not the project.
If you open only one form in many forms that form if having other OCX tool let say DTPicker, MSFlexGrid so forth tools. That will occur error because you only open one form not the project.
HI,
my main problem i explained befor ie i want to work with project in home also.....so i copied project in thumb drive and went home and opened .but it is not opening(i mean whole project)
because of that i thought to open single form and check each form ...after checking i came to know that it is problem with datepicker because the forms which have date picker is not opening and other forms which donot have datepicker is opening(when i open single form)
please give some idea............i attached one file ie error statement given during load please look that and tell me solution..iam not getting...tried in lot of ways.............
before reinstalling the s/w you pls crosscheck your components and refrences in the machine you have at ur office with the machine at home.
if it tallies and still the same problem persist you try one more thing ie to copy entire project from your off machine to your machine at home.
you also do one more thing make a new dummy proj and create a new form with a datetime picker and try to run that if it runs then it means that there is no prob with VB in your machine.
my main problem i explained befor ie i want to work with project in home also.....so i copied project in thumb drive and went home and opened .but it is not opening(i mean whole project)
I checked your error text file. If I am not mistaken in that form have five DTPiker right?
because of that i thought to open single form and check each form ...after checking i came to know that it is problem with datepicker because the forms which have date picker is not opening and other forms which donot have datepicker is opening(when i open single form)
Originally Posted by zmyint
If you open only one form in many forms that form if having other OCX tool let say DTPicker, MSFlexGrid so forth tools. That will occur error because you only open one form not the project.
I tried to find out your problem like what I said the error message is the same.
The errors message are:
Line 13: Class MSComCtl2.DTPicker of control DTPicker1 was not a loaded control class.
Line 19: The property name _ExtentX in DTPicker1 is invalid.
Line 20: The property name _ExtentY in DTPicker1 is invalid.
Line 21: The property name _Version in DTPicker1 is invalid.
Line 22: The property name Format in DTPicker1 is invalid.
Line 23: The property name CurrentDate in DTPicker1 is invalid.
How I did is I open one project there have two forms. At the second form have one DTPciker. So I save it and close the whole project and reopen only the second form that have a dtpicker. The error are the same with what you posted.
I checked your error text file. If I am not mistaken in that form have five DTPiker right?
I tried to find out your problem like what I said the error message is the same.
How I did is I open one project there have two forms. At the second form have one DTPciker. So I save it and close the whole project and reopen only the second form that have a dtpicker. The error are the same with what you posted.
Thank u, for trying to find my problem and showed me that my thought about date picker is true.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.