Hello all,
Is it possible to have the version info of an application which is found in AssemblyInfo.cs. printed on the screen. I.o.w. is it possible to retrieve Version info from AssemblyInfo.cs at runtime?
TIA
Jan
Brian,
>LORD lord = new LORD;<
I would add () to the statement:
LORD lord = new LORD();
will give you less errors.
As for the other points in your question. What you want is possible and not too difficult But you will have to change the startpoint of your application, by changing the start...
Just to let the people know who come across the same problem.
With the aid of Microsoft a workaround was found. It appeared to be a bug in VS.NET.
When a WMF file is serialized it is being saved as a bitmap. Instead of casting it to a metafile it should be casted to a bitmap.
Changing...
Hello,
When I add a WMF file to a picturebox, the following code is generated:
this.pictureBox1.Image = ((System.Drawing.Imaging.Metafile)(resources.GetObject("pictureBox1.Image")));
When the application runs, an invalid cast exception rises. Apparently the result of...
Chip,
Thanks for thinking with me.
The problem is solved now. It appeared to be related to a wrong use of the Registry class.
Where I did:
Registry.LocalMachine.CreateSubkey(mykey);
Registry.LocalMachine.SetValue(mykey,"blabla");
I should have done:
RegistryKey regkey =...
Hello,
The C# application I am developing writes several issues using the Registry classes, to the registry. These issues are retreived later.
Apparently this works fine. If I close the application and restart it again, the correct values are retreived from the Registry.
However the nest time I...
I am using the .NET version of CR. which is integrated in Visual Studio.NET. I guess this is a full blown crystal reports version. It is definitely not a design component to be used in a VB environment.
I am not certain however whether they ported the full functionality of the 'normal' CR to the...
Hello,
When creating labels in CR for .NET I use the wizard to set the width and height of the labels.
Afterwards I want to change certain properties, but I cannot find a way to adjust width, height of the labels and topmargin and leftmargin of the page itself.
How do I do this?
TIA,
Jan
I am afraid I can not be of much help because I am stuck with the same problem.
Tha application I am working uses CR for .NET and needs to print labels. When the labels are printed an exception is generated with the message:
Error in File <path\filename>: Page header or footer longer than a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.