Show only Post Title While clicking On LabelIf you have so many post under each labels you might need this trick!!! It will only display the post titles when someone click on the particular label!!! - Find this code below:
- Replace with this code:
Install Sound / audio Driver in 773tuAt the first time i faced so many problems to install the audio for my lappy... here i found something very useful...
Credit Goes to Original Author.. manabala.ravikant!!
To install audio / modem drivers, first download and install Microsoft Universal Audio Architecture (UAA) Bus Driver for High Definition Audio (sp32646):
ftp://ftp.hp.com/pub/softpaq/sp32501-33000/sp32646.exe
And then install Audio driver:
http://www.2shared.com/file/2944663/2a44c4df/sound.html
NOTE: The URL above will take you to a non HP Web site. HP does not control and is not responsible for information outside of the HP Web site.
Download Sound.zip file from ‘Save file to your PC: click here’ at right bottom of the website.
Extract the downloaded zip file to a folder on hard drive.
Installing this driver may result in an error. But continue with the following steps to get the audio driver installed correctly.
1. Click on Start and select Run. Now type devmgmt.msc and press enter.
2. Right click on “Audio device on High Definition Audio Bus” and click Update driver.
3. Select “Install from a list or specific location”
4. Click Next. Then select “Don’t search, I will choose the driver to install”
5. Click Next and then select “Sound, video and game controller” from the list.
6. Click Next and then click Have Disk.
7. Click Browse, Choose the location where you have saved the extracted folder.
8. Open the folder and choose the .inf file listed.
9. Ignore any errors you receive and proceed with the installation.
Conexant CX20548 Modem Driver for Microsoft Windows XP (sp36089.exe) (UAA Driver needed)
ftp://ftp.hp.com/pub/softpaq/sp36001-36500/sp36089.exe
Download and install Conexant modem driver (sp36089). This will give error message and also will create a folder C:swsetupsp36089 which contains extracted driver files.
The same method which is used for installing audio driver needs to be followed for modem. Create StatusBar in vc++ :: Source Code
# include
# include
class myframe : public CFrameWnd
{
private:
CStatusBar s;
unsigned int indicators[4];
// CRect r;
public:
myframe()
{
Create(0,"Status Bar Application..");
}
int OnCreate()
{
// CFrameWnd::OnCreate();
s.Create(this);
indicators[0] = 0;
indicators[1] = ID_INDICATOR_CAPS;
indicators[2] = ID_INDICATOR_NUM;
indicators[3] = ID_INDICATOR_SCRL;
s.SetIndicators(indicators,4);
return 0;
}
void OnMouseMove(UINT n,CPoint p)
{
char str[100];
sprintf(str,"%d %d",p.x,p.y);
s.SetPaneText(0,str);
}
DECLARE_MESSAGE_MAP()
};
BEGIN_MESSAGE_MAP(myframe, CFrameWnd)
ON_WM_CREATE()
ON_WM_MOUSEMOVE()
END_MESSAGE_MAP()
class myapp : public CWinApp
{
public:
int InitInstance()
{
myframe *p;
p=new myframe;
m_pMainWnd=p;
p->ShowWindow(3);
return 1;
}
};
myapp a;
Computer Graphics Assignment....Forward to others also....
1.) Implement Vacgen for both - Gentle and sharp slope.
2.) Implement Brecnham algorithm.
3.) Implement Character Generation algo.
4.) Implement a program for drawing a temple.
5.) Implement floodfill algorithm for a polygon.
6.) Implement program for bouncing ball.
Draw boundary on the screen. If you are moving in any direction, ball is also moved in that direction.
7.) Implement 2-D transformations. 1. Translation,2. Rotation (abt the origin and the pivot pt),3. Scaling (abt the origin and a fixed pt),4. Reflection (abt X,Y and XY Axis) and 5. Shearing (simple and with reference pt)
Apply these transformations on Point, Line, Circle and Polygon (square or rectangle).
8.) Implement Cohen-Sutherland. Take a fix rectangle as the clipping window.
9.) Implement Sutherland-Hodgman polygon clipping algorithm.
10.) Implement a program for creating a walking man that moves from one end to another. Apply appropriate transformations.
11.) Implement Mid-Point Circle algorithm.
12.) Draw an analog clock synchronized with the system time. Analog Clock In c++ :: Source Code
// -------------------- CLOCK IN GRAPHICS ----------------------------
# include <graphics.h>
# include <iostream.h>
# include <conio.h>
# include <stdio.h>
# include <math.h>
# include <dos.h>
int tsx, tsy;
int thx, thy;
int tmx, tmy;
void drw_hr_hnd(int mid_pnt, int x, int y, int s)
{
setcolor(0);
line(mid_pnt, mid_pnt, thx, thy);
setcolor(15);
s*=30;
int tx = mid_pnt+(x-mid_pnt)*cos(s*3.14/180)-(y-mid_pnt)*sin(s*3.14/180);
int ty = mid_pnt+(x-mid_pnt)*sin(s*3.14/180)+(y-mid_pnt)*cos(s*3.14/180);
line(mid_pnt, mid_pnt, thx = tx, thy = ty);
}
void drw_min_hnd(int mid_pnt, int x, int y, int s)
{
setcolor(0);
line(mid_pnt, mid_pnt, tmx, tmy);
setcolor(15);
s*=6;
int tx = mid_pnt+(x-mid_pnt)*cos(s*3.14/180)-(y-mid_pnt)*sin(s*3.14/180);
int ty = mid_pnt+(x-mid_pnt)*sin(s*3.14/180)+(y-mid_pnt)*cos(s*3.14/180);
line(mid_pnt, mid_pnt, tmx = tx, tmy = ty);
}
void drw_sec_hnd(int mid_pnt, int x, int y, int s)
{
setcolor(0);
line(mid_pnt, mid_pnt, tsx, tsy);
setcolor(15);
s*=6;
int tx = mid_pnt+(x-mid_pnt)*cos(s*3.14/180)-(y-mid_pnt)*sin(s*3.14/180);
int ty = mid_pnt+(x-mid_pnt)*sin(s*3.14/180)+(y-mid_pnt)*cos(s*3.14/180);
line(mid_pnt, mid_pnt, tsx = tx, tsy = ty);
}
int main()
{
int gd = 0, gm;
initgraph(&gd,&gm,"");
struct time t;
gettime(&t);
circle(200,200,130);
textout(195,72,"12");
int mid_point = 200;
int sx = 200, sy = 100;
int hx = 200, hy = 120;
int mx = 200, my = 110;
int t2 = 0;
while(! kbhit())
{
gettime(&t);
delay(1000);
drw_sec_hnd(mid_point, sx, sy, t.ti_sec);
drw_min_hnd(mid_point, mx, my, t.ti_min);
drw_hr_hnd(mid_point, hx, hy, t.ti_hour);
}
getch();
return 0;
}
Quite simple.... you can easily understand!!
still if you have doubt, state a Comment!!!Put Adsense Ads Below the Post TitleFirst take backup for your template & then check Expand Widget Template...
Then Find The Below code...
<b:if cond='data:post.includeAd'>
<data:adEnd/>
<data:adCode/>
<data:adStart/>
</b:if>
now cut code from there and find..
<p><data:post.body/></p>
Paste the code right before this code!!
Thats it!! you're Done!!How To place Adsense ads on Center of the pageUse this simple div tag to center your ad!! remember center aligned Ads attract user more to see it!!!
<div align="center">
YOUR ADSENSE CODE
</div>
offline blogging tool :: i found for my Lappy
I always wanted a tool where I can write the blogs offline and publish them later. After a bit of searching look what I've discovered ! w.blogger is a free tool that is quite neat and allows publishing to multiple blogs. Cool!!!
See Heres my new Lappy!! :)
Cool na??!!SubString Function in VC++You are wondering if there is a trick to use substr() function, you are using in c or c++ programming.
Here are the simple steps to get SubString
CString s1, s2, s3;
s1 = "safsdfsdfdf";
s2 = s1.Mid(0,3);
s3 = s1.Mid(i,strlen(s1));
This will get you substring of s1. Does my Adsense Earnings affected by the Global Crisis? I just noticed recently that my adsense earnings keep dropping even the traffic of my sites is increasing.
Does our earnings or online ads business affected by the global crisis we are experiencing right now?
i think these crisis affect Online Business!! :(
What are you thoughts? And your strategy to maintain your current online business.
Add "Top Commenters" Widget In Your BlogThis widget will list top Active commenters on your blog, it quite encourage visitors to write comments on your articles!! :)
Here You Have to replace YOURBLOG with your blog name...
& YOURNAME with the name you want to filter.. ERP - Enterprice Resource Planning BlogMost Exciting new launch of the year...FZ 16 :: 961
YZF R15 ::
331
Karizma ::
155
- Love Life
-
25%
- Education
-
55%
- War Craft 3 Rank
-
75%
24%
Get Time in Cpp Programmingtime_t time_date;
struct tm *current_time;
time_date = time(NULL);
current_time = localtime(&time_date);
hour = current_time->tm_hour;
minute = current_time->tm_min;
second = current_time->tm_sec; sepeda motor-blog:: harga, spesifikasi, foto, gambar, video▼ 2008 (175)
Rename Column name in Oracle 8iIf you want to rename any column name in your table, you have to go manually. in 9i, 10g and higher versions you have simple statement to rename column name.
Alter table TABLE_NAME rename column OLD_COLUMN to NEW_COLUMN;
example ::
alter table items rename column item_no to item_number;
Okay... now back to Oracle 8i. Here are some steps that you can follow to rename your column. Create temporary table with same column expect the one you want to renamed. Rename it in new teble. see example...
your existing table ::
SQL> desc item;
Name Null? Type
------------------------------- -------- ----
NO NUMBER(2)
PRICE NUMBER(4)
QTY NUMBER(3)
SUM NUMBER(6)
Now suppose you want to rename QTY to Quantity. Create temporary table say "temporary". Drop original & rename temporary!! Confused??
see example...
create table temporary(no,price,Quantity,sum) as select no,price,qty,sum from item; Drop table item; Rename temporary to item;
SQL> desc item;
Name Null? Type
------------------------------- -------- ----
NO NUMBER(2)
PRICE NUMBER(4)
QUANTITY NUMBER(3)
SUM NUMBER(6)
Your column is renamed!!! :)create Image links in flashImage as link is most important point to be considered while creating sites or site contents. I always use images to provide various links to my visitors. Its better for you to use images as links as it looks pretty nice, and your page doesn't look a static one!!!
Here are the simple steps to assign your URL to the image.
Step 1 :: To Create image link, you must add the image to Flash Library as a symbol. To create symbol first go to "INSERT MENU" -> "ADD SYMBOL"
Step 2 :: I guess you have properly saved the symbol (our image). After that Go to "EDIT MENU" -> "EDIT MOVIE".. to edit movie.
Step 3 :: Now Insert the symbol to your movie. "WINDOW MENU" -> "LIBRARY".. Drag & Drop Your Image.
Step 4 :: Right click on Image and select "ACTION".
Step 5 :: In "ACTION WINDOW" goto "BASIC ACTIONS" -> "GET URL". Here You're allowed to Insert your URL. then And you must have to select "MOUSE UP" or "MOUSE DOWN". (click on first line where the code is written.)
And thats all!! Your image will now work as link!!! Try It... How to create Text to shape tween in flash 5In shape tween simply one object take shape of another object, and is quite easy to perform.
Here is the one effective use of flash, that is text to shape tweening. Our text will be converted in another text or even we can conver them in shapes like circle, rectangles.
Steps to perform text to shape tween.
Step 1 :: Write the text that you want to be converted.

Step 2 :: After some frames add key frame.

Step 3 :: Select the text and do brake apart (using ctrl + b). -> First break apart the whole text -> Then Break All The individual text characters. (Use ctrl +b to do break apart.)

Step 4 :: Select All Character and then give tween = shape. ( Window menu -> panel -> frame -> tween)
Step 5 :: Add key frame after about 30-40 frames... flash will make automatic tween.
Step 6 :: Change The exist text with new one... And again break apart it, the same way that we have done with first text.( Means Repeat step 3)
Thats all you need to perform text to shape tween in flash. How to create Shape tween in flash 5We can easily make shape tweening in flash. In shape tween we first create an object (in our case we will take circle.) in first frame. In last frame take the object (shape) whatever you want to convert to. (Square, in our case.)
Here is the simplest steps to create shape tween in flash::
Step 1 :: Create an object that you want to create in first frame.
Step 2 :: Create the second object after some frames, that can be created after flash done after shape tween. Means the object in first frame will become the second object at last.
Step 3 :: select all the frames in-between, then, -> GOTO "Windows" menu -> Panels -> Frame.
A new small window will be opened, in this select tweening = "shape".
And you have created your shape tweening :-) .
Example of Shape tween - tweening in flash 5We can easily make shape tweening in flash. In shape tween we first create an object (in our case we will take circle.) in first frame. In last frame take the object (shape) whatever you want to convert to. (Square, in our case.)
Here is the simplest steps to create shape tween in flash::
Step 1 :: Create an object that you want to create in first frame.

Step 2 :: Create the second object after some frames, that can be created after flash done after shape tween. Means the object in first frame will become the second object at last.

Step 3 :: select all the frames in-between, then,

-> GOTO "Windows" menu -> Panels -> Frame. A new small window will be opened, in this select tweening = "shape".

Enjoy your shape tweening...Example of Motion tween - tweening in flash.Steps to create motion tweening.
Step 1 :: Create an object that you like in first frame.

Step 2 :: Right click on frame in time-line. select "create motion tween".

Step 3 :: Go to whatever frame you like in time-line and then add key frame using f6 or right click on frame and select "insert key frame".
And thats all!! You're done with motion tweening!!! Press ctrl + Enter and test your motion tween!!How to Do Motion Tweening in FlashMotion tween is used to animate object that move 1 place to another on the stage. The main ease of creating motion tween is that we only have to create two frames, viz. first and last!!! Flash will create frames in between and make appropriate changes in size, color, shape and ofcource position!!!
Here is the simplest steps to create motion tweening.
Step 1 :: Create an object that you like in first frame.
Step 2 :: Right click on frame in time-line. select "create motion tween".
Step 3 :: Go to whatever frame you like in time-line and then add key frame using f6.
And thats all!! You're done with motion tweening!!! Press ctrl + Enter and test your motion tween!!
|