waraq
Member
Hi!
I'm having problems changing the background image on a command button once the application is installed in a sencond computer. I get the following message every time I mousehover the command button:
An unhandled exception of type 'System.IO.FileNotFoundException' occurred in system.drawing.dll
Additional information: C:\Documents and Settings\Admin\Desk\ACT-SystemTool\ColorA.ico
This is what I did:
Dim Camino AsString = Path.GetFullPath("..\..\ColorA.ico")
btnAR.BackgroundImage = BackgroundImage.FromFile(Camino)
Yes, the folder with the files are in the main distribution application folder.
I'm having problems changing the background image on a command button once the application is installed in a sencond computer. I get the following message every time I mousehover the command button:
An unhandled exception of type 'System.IO.FileNotFoundException' occurred in system.drawing.dll
Additional information: C:\Documents and Settings\Admin\Desk\ACT-SystemTool\ColorA.ico
This is what I did:
Dim Camino AsString = Path.GetFullPath("..\..\ColorA.ico")
btnAR.BackgroundImage = BackgroundImage.FromFile(Camino)
Yes, the folder with the files are in the main distribution application folder.
