Posts

Explorer.exe Error message at Start Up - Solved

Image
Issue:  Each time you start your Windows System, you may see the following error message. This happens because your system is trying to access some files, but those files are not there in your system. (Virus alert!!!) Solution: If we delete the value that is making your system to look for those files, then the issue will be resolved. Right? So follow the below steps to remove that value from your system: Press Windows button + R keys. Run command box opens. Type REGEDIT and press Enter. Navigate to this path: Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows NT\ CurrentVersion\ Windows Right Click on Windows Folder and click on Permissions. Click on Advanced > Add > Select Principal as shown below: Click on Advanced > Find Now > Select your username which is the Administrator. Click OK. Check the settings as below and click OK: Click on Apply, then OK. Also close the remaining boxes by clicking on OK. Now bac...

Windows Form app to Convert YouTube videos to MP3 instantly

I spend a lot of time on YouTube and every time I find a new video song I want to convert it into audio and then I have to go here and there and search for an online app to do the same. So here I am sharing with you an app which I have built for personal use. So try it out. Requirements: Internet Connection with good signal strength. * Only for computers running Windows OS * Download Link

How to change "sa" password in SQL server management studio 2014

Image
Before going ahead, I would like to share some thing which you might have also known earlier. There are two modes of connecting to SQL server in SQL server management studio. So if you are unable to authenticate using SQL server authentication, here's the way to change the password of your " sa " account. I have provided two solutions. Solution A: 1. Login using Windows authentication.        **  Server Name will be your computer's name. Windows authentication 2. Once you successfully log in using Windows authentication, follow the steps as shown in figure below.        Step 1: Expand "Security" => "Login" and look for "sa"        Step 2: Right click on "sa" and select "Properties".        Step 3: In the dialog box, make sure you check the option "Enforce password expiration". Click                      OK. 3. Now try to...

Run length encoding in C++

#include<conio.h> #include<iostream.h> #include<string.h> void main() {  clrscr();  char str[10];  cout<<"\n Enter the word: ";  cin>>str;  cout<<"\n After Run length encoding: \n";  int count=1;  for(int i=0;i<strlen(str);i++)  {     if(str[i]==str[i+1])     {      count+=1;     }     else     {      if(count==1)      {       cout<<str[i];      }      else      {        cout<<str[i]<<count;        count=1;      }     }  }  getch(); }

Entropy code in C++

#include<iostream.h> #include<conio.h> #include<string.h> #include<math.h> void main() { int c; float p[5]; float H=0.0; clrscr(); char str[5]; cout<<"Enter text: "; cin>>str; for(int i=0;i<strlen(str);i++) {   cout<<"\n Enter probabilty of "<<str[i];   cin>>p[i];   H+=(-1)*p[i]*(log(p[i])/log(2.0)); } cout<<"\n Entropy of the given message : "<<H; getch(); }

Average number of bits per codeword in C++

#include<iostream.h> #include<conio.h> #include<math.h> #include<string.h> void main() {   clrscr();   char str[5];   float freq[5];   float code[5];   float avg[5];   cout<<"\n Enter the text: ";   cin>>str;   for(int i=0;i<strlen(str);i++)   {     cout<<"\n Enter frequency of  "<<str[i]<<" ";     cin>>freq[i];     cout<<"\n Enter length  of codeword  "<<str[i]<<" ";     cin>>code[i];     avg[i]=freq[i]*code[i];   }   for(i=0;i<strlen(str);i++)   {       cout<<"\n Average number of bits for "<<str[i]<<" : "<<avg[i];   }   getch(); }