Diving Log will not start. The following dialog box appears when I attempt to invoke the execute file.
Unhandled exception has occured in your application.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.TypeInitializationException: The type initializer for 'Infragistics.UltraGauge.Resources.Text' threw an exception. ---> System.ArgumentException: Font 'Arial' does not support style 'Regular'.
at System.Drawing.Font.CreateNativeFont()
at System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
at System.Drawing.Font.Initialize(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
at System.Drawing.Font..ctor(String familyName, Single emSize)
at Infragistics.UltraGauge.Resources.Text..cctor()
--- End of inner exception stack trace ---
at Infragistics.UltraGauge.Resources.LabelAppearance..ctor(IGaugeComponent gaugeComponent)
at Infragistics.UltraGauge.Resources.RadialGaugeScaleLabelsAppearance..ctor(IGaugeComponent gaugeComponent)
at Infragistics.UltraGauge.Resources.RadialGaugeScale..ctor(IGaugeComponent gaugeComponent)
at Infragistics.UltraGauge.Resources.RadialGaugeScale..ctor()
at Divinglog.frmLogbook.InitializeComponent()
at Divinglog.frmLogbook..ctor()
at Divinglog.frmMain..ctor()
at Divinglog.frmSplash.Timer1_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Divelog
Assembly Version: 5.0.15.0
Win32 Version: 5.0.15.0
CodeBase: file:///C:/Program%20Files%20(x86)/Diving%20Log%205.0/Divelog.exe
...
Cannot load Diving Log 5.0
Re: Cannot load Diving Log 5.0
Hi, looks like the "Arial" font is missing on your system. Can you copy it from another PC to this PC? The font is located in C:\Windows\Fonts
If you have no other PC, I can send it to you (let me know which Windows version you have)
If you have no other PC, I can send it to you (let me know which Windows version you have)
Re: Cannot load Diving Log 5.0
You're absolutely right! Thank you!
Mark
Mark