473,387 Members | 3,033 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

VBC and Formualr with Icon

I have created an simple visual basic windows application with the
visual studio 2003. But i want to compile this with the vbc compiler
(.Net framework 1.1 SP1) an not with the visual studio. Now i have the
following issue: My form is using an icon, which i have defined in the
properties of this form.

################################################## ########################
Resgen Form2.resx Form2.resources
VBC /target:WinExe /out:win2 /main:win2.Form2 /rootnamespace:win2
/reference:System.dll,System.Data.dll,System.Drawin g.dll,System.Windows.Forms.dll,System.XML.dll
/resource:Form2.resources
/imports:Microsoft.VisualBasic,System,System.Collec tions,System.Data,System.Drawing,System.Diagnostic s,System.Windows.Forms
/verbose /debug- /debug:full /warnaserror+ "AssemblyInfo.vb"
"Form2.vb"
################################################## ########################

The compile works fine, but when i start the exe i will receive the
following exception:

################################################## ########################
An unhandled exception of type
'System.Resources.MissingManifestResourceException ' occurred in
mscorlib.dll

Additional information: Could not find any resources appropriate for
the specified culture (or the neutral culture) in the given assembly.
Make sure "Form2.resources" was correctly embedded or linked into
assembly "win2".
baseName: Form2 locationInfo: win2.Form2 resource file name:
Form2.resources assembly: win2, Version=1.0.2032.24458,
Culture=neutral, PublicKeyToken=null

################################################## ########################

When i compile the application with the visual studio, the exe works
fine! It works also via the vbc compiler, when i remove the icon from
the form!

Please help me by solving this problem.

Jens

Nov 21 '05 #1
2 968
Jan
Use the Assembly Linker 'AL.exe'

Nov 21 '05 #2
How? After VBC ?

Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: sommwerweide | last post by:
I have created an simple visual basic windows application with the visual studio 2003. But i want to compile this with the vbc compiler (.Net framework 1.1 SP1) an not with the visual studio. Now i...
4
by: Terry | last post by:
There are a number of things about using unmanaged resources in Windows Forms programming that is unclear to me. In C++, if you loaded an icon resource using "ExtractIcon()", the resource was...
8
by: Adrian | last post by:
How do I put an icon on a form using code? Thank you.
2
by: sommwerweide | last post by:
I have created an simple visual basic windows application with the visual studio 2003. But i want to compile this with the vbc compiler (.Net framework 1.1 SP1) an not with the visual studio. Now i...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.