Why is my .pb file opened with File Viewer?

Working on new editor enhancements?
swhite
Enthusiast
Enthusiast
Posts: 798
Joined: Thu May 21, 2009 6:56 pm

Why is my .pb file opened with File Viewer?

Post by swhite »

Hi

I have been working on a PB project and now one of the source code files is not open in the editor but instead appears in the file viewer and I do not know why. The only solution I have found is to create a new file and copy and paste the code into the new files and save it. However if I open this new file it is also opened in the file viewer. How do I stop this from happening?

Simon
Simon White
dCipher Computing
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Why is my .pb file opened with File Viewer?

Post by IdeasVacuum »

Are you creating the new file in the PureBasic IDE and pasting into that? Should be foolproof.....
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
swhite
Enthusiast
Enthusiast
Posts: 798
Joined: Thu May 21, 2009 6:56 pm

Re: Why is my .pb file opened with File Viewer?

Post by swhite »

Yes that is exactly what I am doing but it does not solve the problem.

Simon
Simon White
dCipher Computing
swhite
Enthusiast
Enthusiast
Posts: 798
Joined: Thu May 21, 2009 6:56 pm

Solved: Why is my .pb file opened with File Viewer?

Post by swhite »

Hi

There was a line of text that included 0x02 and 0x03 characters in string I was using for testing. Once I removed this text it opened as expected.

Simon
Simon White
dCipher Computing
User avatar
kenmo
Addict
Addict
Posts: 2045
Joined: Tue Dec 23, 2003 3:54 am

Re: Why is my .pb file opened with File Viewer?

Post by kenmo »

That's odd...
Post Reply