Click here to Skip to main content
15,894,405 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
Generalcoloring by using richTextBox Pin
NOTEPAK28-Apr-05 15:33
NOTEPAK28-Apr-05 15:33 
GeneralRe: coloring by using richTextBox [EDITED] Pin
Dave Kreskowiak29-Apr-05 13:31
mveDave Kreskowiak29-Apr-05 13:31 
Generalzip filter to use with compact framework and web services Pin
eng_torres28-Apr-05 4:09
eng_torres28-Apr-05 4:09 
Generalinstalling sqlserver by merge module Pin
sianatia27-Apr-05 19:13
sianatia27-Apr-05 19:13 
GeneralRe: installing sqlserver by merge module Pin
rwestgraham1-May-05 11:35
rwestgraham1-May-05 11:35 
GeneralRe: installing sqlserver by merge module Pin
sianatia1-May-05 18:39
sianatia1-May-05 18:39 
GeneralRe: installing sqlserver by merge module Pin
rwestgraham2-May-05 13:41
rwestgraham2-May-05 13:41 
GeneralNetMessageNameEnum Pin
Member 156633627-Apr-05 6:59
Member 156633627-Apr-05 6:59 
I am trying to do this application that when the form loads, a listbox fills with the users on the server/machine. I found a way to do it using a console, but I want to do it in a GUI. This is what I have so far.

NET_API_STATUS nas; //return code from NetMessage....()
LPBYTE buff; //buffer
MSG_INFO_0 *msg0; //message array info structs
DWORD handle, dwEnumCnt, dwEnumTot; //output from NetMessageNameEnum()

//get list of users on the server or machine
nas = NetMessageNameEnum(NULL, //use this server
0, //MSG_INFO_0 structures used
&buff, //*bufptr
256, //prefered max len of results
&dwEnumCnt, //LPDWORD etries read
&dwEnumTot, //LPDWORD total entries
&handle); //LPDWORD resume_handle

if(nas != NERR_Success)
{
MessageBox::Show(stderr);
}//end if

//display list in listbox
msg0 = (MSG_INFO_0*) buff;
for(i = 0; i < dwEnumCnt; i++)
{
userLbx->Items->Add(msg0[i]);
}//end for

I got that from some website, and changed the variables, but I keep get build errors, can anyone help? Thanks
GeneralWireless Connection Pin
gundamhamtaro26-Apr-05 23:58
gundamhamtaro26-Apr-05 23:58 
GeneralRe: Wireless Connection Pin
Richard Jones5-May-05 9:37
Richard Jones5-May-05 9:37 
GeneralCAS - add Code Group Pin
devvvy26-Apr-05 17:04
devvvy26-Apr-05 17:04 
GeneralOpacity problem {WindowsForms] Pin
Member 191344026-Apr-05 3:44
Member 191344026-Apr-05 3:44 
GeneralRe: Opacity problem {WindowsForms] Pin
Dave Kreskowiak26-Apr-05 6:38
mveDave Kreskowiak26-Apr-05 6:38 
GeneralRe: Opacity problem {WindowsForms] Pin
Member 191344027-Apr-05 1:07
Member 191344027-Apr-05 1:07 
GeneralNeed help finding an article on hosting a windows app within a .NET app Pin
Rick Jameson26-Apr-05 1:58
Rick Jameson26-Apr-05 1:58 
GeneralRe: Need help finding an article on hosting a windows app within a .NET app Pin
Rick Jameson26-Apr-05 2:08
Rick Jameson26-Apr-05 2:08 
Generalclearing cookies Pin
mikeinertia26-Apr-05 1:18
mikeinertia26-Apr-05 1:18 
GeneralRe: clearing cookies Pin
Dave Kreskowiak26-Apr-05 6:36
mveDave Kreskowiak26-Apr-05 6:36 
GeneralRe: clearing cookies Pin
Anonymous26-Apr-05 6:39
Anonymous26-Apr-05 6:39 
Generaldatabinding over remoting Pin
nonick225-Apr-05 21:57
nonick225-Apr-05 21:57 
GeneralRe: databinding over remoting Pin
MBGeorge4-May-05 21:50
MBGeorge4-May-05 21:50 
GeneralNeed source code edit control Pin
Video Game Ministry25-Apr-05 11:37
Video Game Ministry25-Apr-05 11:37 
GeneralXSD.exe Pin
Fabian Goncalves23-Apr-05 12:12
Fabian Goncalves23-Apr-05 12:12 
GeneralRouter External IP address resolution... Pin
Chris Quick23-Apr-05 5:45
Chris Quick23-Apr-05 5:45 
GeneralRe: Router External IP address resolution... Pin
Anonymous23-Apr-05 6:48
Anonymous23-Apr-05 6:48 

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.