Click here to Skip to main content
15,905,785 members
Home / Discussions / C#
   

C#

 
GeneralDynamic array Pin
D Shen12-Sep-02 3:15
D Shen12-Sep-02 3:15 
GeneralRe: Dynamic array Pin
sharon12-Sep-02 3:48
sharon12-Sep-02 3:48 
Generalgetting the visible pixel-colors Pin
Rüpel12-Sep-02 2:27
Rüpel12-Sep-02 2:27 
GeneralRe: getting the visible pixel-colors Pin
Eric Gunnerson (msft)12-Sep-02 10:21
Eric Gunnerson (msft)12-Sep-02 10:21 
GeneralRe: getting the visible pixel-colors Pin
Rüpel12-Sep-02 20:15
Rüpel12-Sep-02 20:15 
GeneralRe: getting the visible pixel-colors Pin
Rüpel12-Sep-02 21:15
Rüpel12-Sep-02 21:15 
GeneralRe: getting the visible pixel-colors Pin
James T. Johnson12-Sep-02 22:44
James T. Johnson12-Sep-02 22:44 
GeneralUsing the WindowsXP FaxService from C# Pin
Alexandru Serban11-Sep-02 21:21
professionalAlexandru Serban11-Sep-02 21:21 
Hello everybody !

I want to use the WindowsXP FaxService COM API in my solution. I`m using Visual Studio .NET
I added a reference to the FaxService TypeLibrary in the project and the generated NameSpace is FAXCOMEXLib.

Then I wrote the following code:

try<br />
{<br />
   FAXCOMEXLib.FaxServerClass FaxServer=new FAXCOMEXLib.FaxServerClass(); // OK<br />
   FaxServer.Connect(""); // OK<br />
		<br />
   FAXCOMEXLib.FaxFolders FaxFolders=FaxServer.Folders; // NOT OK<br />
<br />
}<br />
catch(Exception ex)<br />
{<br />
   MessageBox.Show(ex.Message);<br />
}<br />


After creating the FaxServer object and connecting it to the local FaxService, the Properties that return an object (like Folders,InboundRouting,LoggingOptions) are not valid.
There is a {System.InvalidCastException} in the Value of the Autos section in the debugger. Why?

Thank you !
QuestionAnyone know of a good C# magazine? Pin
Rocky Moore11-Sep-02 21:16
Rocky Moore11-Sep-02 21:16 
AnswerRe: Anyone know of a good C# magazine? Pin
Christian Graus11-Sep-02 21:33
protectorChristian Graus11-Sep-02 21:33 
GeneralRe: Anyone know of a good C# magazine? Pin
Rickard Andersson2012-Sep-02 3:44
Rickard Andersson2012-Sep-02 3:44 
GeneralRe: Anyone know of a good C# magazine? Pin
Rocky Moore12-Sep-02 17:55
Rocky Moore12-Sep-02 17:55 
GeneralRe: Anyone know of a good C# magazine? Pin
Christian Graus12-Sep-02 18:52
protectorChristian Graus12-Sep-02 18:52 
GeneralRe: Anyone know of a good C# magazine? Pin
Rocky Moore12-Sep-02 19:45
Rocky Moore12-Sep-02 19:45 
GeneralBreak program flow Pin
D Shen11-Sep-02 8:55
D Shen11-Sep-02 8:55 
GeneralRe: Break program flow Pin
Nnamdi Onyeyiri11-Sep-02 9:07
Nnamdi Onyeyiri11-Sep-02 9:07 
GeneralRe: Break program flow Pin
D Shen12-Sep-02 3:06
D Shen12-Sep-02 3:06 
GeneralRe: Break program flow Pin
Nnamdi Onyeyiri13-Sep-02 5:20
Nnamdi Onyeyiri13-Sep-02 5:20 
GeneralRe: Break program flow Pin
Paul Riley11-Sep-02 13:16
Paul Riley11-Sep-02 13:16 
GeneralRe: Break program flow Pin
David Stone12-Sep-02 3:55
sitebuilderDavid Stone12-Sep-02 3:55 
GeneralRe: Break program flow Pin
Paul Riley12-Sep-02 4:48
Paul Riley12-Sep-02 4:48 
GeneralNT Service Installation Pin
jparsons11-Sep-02 8:50
jparsons11-Sep-02 8:50 
GeneralRe: NT Service Installation Pin
Erik Westermann11-Sep-02 12:48
professionalErik Westermann11-Sep-02 12:48 
GeneralEvidence for Assembly.LoadFrom Pin
Ryan Cromwell11-Sep-02 4:38
Ryan Cromwell11-Sep-02 4:38 
GeneralRe: Evidence for Assembly.LoadFrom Pin
Ryan Cromwell11-Sep-02 4:52
Ryan Cromwell11-Sep-02 4:52 

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.