Archive for General

top web hosting

I’ve been looking around so long to find a cheap and good web hosting but finally i found what i was looging for. A complete guide to web hosting with a lot of good informations for webmasters who need a dedicated hosting solution. To have all the hosting informations you need, go to Web Hosting it’s a really good hosting guide. On Web Hosting Pal you can find the best web hosting solutions and be sure to find the right one even if you don’t have a lot of bucks to spend, you can find hosting solutions starting from a really low monthly fee. Web Hosting Pal offers good guides to let you understand what’s the right hosting plan for your specific needs, how to choose your domain name and how to choose an email hosting plan. The Web Hosting Pal staff is always looking for the best web hosting plans to make you choose easily looking at their Top 10 Web Hosting chart. It doesn’t matter if you’re looking for the best price hosting or the best quality hosting, they can suggest you the right choice always.

If you’re ready to start with your new web site, you should give a look at Web Hosting to be sure to choose the best fit hosting plan for your needs.


TAGS: Asp.net, dotnet, code snippet, seo, search engine optimization, visual studio.net, sample code, c#, vb.net

Windows Vista Service Pack 1

Service Pack 1 Windows Vista could at least be quite launch between one week in one version stable beta. Here a directory of all the improvements and the corrections that he will bring.
Feature give
Microsoft is releasing the first Beta of Windows Vista Service Pack 1, the chatted one and attending Service Pack for the new operating system, attended to the official debut to November 2007.

According to brought back how much on All About Microsoft from Mary Jo Foley, blogger for ZDNet, Microsoft it has officially revealed that Windows Vista Service Pack 1 will to make one’s debut in Beta 1 in the week that will begin the 16 July.

Foley has published some hours ago a second blog-post dedicated more approfonditamente to those that will be the innovationes and the bugfix that the colossus of Redmond previews to introduce in Sight SP1.

Like saying one email previously, second sent time ago to tester the TAP: “Windows Vista Service Pack 1 (SP1) will be a service pack classic that will include all the modernizations of protection and the hotfix, beyond to other limited modifications to improvement of the quality of the product”.

Like evidenced from Nick White, Sight Product Manager, to comment negative of the initiative “Vista SP1 Preview” of the situated Hotfix.net, “a service pack is not only a compilation of hotfix and protection modernizations, therefore fairies the error not to think that the set of fix offers in this particular list represents a preview of the service pack”.

Between the main innovationes that will be integrated in the modernization package, in adding to the modifications for Instant Search, they evidence:

1. Optimization of the performances so as to to slim the time of copy of the rows and shutdown of it blots some; 

2. Improved performance of transfer and minor I use of the CPU through the support for SD Advanced Direct Memory Access (DMA); 

3. Support for ExFat, the format rows for Windows for the memorization of data of the memories flash and other devices you consumer; 

4. Improvements for BitLocker Drive Encryption in order to allow not only codify it of the entire Vista volume, but also of given volumes created locally; 

5. Ability to execute boot with Extensible Firmware Interface (EFI) on blots some x64; 

6. Improved rate succeeding for the logons firewalled MeetingSpace and Remote Assistance.

We remember that Vista Service Pack 1 it will introduce also one new APIs of “open” emergency. This initiative derives from the hard critics received from the exponents of the field of the emergency care the technology “PatchGuard” and above all aimed to melt the worries of the European Union, for a long time put in guard on the problematic one.

Moreover the situated AeroXPerience has published an additional list of probable added in Sight SP1, between which we signal the new Windows Installer 4,1 and improvements for the loading of driver the Windows Recovery Environment.

Robert Hensing, Microsoft Security Engineer Software, has mentioned an interesting other fix that it will be included in the modernization package. Draft of a patch studied in order to correct a vulnerability in ReadyBoost that cause a decay of the performances of resume/startup in the operating system (perhaps correlated with the corrections in cited performance previously).

An other worthy modernization of famous, appeared in the fix-it list of Sight SP1, regarded “a overwrite” bug of for 7 IIS Manager. To all this the official yields available from Microsoft to the customers in these will probably join to all hotfix and patch first months of availability of the system.

According to Foley, Sight SP1 will not introduce no meaningful modification to the interface customer and all the modernizations must not have some impact negative on the compatibility with the applications.

No news instead is trapelata care the possibility that in Service Pack 1 corrections of compatibility are introduced in order to concur the operation of the applications that currently introduce problems on the new system.

We remember finally that Vista Service Pack 1 it will introduce also one new APIs of “open” emergency.
This initiative derives from the hard critics received from the exponents of the field of the emergency care the technology “PatchGuard” and above all aimed to melt the worries of the European Union, for a long time put in guard on the problematic one.


TAGS: Asp.net, dotnet, code snippet, seo, search engine optimization, visual studio.net, sample code, c#, vb.net

SEOMax official site

SEOMax SEO SoftwareDue to the big number of downloads of SEOMAX i decided to stop talking about SEOMax on this blog and make a brand new site for the software. The software has been downloaded more then 1000 times, it’s a great result considering i didn’t advertize it. Now you can find everything about SEOMax on it’s official website www.seomax.it
If you need a free seo software, SEOMax is what you need, it’s fast, accurate and FREE.


TAGS: Asp.net, dotnet, code snippet, seo, search engine optimization, visual studio.net, sample code, c#, vb.net

Application settings in vb.net

When you write a software you may need to store user preferences about the use he make of the program. You could need to store the preferred color scheme or the default value for any option, the preferred language and so on. I needed this functionality writing SEOMAX, i needed to store the preferred template, language, sites etc… The .Net framework offers this functionality with the My namescape in each application. You can store values in the My.Settings collection in a visual way using the SETTINGS TAB in the PROJECT WINDOW.

App Settings

As you can see in the picture, you can define every type you need. In the settings TAB you can store the DEFAULT VALUES for each item.
In the SCOPE column you can choose if the setting must be saved at USER LEVEL or APPLICATION LEVEL. I used USER because i needed different preference settings for each software user.

Using the settings in the application is really simple. If we need to access the SelectedLanguage setting we just have to use My.Settings.SelectedLanguage.

As you can see it’s trivial.

If the user changes his preferred language you have to store the preference. All that you need to do is My.Settings.SelectedLanguage=newlanguage and call My.Settings.Save().

If you need to reload the settings you just need to call My.Settings.Reload().

It could be necessary to retrieve the default values for each preference. It can be done using the My.Settings.Default collection. For instance, if you need to restore the Selected Language to it’s default value you have to call My.Settings.SelectedLanguage=My.Settings.Default.SelectedLanguage and then My.Settings.Save().

It’s really simple to use these functionalities but it can be very useful.


TAGS: Asp.net, dotnet, code snippet, seo, search engine optimization, visual studio.net, sample code, c#, vb.net

Background process in vb.net

This month i started a new software, it’s a SEO Analisys Tool, and i needed to threat multithreading and background operations handling. Giving a look inside the .Net Framework i found a very interesting class, the BackgroundWorker class. First of all i have to tell you where it’s placed, in most articles on the web they forget to tell the reader where he can find it. It’s placed into the System.ComponentModel namespace.
The BackgroundWorker class is a really simple to use class, it gives you the opportunity to handle multitasking in a very easy way.

Basic informations about the class

The BackgroundWorker class exposes just few events to control the status of the process an to notify what’s going on.

  1. DoWork (in this you’ll write all the code to execute)
  2. ProgressChanged (raised when the thread execution process changes)
  3. RunWorkerCompleted (when the thread job is finished)

All that you have to know is

  1. On the top of your code page include the System.ComponentModel namespace (imports System.ComponentModel)
  2. In the DoWork event write your code loop and remember to throw the ProgressChanged event if you need to handle it (RaiseEvent ProgressChanged(me)
  3. Handle the process cancellation in the DoWork loop checking for CancellationPending flag (if bgWork.CancellationPending then e.cancel)
  4. if you need the thread cancellation support you have to add a line of code to the New sub (bgWork.WorkerSupportsCancellation = true)

I know it seems too easy to be true but it’s really so…

Here you can find a sample piece of code to get download progress in vb.net


TAGS: Asp.net, dotnet, code snippet, seo, search engine optimization, visual studio.net, sample code, c#, vb.net

Seo World Championship, last day

The SEO World Championship 2007 si almost finished, few hours and we’ll know who is the winner.
For more info visit the official site of the contest http://www.seoworldchampionship.com

My website is well ranked, i hope to stay there until the end of the contest :)
globalwarming awareness2007 ranking

Globalwarming Awareness2007

Anyway it’s a great result for me, my site is the first positioned in Italy and 8th in the world, not bad :)


TAGS: Asp.net, dotnet, code snippet, seo, search engine optimization, visual studio.net, sample code, c#, vb.net

Free and brand new Wordpress Themes

I opened a new section on AboutMyDot.Net, the Free Wordpress Themes section. You’ll be wondering why a .Net related blog will open a Wordpress Themes section :), the reason is that Wordpress is a wonderful blog platform and i had the need to learn CSS Design so why don’t make Wordpress Themes while learning and share it with other users? I hope you like my themes and i hope to make better ones in the future. You can find my Wordpress Themes here


TAGS: Asp.net, dotnet, code snippet, seo, search engine optimization, visual studio.net, sample code, c#, vb.net

Globalwarming Awareness2007

The seo world championship is finishing, last 10 days and it’s over. Globalwarming Awareness2007 was the choosen keyword and everyone had to rank on top of search engines for this keyword. It has been an hard figth and in few days there were about 2.000.000 of pages on the web. I decided to partecipate and i got my brand new domain http://www.globalwarming-awareness2007.na.it but i did my first mistake. The .na.it domains are local domain extensions, NA stays for Naples, the town where i live in Italy. I noticed that search engines give more importance to the .COM domain. My globalwarming awareness2007 contest started hard from the beginning. To ensure about that i bought a new domain, a .COM to see if it was helped by its extension and i have to say that it has been easier to position it. Finally i decided to compete with the .NA.IT domain because i did a lot of work on that site so i had no choice, continue with it trying to let know the search engines it talked about global contents and not Italian. I got it, actually my rank position in the leaderboard is 14 and I am the first italian competitor. It’s incredible, i didn’t believe i could stay in the top 100. Actually my globalwarming awareness2007 site is going up and down of about 5 positions, sometimes it’s 14, other times 20, i think that in these last days everyone is doing his best so i don’t need to loose my mind about that, it’s not my fault but other people good job. My globalwarming awareness2007 site could be the 1st italian site and it could be a really good result for me, an unbelievable result but who can know… 10 days are enough to loose a lot of positions.


TAGS: Asp.net, dotnet, code snippet, seo, search engine optimization, visual studio.net, sample code, c#, vb.net

asp.net treeview drag and drop

I tried to provide drag and drop functionality to an asp.net treeview control for my CMS to change the website pages hierarchy just dragging the pages icons. I lost a lot of time because the ondragstart javascript event was never fired. This even was never fired because the TreeNode element always handles the onClick event without you choose to handle it. When the onClick event is fired the ondragstart event is never called.

What is the reason?
It happens because the treeNode element is always rendered with an <a href… onClick=”…”> </a> so it always handles the onClick.

If you try to do something like this:
dim tn as new TreeNode
tn.Text = “<img src=”"ico_htm.gif”" ondrop=’return drop(” + pagina.Oid.ToString() + “)’ ondragenter=’enterDrag()’ ondragover=’overDrag()’ ondragstart=’startDrag()’ ondragend=’endDrag()’ myLabel=’” + pagina.Oid.ToString() + “‘ border=0> Node text here”

The result will be:
<a href=# onClick=”…”><img src=”"ico_htm.gif”" ondrop=’return drop(” + pagina.Oid.ToString() + “)’ ondragenter=’enterDrag()’ ondragover=’overDrag()’ ondragstart=’startDrag()’ ondragend=’endDrag()’ myLabel=’” + pagina.Oid.ToString() + “‘ border=0> Node text here</a>

The treenode will be rendered inside an <a></a> tag so the ondragstart will never be fired.

What is the workaround?
It’s a simple trick to get rid of the <a> tag, all that you need is to start your treenode text with a </a> and finish with a <a href=#>.
This way you’ll remove the default treenode <a> tag just closing it before your HTML code starts but remember to open it again when your code is finished.

The result is:
dim tn as new TreeNode
tn.Text = “</a><img src=”"ico_htm.gif”" ondrop=’return drop(” + pagina.Oid.ToString() + “)’ ondragenter=’enterDrag()’ ondragover=’overDrag()’ ondragstart=’startDrag()’ ondragend=’endDrag()’ myLabel=’” + pagina.Oid.ToString() + “‘ border=0> Node text here<a href=#>”

Now that you know how to solve the treenode problem you just need to paste this Javascript code to do drag and drop

<script language=”JScript”><!–
var srcObj = new Object;
var dummyObj;
function startDrag(){
    srcObj = window.event.srcElement;
    dummyObj = srcObj.outerHTML;
    var dragData = window.event.dataTransfer;
    dragData.setData(’Text’, window.event.srcElement.src);
    dragData.effectAllowed = ‘Copy’;
    dragData.dropEffect = ‘move’;
}

function enterDrag() {
    window.event.dataTransfer.getData(’Text’);
}

function endDrag() {
    window.event.dataTransfer.clearData();
}

function overDrag() {
    window.event.returnValue = false;
}

function drop(x) {

if (confirm(’Are you sure to move the page?’)) {
if (confirm(’Really sure?’)) {
    window.event.returnValue = false;
alert(’Do you want the page : ‘ + srcObj.myLabel + ‘ to become a subpage of: ‘+x);
window.location=’YourPage.aspx?mode=move&idorig=’ + srcObj.myLabel + ‘&iddest=’ + x;
 }
}
return false;

}
–>
</script>

That’s all, i hope i’ve been clear enough.


TAGS: Asp.net, dotnet, code snippet, seo, search engine optimization, visual studio.net, sample code, c#, vb.net

win a citroen c2 or a plasma tv or caribbean travel

Yes you can win a Citroen C2 or a Caribbean Travel or a Sony Plasma TV

it’s not a joke, i explain you as you can win.

I’m competing to the SEO World Championship, the competition consist to be listed at the highest positions on Google, Yahoo and MSN when you search for globalwarming awareness2007
I decided to give away the prize, if i win , to one of the sites that helped me in this thing.
If my website will win one of the three prizes listed below it could be yours.
I thing it’s a good exchange for a simple text link to my website :) you don’t have to spend a $

the prizes for the winners are

1. Citroen C2 brand new car for the first place
2. A caribbean travel for the second place
3. A Sony Plasma TV for the thirth place

If you want to try just write a post on your blog talking about globalwarming and linking my competition website http://www.globalwarming-awareness2007.na.it on the keyword globalwarming awareness2007

Follow this link to get all the infos and submit your site so i can know that you’re helping me


TAGS: Asp.net, dotnet, code snippet, seo, search engine optimization, visual studio.net, sample code, c#, vb.net