Tuesday, December 26, 2006

Coding Standards for Visual Basic (2)

Procedure & Coding Formats

Procedure Format Standards

Coding of Procedures/Sub-routines should be done in such a way as to ensure the code is as easy to read as possible. This involves the indentation and spacing of code in order to distinguish between specific processes and functions within the code, as shown in the example below.

Private Sub cmdButton_Click()
Dim strString as string
Dim blnBoolean as boolean
On Error Goto ErrorHandler

''''''''''''''''''''''
' This is an example '
''''''''''''''''''''''


strString = "Hello"

If blnBoolean then
If Function(strString) then
Exit sub
End if
End if

Exit Sub

ErrorHandler:

Msgbox err.number & ":" & err.description, vbcritical, _
"cmdButton_Click"
End Sub

The same code without spacing or indentation proves much more difficult to read (see below).


Private Sub cmdButton_Click()
DIM strString as string
DIM blnBoolean as boolean
On Error Goto ErrorHandler
''''''''''''''''''''''
' This is an example '
''''''''''''''''''''''

strString = "Hello"
If blnBoolean then
If Function(strString) then
Exit sub
End if
End if
Exit Sub
ErrorHandler:
Msgbox err.number & ":" & err.description, _
vbcritical,"Button Click
End Sub

Procedure specific variable declarations should be grouped together at the top of the procedure. Where appropriate attempt to group variables by common threads (i.e. Variables associated with particular processes or with common functions.) and then group by
datatype. This rule should also be applied to variables declared as Option Explicit


Try to keep procedures to a manageable size. If this requires the movement of code to sub-routines or functions then do this. Although the code may be split it will still be much easier to read and understand in smaller chunks.


Langauge Statement Standards

The following are guidelines to a few language statements.

IF Statement
The IF statement should be indented at each if level. The corresponding ELSE should align with the IF, as shown

Eg1

If blnBoolean then
If blnFunction(strString) then
Exit sub
End if
End if


Eg 2

If blnBoolean then
If blnFunction(strString) then
Exit sub
Else
IntCounter = intCounter + 1
End if
Else
Msgbox "Boolean is false"
End if


Avoid creating IF statements over six levels deep as the comprehension of IF statements becomes increasing difficult the deeper they become.

Select Case Statement


Select Case intMenuItem
Case 1
frmFinance.Show
Case 2
frmStock.show
Case 3
If blnSecurityPass Then
frmPass.show
Else
Msgbox "You do not have access authority."
end if
End select


For...Next Statement

For intIndex = 1 to intLastRecord
If datStartDate(intIndex) > now() then
blnErrorFlag(intIndex) = True
Else
blnErrorFlag(intindex) = False
End if
Next intIndex


note: the NEXT statement contains a
reference to the counter (intIndex),even though it is not required for functionality. This should be done for
all FOR...NEXT loops to add clarity, especially where loops are embedded
within loops.


While...Wend Statement

Dim intCounter
intCounter = 0
While intCounter < 20
intCounter = intCounter + 1
Wend


GOTO Statement

The GOTO statement should be avoided at all
times as it can create confusing jumps in code. The notable exception to this rule is the
'On
Error GoTo'
statement.

Form Design Standards

Forms and Controls

Windows Standards should be used for all forms and controls unless the customer has specified otherwise.

Where possible, Controls should be set to 'Locked = True' rather than 'Enabled = False' to allow greater development control over colour as well as clarity of control content for the user.

An application wide font of MS Sans Serif size 8 should be used to provide system conformity. This, of course, is subject to sensible variations to accommodate user and formatting requirements.

Confirmation and Rejection command buttons should use 'OK' and 'Exit' as their text, in order to match the Windows standard. Any deviation from this should only be at the customers specific request.

Enabled or non-locked controls such as TextBoxes and ListBoxes should have a 'Fixed Single' Border Style property and '3D' Appearance. Labels should have an Appearance property of 'Flat'.


Menus
All major forms should possess a menu bar unless otherwise specified by the user. The menu bar items should be presented using the Windows standard menu style and naming conventions (i.e. Hierarchical menus with Hot keys using item names the same as, or similar to Windows menu item names - see example below). Where there are Command Buttons available on the form, then these activities should be included within the menu where relevant.

Eg.

File View
Help

Add
Forecasts Help F1

Modify
Invoices Contents

Delete

Exit


Error Handling
All sub-routines, where even a small degree of processing is involved, should contain error handling.
System errors should not be displayed to the user, the code should control the system errors, displaying a user friendly and informative message relating to the processes being undertaken at the time of the error. Eg.

"Unable to retrieve the selected record."

The system error number, description and the location where it occured (form/module and procedure) should then be written to a log file. This provides valuable debugging information and can then be referenced by the System Administrator. It is preferable for the Error logging routine to be a common function, which could be held in a
DLL.
Where there is any database connection and utilisation the error handling must be comprehensive. Again, it is preferable for all database error handling to handled by a common function which can filter the database errors.

In the absence of a common Error Handling Routine for the Project then errors should be handled as shown in 'Procedure and Coding Formats'. Ensure the error message box contains some reference to where the error occured (e.g. the message box title bar) for easier debugging. Where there is any database connection and utilisation ensure that the error handling is comprehensive. The user should not receive any system messages, particularly with regard to ODBC errors.

Source : Unknown

Coding Standards for Visual Basic (1)

Introduction

The purpose of this document is to provide quality guidelines for the
control of code developed in Visual Basic, ensuring some degree of
discipline is employed in the development environment. In addition these
standards are designed to increase readability, maintainability,
reliability and portability of Visual Basic programs.


Contents:


  • Comments
  • Sub-Routines and Functions
  • Forms and Modules
  • Naming Standard
    • General Objects
    • Database Objects
    • DataTypes, Variables and Functions
    • Variables
    • Functions

  • Global Variables & Constants

Comments

All code should contain a degree of commenting to lend clarity to
the processes taking place in the procedures, functions, events etc. This
is not only useful


for any future development or enhancement that may take
place but provides useful reference for the current developer. Comments
within the code should be brief and informative, containing as little
technical jargon as possible. Some example code is shown below.


'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
' Check if user has amended a retrieved record to ensure '
' that amendments are not accidently cancelled '
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

If Me.Caption = FstrFormCaption(RETRIEVE_RECORD) Then
If blnHaveDepFieldsChanged(Me) Then
strTitle = "Clear Form"
strMsg = "Are you sure you want to clear the " _
& "form and lose any changes made?"
If Not OkToProceedMsgBox(strTitle, strMsg) Then
'''''''''''''''''''
' cancel selected '
'''''''''''''''''''

Exit Sub
End If
End If
End If

''''''''''''''''''''''''''''''''''''''''''
' close down current action form if open '
''''''''''''''''''''''''''''''''''''''''''

For I = 0 To Forms.Count - 1
If Forms(I).Name = "frmCurrActions" Then
Unload Forms(I)
End If
Next I

Sub-Routines and Functions

All user defined Procedures and Functions (these are non-object
generated sub-routines such as Events) should be prefixed by a comments
box providing a brief description of the sub-routine's purpose or function
and it's relevant calls. Comment templates for most sub-routines are shown
below.

''''''''''''''''''''''''''''''''''''''''''''''''''''
' Object :
' Description :
'
' Calls To :
'
''''''''''''''''''''''''''''''''''''''''''''''''''''

''''''''''''''''''''''''''''''''''''''''''''''''''''
' Procedure :
' Description :
' Parameters :
'
' Called By :
'
''''''''''''''''''''''''''''''''''''''''''''''''''''

''''''''''''''''''''''''''''''''''''''''''''''''''''
' Function :
' Description :
' Parameters :
'
'
' Called By :
' Value Returned :
'
''''''''''''''''''''''''''''''''''''''''''''''''''''

''''''''''''''''''''''''''''''''''''''''''''''''''''
' Property :
' Description :
'
'
''''''''''''''''''''''''''''''''''''''''''''''''''''

Forms and Modules

Each individual Form, Module, Class Module and ActiveX control should also
contain a comments box, describing the overall purpose behind the object.
This comments box should be positioned at the top of the code, before the
'Option Explicit' Section. Templates are shown below. All sections of this
comments box should be completed apart from the Modification History,
although a blank modification history should still be provided. If a
developer is required to add a fix or modification to another developers
code, even prior to release, the modification history must be completed by
the developer providing full explanation of the changes made and the
reason for the change. All Database tables that are referenced within a
form or module should be listed. These should be listed next to the
'Database' heading in the comments box.


''''''''''''''''''''''''''''''''''''''''''''''''''''
' Module :
'
' Description :
'

' Database :
'

' Author :
'
' Date :
'
' Modification History:
'
'
' Author Date Reason Comment
' --------- --------- -------- ---------
'
'
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''

'''''''''''''''''''''''''''''''''''''''''''''''''''''''''
' Form :
'
' Description :
'
' Database :
'
' Author :
'
' Date :
'
' Modification History:
'
'
' Author Date Reason Comment
' --------- --------- -------- ---------
'
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''

Naming Standards

Objects

All controls added to a Form should be named according to their content or
function to allow greater understanding of their function. Avoid leaving
any controls with their default names. E.g.,

where Text1 is the default name for a TextBox displaying a Forecast total,
it could be renamed…

    txtForecastTotal
where more than one total is displayed or 
    txtTotal

where it is the only total on the form.

All control names should be prefixed with an appropriate three letter
acronym (in lower case) describing the controls type. Below is a list of
examples.

View Image

Database Objects

All database objects should be named according to similar standards.

VIEW TABLE

DataTypes, Variables and Functions

DataTypes should also be prefixed to allow for greater understanding of
the code.

VIEW TABLE


These rules also apply to the declaration of function names, where the
returned value should be reflected in the Function name.Examples:



Variables


Dim intCounter as integer

Dim blnFlag as Boolean


Functions

Function blnCompareTotals(intForecastTotal as Integer) as Boolean

Global Variables & Constants

Globals

For shared Projects (VBPs) Global variables should be defined in a common
module (modGlobals), otherwise Globals should declared in one place in the
project being developed. This is to ensure a central reference is
available and avoid any naming conflicts.

In order to identify globals within code prefix them with 'g'. Therefore,
intCounter would become gintCounter.

When creating a new Global variable ensure a brief description of the
variable is provided for reference by other developers. Example:


'Indicates if user has authority
Global gblnAuthorityFlag as Boolean


Constants



Constants should be entered in Capitals.



Example
Const HIGHLIGHT = &H8000000D&


All public constants should be declared within the globals module
(modGlobals) in the Constants section provided. As with the global
variables, a brief description should be provided, either for groups of
constants or individual ones.

Wednesday, November 22, 2006

Blog Untuk Mbojo Resourch Lab Dah Jadi

Akhirnya blog untuk Mbozo Resourch Lab Dah Jadi. Insya Allah isinya akan segera menyusul.

alamatnya yaitu di: www.mbojo-lab.co.nr

Thursday, September 14, 2006

Another Adsense killer: Clicksor?

3 weeks ago I posted about Text-Link-Ads and promised to give feedback about how it worked out. Well, it's working surprisingly good as advertised. They managed to sell 4 links on creativebits and another 4 on ads of the world, which makes 207 US$ for the first full month. There are another 4 spaces left on both sites totaling of 8 links per site, so theoretically I can make up to 400 US$ per month in the future just by displaying these links. The referrals worked well too. I got payed for 6 sign-ups, each 25 US$. The check has not arrived yet, but will post an update as soon as it does.

In my quest for trying out different advertising schemes I decided to give a go to another system: clicksor. It promises high pay-outs, as much as 0.003 US$ per visit. It pays per visits as well not only by click-through. That would be great, except I can't help but be sceptical. So, I signed up and I'm displaying the ads on creativebits at the moment to test how they work out.

As a first reaction I can tell that the interface is quite nice and easy to use. Not a sexy as Text-Link-Ads, but possibly a bit simpler than Adsense. One thing is neat about it. As soon as you place the ads the statistics are shown in real time. With Adsense there is a considerable delay. Another interesing thing which I can't decide if I like or not is that the image ads do not have borders and you can't tell they are from clicksor. Again I will post about my findings once I gain some experience.
Google Adsense and AdWords issues

First the basics. Google Adsense is a system that allows website owners to display ads on their sites. Publishers are not payed by the number of ads displayed, neither by the size of the ads. They are not even payed by how many times the ads are displayed as it is done in traditional advertising, like print or TV. The publishers are payed by the number of clicks on the ads.



On the other side of the equasion, we have Google Adwords, that allows business owners to buy ads to be displayed on Google Adsense participant's sites. Advertisers need to specify keywords that match they advertisements. Google will match these keywords found on publisher sites and display relevant ads.

This sounds and works great. It's a great business for publishers to get a steady revenue, great way for businesses to publicize their websites to a targeted audience. And, it's a million dollar business for Google.

I've been on both sides. I'm running Google ads on this site as a publisher and do Adword campaigns for clients. I have a few reservations that I'd like to share.
Click fraud

First of all from the advertisers side. The big issue discussed heavily all over the internet and unfortunately for Google even at court is click fraud. Some "smart" publishers start clicking their own ads to generate more money. This practice can spend advertising budgets in no time and the advertisers don't get any valuable traffic for their money.

Apparently some publishers go to the lenght to hire people who click their websites regularly from different locations to try to hide the fraudulent nature of their clicks.

Google of course tries to fight this and have implemented many systems that detect these practices and shuts out publishers who misbehave.
Click fraud attack

This brings me to the second problem that affects legitimate publishers. If someone wants to do bad to a publisher and wants to shut him out of google and deprive him from his accumulated income with Google Adsense, he can theoretically click many times on a specific ad and the publisher will be disqualified. The publisher has no means to prove Google that it wasn't him clicking his own ads, but a wrong doer or competitor. This is a serious danger because when a publisher is shut out he loses all his earnings that were accumulated in his account till the incident and he will also be deprived from further incomes that may have been counted on for further operation.

For the advertisers I say suck it up. Consider that a certain percentage of your advertising spending is lost, just like with press and TV and be happy with the rest that brings in traffic and sales. Think about it as the cost per click for your ad is somewhat higher then it would be in an ideal world and live with it. Nothing is perfect, even this media has flaws.

For the publishers however I don't have a consolation. If they are shut out unjustly to protect the advertisers, they are at the mercy of their competitors and wrong doers. Hopefully Google tracks these maliscious users somehow. Unfortunately I have read about many publishers who had to look for other ways to monetize their sites, because they suffered a click fraud attack.
Pay per click vs. pay per view

The third issue I have is about the fact that publishers are only payed by clicks and not by number of times ads are displayed. It is a known fact that simple exposure to advertising messages on long term builds awareness and eventually result in sales. If a reader is exposed to an ad, especially if it is an image ad, he will register it uncosciously. He may not click the ad and not buy anything at that moment. But next time he wants to buy a certain product or service and looks for it, he may unconsciously or even consciously will choose the advertised brand. We know this works, otherwise we would not have brand building advertising everywhere on the streets, in the TV and press.

I feel it is unfair that the publisher is not payed for all these brand building and awareness campaigns that didn't result in direct clicks and sales. Again the system benefits the advertisers. They don't pay for all the impressions, and ideally they don't need to receive and pay for a single click to increase their brand awareness and eventually sales just by displaying their ads on Google's network of publishers.

I feel a combination of impressions and clicks would be a fair deal to both the publisher and the advertiser. Especially when we are talking about brand awareness messages. Until this is introduced I would not allow pay per click ads that mention brand names at all. Even in this case a certain ad can simply raise awareness of concepts and product categories, that indirectly helps advertisers.

Of course such a combined system will raise flags too. What about all the people who use ad blockers. Is it fair to pay the publisher for ads that never appeared?
Accidental clicks

Fourth issue is the accidental clicks. How many times have you misclicked on a page? Either because you didn't pay attention or because you have a poor mouse that has a jumping cursor or scroll wheel. Some publishers are so greedy that they put so many ads on a page that the readers have hard time navigate the page as if it was a landmine. If users click on an ad by mistake it's likely that they will not check the opened site, but will close the window or navigate back.

Is it fair that advertisers pay for these accidental clicks? There are many ways to prevent this unfair charge, but maybe again I should say suck it up, the free brand building you're getting should compensate for the occasional loss by accidental clicks.

Is it fair that the publisher is payed for these clicks? No, but similarly this compensates for all the free brand building.
Image quality

At last I would like to find a solution to an annoyance regarding image ads. Have you noticed that many Google image ads are blurry and squashed vertically? It is not the advertisers or web designers fault. It is a fault of Google AdWords system.

A perfectly sized image that is uploaded to Google AdWords will not only be recompressed, but also squashed to fit the small strip at the bottom that says "Ads by Gooooogle" and "Advertise on this site". There is no way to upload a smaller image, because the system only accept a certain size, so basically one has to get around it by designing the ad smaller as if to accomodate for the strip. Than vertically expand it to make it the original size that AdWords accepts. Upload it and see how the system resizes it back. This is a big problem, because with all this resizing you lose all the detail in your image. You can't have pixel perfect designs and can't use pixel fonts.

If you know a workaround please let me know, because this is causing a big headache for many designers.

After all this let me say that both systems work well in most cases and I'm very happy with both services. I realize that nothing is perfect and I trust Google will be able to innovate itself out of these issues sooner than you can click.

Wednesday, September 13, 2006

Google Adsense Secret

Setelah Anda memiliki blog di blogger.com atau blogspot.com, dan sudah ada isinya, ikuti langkah sbb:

(1) Daftar di http://google.com/adsense. Ikuti petunjuknya;
(2) Anda kemudian akan mendapat email konfirmasi dari google adsense, klik link di email tsb;
(3) Dalam waktu tiga hari Anda akan mendapat persetujuan (approval) dari google adsense. Silahkan login ke http://google.com/adsense dg email dan password ketika mendaftar.

(4) Ambil kode iklan yg bentuknya sesuai dg selera Anda; masukkan ke dalam template blog Anda. (Cara memasukkan kode iklan ke template, silahkan berkonsultasi dg Khairurrazi bagi yg berada di kawasan Delhi dan sekitarnya. Blog Razi atau Qisai. Bagi yg di Medan, silahkan hubungi Yaser Amri atau Purwarno Hadinata

(5) Bahasa: bahasa blog/website yg diterima untuk kerja sama dg google adsense adalah Inggris (dan bahasa-bahasa negara Eropa lain)plus Cina, Jepang dan Korea. Artinya, bahasa Indonesia belum diterima sebagai rekanan kerja sama dg google adsense. Setidaknya untuk sementara ini.

Sistem Kerja Google Adsense

Sistem kerja iklan google adsense dikenal dg istilah PPC atau Pay Per-Click. Setiap pengunjung yg datang ke blog Anda dan kemudian meng-klik iklan google yg ada di situ, maka Anda sebagai pemilik blog (publisher)akan mendapat jatah bagian dari google. Besarnya bervariasi, tergantung iklannya.

Jadi, ada tiga komponen dalam google adsense (a) Advertiser atau pemasang iklan; (b) Company yaitu Google Inc.; (3) Publisher yakni pemilik blog/website yg ditumpangi iklan google.

Setiap ada iklan yg diklkik oleh pengunjung (bukan oleh Anda), maka Advertiser membayar kepada Google Inc. Bayaran tsb. oleh Google Inc. sebagiannya dibagikan kepada kita sebagai publisher. Semuanya terkalkulasi secara otomatis dg teknologi IT google yg super canggih.

Jadi, kita sebagai publisher tidak boleh main curang dg mengklik sendiri iklan-iklan diblog kita, karena pasti akan ketahuan. Dan apabila ketahuan, maka akan diberi peringatan satu kali, dan dipecat apabila melakukan lagi, alias masih belum taubat nasuha. Google tampaknya juga sedang mengajarkan kita langkah-langkah "mengurangi" korupsi... Sekedar diketahui, sudah banyak para "koruptor" Google yg
dipecat dari rekanan.

Berapa sih Dapatnya?

Tergantung dari ramai tidaknya pengunjung blog kita. Semakin ramai tamu blog, semakin tinggi kemungkinan ada yg 'iseng' klik iklan google Anda, dan dg demikian semakin banyak hasil Anda perhari dan perbulannya. Sekedar info, salah seorang rekan kita di India sudah ada yg secara teratur mendapat antara $50 sampai $1000 perbulan. Cukuplah sebagai tambahan penghasilan. Dan yg lebih penting, jumlah itu akan terus meningkat seiring dg peningkatan jumlah pengunjung blog yg datang. Selain itu, pendapatan itu tidak kita dapat dg susah payah. Ia seakan hanya "menemani" kita yang sedang menyalurkan hasrat berkontemplasi dalam bentuk tulisan, curahan hati (curhat), menulis puisi, cerpen dan bercanda.

Sistem Pengiriman Uang

Pengiriman akan dilakukan setiap kali pendapatan Anda mencapai $100 di setiap akhir bulan. Bagi Anda yg memiliki kartu kredit (CC - credit card), pengiriman dapat dilakukan langsung melalui transfer ke CC. Sedang yg tidak memiliki CC, maka akan dikirim melalui cek citibank yg akan dialamatkan ke rumah kita (sesuai alamat yg anda berikan ke google waktu mengisi formulir). Rekan yg saya sebut di atas sudah menerima beberapa kali cek dari google. Info terakhir ini perlu saya tekankan untuk meyakinkan Anda bahwa "beasiswa" iklan google ini betul-betul nyata dan terbukti, bukan main-main.

Contoh Big Earner, a case studies

Blog siapa yg tercatat mendapat pendapatan besar? Menurut Google yg membeberkan pendapatan salah satu publisher yg mendapat penghasilan besar adalah weblogsinc.com yg dalam setiap harinya meraup $600 (enam ratus dolar perhari). Ingat, setiap hari dan kalikan dg 30 hari. Berapa penghasilannya dalam sebulan?. Silahkan dibuka dan dibaca link tsb. untuk menambah "wawasan" googelisasi Anda.

Ada satu hal yg saya pelajari dari bisnis model baru ini: bahwa mencari uang halal itu mudah. Beda sekali dg pameo "orang dulu": Cari uang haram saja susah, apalagi yg halal. Nampaknya, slogan tsb. sudah tidak relevan lagi di era IT ini. (bersambung).

PS. Anda bisa daftar program google adsense dg meng-klik banner Adsense di sidebar.
15 Esssential Tips To Get Traffic To Your Blog

If you are involved in affiliate marketing, MLM or any business for yourself, having a blog is essential. But having a blog doesn't do you any good unless you can drive traffic to it. Here are some great ways to get more traffic to your blog:

1) Create at least four keyword posts per day. Use a service like RSS 2 Blog and create several posts at once and have them served up one at a time.

2) Submit your RSS feed to My Yahoo and Google's Reader. This will get them indexed.

3) Add relevant links to your blog and trade them with others.

4) Use ping sites like ping-o-matic. Ping your site every time you add a new post. If you are using WordPress, this is done for you automatically.

5) Submit your blog to traditional search engines such as AltaVista, and MSN.

6) Make a useful video and post it on Google Video. With webcams and digital video so cheap now, there is no excuse not to be using video.

7) Post a profile on social networking sites like Ryze and My Space and link back to your blog. These sites generate huge traffic and the search engines will find them and pick you up. It also gets you a nice backlink with a high page rank.

8) Submit your blog to traditional directories such as DMOZ. Directories (particularly DMOZ) increase relevance with Google. DMOZ is very picky, but what do you have to lose by trying?

9) Use software such as RSS Announcer to get your feed listed. RSS Announcer is a resale rights product, so it's very easy to find cheaply as a bonus item or en Ebay.

10) Comment on other blogs and use track backs.. If there is a blog that you refer to or quote and it is highly relevant to your subject, leave a track back. It increases your link popularity and may even score a few interested readers from the linked site.

11) Go offline. Use newspaper ads, public bulletin boards, business cards, even stickers to let as many people as possible know your blog exists.

12) Add a link to your blog in your e-mail signature block.

13) Use Groups (Usenet). Find a relevant group on Google groups, Yahoo groups, MSN groups or any of the thousands of other FREE group services and find like minded people and talk with them. Make sure your use your blog URL like it is your name.

14) Use Forums. Forums are one of the best places to go for advice. Go to forums and find problems to solve. Make sure you leave your blog name, but be tactful about it; some forums get annoyed with those who selfishly drop a few links to their own site and leave.

15) Tag your blog. Tagging is a new idea that has erupted across the web. Sites like Del.icio.us, Technorati and many others have a social feature that allows you to place your article under keywords or "tags" that everyone interested in that tag can see.

Although these are some of the most popular ways to drive traffic to your blog, do not limit your self to tips and lists. Use your imagination and you will come up with thousands of ways to drive traffic to your blog!

Source : http://www.goarticles.com/cgi-bin/showa.cgi?C=273664
Blogger template (Tutorial)

A template is a set of HTML files which define the appearance and functionality of the blog. You can use the templates that are provide by Blogger, customize the provided template or write your own.

To access Blogger template, log into the Dashboard, select the blog, click TEMPLATE tab. You will see the template displayed in the edit template window. If you have already done some customization, it is a highly advisable to always backup your template. To backup the template, highlight ALL the text of the template, right-click and copy (or ctrl+C), paste into Notepad and save under a suitable title like dummies17april06. Saving a template has saved the woes of many a blogger.

do you want read this article? visit http://bloggerfordummies.blogspot.com/2006/04/blogger-template-tutorial.html
How to get more relevant Google ads

If you find that the AdSense ads displayed on your web page are not very relevant, or you are often getting PSA's (Public Service Ads), you will get fewer clicks and therefore lower AdSense revenues. There are certain things you can do about it though.Use section targetingSurround the relevant sections of your text with the tags and to emphasise a relevant page section.
You can also designate sections you'd like to have ignored by adding a (weight=ignore) to the starting tag, like this:Do not have too little content on a page.If your page contains a lot of graphics and very little text, AdSense will have a hard time figuring what the page is all about. It may then display irrelevant or Public Service ads.
Try to use text instead of graphics to display websites names, page titles and headlines. When you use graphics make sure to include the attributes alt="" and title="" so that search engines can figure out what the graphics are all about. Try to include more text on the page. Do not use sneaky methods to include text like making the text color same as the background as this will be considered spam by search engines and your site may get penalised.Do not have too much content on a pageIf you have too much content on a page, it is likely that it may also contains many unrelated keywords and AdSense may become confused and display public service or irrelevant ads.
When you have a lot to write about, try to divide it into many pages, each concentrating on a few related keywords. Link the pages using keywords in the link text.Research keywordsUse the free keywords suggestion tool at Overture Keyword Selector Tool to get suitable keywords and key phrases. Or better still, download and use the free program Good Keywords from Softnik Technologies.Place keywords at the beginning of your content and repeat them.
Repeating keywords make it easier for AdSense to figure out what your page is all about. Do not do this in excess as doing so may make your text sound awkward to a reader and may also be considered spam by search engines, attracting penalty.
Instead of repeating the same keyword too many times on a page, try to use synonyms and related keywords. For example, instead of repeating "idol" 20 times, occasionally use "paragon" or "ideal" instead.
Where possible use , , and to give weight to the keywords.Use keywords with commercial valueIf your subject matter contains only keywords on which no one bids on, you may get only public service ads instead of paid ads. Try to incorporate keywords with commercial value into your content. For example, your subject matter may be on some obscure medical condition. Try sprinkling a few drug names into the content to make it display paid ads rather than public service ads.Avoid acronyms if possibleSomeone once posted an article on per-per-click advertising on a website and was surprised to find that all the ads shown on the site relates to Apple computer products and nothing on per-per-click.
It turned out that he was using PPC as an acronym for pay-per-click and PPC is also an acronym for "PowerPC" which is Apple's line of Power Macintosh computers. When he replaced all the PPCs with pay-per-click, the problem went away.Put Ads on the post pageIf your site is a blog, this is a tip from Biz Stone, former Senior Specialist on the Google Blogger team from his book Who Let the Blogs Out? : A Hyper-connected Peek at the World of Weblogs: "don’t put them on your blog — put them on your post pages. See, the ads are content sensitive; that means they are relevant to the text of the page they cohabitate…if you set the ads up to display on your blog’s post pages — the individual archive page of each post — then they will learn the content on that page and serve up highly relevant advertising."

Tuesday, September 12, 2006


CuteNews 1.4.5


Cute news is a powerful and easy for using news management system that use flat files to store its database. It supports comments, archives, search function, image uploading, backup function, IP banning, flood protection ...* Quick and easy installation* You don't need MySQL, everything is stored in files* Visitors can post comments* Can be used smilies, avatars and HTML code* Optional support of categories and multiple templates* WYSIWYG editor* 3 different levels of user access* Add/Edit/Post news, comments and users online* Auto archiving of old news* No news building, everything is automated* Edit news templates* Visitors can search in your news news database* Password protected names in comments* IP banning visitors from posting comments* Flood protection* Auto wrap long words in comments* Backup Function

Homepage: http://cutephp.com/cutenews/

Download

Archive password: iN_ScR

Rapidshare Premium Accounts (Valid to APRIL/2007.) --:::http://rapidshare.de/files/32239483/rap-APR2007.zip

Axialis IconWorkshop v6.01

Axialis IconWorkshop is a professional tool designed to create, edit and convert all existing icon formats up to Vista (future version of Windows to arrive in 2006) and Macintosh OS-X Tiger (OSX 10.4). It features a powerful editor which allows you to create professional icons in minutes. Many tools permit you to be productive: automatic image format creation, creation of icons from images including PSD, PNG, JPEG2000, cross-plateform conversion (Win-Mac), automated batch processing (icon creation, conversion, export to images), Photoshop transfer plug-in and more. Hundreds of features permit to produce high-quality icons up to 256x256 using a fully integrated workspace.

Homepage: http://www.axialis.com/iconworkshop/

Download

Ulead DVD MovieFactory v5.0 Plus

DVD MovieFactory® 5 Plus - Do MORE with your digital media. Easily create standard or high-definition video, audio or slideshow DVDs, with studio-quality personalized menus. Archive, manage, share and play your data, music, photos and video on CD, DVD, and Blu-ray Disc.

Homepage: http://www.ulead.com/dmf/features_plus.htm

Download Links:

http://rapidshare.de/files/32587819/GFX-Ulead.DVD.MovieFactory.v5.0.Plus.Incl.Keygen-SSG.part1.rar

http://rapidshare.de/files/32587855/GFX-Ulead.DVD.MovieFactory.v5.0.Plus.Incl.Keygen-SSG.part2.rar

Sun StarOffice v.8.0 Retail (iso)
Sun Microsystems, Inc., announced the availability of StarOffice 8 software, the latest version of the award-winning desktop productivity suite. StarOffice 8 software is the first commercial office suite using the Open Document Format for Office Applications, the OASIS open standard that makes sharing files easier. Sun also announced today new relationships with leading software publishers Encore Software, Avanquest Software and a continuing relationship with SourceNext to make StarOffice 8 software available to consumers and businesses worldwide.StarOffice 8.0 software is an easy to use office productivity suite with powerful word processing, spreadsheet, presentation, drawing & database capabilities. The suite is comprised of five key components: StarOffice Writer, Impress, Calc, Base and Draw.StarOffice 8.0 software provides excellent compatibility with Microsoft Office. StarOffice 8 software further improves import and export of Word, Excel and PowerPoint documents, even password-protected MS Word and MS Excel files and presentations with complex animations, autoshapes and slide transitions. StarOffice 8 software also provides features that look more familiar to Microsoft Office users. The Format Paintbrush allows simple transfer of styles from one section of a document to another, and the Impress multi-pane user interface simplifies creation of high-impact presen-tations.

Top10 New and Enhanced Features
• Improved Microsoft Office compatibilityEnhanced import and export filters give you seamless word processing, spreadsheet, presentations and support for password-protected Microsoft Word and Excel documents. Your tables, headers, footers, and formatting, even complex Excel formulas and text frames, will all look better.
• OpenDocument is the new default file formatNow StarOffice files are saved by default in an open XML-based format, specified by the OASIS OpenDocument 1.0 schema, for easier file sharing. IBM, Novell, and Red Hat also support OpenDocument. For backward compatibility, you can still open and save files in the StarOffice 6/7 XML-format. See OasisOpen.org for more info.
• XForms supported hereA new editor lets you create XML Form documents. That significantly boosts your interoperability with other programs that support the XForms standard, which has emerged to replace traditional HTML Web forms. See the World Wide Web Consortium (W3C) page for more info.
• Digital signatures can be applied to documentsA digital signature offers reliable authentication of a document’s sender as well as an assurance that the document has not been altered since it was signed. Now your incoming and outgoing StarOffice documents can have this same level of security.• Have your own resident database wizardThe completely redesigned database wizard helps you to set up new databases (using the included HSQLDB engine) or connect to existing mySQL, ADO, Oracle, ODBC, and JDBC databases. The wizard also helps you create forms, reports, queries, tables, views, and relations.
• The mail merge wizard really deliversThis new wizard makes it easy to merge form letters with address book information for label printing or emails. It’s no longer a difficult, time-consuming task.
• Easier to use than ever beforeStarOffice 8 sports a new set of interface improvements that make all of the applications easier to learn and use. For example, default toolbar configurations have been simplified and appear only in context, the mail merge wizard has been redesigned, and enhancements have been made for headers, footers, bulleted lists, text and table selection, spreadsheet cell formatting, email attachments, and online help. The result: lower support costs and higher productivity.
• Your native desktop theme appliesStarOffice 8 uses the native objects, themes, and settings of your platform desktop. Whether you’re running the Windows XP, Linux, or Solaris operating systems, StarOffice takes on a look and feel similar to your other native applications.
• Migration tools simplify the moveYou can use the new Macro Migration Wizard to help you convert Visual Basic macros in Microsoft Word and Excel documents to the StarOffice Basic macro language. It significantly reduces the time and effort needed to convert macros through automatic conversion (where possible) and notes on issues encountered during migration. The analysis reports estimate how long a migration would take and which problems would need to be addressed. For StarOffice 8 Enterprise Edition users, the new Document Analysis Wizard helps you assess the migration issues of your Microsoft Office documents.
• Export your documents to Adobe PDFConvert your files to the popular PDF format directly from StarOffice. You’ll enjoy using the new PDF hyperlinks, table of contents, document outline, document notes, PDF controls, and tags.
Archive password: spyhunter
Download Links: download \ скачать
download \скачать
download \ скачать
Flashget v1.73 Super Pack + all tweaks

Quote:
FlashGit v.2.0
FlashGet v.1.7.3
FlashGet Reg Tweak
Skin Pack 1.0

FlashGet (formerly JetCar) is specifically designed to address two of the biggest problems when downloading files: Speed and management of downloaded files. If you've ever waited forever for your files to download from a slow connection, or been cut off mid-way through a download - or just can't keep track of your ever-growing downloads - FlashGet is for you. FlashGet can split downloaded files into sections, downloading each section simultaneously, for an increase in downloading speed from 100% to 500%. This, coupled with FlashGet's powerful and easy-to-use management features, helps you take control of your downloads like never before. FlashGet displays download progress in ranks of glittering dots, but its acceleration is not as pronounced as most. Its inability to start a download without confirmation makes for slow starts. We ran into difficulty locating configuration settings, a problem aggravated by a help system that apparently belongs to an earlier version. Nonetheless, the software managed and categorized our sample downloads efficiently. FlashGet supports over 30 languages!
Changes:
improve flash(swf) file download function * improve search toolbar * bug fixed DownLoad :
Code:

http://rapidshare.de/files/32687298/FG1.73_best_dl_with_all_tweaks.rar
PassWord : www.dreatica.cl
Vista Transformation Pack




You sure will be surprised if you hear this. From now on you can update Vista Transformation Pack without uninstalling and you can even integrate Vista Transformation Pack into Windows setup files. (Still experimental, though but most of them are fine enough to be implemented) This release has a lot of update covering from build 5472 so you’ll get much more icons update and much better visual styles and WindowBlinds skin, with bugs from earlier release fixed. Let’s see the changelog for more details below.

http://files.9down.com:8080/vtp5_01.rar

A New solution for Rapidshare
As you know, for the last week, RAPIDSHARE has changed the protocol for downloading (SSL method).. that's why, all downloading programs were failed, including RAPGET (i'm familiar to it for download). A new solution was found for beating SSL method in Rapidshare... Click the link below, and...
Code:
http://dimonius.hawara.com/PROG/Openssl.zip
Copy the DLL files in c:windowssystem32 in the ZIP file that you have downloaded.. Then start downloading from RAPIDSHARE by RAPGET... I hope you like it... Ah.. I forgot... This the link for rapget:

Code:
http://rapget.com/download/rapget111.rar
LAN Viewer


LAN Viewer is a handy tool that lets you automatically check your favorite shared folders. If the monitored resource changes, the program will immediately notify you. You can also choose to automatically download the modified and new files. You needn't visit the shared folders. LAN Viewer will do it itself and will notify you on new files and will copy to your disk. You can set the program to monitoring within regular intervals of time, e.g. daily, weekly, at days of week. The variety of settings allows you to specify an individual checking schedule. Using LAN Viewer you'll be always in-touch with shares without wasting your time on constant manual checking routine.
Are you looking for shared files?LAN Viewer is an essential tool for you. It will help you quickly find documents, music, video, software on a home network or corporate intranet.

Features:
both remote and local folders may be monitored
unlimited number of monitored folders
subfolders may be monitored too
inclusion masks
individual scheduling for each task
tasks list may be exported to and imported from a file
Notification:
by popup window.
by sound.
through e-mail.
by starting a program.
Price: Free to try, $29.95 to buy
Supported OS: Windows ME / 2000 / XP / 2003
Google Asks Surfers for Help

Google is asking surfers with time on their hands to help it categorize and label the images indexed by its search engine, building a database of knowledge about the contents of the images.

The company launched a new online game on Friday, Google Image Labeler, which it describes as "a fun way to help us organize all the images on the Web." In the game, two randomly selected players are each shown the same image, plucked at random from Google's search index, and given 90 seconds to suggest as many keywords or phrases as they can to describe it. They score points if any of their descriptions match.
Google's image search engine currently returns results based on captions and other text adjacent to images on Web pages, without reference to the content of the images themselves. The game will allow it to improve the performance of the search engine by returning results based on the players' descriptions of the images.
The game is not the first attempt to use volunteer labor to create a database of knowledge: The
Wikipedia' name=c1> SEARCHNews News Photos Images Web' name=c3> Wikipedia online encyclopedia and the DMoz search directory two of the better known examples.
Volunteers at Work
Google's game, based in part on technology developed at Carnegie Mellon University, is not even the first to use volunteer labor to categorize images: The ESP Game developed by Luis von Ahn and other researchers at Carnegie Mellon first put players to work tagging its image database in October 2003.
Building a database using information provided by volunteers has its risks: campaign groups or pranksters might influence or pollute the raw data by associating an insulting term with the image of a political candidate. The campaign to link the term "miserable failure" to the online biography of U.S.
President George W. Bush' name=c1> SEARCHNews News Photos Images Web' name=c3> President George W. Bush is one example of how this can happen.
The ESP Game and Google Image Labeler limit the possibilities for such pranks, since they select players and images at random, and only associate a label with an image if both players independently suggest it.
Von Ahn and his colleagues study "human computation," or finding novel ways to put human brains to work. Their work includes Peekaboom, a game which harnesses players' brains to locate objects in images, and Phetch, which goes further than the ESP game by inviting players to create longer descriptions of images. You can also blame them for Captchas, those puzzles featuring sequences of distorted letters that are intended to distinguish between humans and computer impostors.
Google says its search engine indexes billions of images. That may make Google's goal of labeling all the images on the Web seem far-fetched, especially since players of Von Ahn's game have only attributed around 17.8 million labels to images since October 2003, according to the game's Web site.
However, computer users around the world collectively wasted 9 billion hours playing Solitaire on their computers in 2003, Von Ahn estimated in a presentation to Google staff in July. If they had spent that time playing The ESP Game or Google Image Labeler instead, they could have labeled almost 200 billion images.
Freeware, Opensource and Shareware

→ freeware - Free software, often written by enthusiasts and distributed by users' groups, or
via electronic mail, local bulletin boards, Usenet, or other electronic media.
→ open source - Term appeared in March 1998 following the Mozilla release to describe
software distributed in source under licenses guaranteeing anybody rights to freely use,
modify, and redistribute, the code.
→ shareware is NOT free. There is one form of shareware ($0 shareware) that is free for non-
commercial use. It meets our definition of Freeware for individuals and is included in our
collection.
AdSense Deluxe WordPress Plugin : Insert Google Adsense / Yahoo Ads into Blog Posts

Many readers have asked me how to insert Google Adsense or Yahoo ads inside blog posts, and I usually advise them that it can be easily done by tweaking and inserting your ad code inside your blog template.
But AdSense-Deluxe is a WordPress Plugin for quickly inserting Google or Yahoo! ads into your blog posts, and managing when and where those ads are displayed. You can use simple HTML comments for embedding AdSense or Yahoo! Publisher Network ads in a WordPress post, choose from any number of ad styles and format on a post-by-post basis and globally change ad styles.
An Integrated AdSense Preview tool helps you see what ads will appear on a given page and all settings are configured through WordPress Options interface so no knowledge of plugins or PHP is required. Requires WordPress 1.5+ and is installed like most other WordPress plugins.
There is much more to it than I can write about. Try it out and better optimize Adsense placement to make more money.
Javacript Disabled Browsers : Make Money with NoScript

Google Adsense Code is a javascript code which you insert into your blog template. Of course you may use alternate ads if your keywords do not trigger adsense ads and you do not wish to show public service ads. But if your reader is using a javascript disabled browser, or an older version of the browser without javascript support, they see no ads. How can you still make money fast.
Search Engine Watch has a solution, visit them for the code
“what Google doesn’t mention is a lot of people are surfing with javascript disabled and you won’t serve up Google Ads, no PSA ads, or alternative ads, nothing.
A simple appending of NOSCRIPT to your Google AdSense code solves this problem and displays ads when all Google Ads are disabled. Note that this is not modifying the AdSense script whatsoever and only runs when AdSense is disabled so there isn’t any terms and conditions issues.”
This is a useful way but always check with Adsense support before you implement it, just to be sure.
Insert Google Adsense in Blog Posts

have often been asked about how to insert inside blog posts. If you see currently I have an adsense between the post title and post body. Read on…
I will stick to Blogger template to describe the procedure.
If you go to the template, look for - this is what creates your post body with all the content. To insert the code above or below the post is simple.If you insert the Adsense code above this tag, it goes between the blog post title and post body. If you insert the Adsense code below this tag, it goes beneath the post and above the post footer which has the permalink, post comments, email and similar links.
If you want to insert the Adsense code beside the post and wrap the post content around it - I use a table and align it to the right or left as required. This table code goes above the . Then add and it put the Adsense code between the tags. This will displace the post content and align Adsense with the post.
If you want to align the post content beside the post but not wrap it around the post content - either insert the Adsense code in the sidebar, or create a table with 2 columns. In one column put the and in the other column put the Adsense code.
How do you insert Adsense in you posts?
Write Your First Visual Basic Program

What Is Visual Basic and Why do I need it?Visual Basic is Easy to learn Programming language.With Visual Basic you can develop Windows based applications and games.Visual Basic is much more easier to learn than other language (like Visual C++), and yet it's powerful programming language.Visual Basic suit more for application developing than for Games developing. You can create sophisticated games using Visual Basic, ButIf you want to make a really advanced professional game like Quake 2,You may choose other language (like C++), that would be much moreharder to program with.However, Visual Basic will be probably powerful enough to suit all your applicationand games programming needs.

The advantages of Visual Basic:
1) It's simple language. Things that may be difficult to program with other language, Can be done in Visual Basic very easily.
2) Because Visual Basic is so popular, There are many good resources (Books, Web sites, News groups and more) that can help you learn the language. You can find the answers to your programming problems much more easily than other programming languages.
3) You can find many tools (Sharewares and Freewares) on the internet that will Spare you some programming time. For example, if you want to ping a user over the internet in your program, Instead of writing the ping function yourself, you can download a control that does it, and use it in your program. Compare to other languages, Visual Basic have the widest variety of tools that you can download on the internet and use in your programs.

The disadvantages of Visual Basic:
1) Visual Basic is powerful language, but it's not suit for programming really sophisticated games.
2) It's much more slower than other langauges.Click Forward to start writing now your first Visual Basic program!

Getting Started
Note that all the images in this tutorial taken from Visual Basic version 6.0.If you using other version of Visual Basic, the images that you will see maybe a little different.Run the Visual Basic program. The first thing you see is:














Here you choose what is the kind of the program you want to create.For creating a simple Visual Basic program, choose the Standard EXE,and press the Open Button.
(If Figure 1 is not the first thing you see when you run Visual Basic,choose from the Visual Basic menu File->New Project )

After you've clicked the Open button, you will see:



IP header explained
================

Over the internet, data is send trough packets. If you are new to this term, you might want to
look at Warriors of the Net - a movie made by Ericsson, explaining how data is send over the
internet in a simplified way.Each of these packets have a header, telling the routers on the internet how and where this packet has to go. You could compare the header with an adress you write on a letter, telling the mailman where it has to go.In this tutorial, I will show you how this header is constructed.Typically, a header consists of 32-bits words, or 'groups of 4 bytes,' as shown by the image.http://home.wxs.nl/~kinder/images/ipheader.gif VersionThis field indicates the IP-version used for this packet. Typically 4.LengthThis indicates the length of the header of this packets. Type of ServiceThese are rarely used. If one or more of these bits are set, they indicate how routers should handle this packet.Total length of packetWhat it sais: the total lengt of the packet, including this header and including the data sent.IdentificationA number identifiing this packet. Numbering packets is usefull when fragmenting packets. See Fragmentation Offset.FlagsThe first of these bits is reserved for future use. For now, it should be set to 0.The second bit indicates wether this packet may be fragmented by the router (0) or not (1).The third bit tells the receiver wether this was the last fragment of the packet (0) or not (1).Fragmentation Offset.If the total lengt is to large for a network to handle, it is divided into smaller packets. These packets all have the same identification number. If, for example, a packet 150 bytes large is send, but the network can only handle packets with a maximum size of 100 bytes, the original packet is fragmented in two others: the first will be 100 bytes large and will have a fragmentation offset of 0 (first fragment). The second will be 50 bytes long, and will have an offset of 50. Furthermore, it will have set its third Flag, telling the receiver this is the last fragment of the packet. Now, the receiver can completely reconstruct the original packet.Time to LiveThis is used to make sure no packet will wander through the internet for eternity. Each router that handles this packet, will deduct at least 1 from the Time to Live value. If a router receives a packet with a TTL of 1 or 0, it will discard the package, and send a message to the source indicating that the TTL-value has reached zero. This message is used by traceroute programs: If you send out a packet to a destination, but you deliberately set the TTL-value within the packet too small, one of the routers between you and the destination will give you a reply. By adding 1 to the TTL and resending the packet, the next router on the way will send you such a message. This way, you can get messages (and thus identify) from all routers between you and the destination.ProtocolThe protocol used in the packet. Typically 06 for TCP or 17 for UDP.Header ChecksumBefore sending, the sender calculates a checksum using date from this packet. The receiver calculates this checksum again - if the value was changed, the receiver can tell that the packet was damaged during transit.SourceThe IP-address of the sender of this packet.DestinationThe IP-address of the intended receiver.Options (optional)If required, routers or gateways can define custom options here.Fill upThis space makes sure the entire header will fit nicely into 32bit words, as it is supposed to.

Sunday, September 03, 2006

cinta
sdjlksjd
sdsdsdfdsf
sadsadsadf