Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Error when reopening a project (Delphi Tokyo)



Permlink Replies: 2 - Last Post: Mar 4, 2018 6:30 PM Last Post By: Martin Green
Martin Green

Posts: 8
Registered: 10/30/12
Error when reopening a project (Delphi Tokyo)
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 4, 2018 4:54 PM
I was working on a new project yesterday and shut down the PC for the day, when I tried to open the project today i got this:

Unable to load project [Path to my dproj file and project]
Could not convert variant of type (Null) into type (OleStr)

Does anyone have any Idea what has gone wrong??

I had this before on a smaller project which i deleted and started again, but this one has 5000+ lines of code already.
John Treder

Posts: 349
Registered: 8/2/02
Re: Error when reopening a project (Delphi Tokyo)
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 4, 2018 5:57 PM   in response to: Martin Green in response to: Martin Green
Martin Green wrote:

I was working on a new project yesterday and shut down the PC for the day, when I tried to open the project today i got this:

Unable to load project [Path to my dproj file and project]
Could not convert variant of type (Null) into type (OleStr)

Does anyone have any Idea what has gone wrong??

I had this before on a smaller project which i deleted and started again, but this one has 5000+ lines of code already.

I don't have any idea what goes wrong, but sometimes the .dproj file gets its knickers in a twist.
Delete the .dproj file and open the project using the .dpr file and it'll most likely be fine.

--
John
Martin Green

Posts: 8
Registered: 10/30/12
Re: Error when reopening a project (Delphi Tokyo)
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 4, 2018 6:30 PM   in response to: John Treder in response to: John Treder
Worked Great, Thanks, phew

John Treder wrote:
Martin Green wrote:

I was working on a new project yesterday and shut down the PC for the day, when I tried to open the project today i got this:

Unable to load project [Path to my dproj file and project]
Could not convert variant of type (Null) into type (OleStr)

Does anyone have any Idea what has gone wrong??

I had this before on a smaller project which i deleted and started again, but this one has 5000+ lines of code already.

I don't have any idea what goes wrong, but sometimes the .dproj file gets its knickers in a twist.
Delete the .dproj file and open the project using the .dpr file and it'll most likely be fine.

--
John
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02