Click here to Skip to main content
15,907,687 members
Home / Discussions / C#
   

C#

 
Generalcreate a new data table on every click of a button Pin
Member 126599265-Aug-16 1:21
Member 126599265-Aug-16 1:21 
GeneralRe: create a new data table on every click of a button Pin
dan!sh 5-Aug-16 1:45
professional dan!sh 5-Aug-16 1:45 
GeneralRe: create a new data table on every click of a button Pin
Member 126599265-Aug-16 2:05
Member 126599265-Aug-16 2:05 
GeneralRe: create a new data table on every click of a button Pin
Mycroft Holmes5-Aug-16 2:30
professionalMycroft Holmes5-Aug-16 2:30 
GeneralRe: create a new data table on every click of a button Pin
BillWoodruff5-Aug-16 2:36
professionalBillWoodruff5-Aug-16 2:36 
QuestionHow add and delete multiple DLL references from C# project programmatically Pin
Member 126484635-Aug-16 1:15
Member 126484635-Aug-16 1:15 
AnswerRe: How add and delete multiple DLL references from C# project programmatically Pin
dan!sh 5-Aug-16 1:48
professional dan!sh 5-Aug-16 1:48 
AnswerRe: How add and delete multiple DLL references from C# project programmatically Pin
BillWoodruff5-Aug-16 2:39
professionalBillWoodruff5-Aug-16 2:39 
GeneralRe: How add and delete multiple DLL references from C# project programmatically Pin
Member 126484636-Aug-16 2:27
Member 126484636-Aug-16 2:27 
QuestionTaking photos with a webcam in C # desktop Pin
hassan toghisny3-Aug-16 21:27
hassan toghisny3-Aug-16 21:27 
AnswerRe: Taking photos with a webcam in C # desktop Pin
Pete O'Hanlon3-Aug-16 21:39
mvePete O'Hanlon3-Aug-16 21:39 
AnswerRe: Taking photos with a webcam in C # desktop Pin
Bernhard Hiller3-Aug-16 21:44
Bernhard Hiller3-Aug-16 21:44 
QuestionCD burning in C # desktop Pin
hassan toghisny3-Aug-16 21:08
hassan toghisny3-Aug-16 21:08 
AnswerRe: CD burning in C # desktop Pin
OriginalGriff3-Aug-16 21:36
mveOriginalGriff3-Aug-16 21:36 
AnswerRe: CD burning in C # desktop Pin
Ravi Bhavnani12-Aug-16 5:52
professionalRavi Bhavnani12-Aug-16 5:52 
QuestionLINQ with ref parameter Pin
sunsher3-Aug-16 20:57
sunsher3-Aug-16 20:57 
AnswerRe: LINQ with ref parameter Pin
Pete O'Hanlon3-Aug-16 21:28
mvePete O'Hanlon3-Aug-16 21:28 
AnswerRe: LINQ with ref parameter Pin
Richard Deeming4-Aug-16 2:43
mveRichard Deeming4-Aug-16 2:43 
QuestionCompress pdf/csv files to zip files Pin
NJdotnetdev3-Aug-16 8:34
NJdotnetdev3-Aug-16 8:34 
AnswerRe: Compress pdf/csv files to zip files Pin
OriginalGriff3-Aug-16 8:49
mveOriginalGriff3-Aug-16 8:49 
SuggestionRe: Compress pdf/csv files to zip files Pin
Richard Deeming3-Aug-16 10:24
mveRichard Deeming3-Aug-16 10:24 
GeneralRe: Compress pdf/csv files to zip files Pin
OriginalGriff3-Aug-16 10:49
mveOriginalGriff3-Aug-16 10:49 
GeneralRe: Compress pdf/csv files to zip files Pin
BillWoodruff3-Aug-16 19:47
professionalBillWoodruff3-Aug-16 19:47 
GeneralRe: Compress pdf/csv files to zip files Pin
Richard Deeming4-Aug-16 2:00
mveRichard Deeming4-Aug-16 2:00 
QuestionUsing SerializationEngine to input .obj file Pin
andycruce2-Aug-16 14:12
andycruce2-Aug-16 14:12 
I am using the following code line to input a .obj file with an associated .mtl file and several associated .jpg files pointed to by the .mtl file:

aerobaticsSceneControl.Scene - SerializationEngine.Instance.LoadScene(modelFile);

where model file the pointer to the .obj file.

I have on .obj file that loads correctly. However in another file I have downloaded I get the following exception message at the line above:

An unhandled exception of type System.ArgumentNullException; occurred in mscorlib.dll

Additional Information Value can not be null

I get the following debug messages which as someone new to this type of programming doesn't make any sense:

C#
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities\14.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities.Sync\14.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.Sync.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.Debugger.Runtime\14.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Debugger.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'D:\Aerobatics Project\Mitch's Stuff\July 13\Aerobatics Project\Aerobatics Scene\bin\Debug\Aerobatics Scene.vshost.exe'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Data.DataSetExtensions\v4.0_4.0.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Deployment\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Deployment.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Net.Http\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Net.Http.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The thread 0x17dc has exited with code 0 (0x0).
The thread 0x5678 has exited with code 0 (0x0).
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'D:\Aerobatics Project\Mitch's Stuff\July 13\Aerobatics Project\Aerobatics Scene\bin\Debug\Aerobatics Scene.exe'. Symbols loaded.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'D:\Aerobatics Project\Mitch's Stuff\July 13\Aerobatics Project\Aerobatics Scene\bin\Debug\SharpGL.SceneGraph.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'D:\Aerobatics Project\Mitch's Stuff\July 13\Aerobatics Project\Aerobatics Scene\bin\Debug\SharpGL.WinForms.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'D:\Aerobatics Project\Mitch's Stuff\July 13\Aerobatics Project\Aerobatics Scene\bin\Debug\SharpGL.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'D:\Aerobatics Project\Mitch's Stuff\July 13\Aerobatics Project\Aerobatics Scene\bin\Debug\SharpGL.Serialization.dll'. Symbols loaded.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.Composition\v4.0_4.0.0.0__b77a5c561934e089\System.ComponentModel.Composition.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Exception thrown: 'System.ArgumentNullException' in mscorlib.dll
The program '[22836] Aerobatics Scene.vshost.exe' has exited with code -1 (0xffffffff).


I've used 3-D Builder to make sure that all the .jpg files properly link to the pointers in the .mtl file and that all seems Ok.

I'd appreciate any suggestions on where to go from here. Model loads properly when I remove the pointer to the .mtl file from the .obj file so at least I know the .obj file is not a fault.

Thanks for any help,

Andy Cruce

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.