D
Dragon
Hello,
I developed an app which works fine in WinXP, but gives exceptions in
WinME. In order to debug it, I tried to build a "makefile" to use with
"vbc @file". So far I've ended up with:
/out:H:\PlaySmth.exe
/target:winexe
/reference:System.dll
/reference:System.Drawing.dll
/reference:System.Windows.Forms.dll
/reference:Microsoft.VisualBasic.dll
/resource:frmAbout.resources
/resourcelayingSlideBar.resources
/resource:frmMain.resources
/win32iconlaySmth.ico
/debug+
/debug:full
/imports:System
/imports:System.Diagnostics
/imports:System.Collections
/imports:System.Windows.Forms
/imports:System.Runtime.InteropServices
/imports:Microsoft.VisualBasic
/optionexplicit+
/optionstrict+
/rootnamespacelaySmth
/verbose
frmMain.vb
PlayingSlideBar.vb
frmAbout.vb
APIs.vb
AssemblyInfo.vb
It compiled fine, but when I ran created assembly, error box was shown
about an exception that "couldn't be handled".
MessageBox'ing, I found out that exception was thrown by this line:
~
Me.ilfortvSongs.ImageStream =
CType(resources.GetObject("ilfortvSongs.ImageStream"),
System.Windows.Forms.ImageListStreamer)
~
in InitializeComponent(). The exception is:
System.Resources.MissingManifestResourceException
 äàííîé ñáîðêå íå óäàëîñü íàéòè ðåñóðñû, ñîîòâåòñòâóþùèå óêàçàííîé
êóëüòóðå (èëè íåéòðàëüíîé êóëüòóðå). Ïðîâåðüòå ïðàâèëüíîñòü âíåäðåíèÿ
èëè ñâÿçûâàíèÿ "frmMain.resources" ñî ñáîðêîé "PlaySmth".
baseName: frmMain locationInfo: PlaySmth.frmMain resource file name:
frmMain.resources assembly: PlaySmth, Version=1.0.2056.36799,
Culture=neutral, PublicKeyToken=null
(Translation: Can't find resources, corresponding the specified culture
(or neutral culture) in this assembly. Verify correctness of embedding
or linking "frmMain.resources" with assembly "PlaySmth".
What do I have to change in "makefile", so it will compile correctly?
Thanks in advance,
Roman
I developed an app which works fine in WinXP, but gives exceptions in
WinME. In order to debug it, I tried to build a "makefile" to use with
"vbc @file". So far I've ended up with:
/out:H:\PlaySmth.exe
/target:winexe
/reference:System.dll
/reference:System.Drawing.dll
/reference:System.Windows.Forms.dll
/reference:Microsoft.VisualBasic.dll
/resource:frmAbout.resources
/resourcelayingSlideBar.resources
/resource:frmMain.resources
/win32iconlaySmth.ico
/debug+
/debug:full
/imports:System
/imports:System.Diagnostics
/imports:System.Collections
/imports:System.Windows.Forms
/imports:System.Runtime.InteropServices
/imports:Microsoft.VisualBasic
/optionexplicit+
/optionstrict+
/rootnamespacelaySmth
/verbose
frmMain.vb
PlayingSlideBar.vb
frmAbout.vb
APIs.vb
AssemblyInfo.vb
It compiled fine, but when I ran created assembly, error box was shown
about an exception that "couldn't be handled".
MessageBox'ing, I found out that exception was thrown by this line:
~
Me.ilfortvSongs.ImageStream =
CType(resources.GetObject("ilfortvSongs.ImageStream"),
System.Windows.Forms.ImageListStreamer)
~
in InitializeComponent(). The exception is:
System.Resources.MissingManifestResourceException
 äàííîé ñáîðêå íå óäàëîñü íàéòè ðåñóðñû, ñîîòâåòñòâóþùèå óêàçàííîé
êóëüòóðå (èëè íåéòðàëüíîé êóëüòóðå). Ïðîâåðüòå ïðàâèëüíîñòü âíåäðåíèÿ
èëè ñâÿçûâàíèÿ "frmMain.resources" ñî ñáîðêîé "PlaySmth".
baseName: frmMain locationInfo: PlaySmth.frmMain resource file name:
frmMain.resources assembly: PlaySmth, Version=1.0.2056.36799,
Culture=neutral, PublicKeyToken=null
(Translation: Can't find resources, corresponding the specified culture
(or neutral culture) in this assembly. Verify correctness of embedding
or linking "frmMain.resources" with assembly "PlaySmth".
What do I have to change in "makefile", so it will compile correctly?
Thanks in advance,
Roman