I am trying to use an object AxShockwaveFlashObjects.AxShockwaveFlashin a console application in C #. For this you need to install obj.OcxState. I looked at how the form designer does it, and it does it like this:
AxShockwaveFlashObjects.AxShockwaveFlash
obj.OcxState
this.flash.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("flash.OcxState")));
I looked through the resources and there is nothing there.
My question is: how can I create AxHost.Statemanually so that I can install OcxStatemy flash object?
AxHost.State
OcxState
I see that a designer Statetakes a Stream, int, booland a string. But I do not know what to put in Stream(or int, boolor string) to create it.
State
Stream
int
bool
string
: P, OcxState Flash- , -, , (, , ). , , , .
, MemoryStream ( , BinaryWriter), OcxState :
flashCtl.OcxState = new AxHost.State(stream, 1, false, null);
OcxState , , , Flash OCX - , -, .