Mobile Devices: Lite Theme Citroën: Citroën Trader | Saxo Trader | C2 Trader Peugeot: Peugeot Trader | 106 Trader Enthusiast: Saxperience


Go Back   Saxperience - Citroen Saxo Forum > Other... > Gaming, IT, Multimedia & Music
Register Member Photo AlbumsBlogs FAQ Calendar Experience

Gaming, IT, Multimedia & Music Please use this forum to discuss Gaming, IT, Multimedia & Music.

Reply
 
Thread Tools Display Modes
Old 25th November 2007, 03:17   #21
b0t13
Saxperience Post Whore
North West Region Member
 
b0t13's Avatar
 
Join Date: Dec 2005
Location: MaDchester
Posts: 8,432
Car(s): Vts
iTrader Score: 2 (100%)
b0t13 is absolutely fabulous!b0t13 is absolutely fabulous!b0t13 is absolutely fabulous!b0t13 is absolutely fabulous!b0t13 is absolutely fabulous!b0t13 is absolutely fabulous!b0t13 is absolutely fabulous!b0t13 is absolutely fabulous!b0t13 is absolutely fabulous!b0t13 is absolutely fabulous!b0t13 is absolutely fabulous!
Default

Quote:
Originally Posted by Ben_Saxo View Post
I had to use this in computing at college. Got bored so spent the whole year making awesome pointless crap and sending it around. Like a thingy that opens and closes the disk try every three seconds you cant turn off. Good times
haha i did the exact same thing, and i found code that hidden it from CTL ALT DEL too
b0t13 is offline   Reply With Quote
Old 25th November 2007, 09:25   #22
Alexp
Central South
Track / Motorsport Prep

Central South Region MemberSouth East Region Member
 
Alex's Avatar
 
Join Date: Jun 2006
Location: East Sussex
Posts: 3,105
Blog Entries: 9
Car(s): VTS :)
iTrader Score: 17 (100%)
Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!
Default

Quote:
Originally Posted by b0t13 View Post
haha i did the exact same thing, and i found code that hidden it from CTL ALT DEL too
I remember those days "RegisterServiceProcess"
__________________
Can I be your car fwrend??
Alex is offline   Reply With Quote
Old 25th November 2007, 12:24   #23
Zuton
L-plater
 
Join Date: Sep 2007
Posts: 87
Zuton is a jewel in the roughZuton is a jewel in the roughZuton is a jewel in the roughZuton is a jewel in the rough
Default

i failed my programming unit due to a hatred for VB....and the dumass tutor..
Zuton is offline   Reply With Quote
Old 25th November 2007, 14:21   #24
b0t13
Saxperience Post Whore
North West Region Member
 
b0t13's Avatar
 
Join Date: Dec 2005
Location: MaDchester
Posts: 8,432
Car(s): Vts
iTrader Score: 2 (100%)
b0t13 is absolutely fabulous!b0t13 is absolutely fabulous!b0t13 is absolutely fabulous!b0t13 is absolutely fabulous!b0t13 is absolutely fabulous!b0t13 is absolutely fabulous!b0t13 is absolutely fabulous!b0t13 is absolutely fabulous!b0t13 is absolutely fabulous!b0t13 is absolutely fabulous!b0t13 is absolutely fabulous!
Default

l337 uber programming skills FTW!
b0t13 is offline   Reply With Quote
Old 25th November 2007, 14:41   #25
saxotistic
Regular Poster
 
saxotistic's Avatar
 
Join Date: Nov 2005
Location: Birmingham United Kingdom (England)
Posts: 336
Car(s): Civic TypeR
saxotistic is a jewel in the roughsaxotistic is a jewel in the roughsaxotistic is a jewel in the rough
Default

Quote:
Originally Posted by Paul_CGM View Post
Done a quick 5 minute job here, dont know if it will help.

Dim labelnumber As Currency
Dim textonenumber As Currency
Dim texttwonumber As Currency
Dim answer As Currency

Private Sub Text1_Change()
Let textonenumber = Text1.Text
Let texttwonumber = Text2.Text
Let labelnumber = Label1

Let answer = labelnumber - (textonenumber + texttwonumber)
Let Text3.Text = answer

End Sub

Private Sub Text2_Change()
Let textonenumber = Text1.Text
Let texttwonumber = Text2.Text
Let labelnumber = Label1

Let answer = labelnumber - (textonenumber + texttwonumber)
Let Text3.Text = answer

End Sub

Private Sub Text3_Change()
Let textonenumber = Text1.Text
Let texttwonumber = Text2.Text
Let labelnumber = Label1

Let answer = labelnumber - (textonenumber + texttwonumber)
Let Text3.Text = answer

End Sub




Put the data format for the textboxs to number also. (properties)

edit:
in the screenshot i've forgot to delete the command button.
put all that in to VB but still doesnt work
__________________
MK1 VTR, Magnex 3 inch Full System De-Catted, K&N Air Filter, VTS Alloys, Lowered, ICE (15" JBL x2, 1200Watt Amp, Pioneer 6x9\'s, 4 Tweeters, Pioneer H/U)
saxotistic is offline   Reply With Quote
Old 28th November 2007, 13:01   #26
srcnix
Saxperience Forum Bum
Central South Region MemberNorth East Region Member
 
srcnix's Avatar
 
Join Date: Jul 2006
Location: UK, England, Hampshire
Posts: 4,081
Car(s): No car
srcnix has a brilliant futuresrcnix has a brilliant futuresrcnix has a brilliant futuresrcnix has a brilliant futuresrcnix has a brilliant futuresrcnix has a brilliant futuresrcnix has a brilliant futuresrcnix has a brilliant futuresrcnix has a brilliant futuresrcnix has a brilliant futuresrcnix has a brilliant future
Default

I suggest using a better naming scheme for your variables for a start. You will be marked on naming schemes IIRC.
__________________
srcnix's obsessions: http://www.srcnix.com
srcnix's apps: http://apps.srcnix.com
srcnix is offline   Reply With Quote
Old 28th November 2007, 13:03   #27
TU-Tuning
Saxperience Hardcore!
South West Region MemberWest Midlands Region Member
 
TU-Tuning's Avatar
 
Join Date: May 2006
Location: Bristol
Posts: 16,575
Car(s): JP4urio, 306 DTurbo SportShed
iTrader Score: 15 (100%)
TU-Tuning is absolutely fabulous!TU-Tuning is absolutely fabulous!TU-Tuning is absolutely fabulous!TU-Tuning is absolutely fabulous!TU-Tuning is absolutely fabulous!TU-Tuning is absolutely fabulous!TU-Tuning is absolutely fabulous!TU-Tuning is absolutely fabulous!TU-Tuning is absolutely fabulous!TU-Tuning is absolutely fabulous!TU-Tuning is absolutely fabulous!
Default

Quote:
Originally Posted by Paul_CGM View Post
*cough* cntrl alt delete *cough*
Didnt work lol, that was blocked on the system
TU-Tuning is offline   Reply With Quote
Old 28th November 2007, 13:13   #28
Alexp
Central South
Track / Motorsport Prep

Central South Region MemberSouth East Region Member
 
Alex's Avatar
 
Join Date: Jun 2006
Location: East Sussex
Posts: 3,105
Blog Entries: 9
Car(s): VTS :)
iTrader Score: 17 (100%)
Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!
Default

It's not as easy as just copy pasting, you have to have the correct controls on the form and set the events to the functions.
__________________
Can I be your car fwrend??
Alex is offline   Reply With Quote
Old 28th November 2007, 13:14   #29
Scattle
Saxperience Addict
South East Region Member
 
Scattle's Avatar
 
Join Date: Jan 2007
Location: Benfleet, Essex
Posts: 10,834
Car(s): Megane 225 Cup
iTrader Score: 9 (100%)
Scattle is absolutely fabulous!Scattle is absolutely fabulous!Scattle is absolutely fabulous!Scattle is absolutely fabulous!Scattle is absolutely fabulous!Scattle is absolutely fabulous!Scattle is absolutely fabulous!Scattle is absolutely fabulous!Scattle is absolutely fabulous!Scattle is absolutely fabulous!Scattle is absolutely fabulous!
Default

Quote:
Originally Posted by Alex View Post
It's not as easy as just copy pasting, you have to have the correct controls on the form and set the events to the functions.
Yup, I copied a program before and it would not work, some characters can be different so have a check through.
Scattle is offline   Reply With Quote
Old 28th November 2007, 13:34   #30
Alexp
Central South
Track / Motorsport Prep

Central South Region MemberSouth East Region Member
 
Alex's Avatar
 
Join Date: Jun 2006
Location: East Sussex
Posts: 3,105
Blog Entries: 9
Car(s): VTS :)
iTrader Score: 17 (100%)
Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!
Default

Quote:
Originally Posted by Manutd1808 View Post
Yup, I copied a program before and it would not work, some characters can be different so have a check through.
You ripper

If you do copy'n'paste remember to set the control events otherwise the code will not be called.
__________________
Can I be your car fwrend??
Alex is offline   Reply With Quote
Old 28th November 2007, 13:57   #31
Scattle
Saxperience Addict
South East Region Member
 
Scattle's Avatar
 
Join Date: Jan 2007
Location: Benfleet, Essex
Posts: 10,834
Car(s): Megane 225 Cup
iTrader Score: 9 (100%)
Scattle is absolutely fabulous!Scattle is absolutely fabulous!Scattle is absolutely fabulous!Scattle is absolutely fabulous!Scattle is absolutely fabulous!Scattle is absolutely fabulous!Scattle is absolutely fabulous!Scattle is absolutely fabulous!Scattle is absolutely fabulous!Scattle is absolutely fabulous!Scattle is absolutely fabulous!
Default

Quote:
Originally Posted by Alex View Post
You ripper

If you do copy'n'paste remember to set the control events otherwise the code will not be called.
Don't normally do it but when you have to call a function from an array, I needed some help lol.
Scattle is offline   Reply With Quote
Old 28th November 2007, 21:08   #32
Scattle
Saxperience Addict
South East Region Member
 
Scattle's Avatar
 
Join Date: Jan 2007
Location: Benfleet, Essex
Posts: 10,834
Car(s): Megane 225 Cup
iTrader Score: 9 (100%)
Scattle is absolutely fabulous!Scattle is absolutely fabulous!Scattle is absolutely fabulous!Scattle is absolutely fabulous!Scattle is absolutely fabulous!Scattle is absolutely fabulous!Scattle is absolutely fabulous!Scattle is absolutely fabulous!Scattle is absolutely fabulous!Scattle is absolutely fabulous!Scattle is absolutely fabulous!
Default

This is my MP3 Player program that I have to do for my assignment.
Got it to play a song so far, now sorting out the library which is the fun part.

Function 1is the code for playing the file. Have a use if you want.

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
FILE *fp;

#define ARRAYSIZE 100
#define SONGNAME 25
#define SONGARTIST 25
#define SONGLENGTH 25

void func1(void);
void func2(void);
void func3 (void);
void func4 (void);

typedef struct Mp3rec
{
char name[SONGNAME];
char artist[SONGARTIST];
char length[SONGLENGTH];
};


int main (void)

{
int menuchoice=0;
//fp= fopen("mp3_list.txt", "r" "W" "a"); either to add or read a text file.
do
{
printf ("********************************************\n") ;
printf ("****************Steven C********************\n");
printf ("*********** Ruskin Pod MP3 Player **********\n");
printf ("********************************************" );
printf("\n1: Play File");
printf("\n2: Show Library");
printf("\n3: Delete File");
printf("\n4: Add Record");
printf("\n5: Quit");

printf("\n\nEnter Choice: ");
scanf("%d", &menuchoice);

switch (menuchoice)
{
case 1:
func1();
break;
case 2:
func2();
break;
case 3:
func3();
break;
case 4:
func4();
break;

case 5:
break;

default:
printf("\nInvalid Choice: 1-4 Only Please");
}

}while(menuchoice!=4);
system("pause");
}

void func1(void)
{
printf("\n\n Play File\n\n");
printf ("********************************************\n") ;
printf ("****************Steven C********************\n");
printf ("*********** Ruskin Pod MP3 Player **********\n");
printf ("********************************************" );
{
char commandarray[ARRAYSIZE];

char mp3filename[ARRAYSIZE] ="C:\\mplayer\\Robin S - Show me Love.mp3";

sprintf(commandarray, "C:\\mplayer\\mplayer.exe \"%s\"", mp3filename);

printf("\nAttempting to Run Command \"%s\"...\n\n", commandarray);

system(commandarray);

int menuchoice=0;
switch (menuchoice)
printf("\n1: Back To Menu");
printf("\n5: Quit");

printf("\nDone.\n\n");




system("pause");

}
}

void func2(void)
{
printf("\n\n Show Library\n\n");
}

void func3(void)
{
printf("\n\n Delete File\n\n");
}

void func4(void)
{
fp= fopen("ListofSongs.txt","r");
printf("\n\n Add Record\n\n");


}
Scattle is offline   Reply With Quote
Old 28th November 2007, 23:19   #33
Alexp
Central South
Track / Motorsport Prep

Central South Region MemberSouth East Region Member
 
Alex's Avatar
 
Join Date: Jun 2006
Location: East Sussex
Posts: 3,105
Blog Entries: 9
Car(s): VTS :)
iTrader Score: 17 (100%)
Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!
Default

Interesting doing it in console.
__________________
Can I be your car fwrend??
Alex is offline   Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:35.