Click here to Skip to main content
16,006,341 members
Home / Discussions / C#
   

C#

 
QuestionGenerics classes and object creation Pin
AndyHug30-Aug-06 8:31
AndyHug30-Aug-06 8:31 
AnswerRe: Generics classes and object creation Pin
Bruno M.T. Sousa30-Aug-06 10:30
Bruno M.T. Sousa30-Aug-06 10:30 
QuestionSockets or Remoting? Pin
mithrandiir4230-Aug-06 8:04
mithrandiir4230-Aug-06 8:04 
AnswerRe: Sockets or Remoting? Pin
Jun Du30-Aug-06 8:14
Jun Du30-Aug-06 8:14 
AnswerRe: Sockets or Remoting? Pin
Ista30-Aug-06 11:08
Ista30-Aug-06 11:08 
QuestionInserting a Null value in BLOB field in Oracle Pin
kalyanPaladugu30-Aug-06 7:51
kalyanPaladugu30-Aug-06 7:51 
AnswerRe: Inserting a Null value in BLOB field in Oracle Pin
mikone30-Aug-06 8:10
mikone30-Aug-06 8:10 
QuestionAssembly.createInstance contructor not found [modified] Pin
Walter Dias30-Aug-06 7:33
professionalWalter Dias30-Aug-06 7:33 
Hi, I develop an ERP from my company and now I've got a strange error:
"Assembly.createInstance contructor not found"

the error occurs in the code below:
<br />
Assembly asmForm;<br />
asmForm = Assembly.LoadFrom(MyLib.dll); // Work fine!<br />
<br />
myOther Other = new myOther();<br />
<br />
Other.Name = "Walter";<br />
<br />
Form obj; <br />
obj = (Form)asmForm.CreateInstance("cForms.frmClass",<br />
                             true,<br />
                             BindingFlags.Public | BindingFlags.CreateInstance,<br />
                             null,<br />
                             new object[] { (Other) },<br />
                             System.Globalization.CultureInfo.CurrentCulture,<br />
                             null);<br />
<br />
((Form)obj).Show();<br />


Form will be load Dynamic
<br />
namespace cForms<br />
{<br />
    public partial class frmClass : Form <br />
    {<br />
<br />
        public frmLista(myOther Other)<br />
        {<br />
            //Do default stufs<br />
        } <br />



Other Class
<br />
namespace cForms<br />
{<br />
    public class myOther<br />
    {<br />
        public string Name;<br />
    }<br />
}<br />
e;
    }
}
 


-- modified at 14:09 Wednesday 30th August, 2006 e;
    }
}
 
AnswerRe: Assembly.createInstance contructor not found Pin
Martin#30-Aug-06 9:48
Martin#30-Aug-06 9:48 
GeneralRe: Assembly.createInstance contructor not found Pin
Walter Dias30-Aug-06 10:56
professionalWalter Dias30-Aug-06 10:56 
QuestionGDI+ Serialization error Pin
theonewithtom30-Aug-06 6:58
theonewithtom30-Aug-06 6:58 
QuestionHelp - Serialization Problem Pin
Aaron Schaefer30-Aug-06 6:46
Aaron Schaefer30-Aug-06 6:46 
QuestionGDI+ & Calculation Problems. Pin
Gavin Roberts30-Aug-06 5:23
Gavin Roberts30-Aug-06 5:23 
AnswerRe: GDI+ & Calculation Problems. Pin
mikone30-Aug-06 5:39
mikone30-Aug-06 5:39 
GeneralRe: GDI+ & Calculation Problems. Pin
Gavin Roberts30-Aug-06 5:54
Gavin Roberts30-Aug-06 5:54 
GeneralRe: GDI+ & Calculation Problems. Pin
Gavin Roberts30-Aug-06 6:37
Gavin Roberts30-Aug-06 6:37 
GeneralRe: GDI+ &amp; Calculation Problems. [modified] Pin
mikone30-Aug-06 7:41
mikone30-Aug-06 7:41 
QuestionAdd buttons to ControlBox? Pin
Vodstok30-Aug-06 5:05
Vodstok30-Aug-06 5:05 
AnswerRe: Add buttons to ControlBox? Pin
mikone30-Aug-06 5:44
mikone30-Aug-06 5:44 
QuestionMemory allocation Pin
pawelpustelnik30-Aug-06 4:56
pawelpustelnik30-Aug-06 4:56 
AnswerRe: Memory allocation Pin
mikone30-Aug-06 5:05
mikone30-Aug-06 5:05 
GeneralRe: Memory allocation Pin
leppie30-Aug-06 11:17
leppie30-Aug-06 11:17 
GeneralRe: Memory allocation Pin
mikone30-Aug-06 11:33
mikone30-Aug-06 11:33 
GeneralRe: Memory allocation Pin
pawelpus30-Aug-06 11:59
pawelpus30-Aug-06 11:59 
GeneralRe: Memory allocation Pin
mikone30-Aug-06 12:28
mikone30-Aug-06 12:28 

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.