AS computing

Cie AS Computing

Dear all,

            Welcome to AS computing class. I am Dr.Ravi your facilitator for this course. This course consists of two modules, theory and practicals. In theory we will have 12 chapters and in practicals we do have programming classes. You will sit for theory and practical exams at the end of the course, which is conducted by CIE.

All the best, keep moving, for there is always a helping hand above you to guide you.

Dr.Ravi

 

Views: 3404

Reply to This

Replies to This Discussion

There is nothing called MCR , May be you typed it wrongly, MICR!

Dr.Ravi

Asyraf Naim bin Jamal Shahid said:

Dain, What is MCR and OCR ?

Sorry Asyraf but i'm afraid i don't really get the question...What 'coding' are u refering to actually??



Asyraf Naim bin Jamal Shahid said:

What we've learned last week is Programming " How to create Digital File "..
The software used is Microsoft Visual Basic 6.0
We have to use several code to create this file. For example "OPEN", "WRITE", " CLOSE".

can dain tell me what is the coding that we use to create this file ?

Ok, Thank you Dr. ravi



Ravichandran said:

No problem dain, still it is related to your Computing subject. I think the latest version of VB uses more of .net concepts. I should admit that I have not tried the version which you are referring to. However, when time permits will try it and revert back to you.

Dr.Ravi



Dain Razali said:

Ok, i got a question thts not related to AS Computing. Sorry Dr. Ravi~` But can anyone tell me if it's possible to download Visual Basic 6.0??? I downloaded Microsoft Visual basic 2008 Express edition but it's very different...i don't know how to use it.. .. Anyone knows???

 

i think he meant the "o" "a" "i", as for creting a file, i think we need to use the "o"...is that correct?

Dain Razali said:

Sorry Asyraf but i'm afraid i don't really get the question...What 'coding' are u refering to actually??



Asyraf Naim bin Jamal Shahid said:

What we've learned last week is Programming " How to create Digital File "..
The software used is Microsoft Visual Basic 6.0
We have to use several code to create this file. For example "OPEN", "WRITE", " CLOSE".

can dain tell me what is the coding that we use to create this file ?

Yes, "O" stands for Output, "A" for append and "I" (i'll have to look that up...) but anyway yeah, we use output when we're opening a 'brand new file'...and append when we sort of want to 'edit' an existing file by adding data in a sequential order....to add data randomly, we have to use a different command which i'm not sure what it is...thats all i know...so sorry



Muhammad Mujahid Lokman said:

i think he meant the "o" "a" "i", as for creting a file, i think we need to use the "o"...is that correct?

i think I is to read the file, if im not mistaken
downloading VB 6.0 would be illegal according to my sister haha.but i found it anyway, i got it from a link in youtube, ithink

Dain Razali said:

Ok, i got a question thts not related to AS Computing. Sorry Dr. Ravi~` But can anyone tell me if it's possible to download Visual Basic 6.0??? I downloaded Microsoft Visual basic 2008 Express edition but it's very different...i don't know how to use it.. .. Anyone knows???

 

yes, "I" is input mode which is use to read file

Afifah Ahmad said:
i think I is to read the file, if im not mistaken

Em I also have used that software..but it's really different right?..maybe this is old version,


Dain Razali said:

Ok, Thank you Dr. ravi



Ravichandran said:

No problem dain, still it is related to your Computing subject. I think the latest version of VB uses more of .net concepts. I should admit that I have not tried the version which you are referring to. However, when time permits will try it and revert back to you.

Dr.Ravi



Dain Razali said:

Ok, i got a question thts not related to AS Computing. Sorry Dr. Ravi~` But can anyone tell me if it's possible to download Visual Basic 6.0??? I downloaded Microsoft Visual basic 2008 Express edition but it's very different...i don't know how to use it.. .. Anyone knows???

 

PROGRAMMING TODAY

 

STORE DATA

Open "c:\asyraf" For Output As #1

Write #1, "asyraf", "0134563746"

Write #1, "syahmi", "0199999999"

Write #1, "syakir", "0177777777"

Close
_________________________________________________________

 

ADDING DATA

Open "c:\asyraf" For Append As #1

Write #1, "Donald", "0134563746"

Write #1, "Wilkison", "0199999999"

Write #1, "Mike", "0177777777"

Close

 

_____________________________________________________

 

READ DATA

Open "c:\asyraf" For Input As #1

Form1.Print "Name            Phone No"

20 If EOF(1) Then GoTo 80

Input #1, x, y

Print Form1 x, y

GoTo 20

80 Close

 

 

 

And to clear the screen, just type Form1.cls below Open "c:\asyraf" For Append As #1

Example:

Open "c:\asyraf" For Append As #1

Form1.cls

Write #1, "Donald", "0134563746"

Write #1, "Wilkison", "0199999999"

Write #1, "Mike", "0177777777"

 

Asyraf Naim bin Jamal Shahid said:

PROGRAMMING TODAY

 

STORE DATA

Open "c:\asyraf" For Output As #1

Write #1, "asyraf", "0134563746"

Write #1, "syahmi", "0199999999"

Write #1, "syakir", "0177777777"

Close
_________________________________________________________

 

ADDING DATA

Open "c:\asyraf" For Append As #1

Write #1, "Donald", "0134563746"

Write #1, "Wilkison", "0199999999"

Write #1, "Mike", "0177777777"

Close

 

_____________________________________________________

 

READ DATA

Open "c:\asyraf" For Input As #1

Form1.Print "Name            Phone No"

20 If EOF(1) Then GoTo 80

Input #1, x, y

Print Form1 x, y

GoTo 20

80 Close

 

 

 

Is there any software like microsoft visual basic for mac ? I cant seem to download that version :(


Ahmad Syahmi Irfan said:

Em I also have used that software..but it's really different right?..maybe this is old version,


Dain Razali said:

Ok, Thank you Dr. ravi



Ravichandran said:

No problem dain, still it is related to your Computing subject. I think the latest version of VB uses more of .net concepts. I should admit that I have not tried the version which you are referring to. However, when time permits will try it and revert back to you.

Dr.Ravi



Dain Razali said:

Ok, i got a question thts not related to AS Computing. Sorry Dr. Ravi~` But can anyone tell me if it's possible to download Visual Basic 6.0??? I downloaded Microsoft Visual basic 2008 Express edition but it's very different...i don't know how to use it.. .. Anyone knows???

 

Reply to Discussion

RSS

© 2025   Created by Ravichandran.   Powered by

Report an Issue  |  Terms of Service