Page 1 of 1

Why is my .pb file opened with File Viewer?

Posted: Wed Feb 16, 2011 4:08 pm
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

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

Posted: Wed Feb 16, 2011 4:20 pm
by IdeasVacuum
Are you creating the new file in the PureBasic IDE and pasting into that? Should be foolproof.....

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

Posted: Thu Feb 17, 2011 1:21 am
by swhite
Yes that is exactly what I am doing but it does not solve the problem.

Simon

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

Posted: Thu Feb 17, 2011 1:29 am
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

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

Posted: Wed Feb 23, 2011 4:54 am
by kenmo
That's odd...