Reply to messages you read
Section answers your questions read by the TS. Nguyen Van Hiep charge.
Questionuint32 variable using DLL created from VC2005 error "Error C2065: 'uint32': undeclared identifier c: \ taodll \ taodll.cpp", while the Windows Forms will not be?
Replyuint32 is not available the model name of the language. Indeed uint32 is the name of a class defined in the System namespace of the environment. Net. Module should use uint32 code must use "using System;". When you use the Visual Studio environment. Net to create visually a Windows Form, it will make available the source code for Form frames respectively, the frame contains the source code available on "using System;", whereby you use uint32 class is without error. When you program in VC + + language, the source of most of the VC + + Project will not access the System namespace, so can not use class uint32. If you want to use class uint32 the code VC + +, you must create a Project-type CLR (eg CLR Console Application), declared on "using namespace System;" before taking class uint32 to declare the variable data of the program.
The questionI want to check if anyone had used his computer when absent, a web service to do this?
AnswerYou did not state his wishes, so we make that the following two: 1. Want to check if there is anyone using the machine while you're away do not? 2. To use certain services on-line to check whether anyone is at home using your computer? If you want one that is going on, just boot the machine, use the file browser (Windows Explorer) see the last revised by the file c: \ pagefile.sys (or any *. log file in the folder c: \ windows), if the time happens when you're away, then surely someone has used your computer , and how users can not know exactly. Note that you must set the mode for displaying file system and hidden files to be able to view the file on. If you want that 2 is currently no service, but the idea of writing software to solve This problem is quite simple: write a small monitoring software and set it to run automatically each time the boot, the software periodically send an e-mail (the content is not important, there also) e-mail on your account. Somewhere, you use the computer check your mailbox, checking the time of the e-mail e-mail they send to know who is at home are not using your computer.Currently the use of phone Mobile also very popular, so instead of sending e-mail to your account, the software on your computer monitor can create and send SMS messages to your mobile phone.
QuestionsPlease ask, I want to change your home page in Internet Explorer, choose Tools, Internet options, but when the home page is dimmed, so I can not change the home page.
Replyphenomenon textbox enter the homepage of IE blurred because someone (who may be, there is a module add-ins can be installed on IE or any malware) has locked it. To reopen this textbox, you can proceed to the following: - Choose Start, Run, type regedit (add name parameter correction Windows configuration) then click on the OK button to run the utility. - Move the mouse to the HKEY_LOCAL_MACHINE folder, expand the sequence of the following items: \ Software \ Policies \ Microsoft \ Internet Explorer \ Control Panel - Choose your Control Panel to display its contents to the listbox on the right. - Move the mouse and right click on the appropriate vacancies in the listbox on the right, select the option New.Dword value, enter the new name is HomePage. - Click the right mouse button to create the new HomePage section, select the Modify option to display the editing window, correct value of "Value data" is currently a (key) to 0 (the textbox enter unlock homepage). - check entry HKEY_CURRENT_USER \ Software \ Policies \ Microsoft \ Internet Explorer \ Control Panel no. If so, please follow the steps above to adjust its value to 0. - Close regedit utility back, close the IE window is open (if any) and then re-run IE, if the function Tools . Internet Options, you will see the textbox homepage is opened.
QuestionsPlease ask when advertising your website on a page, how to Classified ads straight from your web site?
AnswerYou did not say you advertise on any Ad, the ability to edit content on classified ads that how should we answer general. If the module contents editor Ad support HTML or XML format, the creation of links to Internet resources in any easy, you just use the tag command <a href=dia ban>'s web site is enough. Moreover, if the module contents editor ad supports the visual editor, you just use the command option or the corresponding icon to insert link command (command tag <a href>) as needed.
QuestionI have an account ... @ gmail.com NQT and NQT an account ... @ ymail.com (of yahoo). I want to push all ymail email accounts to your Gmail account, then how? Ask the server address, pop, port access on the ymail account?
Reply toymail.com and gmail.com are e-mail service via the web. If you use webmail services, you usually have to visit the company's management to make the mailbox or send an e-mail to others. Often the company's website also provides mail processing functions such as browsing popular e-mail list, detail contents of each e-mail, delete, reply, forward e-mail ... However, forward e-mail function of these sites usually only allow the implementation of each e-mail and not allowing the impact on all e-mail simultaneously. If the mailbox in your gmail.com account no more e-mail, you can select individual e-mail account and then forward it to ymail.com. If you need to transfer content automatically to the mailbox from gmail.com ymail.com repeatedly over time, you need to write a software program that perform this function. Permanent access to the mailbox account that you will send commands POP (Post Office Protocol) POP server to manage e-mail accounts, respectively. Similarly to send an e-mail account managed by the server, you must send the command of SMTP (Simple Mail Transfer Protocol) to the corresponding SMTP server. Before writing the software, you need to read and understand the command request / reply for each protocol (SMTP and POP). Here is the name and port of the server of a number of popular Webmail: - to send e -mail to gmail.com account, you use the SMTP server name is smtp.gmail.com, port is 25.- to read e-mail in the inbox of the account gmail.com, use the POP server name is pop. gmail.com, port 995. - to send e-mail to ymail.com account, you use the SMTP server named plus.smtp.mail.yahoo.com, port is 465. - to read e-mail in your inbox ymail.com account, you use the POP server name is plus.pop.mail.yahoo.com, port is 995. - to send e-mail to hotmail.com account, you use the SMTP server named smtp.live. com, port is 25. - to read e-mail in the inbox of the account hotmail.com, you use the POP server name is pop3.live.com, port 995.Note that the information of the SMTP server and POP above can be changed over time. To check information on the address and communication port of a SMTP server that is correct, you do the following: - Choose Start, Run, type cmd and then click the OK button to create Command window. - Enter Enter Telnet command to run utilities Telnet remote access. - Enter 25 Enter smtp.gmail.com Open command to connect to the SMTP server, respectively. If the screen displays a message reply that says "220 ..." the parameters of the SMTP server is correct. Similarly, to check information on the address and communication port of a POP server that is correct, you do the following: - Click Start menu and type cmd then click OK button to create the Command window. - Enter Enter Telnet command to run utilities Telnet remote access. - Enter 995 Enter pop.gmail.com Open command to connect to POP server, respectively. If the screen displays the message reply that says "+ OK ..."the POP server parameters are correct.
QuestionPlease guide how to create a program to list the drive and folder in a TreeView with the Win32 API, like the functionality of Norton Commander.
ReplyObjects interface TreeView (the correct name is CTreeCtrl in VC + +) is the subject generally, it enables display and handling of any data relationships as hierarchical tree, such as displaying the tree family tree, the tree organization of state departments, agencies, ... To display the drive's directory tree, we can define new object, named CDirTreeCtrl example, this object inherits all the properties of the TreeView object available, we simply override a few functions function so that it can display the content type hierarchy of the drive. Here is the process of a typical building application VC + + allows browsing the contents of the file system on the machine using the new object CDirTreeCtrl : 1. Running VC + +, select the menu to display the window File.New New. Select tag Project, select "MFC AppWizard (exe)", select the folder containing the Project location, enter the Project Management software on the textbox "Project Name" (eg DirFileDispDemo name), click on the OK button to start Wizard first specification process parameters for the Project. 2. In Step 1 window, check optionButton "Dialog Based" and then click Finish button to create a Form application using a simple interface. 3. When the Form Design window displays the application, select each object in the Form interface and removed to give form to the state completely empty. 4. Drawing objects in the Form giaodien following form, include a label, a ComboBox, a button and a TreeCtrl:
QuestionWhen I use WMP 9 is heard as the radio voice http://vov.vn/mediaselector.asp U.S. website but if you upgrade WMP to version 11 can not hear anymore, right click on WMP Error Detail selection control is a message: Windows Media Player can not connect to the server. The server name might not be correct, the server might not be available, or your proxy settings might not be correct. I tried setting the Proxy but can not hear, ask how to fix it.
Answeryour question content is not clear, we try to access the site at the address provided by you (http://vov.vn/mediaselector.asp), the alarm is not this site. We try to access the website address of the machine towards http://vov.vn http://vovnews.vn website, the homepage of this website for listening / viewing the VOV different channels, we tried to access each channel, they all run fine. We found that the channels are used for the Adobe Flash Player to play content, but do not see any channel using the WMP object.
ID: A1105_108 |
Tags: Technology