AutoIt:Connect to Access Databases:mdb & accdb files

24-08-2010 by admin



Ever wonder how to connect to from the AutoIt to a MS Access database? AutoIt, for those who don’t know, is a program to automate keystrokes and mouse movements. This is in reference to a blog post regarding a problem I had for connecting to Access from AutoIt. There are two different file types in MS Access 2007. Access 2003, 2000 and older version will most use a .mdb file type; whereas, Access 2007 can use .accdb file extension/type. I’ll show some basic code that will work with both versions. For this example, I will only retrieve one record and one field.

First let’s first create some variables that will hold the database file name (whether .mdb or .accdb), the table name and the query to execute:

$dbname = “C:UsersvkDocumentsdbMarketingarticleSubmissionsTutorialRef.mdb”

$tblname = “articles”

$query = “SELECT * FROM ” & $tblname & ” WHERE articleID = 4″

The & is simply a concatenation of the strings.

Let’s set the variable for the one field that we want to retrieve from the database.

Local $title

Pretty straightforward so far, isn’t it?

Then create the connection to the ADODB:

$adoCon = ObjCreate(“ADODB.Connection”)

Then set the Provider. There is a different Provider for each file extension. A .mdb file will have its own Provider and a .accdb file will have another.

Here is the Provider for a .mdb file:

$adoCon.Open(“Driver={Microsoft Access Driver (*.mdb)}; DBQ=” & $dbname)

Here is the Provider for .accdb file:

$adoCon.Open (“Provider=Microsoft.Jet.OLEDB.4.0; Data Source=” & $dbname)

Now let’s create the object Recordset, set some required options and then execute the query:

Prevent Plagiarism with Plagiarism Check

19-07-2010 by admin

Now, plagiarism spread out everywhere, especially in internet. In the internet, you will find many copyright infringements. Many articles in the web site are not the original web site. It is copied from the other web sites. It is so bad. This is including in the internet cheating. The plagiarism will affect to all of the people. Plagiarist will never make the unique content in their web site. They will always copy the article and paste it in their web site. Plagiarism check software is needed to protect the content from plagiarism. How to protect your content from plagiarism?

Now, there is software to help you to prevent the plagiarism. This is the service plagiarism free. This great software will detect the plagiarism in your web site. When the plagiarist copies your content, you will get the reports of plagiarism. This software is very helpful for companies so that they can protect their content from plagiarism. Blog about plagiarism is provided to you. This software is so great and it will always be developed to result the greatest software to detect the plagiarism. Therefore, copyright infringement can be reduced as maximal as possible by using this plagiarism check software. Are you interested to use this software?

How to Increase Your Youtube Video Views, Comments and Ratings

16-05-2010 by admin

Everybody wants more views, more comments, higher ratings and more subscribers for their YouTube videos. A really good video will certainly go viral because it’s just so easy to share the video with friends and family. There is social bookmarking, emails, instant chats, where viewers can just cut and paste a text link and send it to everyone in their address book. Then there are blogs, where bloggers can embed some simple HTML code in their blog posts, and the blogger community soon gets to know about your videos. One blogger puts the video on his blog, another one gets to know about the video, and if he likes the video as well, he now wants to post it on his blog for his own readers. That’s how videos get the viral effect.

For sure, this viral effect is good for your business. The more views you get for your videos, it means that the more exposure your videos are getting. But there is a little problem. Your video has to be something that people like, and they like it enough to want to share it with other people. Otherwise, the buzz just dies down and the video just comes to a sizzling death. And that is certainly not the result that you want. After all, you did put in hours to plan for the videos, shoot the videos, edit the videos, and upload it to YouTube and a few of the other immensely popular video sites.

So you want to make sure that you have got a totally killer video that others would like to share with their friends. A sure fire strategy producing killer videos is to make sure that your viewers have some use for the videos that you make. Whether it’s an entertaining video providing comedy, or a useful how-to video, it’s something that your viewers can find some value. Entertainment value is still value, and if your videos are really funny, they have the potential to reach a really wide audience.

Certainly, it helps if you have a strong subscriber base so that whenever you launch a new video, there are people standing by, ready to spread the video around. But what happens when you don’t have a strong subscriber base, and your video is new? If so, your new videos will find it hard to gather the momentum to achieve the viral effect.

If you find yourself in this position, it definitely helps to do some self promotion for your videos. There are many ways to do this. For example, a website recently came up with a new service to increase YouTube video views and ratings. This is the perfect way to build a track record for your videos. Once you have acquired traction, prepare to handle some really serious traffic!

Before long, the viral effect will take over. Bloggers would have posted your videos (for free by the way) all over the Internet, and you can just sit back, relax, and watch the view counter rise and rise!

Finding the Best Managed Dedicated Server Hosting

24-04-2010 by admin



If you have been online for an extended amount of time, then you probably know a thing or two about blogs and websites. You might also know that blogs are hosted on a web server, which is simply a computer that holds your sites files and is connected to the internet. When someone wants to access your site, they simply type the url into the browser address bar.

Lets say you want to start your own blog about stamp collecting but am unsure what you need to get that blog live. Well there are a couple of routes that you can go with depending on what your needs are.

We need to ask a few questions first.