I copied a project made in vb6 to vb6 on vista and keep getting errors:
on all my format functions, "Error cannot find project or library"
Format is highlighted
g2.TextMatrix(g2.Rows - 1, 1) = Format(g2.TextMatrix(g2.Rows - 1, 1), "Fixed")
Printable View
I copied a project made in vb6 to vb6 on vista and keep getting errors:
on all my format functions, "Error cannot find project or library"
Format is highlighted
g2.TextMatrix(g2.Rows - 1, 1) = Format(g2.TextMatrix(g2.Rows - 1, 1), "Fixed")
Ah copied over projects from one OS to another will usually generate some kind of reference error/issue due to the fact that the registry paths are different on different OS'. Try creating the vbp from a new blank project. Then add the existing frm, frx, bas, and cls files over to it. You may also be able to just remove references and readd them but some wont let you remove them.
See the "Fixing common VB errors" link in my signature - it links to an FAQ article which explains in detail how to fix various errors, including the one you are getting (and includes RobDog888's suggestions).