On one of my projects, only one specific project, when I cloned it from github to a PC, the VBP could not be opened, bringing the IDE and the project to a halt.

The error is related to the picture object property that cannot be set.

This showed there was some inconsistency between the FRM and the FRX files and if I looked in the error log I would see the error showing for all command buttons that had been set to graphic mode, and where the button had an assigned picture image.

This only occurred when I used github to clone the rep. If I copied it over the network, it worked so a github error was indicated.

I tried manually copying the FRX files alone, no luck, if I copied the associated the FRM file, the project would open. All my other projects can be cloned without error.

So, I have modified my .gitattributes file to contain the following:

Code:
# Auto detect text files and perform LF normalization
* text auto

# Custom for Visual Studio

*.res binary
*.RES binary
*.frx binary
*.exe binary
*.dll binary
*.ico binary
*.gif binary
*.ocx binary
*.tlb binary
*.ocx.bin binary
*.ism binary
*.bin binary
*.aps binary
*.ncb binary
*.wav binary
*.mp3 binary
*.oca binary
*.exe.compat binary
*.ocx.compat binary

*.ctx    -diff

*.ctl text eol=crlf
*.txt text eol=crlf
*.bas text eol=crlf
*.frm text eol=crlf
*.log text eol=crlf
*.vbp text eol=crlf
*.cls text eol=crlf
*.vbw text eol=crlf
*.dsr text eol=crlf
*.ini text eol=crlf

# Standard to msysgit
*.doc	 diff=astextplain
*.DOC	 diff=astextplain
*.docx  diff=astextplain
*.DOCX  diff=astextplain
*.dot   diff=astextplain
*.DOT   diff=astextplain
*.pdf   diff=astextplain
*.PDF	 diff=astextplain
*.rtf	 diff=astextplain
*.RTF diff=astextplain
Since then the final github clone worked well.

Does anyone have a .gitattributes file that deals with VB6 better than the above?