Click here to Skip to main content
15,889,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Connecting to Oracle through DSN vs Proc Pin
David Crow21-Feb-06 2:28
David Crow21-Feb-06 2:28 
QuestionHow to get the Names of machines Running on a Network Pin
fearless stallion19-Feb-06 18:35
fearless stallion19-Feb-06 18:35 
AnswerRe: How to get the Names of machines Running on a Network Pin
_AnsHUMAN_ 19-Feb-06 20:51
_AnsHUMAN_ 19-Feb-06 20:51 
GeneralRe: How to get the Names of machines Running on a Network Pin
fearless stallion20-Feb-06 2:20
fearless stallion20-Feb-06 2:20 
GeneralRe: How to get the Names of machines Running on a Network Pin
_AnsHUMAN_ 20-Feb-06 2:32
_AnsHUMAN_ 20-Feb-06 2:32 
GeneralRe: How to get the Names of machines Running on a Network Pin
fearless stallion21-Feb-06 2:29
fearless stallion21-Feb-06 2:29 
GeneralRe: How to get the Names of machines Running on a Network Pin
David Crow20-Feb-06 3:06
David Crow20-Feb-06 3:06 
GeneralRe: How to get the Names of machines Running on a Network Pin
_AnsHUMAN_ 20-Feb-06 16:32
_AnsHUMAN_ 20-Feb-06 16:32 
You probably didnt't pass the parameters properly.
This is the height of proper values being needed to be passed in the functions.
You didn't specify what value did you pass in this function ?.
once you pass resource_globalnet as the first parameter you can get all the machine names in the network.Resoucetype_any specifies that the resource could be anything like a printer etc.

WNetOpenEnum( RESOURCE_GLOBALNET, RESOURCETYPE_ANY, 0, pnr, &hEnum );
WNetEnumResource( hEnum, &count, buf, &bufsize );



Vision is important and so is ATTITUDE.

Wishes.

Anshuman Dandekar

Dare to Dream,
Care to Achieve.............

-- modified at 22:33 Monday 20th February, 2006
GeneralRe: How to get the Names of machines Running on a Network Pin
David Crow21-Feb-06 2:33
David Crow21-Feb-06 2:33 
GeneralRe: How to get the Names of machines Running on a Network Pin
_AnsHUMAN_ 21-Feb-06 2:47
_AnsHUMAN_ 21-Feb-06 2:47 
GeneralRe: How to get the Names of machines Running on a Network Pin
David Crow21-Feb-06 2:59
David Crow21-Feb-06 2:59 
GeneralRe: How to get the Names of machines Running on a Network Pin
_AnsHUMAN_ 21-Feb-06 16:43
_AnsHUMAN_ 21-Feb-06 16:43 
GeneralRe: How to get the Names of machines Running on a Network Pin
fearless stallion21-Feb-06 18:18
fearless stallion21-Feb-06 18:18 
QuestionRe: How to get the Names of machines Running on a Network Pin
David Crow22-Feb-06 2:54
David Crow22-Feb-06 2:54 
Questiondefining an array's name with the value got from some where Pin
zahid_ash19-Feb-06 18:18
zahid_ash19-Feb-06 18:18 
AnswerRe: defining an array's name with the value got from some where Pin
Joe Woodbury19-Feb-06 18:35
professionalJoe Woodbury19-Feb-06 18:35 
GeneralRe: defining an array's name with the value got from some where Pin
zahid_ash19-Feb-06 18:49
zahid_ash19-Feb-06 18:49 
GeneralRe: defining an array's name with the value got from some where Pin
Joe Woodbury19-Feb-06 19:13
professionalJoe Woodbury19-Feb-06 19:13 
AnswerRe: defining an array's name with the value got from some where Pin
Cedric Moonen19-Feb-06 20:36
Cedric Moonen19-Feb-06 20:36 
QuestionTab Change Event in CPropertySheet Pin
mohanrajh19-Feb-06 18:15
mohanrajh19-Feb-06 18:15 
AnswerRe: Tab Change Event in CPropertySheet Pin
Owner drawn19-Feb-06 18:26
Owner drawn19-Feb-06 18:26 
QuestionRe: Tab Change Event in CPropertySheet Pin
mohanrajh19-Feb-06 18:51
mohanrajh19-Feb-06 18:51 
AnswerRe: Tab Change Event in CPropertySheet Pin
PJ Arends19-Feb-06 18:55
professionalPJ Arends19-Feb-06 18:55 
QuestionActiveX problem Pin
Rajesh R Subramanian19-Feb-06 18:10
professionalRajesh R Subramanian19-Feb-06 18:10 
AnswerRe: ActiveX problem Pin
Michael Dunn19-Feb-06 18:14
sitebuilderMichael Dunn19-Feb-06 18:14 

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.