Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
H

Hellin

@Hellin
About
Posts
16
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Dynamically clear selected items of itembox
    H Hellin

    I don't know your meanning. I think that must use JavaScript. You can control a property of display of the selectlistbox, Or Remove Object and Create Object

    ASP.NET javascript question

  • asp .net send mail
    H Hellin

    using System.Web.Mail; /*****************************************************************/ MailMessage mail = new MailMessage(); mail.To = "Your Email Address"; mail.From ="hellin_zhang@hotmail.com"; mail.Subject = "hello, buddy" mail.Body = "Some text goes here"; mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1"); //basic authentication mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", "hellin_zhang"); //set your username here mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", "123456"); //set your password here SmtpMail.SmtpServer = "smtp.hotmail.com.com"; try{ SmtpMail.Send( mail ); }catch(Exception ex){ }

    ASP.NET csharp php asp-net com sysadmin

  • how can i get the computer name&ip in local network?
    H Hellin

    not code Error ,I say that ,only can search my own computer name &ip ,so i say I fail to !

    C / C++ / MFC question sysadmin help

  • how can i get the computer name&ip in local network?
    H Hellin

    see: // TODO: Add extra validation here CString strTemp; struct hostent *host; struct in_addr *ptr; // To retrieve the IP Address DWORD dwScope = RESOURCE_CONTEXT; NETRESOURCE *NetResource = NULL; HANDLE hEnum; WNetOpenEnum( dwScope, NULL, NULL, NULL, &hEnum ); WSADATA wsaData; WSAStartup(MAKEWORD(1,1),&wsaData); if ( hEnum ) { DWORD Count = 0xFFFFFFFF; DWORD BufferSize = 2048; LPVOID Buffer = new char[2048]; WNetEnumResource( hEnum, &Count, Buffer, &BufferSize ); NetResource = (NETRESOURCE*)Buffer; char szHostName[200]; unsigned int i; for ( i = 0; i < BufferSize/sizeof(NETRESOURCE); i++, NetResource++ ) { if ( NetResource->dwUsage == RESOURCEUSAGE_CONTAINER && NetResource->dwType == RESOURCETYPE_ANY ) { if ( NetResource->lpRemoteName ) { CString strFullName = NetResource->lpRemoteName; if ( 0 == strFullName.Left(2).Compare("\\\\") ) strFullName = strFullName.Right( strFullName.GetLength()-2); gethostname( szHostName, strlen( szHostName ) ); host = gethostbyname(strFullName); if(host == NULL) continue; ptr = (struct in_addr *) host->h_addr_list[0]; // Eg. 211.40.35.76 split up like this. int a = ptr->S_un.S_un_b.s_b1; // 211 int b = ptr->S_un.S_un_b.s_b2; // 40 int c = ptr->S_un.S_un_b.s_b3; // 35 int d = ptr->S_un.S_un_b.s_b4; // 76 strTemp.Format("%s --> %d.%d.%d.%d", strFullName,a,b,c,d); AfxMessageBox(strTemp); } } } delete Buffer; WNetCloseEnum( hEnum ); } WSACleanup(); //******************************************* I try ,but fail ! thanks all the same !

    C / C++ / MFC question sysadmin help

  • how can i get the computer name&amp;ip in local network?
    H Hellin

    not only my computer name & ip ! all in then local network .(some groups in the network)

    C / C++ / MFC question sysadmin help

  • how can i get the computer name&amp;ip in local network?
    H Hellin

    hi , how can i get all of the computer name&ip in local net work .I want to get other computer names&ip (All) ? how can i do ? do you understand me ? Can you help me ? thank you !

    C / C++ / MFC question sysadmin help

  • how can i get all of the IPs in local network ?
    H Hellin

    hello, i want to know how can i get all of the IP in my local network . i say that others 's IP and COMPUTER NAME ,I want to get . I get some code ,but they don't work well,there are some errors . waiting your help! thanks

    C / C++ / MFC question sysadmin help

  • How can I get the other IP adress in my local netwok?
    H Hellin

    Hi , how can i get the IP adresses and machine names of other computers in my local network ? I come from china ,so my english is very poor ? Thank you very much ! :)

    C / C++ / MFC question sysadmin

  • come into possession of the operating system
    H Hellin

    Yes ,All right .thanks .

    C / C++ / MFC

  • come into possession of the operating system
    H Hellin

    When my application is runing ,other aplications of in Windows 2k don't work (when my application runing ,my application has a appropriation the operating system itself )

    C / C++ / MFC

  • ExistFiles
    H Hellin

    hello, i didn't know that there is a func of ExistFile ,and how to use . thank you ;)

    C / C++ / MFC tutorial

  • Dlls:Could you help me ? (I come from china .)
    H Hellin

    Hi,buddy Sorry ,i will go to the class.I must leave . see you bye hellin

    C / C++ / MFC question help tutorial

  • Dlls:Could you help me ? (I come from china .)
    H Hellin

    Hi, buddy That all right .a Func of DLLs for PB must be de Declared like this "__stdcall" .Others don't work .do you understand me ? My craft brother. Thank you very much . Hellin:omg:

    C / C++ / MFC question help tutorial

  • Dlls:Could you help me ? (I come from china .)
    H Hellin

    Hi ,Judd Thanks a lot .What is the "__stdcall" different from the "__declspec" .I am trying ...I think my enlish is very bad .are you American? Good luck:~ Hellin

    C / C++ / MFC question help tutorial

  • Dlls:Could you help me ? (I come from china .)
    H Hellin

    Could anyone help me ? I really really come from china.:suss:

    C / C++ / MFC question help tutorial

  • Dlls:Could you help me ? (I come from china .)
    H Hellin

    Hi, How can I export a Func ,object and so on in Dlls .I want to create a Dll for PB .i think it's very easy to you,but it's very hard to me ,because i come from china ,my mother lauguage is chinese . can anybody help me ? give me an example .:confused: Thanks Hellin

    C / C++ / MFC question help tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups