Click here to Skip to main content
15,899,314 members
Home / Discussions / C#
   

C#

 
AnswerRe: Read the .txt file and extract the data to DataGrid according to specific rows and columns? Pin
SABhatti23-Nov-07 11:53
SABhatti23-Nov-07 11:53 
GeneralRe: Read the .txt file and extract the data to DataGrid according to specific rows and columns? Pin
Anthony Mushrow23-Nov-07 12:40
professionalAnthony Mushrow23-Nov-07 12:40 
GeneralRe: Read the .txt file and extract the data to DataGrid according to specific rows and columns? Pin
SABhatti23-Nov-07 14:07
SABhatti23-Nov-07 14:07 
GeneralRe: Read the .txt file and extract the data to DataGrid according to specific rows and columns? Pin
Anthony Mushrow23-Nov-07 14:08
professionalAnthony Mushrow23-Nov-07 14:08 
QuestionStrange problem with display time Pin
andredani23-Nov-07 9:50
andredani23-Nov-07 9:50 
AnswerRe: Strange problem with display time Pin
Rei Miyasaka23-Nov-07 13:22
Rei Miyasaka23-Nov-07 13:22 
AnswerRe: Strange problem with display time Pin
zafersavas23-Nov-07 23:09
zafersavas23-Nov-07 23:09 
QuestionGUI Form Exception when running C# form on Mono Pin
DigiOz Multimedia23-Nov-07 6:49
DigiOz Multimedia23-Nov-07 6:49 
Hey All,

I am trying to run a C# GUI Form on Fedora 8 using mono. If I run console applications, everything runs fine, but if I try to run a simple GUI application, I get the following exception (by the way, I didn't have to install mono, since it came with Fedora 8, but my guess is I am missing a graphic component needed to run GUI forms):

<br />
mono HelloWorldGUICS.exe<br />
<br />
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.Form ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: gdiplus.dll<br />
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)<br />
  at System.Drawing.GDIPlus..cctor () [0x00000] --- End of inner exception stack trace ---<br />
<br />
  at <0x00000> <unknown method><br />
  at System.Drawing.Image.InitFromStream (System.IO.Stream stream) [0x00000] <br />
  at System.Drawing.Image..ctor (System.Runtime.Serialization.SerializationInfo info, StreamingContext context) [0x00000] <br />
  at System.Drawing.Bitmap..ctor (System.Runtime.Serialization.SerializationInfo info, StreamingContext context) [0x00000] <br />
  at <0x00000> <unknown method><br />
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[])<br />
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] --- End of inner exception stack trace ---<br />
<br />
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] <br />
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] <br />
  at System.Runtime.Serialization.ObjectRecord.LoadData (System.Runtime.Serialization.ObjectManager manager, ISurrogateSelector selector, StreamingContext context) [0x00000] <br />
  at System.Runtime.Serialization.ObjectManager.DoFixups () [0x00000] <br />
  at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadNextObject (System.IO.BinaryReader reader) [0x00000] <br />
  at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectGraph (System.IO.BinaryReader reader, Boolean readHeaders, System.Object& result, System.Runtime.Remoting.Messaging.Header[]& headers) [0x00000] <br />
  at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDeserialize (System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x00000] <br />
  at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream) [0x00000] <br />
  at System.Resources.ResourceReader.ReadNonPredefinedValue (System.Type exp_type) [0x00000] <br />
  at System.Resources.ResourceReader.ReadValueVer1 (System.Type type) [0x00000] <br />
  at System.Resources.ResourceReader.ResourceValue (Int32 index) [0x00000] <br />
  at System.Resources.ResourceReader+ResourceEnumerator.get_Value () [0x00000] <br />
  at System.Resources.ResourceSet.ReadResources () [0x00000] <br />
  at System.Resources.ResourceSet.GetObject (System.String name, Boolean ignoreCase) [0x00000] <br />
  at System.Resources.ResourceManager.GetObject (System.String name, System.Globalization.CultureInfo culture) [0x00000] <br />
  at System.Resources.ResourceManager.GetObject (System.String name) [0x00000] <br />
  at System.Windows.Forms.Locale.GetResource (System.String name) [0x00000] <br />
  at System.Windows.Forms.Form..cctor () [0x00000] --- End of inner exception stack trace ---<br />
<br />
  at <0x00000> <unknown method><br />
  at HelloWorldGUICS.Form1..ctor () [0x00000] <br />
  at (wrapper remoting-invoke-with-check) HelloWorldGUICS.Form1:.ctor ()<br />
  at HelloWorldGUICS.Form1.Main () [0x00000] <br />


Pete Soheil
DigiOz Multimedia
http://www.digioz.com

AnswerRe: GUI Form Exception when running C# form on Mono Pin
Kristian Sixhøj23-Nov-07 6:57
Kristian Sixhøj23-Nov-07 6:57 
AnswerRe: GUI Form Exception when running C# form on Mono Pin
Anthony Mushrow23-Nov-07 7:45
professionalAnthony Mushrow23-Nov-07 7:45 
GeneralRe: GUI Form Exception when running C# form on Mono Pin
DigiOz Multimedia23-Nov-07 12:18
DigiOz Multimedia23-Nov-07 12:18 
AnswerRe: GUI Form Exception when running C# form on Mono Pin
DigiOz Multimedia23-Nov-07 17:04
DigiOz Multimedia23-Nov-07 17:04 
Questiondynamically address class vairables [modified] Pin
shwaguy23-Nov-07 6:09
shwaguy23-Nov-07 6:09 
AnswerRe: dynamically address class vairables Pin
Mustafa Ismail Mustafa23-Nov-07 6:28
Mustafa Ismail Mustafa23-Nov-07 6:28 
AnswerRe: dynamically address class vairables Pin
Luc Pattyn23-Nov-07 6:35
sitebuilderLuc Pattyn23-Nov-07 6:35 
GeneralRe: dynamically address class vairables Pin
Mustafa Ismail Mustafa23-Nov-07 8:33
Mustafa Ismail Mustafa23-Nov-07 8:33 
GeneralRe: dynamically address class vairables Pin
Luc Pattyn23-Nov-07 8:57
sitebuilderLuc Pattyn23-Nov-07 8:57 
GeneralRe: dynamically address class vairables Pin
Mustafa Ismail Mustafa23-Nov-07 10:04
Mustafa Ismail Mustafa23-Nov-07 10:04 
QuestionSerialDataReceivedEventArgs does not fire Pin
stevenlberntsen23-Nov-07 5:55
stevenlberntsen23-Nov-07 5:55 
QuestionDB Table Exsits Pin
half-life23-Nov-07 5:48
half-life23-Nov-07 5:48 
AnswerRe: DB Table Exsits Pin
SABhatti23-Nov-07 11:56
SABhatti23-Nov-07 11:56 
GeneralRe: DB Table Exsits Pin
half-life24-Nov-07 0:52
half-life24-Nov-07 0:52 
QuestionNotifyIcon Click Problem Pin
Sukhjinder_K23-Nov-07 5:48
Sukhjinder_K23-Nov-07 5:48 
AnswerRe: NotifyIcon Click Problem Pin
DaveyM6923-Nov-07 8:21
professionalDaveyM6923-Nov-07 8:21 
Questioncombo+sql+C# Pin
sajid.salim.khan23-Nov-07 4:50
sajid.salim.khan23-Nov-07 4:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.