How to convert this code so don't get error: cannot implicitly convert type 'bool' to 'int'?
int lans = SystemState.Con nectionsDesktop Count>0;
This code SystemState.Con nectionsDesktop Count>0 is type boolean originally.
I already try convert to this code:
int lans = Convert.ToInt32 (SystemState.Co nnectionsDeskto pCount>0);
and don't get any error but I think that it's not...
Search Result
Collapse
6 results in 0.0014 seconds.
Keywords
Members
Tags
-
Boost in an MFC app on NT4
I am trying to modify a current MFC application running on Windows NT4 to use boost libraries for ethernet communcications (originally, it used CommX for serial) and general increased performance, effieciency, and clarity of code.
I started out modifying it in VS2010, but I found that I was unable to produce a valid NT4 app with VS2010. I googled the issue and found that VS2005 was the last version able to create an NT4 app. I got... -
I need help to resolve these, error C2057, error C2466 and error C2087
Hi, can anyone help with this one. (implemented it in VS2005 with window 7 32bit)
...Code:#include "matrix_vector_op.h" #include "stdafx.h" #include "stdlib.h" #include <vector> void matrix(int dim, double idM[][dim]) { for (int i = 0; i < dim; i++) { for (int j = 0; j < dim; j++) { -
creating insert form n connecting it to database using asp.net
hi guys , i'm using visual studio 2005. now i've to create a insert form which shud be connected to database(mssql) . can any one tell me how to do dat. as i'm new to visual studio i dnt knw it. -
How can Vb.net application in VS2005 read a .epub file
Good day,
I just heard of this .epub file extension. And I have this task to write a VB.net program to read .epub files and .pdf files. I have been able to implement the reading of pdf, by using the ActiveX(the dll), but I have found none for the .epub files. Please can someone help me out. Tell me what I might need to install or anything just to make it work. It is quite urgent. Thank you -
Forbidden error in VS2005 under Vista for ASP
I have a web application that built on using VS2005 running under an XP operating system. Recently the computer was upgraded to Vista. After installing VS2005 and all pages, pressing the RUN button throws an error where the start page is "forbidden" . I have replaced the page with a test page named "Test.asp" that merely says hello, and that does not display (access is forbidden). I haven't a clue. I am an administrator on the...