Click here to Skip to main content
15,906,708 members
Home / Discussions / C#
   

C#

 
GeneralRe: Viewing XML in AxSHDocVW Pin
Stephane Rodriguez.11-Mar-03 10:22
Stephane Rodriguez.11-Mar-03 10:22 
GeneralRe: Viewing XML in AxSHDocVW Pin
m_mond11-Mar-03 10:42
m_mond11-Mar-03 10:42 
GeneralRe: Viewing XML in AxSHDocVW Pin
leppie11-Mar-03 10:53
leppie11-Mar-03 10:53 
GeneralRe: Viewing XML in AxSHDocVW Pin
Stephane Rodriguez.11-Mar-03 11:20
Stephane Rodriguez.11-Mar-03 11:20 
QuestionDraw image with alpha blending ? Pin
Wizard_0111-Mar-03 8:54
Wizard_0111-Mar-03 8:54 
GeneralGetting AVI's into a C# Windows Form project Pin
antoine@orchus-tech11-Mar-03 7:38
antoine@orchus-tech11-Mar-03 7:38 
GeneralUsing MemoryStream instead of FileStream problem Pin
LongRange.Shooter11-Mar-03 7:23
LongRange.Shooter11-Mar-03 7:23 
GeneralRe: Using MemoryStream instead of FileStream problem Pin
leppie11-Mar-03 7:38
leppie11-Mar-03 7:38 
This is what have used with success:
<font  size=2 face="Courier New"><font color="#FFFFFF">         </font><font color="#008040">// the following replaces Assembly.LoadFrom()
   </font><font color="#000000">FileStream stream </font>= <font color="#000000">File</font>.<font color="#000000">OpenRead</font>(<font color="#000000">filename</font>);
   <font color="#000000">byte</font>[] <font color="#000000">buffer </font>= <font color="#0000FF">new </font><font color="#000000">byte</font>[<font color="#000000">stream</font>.<font color="#000000">Length</font>];
   <font color="#000000">stream</font>.<font color="#000000">Read</font>(<font color="#000000">buffer</font>, <font color="#FF0000">0</font>, (<font color="#0000FF">int</font>)<font color="#000000">stream</font>.<font color="#000000">Length</font>);
   <font color="#000000">stream</font>.<font color="#000000">Close</font>();
<font color="#0000FF">#if(DEBUG)
   </font><font color="#008040">//this wont show in VS.NET, but symbols IS in fact loaded
   </font><font color="#000000">stream </font>= <font color="#000000">File</font>.<font color="#000000">OpenRead</font>(<font color="#000000">filename</font>.<font color="#000000">Replace</font>(<font color="#FF8000">".dll"</font>, <font color="#FF8000">".pdb"</font>));
   <font color="#000000">byte</font>[] <font color="#000000">debugbuffer </font>= <font color="#0000FF">new </font><font color="#000000">byte</font>[<font color="#000000">stream</font>.<font color="#000000">Length</font>];
   <font color="#000000">stream</font>.<font color="#000000">Read</font>(<font color="#000000">debugbuffer</font>, <font color="#FF0000">0</font>, (<font color="#0000FF">int</font>)<font color="#000000">stream</font>.<font color="#000000">Length</font>);
   <font color="#000000">stream</font>.<font color="#000000">Close</font>();

   <font color="#000000">Type</font>[] <font color="#000000">types </font>= <font color="#000000">Assembly</font>.<font color="#000000">Load</font>(<font color="#000000">buffer</font>, <font color="#000000">debugbuffer</font>).<font color="#000000">GetExportedTypes</font>();
<font color="#0000FF">#else
   </font><font color="#000000">Type</font>[] <font color="#000000">types </font>= <font color="#000000">Assembly</font>.<font color="#000000">Load</font>(<font color="#000000">buffer</font>).<font color="#000000">GetExportedTypes</font>();
<font color="#0000FF">#endif
</font></font>


I rated this article 2 by mistake. It deserves more. I wanted to get to the second page... - vjedlicka 3:33 25 Nov '02
GeneralRe: Using MemoryStream instead of FileStream problem Pin
LongRange.Shooter11-Mar-03 9:07
LongRange.Shooter11-Mar-03 9:07 
GeneralRe: Using MemoryStream instead of FileStream problem Pin
leppie11-Mar-03 10:27
leppie11-Mar-03 10:27 
GeneralRe: Using MemoryStream instead of FileStream problem Pin
LongRange.Shooter12-Mar-03 7:13
LongRange.Shooter12-Mar-03 7:13 
GeneralRe: Using MemoryStream instead of FileStream problem Pin
leppie12-Mar-03 8:32
leppie12-Mar-03 8:32 
GeneralAccessing controls of one form from another form Pin
Mazdak11-Mar-03 6:57
Mazdak11-Mar-03 6:57 
GeneralRe: Accessing controls of one form from another form Pin
Zek3vil11-Mar-03 7:07
Zek3vil11-Mar-03 7:07 
GeneralRe: Accessing controls of one form from another form Pin
Mazdak11-Mar-03 7:33
Mazdak11-Mar-03 7:33 
GeneralRe: Accessing controls of one form from another form Pin
Zek3vil11-Mar-03 21:13
Zek3vil11-Mar-03 21:13 
GeneralRe: Accessing controls of one form from another form Pin
Mazdak12-Mar-03 6:34
Mazdak12-Mar-03 6:34 
GeneralUpdate does not work for dataset Pin
Marix11-Mar-03 4:39
Marix11-Mar-03 4:39 
GeneralRe: Update does not work for dataset Pin
leppie11-Mar-03 6:24
leppie11-Mar-03 6:24 
GeneralRe: Update does not work for dataset Pin
Marix11-Mar-03 21:47
Marix11-Mar-03 21:47 
GeneralRe: Update does not work for dataset Pin
Marix12-Mar-03 1:44
Marix12-Mar-03 1:44 
GeneralRe: Update does not work for dataset Pin
leppie13-Mar-03 10:11
leppie13-Mar-03 10:11 
GeneralC# pipe example Pin
Davy Mitchell11-Mar-03 3:39
Davy Mitchell11-Mar-03 3:39 
GeneralCopying NOT Moving a Directory!!!! Pin
jesus4u11-Mar-03 3:13
jesus4u11-Mar-03 3:13 
GeneralRe: Copying NOT Moving a Directory!!!! Pin
Stephane Rodriguez.11-Mar-03 3:43
Stephane Rodriguez.11-Mar-03 3:43 

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.