I would say it is not. Why? Well, because they send you a broken unsubscribe links.
Of course i did that long time ago in the account options (currently cancelled) but it kept sending me various emails.
Most of them if not all, do not contain an unsubscribe link. And now they finally added the link at the footer but it does not work.
If you click it does nothing as it starts with “file:///C%7C/Users/Stephen/Desktop/Projects” etc.
This is the whole link:
Read the rest of this entry »
I bought it several months ago. Mainly for my kids to play the games on it. But, last night they ask me if they can watch a cartoon on it. I googled and found a tons of tutorials about how to convert movie to psp format which is MP4. So far so good. I converted the Rio DvdRip to MP4. I connected the PSP with my laptop hoping that i will just copy the converted cartoon to the stick and it will work. But i was wrong. I put it to the root of the memory stick but it didn’t work at all. The PSP was not able to find the movie. Then i googled again and found a lots of tutorials about how to put movie on your PSP. They all suggested the same which is creating a two folders MP_ROOT and 100MNV01 inside it. Some of them even suggested that i name the files M4V10001.MP4, M4V10001.MP4 etc. respectively. None of these worked for me. Rather i tested something pretty silly as it seemed from beginning. Meaning, i created a brand new folder named VIDEO in the root of the memory stick and i put the converted file as is Rio 2011.mp4. Final result X:\VIDEO\Rio 2011.mp4 !!! Voila!
It worked like a charm. My kids were very happy because of that. Hopefully someone else will find this useful too.
You guys probably know that Visual Studio includes a lightweight ASP.NET development server which is an enhanced version of Cassini.
You may have noticed or heard, people want to change the port number of it so here we go;
1. Rigth click your website in Solution Explorer window and select Properties from the context menu (Alt + Enter). Read the rest of this entry »
Before I continue I would like to mention that I deleted the previous version of this review which was much longer, and more eloquent but then I realized that it is not necessary at all. Simplified, the Telerik controls are a must for every serious asp.net developer.
Ok here we go:
I am fairly new to Telerik stuff and I am wondering where to start really. Nevertheless I am very pleasantly surprised by the overall look and performance.
Actually I have NOT been so pleasantly surprised for longer. I cannot resist mentioning that I love its ease of use and above all, easy of install.
Well, usually you use the standard installation (.MSI Setup) but, rather you can DL the libraries and simply add a reference to DLL’s . Voila! You are all set up to use RadControls for ASP.NET AJAX.
It can’t be simpler, right? Read the rest of this entry »
ASP.NET versus ASP Classic
Jun 15
If you often revise your decision to go for .NET. then let me tell you a few things about ASP.NET.
By the way, if I have to be an ASP developer starting now I would rather work as a cleaner in a public WC indeed.
Here we go: Read the rest of this entry »
Public Sub RemoveUnusedApplicationPools() Dim manager As New ServerManager Dim AppPools As New List(Of String) ' fill the list with all pools For Each apppool As ApplicationPool In manager.ApplicationPools AppPools.Add(apppool.Name) Next ' if it's used remove from the total list For Each website As Site In manager.Sites For Each app As Application In website.Applications AppPools.Remove(app.ApplicationPoolName) Next Next ' remove the unused pools For Each unusedApplicationPool As String In AppPools Dim apppool As ApplicationPool = manager.ApplicationPools(unusedApplicationPool) manager.ApplicationPools.Remove(apppool) Next ' call the commitchanges method manager.CommitChanges() manager.Dispose() End Sub
I just realized something about the Skins. Actually it is not enough to add XtraForm (DevExpress Form) to your project and then drag & drop DefaultLookAndFeel. Oh no! If you want your forms appear with skins applied you have to do something more.
No big deal, but if you don’t know this you’ll probably struggle with it. Read the rest of this entry »
Hello guys. I was wondering what do you think about the final version of the Visual Studio 2010 Service Pack 1?
I found that a lots of developers react negatively. Many of them even rolling back the SP1. They talk about incompatibilities with the SP1 release.
Please share your experience and opinion about the new Service Pack!!! Thanks
This is a regular expression that validates all credit card numbers including VISA, MASTER, AMEX and DISCOVERY! ^((4\d{3})|(5[1-5]\d{2})|(6011)|(34\d{1})|(37\d{1}))-?\d{4}-?\d{4}-?\d{4}|3[4,7][\d\s-]{15}$
<asp:RegularExpressionValidator ID="CreditCardValidator" runat="server" ControlToValidate="CreditCardNumber" Display="Static" ErrorMessage="Please enter valid card number" ValidationExpression="^((4\d{3})|(5[1-5]\d{2})|(6011)|(34\d{1})|(37\d{1}))-?\d{4}-?\d{4}-?\d{4}|3[4,7][\d\s-]{15}$" ValidationGroup="CustomSignup" Text="*" />
I often need to convert the amounts into words when i create reports, checks and stuff. I found that the following recursive functions do the job perfectly. Most of the examples you can find out there are too long and confusing. This one seems to be shortest and str8 forward. Please check it out:
Happy New Year 2011
Jan 1
SQL Rounding Up Issue
Dec 12
often people complain about rounding up decimal values. The first question they ask is why SQL Server truncates the decimals which is silly because it happens in the code-behind.
For instance, say that you have a field of decimal datatype with precision 5 and scale 2 – decimal(5, 2)
Now if you don’t define precision of the output parameter the value will be rounded up. e.g. 0.99 becomes 1
CREATE PROCEDURE mySP ( @MyDecValue decimal(5, 2) output ) AS SELECT @MyDecValue = MyDecField FROM MyTable WHERE Foo=1
Dim command As SqlCommand = connection.CreateCommand command.CommandText = "mySp" command.Parameters.Add("@MyDecValue", SqlDbType.Decimal, 5).Direction = Output
now if you execute the command the value will be as mentioned rounded up .. meaning, 0.99 becomes 1
You can solve it if you Define the precision and scale of the parameter e.g.
Dim command As SqlCommand = connection.CreateCommand command.CommandText = "mySp" Dim decimalsparam As New SqlParameter decimalsparam.Direction = ParameterDirection.Output decimalsparam.ParameterName = "@MyDecValue" decimalsparam.Precision = 5 decimalsparam.Scale = 2 decimalsparam.Size = 5 command.Parameters.Add(decimalsparam) command.ExecuteNonQuery()
Hi guys, this is my second review of these controls, and it will be quite different than the first.
A few months ago I was engaged by a client to develop a web based application. He asked me (I guess they all ask the same) to make it good looking and attractive. The first thing I thought of when I heard this was “I must renew my DXperience subscription”. And now I am glad I did that.
Before I continue, I would like to say something to those readers who are totally new to DXperience. Guys, we all know that one of the more frustrating things for the ASP.NET developers is designing the good looking application. Well folks, your troubles are over! The DXperience takes much of the agony out of developing and designing an outstanding web application.
Here we go! Read the rest of this entry »
AddHandler Statement
Nov 27
A very basic tutorial on AddHandler Statement. In this project we used it to prevent a non-numerical values to be entered in the textbox controls.
You may also choose the event handler for each control from Designer.
Just select all the controls you want to add the same Event Handler to.
Then from the Events view in Properties panel double click KeyPress and finally add the code that you want to apply to the selected controls.
Note: This approach can’t be used always instead AddHandler statement.
Having a permanent job is priceless these days (you know, recession and stuff). But, it’s sort of limitation for your creativity. Working for you is much better. You often work on projects of your choice, set your own hours, and enjoy the flexibility to take a break whenever you want.
However to afford that, you must be very good if not the best at what are you doing. e.g. .NET programming, Website Design etc. I had luck with all of the above so now i am doing pretty good having a standard income on monthly basis plus I work on other projects as a freelancer.
Read the rest of this entry »
I registered a few domains at godaddy a while back and also i bought new hosting plan from the same company.
The interesting thing is that prior to Checkout i reminded myself of the suggestion of my friend who actually told me about godaddy coupons.
I thought it is not big deal so i was always ignoring his appeals. lol
Well, this time i decided to follow his advice so i opened his email with the newest godaddy coupons.
As soon as i entered BTPS7 the grand total was drastically decreased by whole 20%.
Wow … i just saved about $40 which is not a low amount at all. I could buy some extra domains with this money. And i did so. I spent that money buying 6 extra domains. So cool!!!
From now i will always use the promo codes when i shop online!
So, here’s a list of a few codes for 2009
Read the rest of this entry »

Happy Hollidays

Rip Off
Recently i had very bad experience begging a bloody company for my own money.
Finally i want to tell you to stay away from this company and their site www.getafreelancer.com.
You should always deal with people whose addresses are real, customer service real and you can get a live person on the phone.
Yeah, that’s true that GAF has not phone number to be called. It sucks, isn’t it?
They have a LIVE SUPPORT button on their site but all it does is take you to their email form so their support is not live particularly when they take days on end to answer, if they bother to answer at all.
In addition, www.getafreelancer.com is in the habit of suspending members when their accounts have money in them. This has recently happened to me and I am aware of others that have gone through the same problem. In addition to this they will ask for ID of proof of Country. When you provide them with the pertinent information where they can see the ID. clearly but not to the point where it can be duplicated they want more. This doesn’t make any sense if its just for proof of country.
This is obviously something that this Company has been getting away with for some time. They are holding money not only in peoples personal accounts of money they have earned, but also in escrow.
Its time people took legal action. You can start by laying a complaint with the internet crime complaint center. There are also other legal sites listed on the internet as well that you can lodge a complaint with.
Strongly recommended!
Stay away from this company and their site www.getafreelancer.com.
Always deal with people whose addresses are real, customer service real and you can get a live person on the phone.
Yeah, that’s true that GAF has not phone number to be called. It sucks, isn’t it?
They have a LIVE SUPPORT button on their site but all it does is take you to their email form so their support is not live particularly when they take days on end to answer, if they bother to answer at all.

Invalid postback or callback argument
Some people will suggest to add your code inside If Not Page.IsPostBack Then block, other will tell you to set EnableEventValidation to false which is not serious at all. Even the compiler suggests ClientScriptManager.RegisterForEventValidation method but in most of the situations these will not work.
One is for certain: This specific exception is mostly thrown when you use a Master page!!!
Add the same javascript attributes to the very same server control out of the master page and you’ll see that it is working just fine.
Read the rest of this entry »

Bind Datalist without DB
Just Download the Code Sample (sample images included) and you will figure out the rest of it, analyzing the code.
Generally speaking, it gets all *.jpg images from the given folder and display in the DataList control.
Live Example For Binding DataList Without Database (List of Images)
The Source Code Can be Downloaded From Here

Force ASP.NET to use HTTPS
In that case we need HTTPS connection which ensures reasonable protection e.g. for payment transactions.
Ok let’s see how this thing works.
Say that your page is as follows: http://www.domain.com/yourpage.aspx
Ok, just add this code inside Load Event Handler and voila! That’s it!
If Not Request.IsSecureConnection Then Response.Redirect("https://www.domain.com/yourpage.aspx ") End If
Nobody gives FREE
Aug 14

Msn Generous Offer
I just ran my MSN Live Messenger and i was offered to download a free themes for its 10th Birthday.
Ok althrough i never believed in a free stuff this time i said what a hell.
As soon as i clicked the Download button i was offered to download Internet Explorer 8 and immediately after that i received another dialog which was suggesting me to use Bing as my default browser and to make MSN my homepage.
I mean it’s a pretty bad trade. I get only few themes that most probably i will never use and in return they want me to to use IE8 (instead firefox), Bing (instead google) and to make MSN my homepage (instead google as well).
Well thanks for the generous offer but, i really don’t need your FREE things.
Although this is a very basic example (Hello World) of Web Service, it should be enough to get an idea about how it works.
A picture is worth a thousand words!
Please send your comments if my WebService video tutorial is sort of blurred or something. Thanks
This is where i am drinking my first cup of morning coffee. It is a coffee bar located near me. Just 100 m from my apartment.
Btw, i do not smoke.
It is the guy behind me!
Things I hate about VB.NET
Jul 31

Visual Basic .NET
1. I hate VB.NET because it doesn’t support block comments. Block comments are very useful for comment out large sections of code. Even T-SQL support block comments! It’s so sad and i need it on daily basis when i am testing something and large section of code should be commented out. I have to use Comment Selection Ctrl+c, Ctrl+k instead.
To be continued…
Send e-mail from ASP.NET
Jul 8

Send E-Mail (ASP.NET)
Hi Ronan,
this should help you i hope.
Anyway, it shouldn’t be anything complicated so we could start with the code immediately.

Roger Federer's 15th Grand Slam
Congratulations Roger! Keep up the good work
It was a very enjoyable match and I’m truly impressed with Andy Roddick.
He played the best match I’ve ever seen him play today.
Big Thanks to both of you guys!
Happy Fourth of July
Jul 3

Happy Fourth of July
Today is Independence Day also known as 4th of July which is the birthday of the United States of America.
On this day, people of United States celebrate their freedom commemorating the courage and faith of their founding fathers in their pursuit of liberty.
So happy Fourth of July to all American ASP.NET and VB.NET developers including all My Friends in USA !!!
Only Bernard Madoff ?
Jun 29

Bernard Madoff
I refuse to believe that Madoff is the one and only who is responsible for the new world economic crisis.
Of course he has to fully take responsibility for what he has done but, sentencing only one man to 150 years is NOT a guarantee that it will not happen again?
Rather, we should find out, who endorsed Madoff … ?
I am aware that American justice works in strange ways but, this is too much already.
I am quite sure there must be some people that knew all the time about the Madoff’s tricks and that he was braking the law but none wanted to tell anything because they were probably all involved in.
Otherwise i have no explanation for it !!!
Why we can’t move forward?
Jun 18

Moving Forward
While the rest of the world is enjoying the era of Nanotechnology, Macedonia (Republic of) is living far behind the expansion of modern science and technology.
So, we cannot move forward because:
1. Our students are still studying Pascal and Java although the IT market demands technologies like ASP.NET, PHP, T-SQL, VB.NET, C# and such. As Macedonian University Professors do not want to upgrade their knowledge our students will stay “not competitive“, “not goal oriented,” and “not future-directed“. Period.
2. Macedonian companies are used to old fashion marketing using medias like Newspapers, Radio and TV. They do not pay attention to the internet marketing which is totally wrong. We need campaigns to constrain these companies to use the potential of the internet. This will cause more people to learn internet marketing, graphic design, program languages and technologies that would affect the unemployment additionally.
3. People in Macedonia use internet only for fun. Mainly they are focused on social networks like facebook and myspace, and also on several domestic portals. They are not aware that the internet is serious business tool/medium that deserves consideration in many, if not all, fields of commerce and it can offer remarkable advantages and opportunities to all of us. Someone needs to motivate and teach them to earn money on the internet.
Read the rest of this entry »

Run at Windows Startup
There are numerous techniques that allow a program to be launched automatically by Windows at startup but, let’s see if we can achieve that programatically using VB.NET.
You can automatically start programs whenever Windows launches modifying the registry.
First of, don’t forget to import the Microsoft.Win32 namespace
Read the rest of this entry »

Wordpress Plugins
You must be wondering why i am writing about WordPress and what it has to do with ASP.NET.
Ok i must say that i really love this platform and it is probably the only and the best open-source thing i have ever used in my life. Beside MySQL of course!
As my blog is built on WordPress platform it is understandable that i am concerned if it works efficiently. right?
Well then let me tell you something about that.
I have been very frustrated when i noticed that my blog is suffering from the so called slow motion. My blog readers was complaining that the blog is getting too slow and that connect time is high. Actually there was a one or two second delay when the page is loading (after it connects and before any graphic comes up).
Read the rest of this entry »

Mass/Bulk E-mail Sending
I was asked some time ago to develop an application which involved sending multiple email messages. Later i realized that it is known as mass mail sender.
Means, if you launch an email marketing campaign sending a targeted newsletters and advertisements, you need a mass/bulk sender for that.
Although i have never used any, in fact i know how they work. Hey – you’re talking to the email king here. I am just kidding … let’s move on!

CraigsLists RSS and RDF Feeds
Most recently i answered a question on vbcity.com about getting craigslist’s RSS feed with RDF:
So i thought it would be fine if i share the code with the other people who need something like that.
Ok here we go.
Making My Blog Stand Out
May 26

Make Your Blog Readable and Understandable
But before that i would like briefly discuss the blogging generally.
Actually, when i launched this blog a few days ago, i have been thinking about how my blog posts will look like.
Many authors tend to write articles which are too complex and too diverse, so the readers cannot easily follow and understand them from the beginning to the end.
Hello,
I just created a new account at Yahoo’s Flickr (Photo Sharing) where i am going to attach all the interesting photos i have/will have. Enjoy!!!
My Flickr url is http://www.flickr.com/photos/kulrom/

internet explorer
1. I hate the IE search dialog. Unlike the Firefox search box which is pretty functional and doesn’t occupy any space on my screen IE Search Box is pretty odd and not functional. I was hoping that IE8 will come with improved search options but it didn’t.
2. I hate it’s CSS compatibility. Actually it doesn’t support current CSS standards so implementing a cross-browser design is a real pain in the neck.
3. I hate how it renders the HTML controls. All the controls are slightly bigger than the controls rendered in the other browsers like Opera and Firefox.
4. I hate the ActiveX technology that IE is using yet. So much trouble and of course very vulnerable.
5. I hate the IE Download dialog. In most of the cases it is practically useless as you cannot pause and/or resume your download in case of interruption.
to be continued …
Let the games begin !!!
May 22

Kulrom
Hello Everybody,
Welcome to ASP.NET-er. This is my first post and i just wanted to say hi.
I hope i will keep your attention with my further posts.
Well … Have a nice time!
Kulrom










