|
hi,
sometimes i get an error when i open a formular. the exception is like this:
************** Exceptiontext **************
System.ArithmeticException: error in arithmetic Operation over- or underrun at System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
at System.Drawing.Font..ctor(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet)
it dont occur on every computer. i normally use framework v1.0 but
i even testet it on framework 1.1 and the error even occurs.
i found out the error occours when i e.g. have a form with 1 label and set the labelfont to bold ... but not every time!
does anyone hav a solution?
thx
michael
|
|
|
|
|
You know, the folks at SharpDevelop came across this, too. It's due to incompatible graphics card/drivers. Updating your graphics card drivers may help.
"Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma Gandhi
|
|
|
|
|
How do i set the option for a windows service to interact with the desktop from my Installer?
|
|
|
|
|
I have just found a significant issue with this running on the v1.1 framework (in my enviroment - no others tested). In a nutshell, the Downloader component is starting to scavenge one level too high in the root of the disk drive; this results in some very unpleasant things such as the removal of the entire C: drive on the develoment machine...
I haven't found the cause of the problem yet, but thought I'd put a post out in case anyone else gets caught out. Note that the whole app. was running on the v1.0 framework everything was OK.
|
|
|
|
|
Thanks for warning us!
"Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma Gandhi
|
|
|
|
|
I'm trying to use the following:
System.Diagnostics.Process.Start("\\Path\\To\\My\\Program\\blah.exe");
but I get this error when I try to build:
The type or namespace name 'Process' does not exist in the class or namespace 'System.Diagnostics' (are you missing an assembly reference?)
Any idea what I'm doing wrong? Should I be doing this differently? This app is intended to run on a PocketPC, I'm using Visual C# .NET 2003 to create it.
|
|
|
|
|
May be you haven't add reference to assembly System.dll?
|
|
|
|
|
The Process class is not supported by the .NET Compact Framework!
|
|
|
|
|
I am a Software Engineer with two years experience. I am attending night school in pursuit of my graduate degree in Software Engineering and was contemplating studying for the MCSD. Would I benefit in the job market with the MCSD or is this a big waste of time? Also, if anyone is a MCSD, I would really like your book recommendation.
|
|
|
|
|
There are some big heavy Microsoft Press books that are recommended for each modules. Some of them do exactly what it says on the cover, it prepares you for the exam but nothing more and can be thrown in the bin once you have passed the exam. For example "Building Web Applications with ASP.NET and C#" is one of them.
The series XYZ Step by Step (like ASP.NET Step by Step) gives you more for your money and at least you have a good reference book that can be useful even after the exam.
Chris
|
|
|
|
|
Hi
I´m new to C++ and working with passing files back and fourth to a webservice. I have found som code in C# that does this for me but I can´t convert it into C++. Can someone please help me with the two last lines?
DimeAttachment attachment = new
DimeAttachment("application/octet-stream", TypeFormatEnum.MediaType, ms);
HttpSoapContext.ResponseContext.Attachments.Clear();
HttpSoapContext.ResponseContext.Attachments.Add(attachment);
Regards
// Daniel
Daniel
|
|
|
|
|
I would like to know where I can find implementations (if at all) of inter-process (real inter-process - between different processes) synchronization mechanisms besides System.Threading.Mutex (through using named mutex).
Especially, are there any implementations of something like ReaderWriterLock?
Of course, one can try to implement by himself such things using named mutexes, but though it seems simple, nothing is simple when it comes to multi-threading synchronization...
Thank you.
|
|
|
|
|
Hi
Any way to enable the test form to be used by another machine than the local one ?
You know, the little form that ask you all the variables used to test your webservice
Thanks
Heel
|
|
|
|
|
Hi
I haven´t tried it, but isn´t there a "Remote Settings"-part under the projects Properties-Debugging?
Daniel
|
|
|
|
|
Sir !
I have project of urdu editor.I m building it in C# .It has many fuctionalities other than simple urdu editors.But I got stuck now .If any body who have worked on urdu editor.
i ll be thankful for him for this favor.
please contact me on humayun_khattak@hotmail.com
|
|
|
|
|
Hi there,
I'm looking for the best way to send log files over the Internet. These logfiles contain EventViewer lists and Backup logs. On the Client Side I want to build an application getting this data and putting it into a XML File. On the Server Side I want to "read" the XML file and put it into a Database. These logs are comming from Customers, so the only way to communicate is through the Internet.
What do you all think it's a good solution for this problem? How must i get these log files from the client side to the server side (our Main Office)
E-mail, .XML Webservices, .NET remoting.
I'm new to .NET so I need some help to decide witch architecture is the best.
Of course I don't want to change the fysicall Network Infrastructure of the customers. Anyone an Idea?
Thanx in Advance,
Joost, the Netherlands
|
|
|
|
|
.XML Webservice seems to be the best solution for your business. You can build a web service that takes a dataset as argument. This web service would process this dataset and store it in your database. On the client side, you would build a windows app that reads EventViewer lists and Backup logs or whatever you require. The windows app would gather all this data in a dataset and call the web service passing in the dataset.
|
|
|
|
|
Is it possible to run a GDI+ application on a windows 98 machine? Perhaps theres an update or something can be installed on the clients machine? Or is it strictly win2k/me+ ?
Thanks
Dave Ratti
|
|
|
|
|
Yes. I've run and created a number of different GDI+ apps, and I am using Windows 98.
"Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma Gandhi
|
|
|
|
|
If you are talking about .NET apps, yes.
If you are talking about C++ apps, you need to download gdi+ dlls from Microsoft and install them in Win98 machine before running the app.
|
|
|
|
|
Server Error in '/WebControl' Application.<br />
----------------------------------------------------------------<br />
<br />
Compilation Error <br />
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. <br />
<br />
Compiler Error Message: CS0234: The type or namespace name 'Global' does not exist in the class or namespace 'System.Web.UI.WebControls.WebControl' (are you missing an assembly reference?)
When i try to get into my WebService, i get this error, but nothing in my project looks like :
<br />
Line 26: <br />
Line 27: [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]<br />
Line 28: public class Global_asax : WebControl.Global {<br />
Line 29: <br />
Line 30: private static bool __initialized = false;<br />
Anyone got any clues ?
Thanks
Heel
|
|
|
|
|
Nevermind, there was an interferance whit the name of my project.
|
|
|
|
|
Hi,
When i try to create a C# ASP.NET Web Service, i get an error saying that my Webserver is not running ASP.NET Version. Anyone got any clues on how to resolve this ? Please dont post "Install ASP.NET 1.1" Whitout telling me where to find it.
Im running IIS 5.0 (or whatever is the one that comes whit windows xp)
Thanks
Heel
|
|
|
|
|
Open up a command prompt and navigate to C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
now run:
aspnet_regiis -i
IIS 5.1 should now be using ASP.NET 1.1
James
"My words but a whisper -- your deafness a SHOUT.
I may make you feel but I can't make you think." - Thick as a Brick, Jethro Tull 1972
|
|
|
|
|
MANY THANKS
|
|
|
|