|
-
Jan 27th, 2009, 06:22 AM
#1
Thread Starter
Addicted Member
Errors during load
hi...
i have this application which was working fine, but now when i'm trying to open it i get this error message:
Errors during load. Refer to "\\dc\databases$\filling.log" for details.
when i open my filling form i have a DBGrid which is gone and instead of the DBGrid i see a picture box
when i go to properties i see DBGrid1 PictureBox
i don't know where my DBGrid has gone...
can some one please suggests what can i do?
thankyou
-
Jan 27th, 2009, 08:34 AM
#2
Re: Errors during load
that happens sometimes.
if you have a backup of your project, you can try that.
if not, you'll have to re-add a DBGrid to your project an then replace the picbox with the grid. As long as you give it the same name it should work again.
-
Jan 27th, 2009, 01:46 PM
#3
Re: Errors during load
Are you loading the Project file (.vbp), or just the Form file (.frm)?
The Project file not only keeps track of which forms/modules/etc you have, but also any Components and References that are used (such as the DBGrid).
-
Jan 28th, 2009, 02:07 AM
#4
Thread Starter
Addicted Member
Re: Errors during load
i re-added th DBGrid but now when i run my application i get
cannot initialize data bindings...
when i debug i get the highlighted error in:
so what do i have to do now?
-
Jan 28th, 2009, 02:12 AM
#5
Re: Errors during load
have you set the bound database in the properties of the dbgrid
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
-
Jan 28th, 2009, 02:52 AM
#6
Thread Starter
Addicted Member
-
Jan 28th, 2009, 11:36 PM
#7
Thread Starter
Addicted Member
Re: Errors during load
can i have someones help please?
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
|