HTML – base tag example.
Description :
The base tag is a HTML tag. It specifies a base(default) URL for all link in the page.
Code :
| <html> <head> <base href=”http://roseindia.net”> <title>HTML is a markup language</title> </head> <body> <h1>HTML — base tag. </h1> <a href=”/techindex/html/index.html”>See HTML Examples Code …….</a> </body> </html> |
SHARE THE KNOWLEDGE
Splitter in C#……………….
It is placed after/before control. At run time if u keep mouse control at edge of control a small arrow appears using it you can increase/decrease size of the control. (Control which has expandability).
Procedure :
1) Increase the form size to maximum, take treeview control, set its dock property to left.
2) Take splitter
3) Take listview control, increase the size according to form.
int a, b, c, d;
private void Form6_Load(object sender, EventArgs e)
{
a = treeView1.Width;
b = listView1.Left;
}
private void splitter1_SplitterMoved(object sender, SplitterEventArgs e)
{
c = treeView1.Width;
d = c – a;
listView1.Left = b + d;
listView1.Width = this.Width – listView1.Left;
}
SHARE THE KNOWLEDGE
How to Delete Outlook Express Accounts……………
If you change Internet Service Providers or simply have an email account you no longer wish to check, it is a simple task to remove the email account in Outlook Express. With just a few clicks of the mouse, the unwanted email is deleted and will not be checked in the future. This can be done with any email address that you no longer need or use.
Instructions
1. Open Outlook Express on your computer. Click “Tools” from the menu at the top of the screen. Click “Accounts” from the options given.
2. Choose the “Mail” tab from Internet accounts screen. Highlight the email amount you wish to delete, clicking on the account name.
3. Select “Remove.” Click “Yes” when the program asks if you are sure. The email account will now be deleted.
SHARE THE KNOWLEDGE
Difference Between WiMAX and Wi-Fi…………..
WiMAX and Wi-Fi are wireless technologies. “WiMAX” stands for “Worldwide Interoperability for Microwave Access” and “Wi-Fi” stands for “Wireless Fidelity.” They are different from each other in many ways. In this article we will discuss WiMAX IEEE 802.16 and Wi-Fi 802.11.
WiMAX has two different versions; fixed and mobile versions. The mobile version is 802.16 m and can replace CDMA and GSM technologies. The fixed version is 802.16d, and 802.16e is used for home whereas Wi-Fi which comes in 802.11 families has many versions like 802.11a, 802.11b, 802.11g, and 802.11n
Wi-Fi operates in spectrum which is unlicensed. It may interfere with each other and with cordless phones also. It can operate in uncontrolled environments along with Bluetooth, walkie-talkies, and sometimes microwave frequencies too. This results in a powerful device, and the one which is closer to the access point getting more airtime than its fair share. Whereas WiMAX was developed in a way that it requires a license. The frequencies and license has to be purchased. These frequencies are more powerful and of a higher range. It has more of control and command and can be used for cable, Internet, and DSL. It helps in providing services like video, data, voice, etc.
SHARE THE KNOWLEDGE
How to create a SQL Connection in C Sharp……….
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
namespace Database
{
class Program
{
static void Main(string[] args)
{
// String copy in notepad from property windows
string conString = @”Data Source=.\SQLEXPRESS;AttachDbFilename=”"D:\visual studio2010\Database\Database\emp.mdf”";Integrated Security=True;User Instance=True” ;
SqlConnection con = new SqlConnection(conString);
con.Open();
string sql = “select Fname,Lname,Email,Mobile from employee where IsActive = 1″;
//Fire Querry
SqlCommand cmd = new SqlCommand(sql,con);
//Get Result of Querry
SqlDataReader rd = cmd.ExecuteReader();
//Iterate over all result
while(rd.Read())
{
string msg = string.Format(“Fname = {0} Lname = {1} Email = {2} \n Mobile = {3}”,rd["Fname"],rd["Lname"],rd["Email"],rd["Mobile"]);
Console.WriteLine(msg);
}
rd.Close();
con.Close();
Console.Read();
}
}
}
SHARE THE KNOWLEDGE
Configure your Outlook 2010 Client with Gmail….
Enabling POP
1. Sign in to Gmail.
2. Click Settings at the top right corner of your Gmail page.
3. Click Forwarding and POP/IMAP at the top middle.
4. Select Enable POP for all mail radio button.
5. Choose what to do with your messages after they’re accessed with your POP client or device.
6. Enable the IMAP.
7. Configure your POP client and click Save Changes.
Outlook Configuring
1. Open Outlook.
2. Click the File menu, and select Add Account in Account Information on top…
3. Fill in all necessary fields to include the following information:
Your Name: Enter your name as you would like it to appear in the From: field of outgoing messages.
Email Address: Enter your full Gmail email address (username@gmail.com). Google users, enter your full address in the format username@your_domain.com.
Password: Enter your email password.
Text Messaging: Leave this option unchecked.
Manually configure server settings or additional server types: Leave this option unchecked if you want to automatically configure Outlook 2007.
4. Click Next. If you are configuring Outlook 2010 automatically, you’re done! Just click Finish.
SHARE THE KNOWLEDGE
Visual Studio themes………..
Now a days working on visual studio for a long time is seems quite boring. How it is that if u change the theme of visual studio ? yes it is possible to do so. U just have to do the settings and that’s it. Just follow the steps below.
Import the themes of visual studio from here and put that inC:\Users\NIKHILESH\Documents\Visual Studio 2010\Settings this folder. Then open your visual studio and then go into the tools in menu bar and then select the import and export settings
Click on that and you will see a pop-up window
Select the import selected environment settings and then click on next.
After that again a pop-up window will appear then save the current settings and then click next
Select the theme that u have put in the settings folder and then click on next.
Now all the settings were save just click on finish and its done.
Enjoy the theme.
SHARE THE KNOWLEDGE
Asynchronous JavaScript Technology and XML (Ajax)
Using JavaScript technology, an HTML page can asynchronously make calls to the server from which it was loaded and fetch content that may be formatted as XML documents, HTML content, plain text, or JavaScript Object Notation (JSON). The JavaScript technology may then use the content to update or modify the Document Object Model (DOM) of the HTML page. The term Asynchronous JavaScript Technology and XML ( Ajax ) has emerged recently to describe this interaction model.
Ajax is not new. These techniques have been available to developers targeting Internet Explorer on the Windows platform for many years. Until recently, the technology was known as web remoting or remote scripting. Web developers have also used a combination of plug-ins, Java applets, and hidden frames to emulate this interaction model for some time. What has changed recently is the inclusion of support for the XMLHttpRequest object in the JavaScript runtimes of the mainstream browsers. The real magic is the result of the JavaScript technology’s XMLHttpRequest object. Although this object is not specified in the formal JavaScript technology specification, all of today’s mainstream browsers support it. The subtle differences with the JavaScript technology and CSS support among current generation browsers such as Mozilla Firefox, Internet Explorer, and Safari are manageable. JavaScript libraries such as Dojo , Prototype , and theYahoo User Interface Library have emerged to fill in where the browsers are not as manageable and to provide a standardized programming model. Dojo, for example, is addressing accessibility, internationalization, and advanced graphics across browsers — all of which had been thorns in the side of earlier adopters of Ajax. More updates are sure to occur as the need arises.
SHARE THE KNOWLEDGE











