Search This Blog

Friday, December 20, 2013

How to use programs in Fullscreen mode in Windows7 and higher OS?

For this post, we take the reference of Borland C as our desired computer program.

Borland C was originally a program developed for 16-bit computers. Today's modern computers generally come in 32-bit or 64-bit architecture. While older operating systems(OS) like Windows XP supports running of old applications freely in full screen mode, the newer versions of OS like Windows 7 and higher DO NOT support full screen by default.

For most programs, it is possible to change compatibility by right-clicking the application, selecting 'properties' and using 'window mode' instead of 'fullscreen'. But that is only a temporary solution. In programs such as Borland C, that is possible but NOT FEASIBLE because it certainly opens the program but you wont be able to RUN it. (i.e The black screen output wont appear)

The ultimate solution to this and many more older programs that are based on a 16-bit architecture is the use of DOSbox. DOSbox is a revolutionary program that can partially emulate an older computer. In simple words, DOSbox creates a 'older computer' inside your computer. In that mode, the program will work just as good as it would work on a 16-bit system. It is fully compatible.


Download links:

[Mirror]: DOSbox (official file mirrored)



[Mirror]: Borland C (mirror: original file)



How to use DOSbox?
After you install DOSbox, an icon like this will appear on your desktop.
Just click on that and a DOS based console like the one shown below will appear!


Here, [Z-drive] is the virtual drive that represents the 'old computer' created by DOSbox. It has limited resources, which can be adjusted if you desire.

To use any program, you must first MOUNT it in DOSbox.

Basically, mounting means creating another virtual drive. DOSbox has only one virtual drive [Z-drive] at the begining. For DOSbox, there is no C-drive, D-drive or any other drive in your computer.

How to Mount?
 
If your program is in this location:  D:\BorlandC\bin\bc.exe  
then you should first mount D-drive.

To do this, type  Mount d d:\  in DOSbox and hit Enter key!
Then, you should get a message after this.



The command   Mount d d:\  will create a virtual D-drive and load the path D:\ inside it. That means the virtual D-drive will also have everything inside D:\ (which is the original D drive)   

You can change  to any other letter to change virtual drive letter.
 d:\  is a path and it MUST exist in your computer. Since my program is stored in D:\BorlandC , I chose D:\ as my path. You can choose a different path for your computer.          

Now to open that program, first go to the virtual drive you just created.
I created 
d:  so I simply type d: and hit Enter-key
After you hit enter, you will enter that drive. Look I just entered D-drive. Previously I was at Z-drive.

To open the program, simply type its path.
For me that is, D:\BorlandC\bin\bc.exe 


Now as you hit ENTER-key, your program will open.
You can use it in Fullscreen mode by using the key combination  Alt + Enter   

Borland C opens like this (In its default mode), 


you can start using it by using the key combination  Alt + F + N  which opens a new file to start working with!

It should look like this:


+This part of the article is added because a friend of mine pointed out something really interesting.
 

He asked:  Do I need to give the source path Every time " .

The answer is Yes if you follow this method. But after you get acquainted(familiar) with this method, you can try a simple trick to make this happen automatically. It is a simple batch processing trick that commands DOSbox to perform a series of actions.

To automate this Process for future use, refer to the follow-up post here!

Any Queries? Any Confusion? Need help?Feedback?
Just Drop a Comment!


How to Automate DOSbox? - GLP exclusive solutions!

DOSbox is a really VERY useful application. No one can deny that simple fact. But users will admit that opening, mounting and loading a program every single time is quite tedious and frustrating. To overcome this problem, GLP brings you a nifty trick to automate the programs that you use frequently.


A simple process will be explained in this post. You do NOT need any programming concept to do this. Just follow the instructions.

Okay, first if you are unfamiliar with DOSbox, please check out THIS POST at GLP.

We will be learning how to open BorlandC automatically in this post. You can replace the path to open your desired program in the same way.

 Step1: 

open notepad and type the following:



mount d d:\
d:\borlandc\bin\bc.exe
pause

then save as  BCM.bat 


 Step2: 

Now, put the file  BCM.bat  inside the main folder where you have installed DOSbox.

I installed my DOSbox in  E:\Installed\DOSbox  so, my path is:

 E:\Installed\DOSbox\DOSBox-0.74  <- This is where I would keep BCM.bat



 Step3: 



Open Notepad again, and type the following codes:

E:
cd Installed\DOSbox\DOSBox-0.74\
start Dosbox.exe BCM.bat
exit

then save it in your  Desktop  as  BorlandC.bat 

 Step4: 



You can now double click on the  BorlandC.bat  icon from your desktop to run Borland C. It will automatically open Borland C through DOSbox.


By following these  four steps , we can open any application through DOSbox automatically.

+ Full Screen support in Windows7


Hope you enjoyed this post! If you have any queries, problems, confusion, feedback - Just drop a comment below! Thanks!


Walkthrough: How to put Facebook comment box on blogs!

A brief walkthrough on the process of creating facebook comment box on blogs. 


Copy the highlighted part in your blogger template.

Note: It should be ONLY ONE. Don't do it if u have already done it before!



Instruction1:

On the html tag that looks like this:

<html b:version='2' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr' xmlns:fb='http://ogp.me/ns/fb#'>

Just paste the part highlighted in blue to the code that looks like the one above in your blog's template.


Instruction2:


Now copy the highlighted part just below the <body> tag .. find it by searching (Ctrl+F) the term "<body "

Copy/Paste the code from below! (highlighted blue+green)

blue part is the structure code. Some sites may give slightly different 
alterations but this one is 100% compatible for all cases tested so far!

green part is my own fb app called 'Commenterata'

<div id='fb-root'/>
<script> 
//<![CDATA[
(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=573472319372353";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
//]]> 
</script>

Instruction3:

Optionally, you can add a recommendations bar too by pasting the highlighted text given below. You have to paste it just below the code given at the previous instruction.

<div calss='fb-recommendations-bar' data-href='https://getlostproblems.blogspot.com' data-readtime='30' />

Now, 
  • replace https://getlostproblems.blogspot.com with your own website.
  • replace 30 with your desired time in seconds. This is a delay limit. If the user stays in your page for 30 seconds, facebook will automatically recommend some other pages to read. See a live example at this page.

Instruction4:

Now on your dashboard, go to Layout and select "Add a Gadget"


Instruction5:

Keep scrolling down until your reach 'Html/Javascript' title. Click on



Instruction6:

 Finally, add the code below here:

<div class="fb-comments" data-href="http://getlostproblems.blogspot.com" data-width="650" data-num-posts="10"></div>

Now, 
  • replace http://getlostproblems.blogspot.com with the page URL where ou want the comments to appear. 
  • To make the comment box active on THIS page that you are currently reading,
    I replaced the given URL with http://www.glpnepal.blogspot.com/2013/12/createFBcmntBox.html 
  • replace 650 with the width of the desired comment box. Recommended to be much less than the width of the page.
  • replace 10 with number of comments you want to display at once.

EXTRA NOTES:



  • Instead of following Instruction4 and onwards; You can just follow the first 3 instructions, then when you create posts, select 'HTML' near the 'COMPOSE' tab. Then add the code given at Instruction6 at the end of your HTML codes.



  • Important Note: After you paste this code, NEVER EVER save or select preview the page before publishing the page because fb registers a URL only once. If it is found offline on the first try, it wont be live and working later.


  • FEEDBACK
      Think something is still missing in this post? Tell us your problem/opinion. We'll fix it right away!

      Tuesday, December 10, 2013

      Top 5 Youtube Tricks to make 'youtubing' more awesome than ever!


      GLP brings you a list of the coolest Youtube Tricks to make youtubing more awesome than ever!! Get ready, I know you'll simply love it! I certainly did. So go ahead and read below.



      Trick #001: Set a Specific Start Time


      Most of the time, while sharing a video, u want people to focus on a certain specific part of the video. You usually do this by asking them to start the video from a certain point manually. However, this feature can also be made automatically. You are wondering how?


      Its simple:

      Lets say, you're watching this video:



      Now, simply add,  #t=01m20s  at the end of the link & share!


      For example; you need to share:

      to start a video from 1 minute and 20 seconds.



       Trick #002: Set an Auto Replay Video


      Want to keep repeating the video playback? Simply replace  youtube  with  infinitelooper  in your link.



      For example; this link:

      should be written as:



      Trick #003: Super Boost Video Speed for Slow Connections


      Have a slow internet connection? Tired of 'buffering' signs that pop out frequently? Want to stream videos faster? Well here's a solution.


      Many users might not know but Youtube has announced a new feature specially aimed at users with slow internet connection. Its called 'Feather'. As the name suggests, it makes streaming, light as feather.

      Your video speed is directly proportional to the number of bytes sent and received. 'Feather' mode removes all unnecessary data to give you ONLY pure videos and a tid bit of ad that is customary of a FREE service. That also means that some options are removed for that feature. But the overall streaming will see a positive result! :)



       Click here  to Try 'Feather' today (its currently in beta mode) ;)




      Trick #004: Smart Accu-Search

      Youtube has a LOT *I cant stress this enough* of videos. It is said that if one tries to watch all of them continuously, they wont finish for a good 3 century! (300 years of continuous videos). In such a platform of videos, searching a desired video may be a hassle.

      But worry not, GLP brings u a solution. When ever u search for a video in Youtube, simply add   allintitle  at the begining of the keyword. This features to you, only the videos you asked for, no nonsense ;)


      For example, instead of searching:
       nepali movies 

      try searching:
      allintitle nepali movies 



      See the difference ;)



      Trick #005: Magic Actions for Youtube

      Here, there's something for the broadband users too! If you have a fast internet connection & enjoy watching videos in HD everytime, you can get an add-on for  Mozilla Firefox ,  Google Chrome  or,  Opera 15+  Its called  Magic Actions For Youtube  . Once you install it, enable HD option to enjoy HD. Always!

       +Very Cool Bonus featues like: 


      • Auto HD: Changes video to your desired video mode automatically.
      • Cinema Mode: Shades background for full video focus.
      • Adblock: blocks all annoying ads and pop-ups.
      • Volume Control: Scroll mouse to change volume easily.
      • Cool Day/Night Toggle: Shades youtube theme to white/black.
      • Watch delete view history.
      • Show enlarged avatars in comments and country flags.
      • Expand videos to full window size.
      • Auto Replay a video.
      • Hide Annotations(those annoying comments in the middle of the vid)
      • Auto hide player control: Controls are hidden, appear when u hover mouse over them.
      • Block/Hide comments if they annoy you.
      • Over all - Feels like one super awesome upgrade to youtube!
      • Its a youtube, you've always dreamed of! Try it and be amazed! ;)
      Download Links:


      Last but not the least: 

       #a Bonus 
      This is an old age trick, but it could be new for some users who were unfamiliar with youtube a few years ago!

      Add  &fml=5  at the end of Youtube video URL to solve high buffering rates.

      Example: 
      for this link: http://www.youtube.com/watch?v=U8STgCviLe0 


      the link will be:
       http://www.youtube.com/watch?v=U8STgCviLe0&fml=5 








      Friday, December 6, 2013

      How to make full screen support in windows 7 ?

      Windows 7 is a great OS to use in general sense. But it does not provide the comfort and flexibility that XP does to programmers. Windows 7 does not support full screen mode, which renders several programs useless.

      Some very useful programmes like QBASIC & Borland C can only start but not be able to run properly in Windows 7. This is because both are designed for older computers having a 16-bit architecture. Today's modern computers have 32-bit or 64-bit architecture of processors which cause compatibility problems.


      The best way to overcome this problem is to create an 'old computer' inside your new one. There is a nifty tool called DOSbox that allows you to do it.


      DOSbox makes a virtual 'old computer' inside your computer which lets us use older programs without a hitch. Its 100% compatible!
      + its 100% FREE!



      To know how to use DOSbox, click here!


      DOSbox can also be automated. You can automatically load the desired program with this trick.

      To know this trick, click here!


      Any Queries? Comment below!
      Flying Bird Widget