Trang Chủ | Diễn Đàn | Thành Viên (Đăng Ký) | Tìm Kiếm | Tutorial Room
Windows Programming - Convert sang C++
Hỏi đáp, trao đổi chung về lập trình trên môi trường Windows và WinAPI. Các câu hỏi về các ngôn ngữ cụ thể xin hãy gởi vào các box con tương ứng!
First page Previous page  (Page 1 )   1   Next page Last page
Convert sang C++
Member
Member since
02:22 26-08-2001
Posts: 547
Fantasy Points: 12,808
Rank
sad Posted at 05:29 05-02-2010 Move Move Topic   Pin/Unpin Pin Topic   Lock Lock Topic
Có đoạn code trên VB như sau:
Set objNetwork = CreateObject("Wscript.Network")
strLocalComputerName = objNetwork.ComputerName


muốn change sang C++ nhưng mò hoài ko ra :( hix
Đại ca nào biết chỉ giùm em nha
Ta cô đơn, đêm ơi, đêm uống chén
Cho đêm say, để lại đến mau ngày
Ngày lại ngày, cứ chếnh choáng, loay hoay
Chợt tỉnh say, tình theo mây, bay mất!

NBT
This post has been edited 1 time(s). Last edited by batanlp on 05:34 05-02-2010.
Reply Reply   Quote Quote   Edit Edit   Delete Delete   Report Report
This post has been viewed 818 time(s). 1 direct repli(es) and 0 indirect repli(es).
Title Poster
sad Convert sang C++
 
answer Re: Convert sang C++
NBThanh
Re: Convert sang C++
Forum Moderator
Member since
20:03 17-08-2001
Posts: 18,047
Fantasy Points: 154,606
Rank
answer Posted at 01:41 06-02-2010
Reply to Convert sang C++ (batanlp)
batanlp:
Có đoạn code trên VB như sau:
Set objNetwork = CreateObject("Wscript.Network")
strLocalComputerName = objNetwork.ComputerName


muốn change sang C++ nhưng mò hoài ko ra :( hix
Đại ca nào biết chỉ giùm em nha

Đoạn code đó có vẻ như là lấy name của cái computer hiện tại. Vậy thì: http://www.google.com.vn/search?q=VC+get+computer+name
Reply Reply   Quote Quote   Edit Edit   Delete Delete   Report Report
This post has been viewed 796 time(s). 0 direct repli(es) and 0 indirect repli(es).
First page Previous page  (Page 1 )   1   Next page Last page

Permissions: Create Topic: No  |  Reply Topic: No  |  Attach File: No  |  Make Poll: No

Vietnamese Keyboard: AUTO TELEX VNI VIQR VIQR* OFF

Go top || Print page ||

All logos, trademarks and graphics artwork in this site are property of their respective owners.
Opinions expressed in articles within this site are those of their owners and may not reflect the opinion of TXBB.

TXBB: Home - Disclaimer - Help - Contact
Copyright (C) 2000-2006 TXBB. All rights reserved.

TreXanh Bulletin Board v2.0 (Build: #332 Nov 21, 2006)

DEBUG INFORMATION
Execution 0.139s - SQL used 2s - Concurrent process(es) 0