Pinger apps
Labels:
.Net
ListBox can be in Edit
In order for the items contained in the ListBox can be edited, it would require a special way by combining it with the TextBox. Here's how:
- Add 1 ListBox, then 1 TextBox (property Visible = False) to the Form.
- Type this code in the event ListBox1_MouseDoubleClick:Dim i As Integer = ListBox1.SelectedIndex
If i < 0 Then Exit Sub
With TextBox1
.Top = ListBox1.GetItemRectangle(i).Top + ListBox1.Top
.Left = ListBox1.GetItemRectangle(i).Left + ListBox1.Left
.Text = ListBox1.Items(i)
.Visible = True
.Focus()
End With - Type This code in event TextBox1_KeyPress :
If e.KeyChar = Chr(Keys.Enter) Then
ListBox1.Items(ListBox1.SelectedIndex) = TextBox1.Text
TextBox1.Visible = False
ElseIf e.KeyChar = Chr(Keys.Escape) Then
TextBox1.Visible = False
End If - Type This code in event TextBox1_LostFocus :
TextBox1.Visible = False
- For the experiment, you can fill out the items by typing in this code in event Form1_Load :
Dim i As Integer
For i = 1 To 100
ListBox1.Items.Add("Item ke " & i)
Next
Labels:
.Net
Detect the version of MS Office
The easiest way to detect the version of MS Office that are installed on the computer, that is by reading the registry value. Here's the code:
Write the function code in the new module:
Use code like this:
Can be seen in the example above is used to detect the Word, then it can also be used to Excel, PowerPoint, Access, etc.
Write the function code in the new module:
Function VersiOffice(ByVal Aplikasi As String) As String
On Error GoTo Ero
Dim Reg As Object
Dim s As String
Set Reg = CreateObject("Wscript.Shell")
s = Reg.RegRead("HKCR\" & Aplikasi & ".Application\CurVer\")
VersiOffice = Replace(s, Aplikasi & ".Application.", "", , , 1)
Ero:
End Function
On Error GoTo Ero
Dim Reg As Object
Dim s As String
Set Reg = CreateObject("Wscript.Shell")
s = Reg.RegRead("HKCR\" & Aplikasi & ".Application\CurVer\")
VersiOffice = Replace(s, Aplikasi & ".Application.", "", , , 1)
Ero:
End Function
Use code like this:
Dim v As String
v = VersiOffice("Word")
If v <> "" Then
MsgBox ("Microsoft Word versi " & v)
Else
MsgBox ("Microsoft Word tidak ter-install")
End If
v = VersiOffice("Word")
If v <> "" Then
MsgBox ("Microsoft Word versi " & v)
Else
MsgBox ("Microsoft Word tidak ter-install")
End If
Can be seen in the example above is used to detect the Word, then it can also be used to Excel, PowerPoint, Access, etc.
Labels:
.Net
Progress on the Taskbar
Cara menambahkan Progress di Taskbar ini hanya bisa diterapkan pada Windows 7 menggunakan VB .NET. Library yang digunakannya adalah WindowsAPICodePack.
Labels:
.Net
Pressing the button with code
Here's how to push Button / Button using code, so without doing click using the mouse pointer.
Write the following code in the event '(Declarations)' of Form
[VB 6.0]
[VB 6.0]
Write the following code in the event '(Declarations)' of Form
[VB 6.0]
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long[VB.Net]
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Private Declare Function SendMessage Lib"user32.dll" Alias "SendMessageA"(ByVal hwnd As Integer, ByVal wMsg As Integer, ByVal wParam As Integer, ByRef lParam As Object) As IntegerNow for practice use code like the following:
Const WM_LBUTTONDOWN = &H201
Const WM_LBUTTONUP = &H202
[VB 6.0]
SendMessage Command1.hwnd, &HF3, 1, 0[VB.Net]
Sleep 150
SendMessage Command1.hwnd, &HF3, 0, 0
Command1.Value = True
SendMessage(Button1.Handle, WM_LBUTTONDOWN, 0, 0)
Application.DoEvents()
Threading.Thread.Sleep(150)
SendMessage(Button1.Handle, WM_LBUTTONUP, 0, 0)
Button1.PerformClick()
Labels:
.Net
Visual Styler
Visual Styler is a control that is used to change the appearance of the form and its controls in it. The interface can be changed to such Office, Mac, or Vista.
Its use is very easy, you just add the control to the Form Visual Styler. Then select the desired view in VisualStyle his property. After that save the Project to make changes.
Labels:
.Net
EDraw Office Viewer
Labels:
.Net
Web Search Applications
Labels:
.Net
Should You Hire a Link Wheel Service?
Getting your website into the top ten results of Google for competitive, high search volume terms that directly relate to your business can be quite challenging. These types of search terms are highly desirable because they are what your potential customers type in when they're ready to buy what you offer. Of course, your competitors are aware of this too, and that's why there is so much competition. Getting onto the second and third pages of Google can be relatively simple, but getting that extra push to be on the first page is not. However, link wheels can give you the boost you need.
Creating link wheels is very time consuming, as it involves building Web 2.0 properties and placing useful articles on them. You then have to properly link the properties to one another in a special fashion so they're all increasing the value of the other properties. After doing this, they'll have a lot of link juice which can then be passed to your main website. This powerful technique is used by the big companies because it gives them the edge they need to remain ahead of their competitors on the first page. With that said, they are not the ideal strategy when you are first starting out.
You shouldn't go through a link wheel service if your site is not ranked at least on the second page of Google for competitive terms. They are not very effective when your site doesn't have much authority or visibility, as the powerful boost a link wheel gives the site might look suspicious to Google. However, when you are ranking in Google's top 20, the boost from a link wheel is acceptable and even expected, so it will shoot you onto the first page without any risk of getting your site penalized.
You will find that hiring a link wheel service to handle the creation of link wheels is the most cost effective way to go. The best ones have writers that will create the content for the Web 2.0 properties, and they'll even make a short YouTube video for you. They are experts at properly linking the Web 2.0 properties, and will be able to give your site a dramatic boost to put it on the first page of even very competitive terms.
Creating link wheels is very time consuming, as it involves building Web 2.0 properties and placing useful articles on them. You then have to properly link the properties to one another in a special fashion so they're all increasing the value of the other properties. After doing this, they'll have a lot of link juice which can then be passed to your main website. This powerful technique is used by the big companies because it gives them the edge they need to remain ahead of their competitors on the first page. With that said, they are not the ideal strategy when you are first starting out.
You shouldn't go through a link wheel service if your site is not ranked at least on the second page of Google for competitive terms. They are not very effective when your site doesn't have much authority or visibility, as the powerful boost a link wheel gives the site might look suspicious to Google. However, when you are ranking in Google's top 20, the boost from a link wheel is acceptable and even expected, so it will shoot you onto the first page without any risk of getting your site penalized.
You will find that hiring a link wheel service to handle the creation of link wheels is the most cost effective way to go. The best ones have writers that will create the content for the Web 2.0 properties, and they'll even make a short YouTube video for you. They are experts at properly linking the Web 2.0 properties, and will be able to give your site a dramatic boost to put it on the first page of even very competitive terms.
Labels:
Site Promotion
How to Outsource Search Engine Optimization
Most business owners will tell you that saving time and money are key concerns. Yet many perform search engine optimization and other non-core services themselves. Some owners delegate to over-burdened staff members rather than outsource to specialists. Why is that? More importantly, is there a better way?
To answer, let�s first consider a day in the life of a small business owner - George. George will tell you that the best time during the day is when he can sit in a coffee shop with a colleague or customer and solve problems. The problem may be how to enter a new market. It may be how to get his shipment from Charlotte to Chicago faster. No matter; George is in his element. Solving these problems is the reason that George went into business for himself.
Unfortunately, the rest of his day doesn�t go as well. He has to deal with traffic getting back to his office. That pesky salesperson continues to call. Maybe he has to troubleshoot a project or run payroll for his staff.
He�s paying bills, answering email, filing taxes and 100 other things in addition to trying to improve the search rankings for his website. Pretty soon the best part of George�s day has become a distant memory.
Outsourced SEO Saves Your Business Time and Money
It�s obvious that George, like many business owners, has too many things on his plate. Why should he outsource search engine optimization for his website?
Consider the Hedgehog Concept for companies as described in Jim Collins� book Good to Great. There�s a story about the fox, which is trying different strategies to attack the hedgehog. Each time the hedgehog rolls into a ball of spikes and it defeats the fox using this simple, consistent method.
Collins found that great companies followed a few simple methods on their path to greatness. The methods were different between companies but they all answered three questions:
What are we passionate about?
What can we best in the world at?
What drives our economic engine?
Most businesses won�t answer �SEO� to the previous questions making it a great candidate to be outsourced to professionals.
Where to Outsource Your SEO in North Carolina
WSI offers complete search engine optimization services including content marketing. Our SEO specialists love what they do and are constantly upgrading their skills and learning from their colleagues around the world. To learn more visit our website at www.wsinetrevenue.com.
To answer, let�s first consider a day in the life of a small business owner - George. George will tell you that the best time during the day is when he can sit in a coffee shop with a colleague or customer and solve problems. The problem may be how to enter a new market. It may be how to get his shipment from Charlotte to Chicago faster. No matter; George is in his element. Solving these problems is the reason that George went into business for himself.
Unfortunately, the rest of his day doesn�t go as well. He has to deal with traffic getting back to his office. That pesky salesperson continues to call. Maybe he has to troubleshoot a project or run payroll for his staff.
He�s paying bills, answering email, filing taxes and 100 other things in addition to trying to improve the search rankings for his website. Pretty soon the best part of George�s day has become a distant memory.
Outsourced SEO Saves Your Business Time and Money
It�s obvious that George, like many business owners, has too many things on his plate. Why should he outsource search engine optimization for his website?
Consider the Hedgehog Concept for companies as described in Jim Collins� book Good to Great. There�s a story about the fox, which is trying different strategies to attack the hedgehog. Each time the hedgehog rolls into a ball of spikes and it defeats the fox using this simple, consistent method.
Collins found that great companies followed a few simple methods on their path to greatness. The methods were different between companies but they all answered three questions:
What are we passionate about?
What can we best in the world at?
What drives our economic engine?
Most businesses won�t answer �SEO� to the previous questions making it a great candidate to be outsourced to professionals.
Where to Outsource Your SEO in North Carolina
WSI offers complete search engine optimization services including content marketing. Our SEO specialists love what they do and are constantly upgrading their skills and learning from their colleagues around the world. To learn more visit our website at www.wsinetrevenue.com.
Labels:
Site Promotion
The Importance SEO firms
The term SEO firms stands for companies that are specifically tasked with Search Engine Optimization. Most people consider this quite irrelevant especially if their target customers can locate their company when searching for it on the internet. Companies that do not have any negative ratings may also think that an SEO firm is not that important. However, a large number of people have businesses rely on internet strategies. These businesses depend entirely on the search engines for traffic to their websites. This traffic translates into revenue for the company. For these businesses SEO firms are very significant as without good SEO results, the business would start floundering.
When an individual is contemplating whether a search engine optimization company is relevant to them and their company, there are a few things they should ask themselves. The first would be whether people search for the company online using its name or by using a search engine. The second would be if the public try to contact you the individual as well as the members of your team through search engines. The third would be if the company is offering a good or a service that most people search for online. Most businesses that have either a complex or a consultative sales technique tend to answer in the affirmative to the first two questions. These businesses tend to employ consultants as well as professionals in their approach. If an individual finds that the first two questions apply to them then it is highly likely that they would need to enlist the services of a SEO firm to improve the rankings of their company. They would also need the services of a Link Building Company so as to accumulate relevant links to their website.
For individuals that sell their goods or services online, plus those individuals who rely on a target demographic based on internet searches, the third question would be most applicable to them. Most of these individuals may not relate to the first two questions, but they still have a need to optimize keywords as well as phrases that link directly to their company or their specific services. These individuals will also have the objective of ensuring that the name of their company starts getting pushed up the rankings in online searches. Once an individual has a better concept of how SEO firms can work to help potential customers find their company easier, then one can decide on a specific strategy to push their products and services in the market. Understanding how SEO firms work and the benefits that they can have on one�s company also gives the individual an opportunity to set better budgets that are more suitable for their company.
Lastly, when considering hiring an SEO firm to increase website traffic, a person has to keep in mind that they should set realistic expectations. The internet is a vast location and thus there is a lot of competition when it comes to any product or service. It may not be easy to get the most optimization one would want, but with time it gets better. One should always strive to find the perfect key word that their target demographic uses quite often online but which has not yet been unearthed by one�s competition.
When an individual is contemplating whether a search engine optimization company is relevant to them and their company, there are a few things they should ask themselves. The first would be whether people search for the company online using its name or by using a search engine. The second would be if the public try to contact you the individual as well as the members of your team through search engines. The third would be if the company is offering a good or a service that most people search for online. Most businesses that have either a complex or a consultative sales technique tend to answer in the affirmative to the first two questions. These businesses tend to employ consultants as well as professionals in their approach. If an individual finds that the first two questions apply to them then it is highly likely that they would need to enlist the services of a SEO firm to improve the rankings of their company. They would also need the services of a Link Building Company so as to accumulate relevant links to their website.
For individuals that sell their goods or services online, plus those individuals who rely on a target demographic based on internet searches, the third question would be most applicable to them. Most of these individuals may not relate to the first two questions, but they still have a need to optimize keywords as well as phrases that link directly to their company or their specific services. These individuals will also have the objective of ensuring that the name of their company starts getting pushed up the rankings in online searches. Once an individual has a better concept of how SEO firms can work to help potential customers find their company easier, then one can decide on a specific strategy to push their products and services in the market. Understanding how SEO firms work and the benefits that they can have on one�s company also gives the individual an opportunity to set better budgets that are more suitable for their company.
Lastly, when considering hiring an SEO firm to increase website traffic, a person has to keep in mind that they should set realistic expectations. The internet is a vast location and thus there is a lot of competition when it comes to any product or service. It may not be easy to get the most optimization one would want, but with time it gets better. One should always strive to find the perfect key word that their target demographic uses quite often online but which has not yet been unearthed by one�s competition.
Labels:
Site Promotion






