Showing posts with label interesting. Show all posts
Showing posts with label interesting. Show all posts

Wednesday, 24 February 2016

Top User Friendly Web HostsIn Feburary 2016 24,

In Feburary 2016 24,
GoDaddy has been around since 1997, and it is now the largest registrar (400 million domain names) in the world. It also provides one of the most affordable ways to set up a website. It manages three times the names of its nearest competitor. Its success is largely due to the fun and friendly customer relations. GoDaddy will deal with you at your level of expertise and are patient about helping customers set up new accounts. Customers are fiercely loyal. GoDaddy has been part of some interesting controversies such as refusing to cooperate with Chinese authorities about gathering information about GoDaddy customers. GoDaddy has been known to fine (or terminate) customers for spamming or other inappropriate behavior.
InMotion
InMotion is a more business-oriented hosting service. It is excellent if you want to rent a server of any size. It also provides affordable personal domains and excellent technical service and customer help. Some people like its more conservative, less controversial approach to hosting. Almost all billing is monthly, which is perfect for launching new experimental businesses. InMotion is also compatible with everything you will probably need: php, perl, python, mySQL.
FatCow
FatCow is on just about every top 10 list. It may not be the absolute best in some particular category, but it is usually second or third. FatCow is famous for advertising that its entire operation is powered by wind technology. It is generally regarded as a user friendly and socially conscious company and offers a lot of specials, tools, tutorials and contact methods--some people say too many. It also features excellent help for setting up your first website.
In Feburary 2016 24,

Friday, 19 February 2016

How to Use a Listbox Control in MFC Visual C++In Feburary 2016 19,

In Feburary 2016 19,
Create a new project in Visual Studio to manipulate the control. From the upper menu bar, click 'File' > 'New' and select 'MFC AppWizard(exe)' in the 'Projects' tab. Enter a name for the project in the 'Project name' text box and click 'OK.' Select the 'Dialog based' radio button and click 'Finish' and then 'OK.' A dialog screen with two control buttons, one 'OK' and one 'Cancel,' is displayed in the Design View mode.
Add MFC controls on the dialog screen: one list box and some auxiliary controls to make the tutorial more interesting. To find a list box, move the mouse over the controls toolbox and read the popup balloons. Click the 'List Box' icon and click on the dialog screen to add it there. In a similar fashion add an 'Edit Box' and two 'Buttons.'
Modify the MFC controls. Right-click on the list box, select 'Properties' and change the ID to IDC_MYLISTBOX, under the 'General' tab. Do the same to the edit box and change its ID to IDC_MYEDITBOX. In one button, change the ID to IDC_MYBUTTONADD and the Caption to 'Add.' In the other button, change the ID and Caption to IDC_MYBUTTONREM and 'Remove,' respectively.
Join the list box and edit box using the Class Wizard. From the upper menu, click 'View' > 'Classwizard' or press Ctrl+W. Select 'IDC_MYLISTBOX' under the 'Member Variables' tab and click 'Add Variable.' Type 'm_myListBox' in the 'Member variable name' text box and select 'Control' under 'Category.' Click 'OK.' Next, select 'IDC_MYEDITBOX,' click 'Add Variable' and give the name 'm_myEditBox.' Don't change the combo boxes. Click 'OK' to close the class wizard.
Give some functionality to the Add button. Double-click the 'Add' button. When the 'Add Member Function' window appears, click 'OK.' Copy and paste the following code inside the '::OnMybuttonadd()' function, under the comment:
CString str;
UpdateData();
str = m_myEditBox;
UpdateData(FALSE);
m_myListBox.AddString(str);
Repeat Step 5 for the 'Remove' button. Copy and paste the following code inside the '::OnMybuttonrem()' function, under the comment:
int pos;
CString str;
pos = m_myListBox.GetCurSel();
m_myListBox.DeleteString(pos);
Compile and run the code. Type some text in the edit box and click the Add button. That text will be added as a row in the list box. Next, highlight a list box row and click Remove. This action deletes the row.
In Feburary 2016 19,