Showing posts with label Problems Solved. Show all posts
Showing posts with label Problems Solved. Show all posts

Thursday, March 14, 2013

PPT Macro for Formatting multiple slides


Dear All,

Many times we come across situation in which we need to format 100's of slides withing specified amount of time, and doing it manually is really not a smart way thats where macro comes in picture.

Below is sample macro I have written for formatting active slides :

I hope you know how to run macros ;) else you can always take help from Google!!!!!!


Dim myvar As Slide
Dim myvar1 As Shape


For Each myvar In ActivePresentation.Slides
For Each myvar1 In myvar.Shapes


With myvar1
.Left = 50
.Top = 71
.LockAspectRatio = msoFalse
.Height = 410
.Width = 624
.Line.Visible = msoTrue
.Line.ForeColor.RGB = RGB(255, 0, 0)
.Line.Weight = 0.5

 
End With

Next
Next


Above macro will simple change formatting for all active slides ;)

Hope you enjoyed!!

Best Regards,
Girish

Thursday, March 1, 2012

Set timezone in php ( php wrong time displayed )


Hi,

While working on a Web portal , I came across this simple problem.

I wanted to get current Time , and we use date() function to display this.
But it was showing wrong time , simply because we must set default time zone,  and then we can try to use this date() function.

PHP Code :




//setting up timezone
date_default_timezone_set('Asia/Calcutta');


//use date() to display current time as follow


$curtime = date("H:i:s");


//Now you can use this variable to print true current date


?>


Ex.    12:2:00  


To split above string into we use   $split =  explode(":",$curtime)
$split  is now array containing values:

split[0] = 12
split[1] = 2
split[2] = 00




Best Regards,
Girish

Saturday, July 31, 2010

Windows XP Commands Not Working

Many Times due to some Environment variable setting in system values of path variable changes . . .which leads to this type of problems.

Ex.

1) If you open command prompt cmd and type any command as 'ipconfig' you get output as :

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Girish> Ipconfig
'Ipconfig' is not recognized as an internal or external command,
operable program or batch file.


2) Now simple thing you have to do is : change path variable value.

Steps :


1) right click on my computer > properties > Advanced > Environment Variable > System Variable
2) Select PATH variable and click on Edit 
3) Add at the End :   ";C:\WINDOWS\SYSTEM32" without quotes.

That's it now you can fetch any commands in XP you want !

Monday, June 7, 2010

Setting up HTC Wifi connection (General Setting)


How do I set Wi-Fi to connect to the Internet Key Steps :

1) Go to Setting
2) Go to Communication
3) Go to Wi-Fi


  1. Go to Start > Settings > Connections > WIFI (the Wireless LAN icon will provide you with details on a selected WIFI network. Useful perhaps when the network is hidden)
  2. In the list of networks select the desired one and click connect or tap on the network name (notice whether it says Available orUnavailable and aim for the former)
  3. Leave Network name as is (actually you can't change it anyway I think) and leave Connects to to The Internet, click Next
  4. On the next screen for most practical cases select for Authentication: SHARED (most folks leave it at OPEN and just waste time trying to figure out why the connection is not working)
  5. Select WEP for Data Encryption (this is a very common setting)
  6. Uncheck the The key is automatically provided checkbox (you'd need to enter it) and enter the network key (that you hopefully know) into the Network key box (note: this should usually be a 5-digit key)
  7. Leave Key Index to 1 (these are the common settings I'm discussing. If they're different in your particular case its probably because you already know more or have someone that does so you should be talking to your network admin if this is the case to get the exact details)
  8. Leave the rest at what it is, click Next
  9. Leave everything at default (Use IEEE 802.1x ... checkbox and EAP type)
  10. Click Finish

If u r displayed with Unsecured Network Then just click on that network and you will now be able to surf internet!

Wednesday, June 2, 2010

How to access ANSWERS from "www.experts-exchange.com"

Hi,

Well who wants to get answers from Internet by PAYING! No Ways !
When u search for any question on Google.com probably u might have came across site www.experts-exchange.com. This is very gr8 Site and have many professionals in field registered with it who gives u answers if someone asks question on this website . . . lets assume u came across question which is thr on this site! but u can't view answer of the questions u need to register by paying some XXX$ to them! Its sooooooooo simple and funnyyy! to access those answers without paying a rupeeeee!

Target : www.experts-exchange.com

Aim : Access Answers on this site for free of Cost!

Solution : When you came across such links in google.com jst click on "CACHED" below the link thats it!!!! now u can view the answers for freeeeeee! those pages already cached by google.com!

This is a reason i loooooooooooooooooooooooooooove google.com ! its gr88! thankssssss Google! ur gr888!

Thursday, January 14, 2010

Blue Screen Error while installing Win XP On DELL STUDIO 15

Recently my frinds Lapy shown a blue screen while installing windows xp on DELL STUDIO 15.
Blue Screen Error : 0x0000007D(0xf78d2524,0xc0000034,0x00000000
Problem was Lapy by default run in High performance mode...here is how to solve ths prob..
1) Go to BIOS setup by pressing F2
2) Go to Advanced
3) Change ur SATA setting to ATI from AHCI.
4) Thats It NOw ur lappy will run under compitible mode...n can install windows xP without blue screen error . . .

Its not an Facinating work but i like to post such things which we can later solve quickly . . .
REMEMBER :
BRAIN IS VALUABLE THING , DONT WASTE IT IN THINKING n BUILDING SAME THINGS AGAIN AND AGAIN...
Thank you...
Have a pleasent Stay .. .