From: expvb on 3 Oct 2006 04:59 "HackaJAck" <HackaJAck(a)discussions.microsoft.com> wrote in message news:E11DF471-91DA-4AEF-949D-B94BF70897E5(a)microsoft.com... > I have also tried that but some of the forms wont load. I have > noticed that when I open some of the forms with notepad, its > empty. My VBP file is also empty. I have attempted to open > it with a previous VBP, but some of the forms wont load. If you opened the FRM file with Notepad and you saw nothing, then the form code is lost and you have to use a backup. I have never heard of VB6 doing this, so it must be from another source. Look at the file size for the FRM file for one of the forms that you can't load and post it here for some guidance. Right click the file and select Properties and post the file size in bytes, not what Windows Explorer shows which is in rounded kilobytes.
From: Steve Barnett on 3 Oct 2006 09:37 Do these "empty" files have a zero length? If not, try fining yourself a hex editor and have a look in the files using that. Look for any strange characters, possibly 00 bytes or 0C bytes at or near the start. If you find any of these, change then to 20 and try again. Leave any 0A or 0D alone. If they're 0 bytes, then they're almost certainly lost. I would also take a look at the backups on a different PC, if you can, to see whether they're really corrupt or whether it's something on your PC that makes them look like they are. Steve "HackaJAck" <HackaJAck(a)discussions.microsoft.com> wrote in message news:D633CA76-66E5-465E-B87C-5C595393B10B(a)microsoft.com... >I have been working on a project for 5 months. When I tried to open the > project yesterday, it gave an error "PayMaster.vbp cannot be loaded". I > opened the VBP file with notepad, but it was empty. I also opened some of > the > FRM files in notepad and some of those where empty too. > > I tried to load a previous backup but some of the forms refuses to load. > Then I tried making a new project and adding the forms, but it creates and > error log saying "Line 91: Class MSAdodcLib.Adodc of control adoEN was not > a > loaded control class." > > Then I tried making a new project and first adding all the components and > references and then tried adding the forms but still 5 of my forms refuses > to > load. Please help, I need to finish this project before Monday, and there > is > no way I can re-create 5 months of work in less than one week. > > I also run daily Virus updates and scans on my machine. I have Windows XP > SP2, and Visual Studio Enterprise Edition SP6. Automatic updates on my > operating system is ON.
From: HackaJAck on 3 Oct 2006 09:39 frmAttendance - 105,444 bytes frmEmployee - 81,810 bytes frmSystemSettings - 16,756 bytes frmMess - 10, 421 bytes frmReports - 31, 551 bytes We had a power failure last week while I was working on the project, but when it came back on, the project opened ok. It waws only on Monday morning that it refused to open.
From: HackaJAck on 3 Oct 2006 09:52 I have looked at these files with a Hex Viewer. The Hex code is present. I'm currently searching the net for a Hex editor, but Im not quite sure how to edit Hex code and what exactly to edit.
From: expvb on 3 Oct 2006 10:49 "HackaJAck" <HackaJAck(a)discussions.microsoft.com> wrote in message news:7A676785-CA8F-4330-89A7-8A946D3A6051(a)microsoft.com... >I have looked at these files with a Hex Viewer. The Hex code is present. >I'm > currently searching the net for a Hex editor, but Im not quite sure how to > edit Hex code and what exactly to edit. Use this one, it's a good one and free: http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm Also, you may find this ASCII table useful: http://www.lookuptables.com Hopefully you find away to fix it...
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 4 5 Prev: color conversion Next: Error 480 - can't create autoredraw image |