Member Avatar

[CODE]Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim speech speech = CreateObject("sapi.spvoice") speech.speak(TextBox1.Text) End Sub End Class [/CODE]

Member Avatar
-1 forum 4
Member Avatar

[CODE]#include <stdlib.h> #include <stdio.h> #include<conio.h> void main() { int ch; clrscr(); printf("\n\n~~~~~~~~~~~~~~~~~SHUTDOWN MENU~~~~~~~~~~~~~~~~~~~\n"); printf("1.Shutdown\n2.Restart\n3.Logoff\n4.Hibernate\n5.exit"); printf("\nEnter choice : "); scanf("%d",&ch); switch(ch) { case 1:system("shutdown -s"); break; case 2:system("shutdown -r"); break; case 3:system("shutdown -l"); break; case 4:system("shutdown -h"); break; case 5:exit(1); break; default:printf("Invalid choice"); } getch(); }[/CODE]

Member Avatar
+1 forum 8
Member Avatar

I am creating a type of ecommerce site , when the customer buys the product a email should be sent to admin regarding the product and customer details , I dont want to integrate payment gateways

Member Avatar
+0 forum 1
Member Avatar

[CODE]<html> <script> function startEQ() { quake=5; parent.moveBy(0,quake); parent.moveBy(0,-quake); parent.moveBy(quake,0); parent.moveBy(-quake,0); timer=setTimeout("startEQ()",10); } function stopEQ() { clearTimeout(timer); } </script> </head> <body> DEMO IT HERE <form> <input type="button" onclick="startEQ()" value="Start an earthquake"> <input type="button" onclick="stopEQ()" value="Stop the earthquake"> </form> </body> </html>[/CODE]

Member Avatar
+0 forum 2
Member Avatar

Hello guys this is an amazing programming that converts entered digit into word.nut i need your help i am only able to do it upto 99. #include<stdio.h> #include<conio.h> void main() { int n,m,j; clrscr(); printf("Enter any number between 1 to 99 : "); scanf("%d",&n); printf("You entered "); if(n>0&&n<=10) goto one; else if (n>10&&n<20) { m=n%10; goto two; } else if(n>20&&n<100) { j=n/10; n=n%10; goto three; } two: switch(m) { case 1:printf("eleven "); break; case 2:printf("twelve "); break; case 3:printf("thirteen "); break; case 4:printf("fourteen "); break; case 5:printf("fifteen "); break; case 6:printf("sixteen "); break; case 7:printf("seventeen "); break; case 8:printf("eighteen "); …

Member Avatar
+0 forum 6
Member Avatar

This is a cool trick with which you can hide your files inside a picture. First select the files and compress them to zip or rar and place it in E: drive also place there the picture on which you want to hide the files. Now go to command prompt and select E: drive by typing just E: type this command copy /b "file1.jpg"+"file2.zip" new.jpg You are done when you double click the new file the picture will open But when you right-click it and open it with winrar the hidden files will be shown

Member Avatar
+1 forum 7
Member Avatar

Follow these steps to get you name TIMED---------------><br> 1. Goto [u]start[/u] 2. Goto <u>control panel</u><br> 3. In control panel goto <u>Regional and language options</u><br> 4. Under the regional options tab press <u>customize button</u><br> 5. Now under the time tab Add your name with <u>AM</u> and <u>PM</u> preceeded by a hyphen '-' as shown below <br> For more tricks visit my website <snip>

Member Avatar
+0 forum 4
Member Avatar

This is a cool windows xp trick i found out by which you can hide your files under a picture. Follow these steps --> 1. First select the files you want to hide. 2. Right-click the files and select "Add to archive" i.e compress the files to zip or rar. 3. Place the compressed file and the picture in which files will e hidden in E:\ or D:\ or C:\ , this does'nt play any role but will be easier to find the files. 4. Now go to Start->Run or simply press Win+R , type cmd ,this will open command …

Member Avatar
+0 forum 4
Member Avatar

Hi all thanx in advance I want to make a job portal like naukri.com in Php , I have tried many free CMS and scripts but not got too much of it , please do help me with something its urgent....... Thank you

Member Avatar
+0 forum 5
Member Avatar

[CODE]#include<stdio.h> #include<conio.h> #include<dos.h> #include<stdlib.h> void main() { clrscr(); while(!kbhit()) { struct time t; gettime(&t); textcolor(random(15)) ; gotoxy(23,3); printf("%d:%d:%0d",t.ti_hour,t.ti_min,t.ti_sec); sleep(1); clrscr(); } getch(); }[/CODE]

Member Avatar
-2 forum 3
Member Avatar

[CODE]#include<graphics.h> #include<conio.h> #include<math.h> #include<dos.h> #include<stdio.h> void main() { int gd=DETECT,gm; int x=320,y=240,r=200,i,h,m,s,thetamin,thetasec; struct time t; char n[12][3]={"3","2","1","12","11","10","9","8","7","6","5","4"}; initgraph(&gd,&gm,"C:\\tc\\bgi");//ut the directory which containsegavga.bgi circle(x,y,210); setcolor(4); settextstyle(4,0,5); for(i=0;i<12;i++) { if(i!=3) outtextxy(x+(r-14)*cos(M_PI/6*i)-10,y-(r-14)*sin(M_PI/6*i)-26,n[i]); else outtextxy(x+(r-14)*cos(M_PI/6*i)-20,y-(r-14)*sin(M_PI/6*i)-26,n[i]); } gettime(&t); printf("The current time is: %2d:%02d:%02d.%02d",t.ti_hour, t.ti_min, t.ti_sec, t.ti_hund); while(!kbhit()) { setcolor(5); setfillstyle(1,5); circle(x,y,10); floodfill(x,y,5); gettime(&t); if(t.ti_min!=m) { setcolor(0); line(x,y,x+(r-60)*cos(thetamin*(M_PI/180)),y-(r-60)*sin(thetamin*(M_PI/180 ))); circle(x+(r-80)*cos(thetamin*(M_PI/180)),y-(r-80)*sin(thetamin*(M_PI/180)) ,10); line(x,y,x+(r-110)*cos(M_PI/6*h-((m/2)*(M_PI/180))),y-(r-110)*sin(M_PI/6*h -((m/2)*(M_PI/180)))); circle(x+(r-130)*cos(M_PI/6*h-((m/2)*(M_PI/180))),y-(r-130)*sin(M_PI/6*h-( (m/2)*(M_PI/180))),10); } if(t.ti_hour>12) t.ti_hour=t.ti_hour-12; if(t.ti_hour<4) h=abs(t.ti_hour-3); else h=15-t.ti_hour; m=t.ti_min; if(t.ti_min<=15) thetamin=(15-t.ti_min)*6; else thetamin=450-t.ti_min*6; if(t.ti_sec<=15) thetasec=(15-t.ti_sec)*6; else thetasec=450-t.ti_sec*6; setcolor(4); line(x,y,x+(r-110)*cos(M_PI/6*h-((m/2)*(M_PI/180))),y-(r-110)*sin(M_PI/6*h -((m/2)*(M_PI/180)))); circle(x+(r-130)*cos(M_PI/6*h-((m/2)*(M_PI/180))),y-(r-130)*sin(M_PI/6*h-( (m/2)*(M_PI/180))),10); line(x,y,x+(r-60)*cos(thetamin*(M_PI/180)),y-(r-60)*sin(thetamin*(M_PI/180 ))); circle(x+(r-80)*cos(thetamin*(M_PI/180)),y-(r-80)*sin(thetamin*(M_PI/180)) ,10); setcolor(15); line(x,y,x+(r-70)*cos(thetasec*(M_PI/180)),y-(r-70)*sin(thetasec*(M_PI/180 ))); delay(1000); setcolor(0); line(x,y,x+(r-70)*cos(thetasec*(M_PI/180)),y-(r-70)*sin(thetasec*(M_PI/180 ))); } } [/CODE]

Member Avatar
+0 forum 2
Member Avatar

[CODE]<html> <body> <script language="JavaScript1.2"> //change 1 to another value to alter the scroll speed. Greater is faster var speed=1 var currentpos=0,alt=1,curpos1=0,curpos2=-1 function initialize(){ startit() } function scrollwindow(){ if (document.all) temp=document.body.scrollTop else temp=window.pageYOffset if (alt==0) alt=1 else alt=0 if (alt==0) curpos1=temp else curpos2=temp if (curpos1!=curpos2){ if (document.all) currentpos=document.body.scrollTop+speed else currentpos=window.pageYOffset+speed window.scroll(0,currentpos) } else{ currentpos=0 window.scroll(0,currentpos) } } function startit(){ setInterval("scrollwindow()",10) } window.onload=initialize </script> <font color="#FF0000" size="+6"><center><big> <p>CHECK</p> <p>IT</p> <p>OUT</p> <p>THIS</p> <p>TEXT</p> <p>WILL</p> <p>KEEP</p> <p>ON</p> <p>SCROLLING</p></center></font></big> </body> </html> [/CODE]

Member Avatar
+0 forum 1
Member Avatar

It is possible to disable the XP splash screen, which will slightly speed up the overall boot process. Be aware that removing the splash screen will also cause you not to see any boot-up messages that might come up (chkdsk, convert ... ), but if your system runs without any problems then it should not matter. [COLOR="Red"]· Edit boot.ini. · Add " /noguiboot" right after "/fastdetect". [/COLOR] Upon restarting, the splash screen will be gone. It can be re-enabled by removing the new switch.

+0 forum 0
Member Avatar

If your system hangs about 2 or 3 minutes at startup, where you can't access the Start button or the Taskbar, it may be due to one specific service (Background Intelligent Transfer) running in the background. Microsoft put out a patch for this but it didn't work for me. Here's what you do: [COLOR="Red"]· Click on Start/Run, type 'msconfig', then click 'OK'. · Go to the 'Services' tab, find the 'Background Intelligent Transfer' service. · Disable it, apply the changes & reboot[/COLOR]

+0 forum 0
Member Avatar

hello friends an anyone help me whether one can create a tic-tac-toe game in C

Member Avatar
-1 forum 1
Member Avatar

#include "Stdio.h" [CODE]main() { int a,b,c; int count = 1; for (b=c=10;a="- FIGURE?, UMKC,XYZHello Folks,\ TFy!QJu ROo TNn(ROo)SLq SLq ULo+\ UHs UJq TNn*RPn/QPbEWS_JSWQAIJO^\ NBELPeHBFHT}TnALVlBLOFAkHFOuFETp\ HCStHAUFAgcEAelclcn^r^r\\tZvYxXy\ T|S~Pn SPm SOn TNn ULo0ULo#ULo-W\ Hq!WFs XDt!" [b+++21]; ) for(; a-- > 64 ; ) putchar ( ++c=='Z' ? c = c/ 9:33^b&1); return 0; }[/CODE] AFTER COMPILING PRESS Alt+f5 TO VIEW OUTPUT

Member Avatar
+0 forum 9
Member Avatar

Below is the program for swapping variables without any extra variable. [CODE] #include "stdio.h" #include "conio.h" void main() { int a=7;b=5; clrscr(); a=a+b; b=a-b; a=a-b; getch(); }[/CODE]

Member Avatar
+0 forum 7
Member Avatar

[B]<html> <head> <title>New Page 11</title> <meta name="GENERATOR" content="Microsoft FrontPage 3.0"> <script language="JavaScript1.2"> if (document.layers) document.captureEvents(Event.KEYPRESS) function backhome(e){ var targeturl="index.htm" if (document.layers){ if (e.which==104||e.which==72) window.location=targeturl } else if (document.all){ if (event.keyCode==104||event.keyCode==72) window.location=targeturl } } document.onkeypress=backhome </script> </head> <body> <p align="center">Hit The(H) key on your keyboard to send you to a home page that you configure!!</p> </body> </html> [/B]

Member Avatar
+0 forum 4
Member Avatar

Here is an amazing program to create a tic-tac-toe game in vb.net.First of all in design view place 9 buttons.Then apply the code below. Public Class Form1 Dim test As Boolean Dim c1 As Boolean Private Sub b1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles b1.Click, b2.Click, b3.Click, b4.Click, b5.Click, b6.Click, b7.Click, b8.Click, b9.Click If (sender.text = "") Then test = Not test If (test = True) Then sender.text = "0" Else sender.text = "X" End If End If If (b1.Text = "X" And b2.Text = "X" And b3.Text = "X") Then MsgBox("player 2 won") End If If (b4.Text …

+0 forum 0

The End.