Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

Exclusively for Visual Basic 6.0 Programmers Only!

guys , pahelp sana ko . assignment ko po ito para bukas , june 16 2012 po papasa .sana matulungan nyo ko . kailangan ko po ng code neto para - flowcharting po itong assignment ko ..

reate a flowchart with program that add, subtract, multiply, and divide two numbers.

Sample Output:
Enter your 1st Number : 10
Enter your 2nd Number : 5
The sum is : 15
The difference is : 5
The product is : 50
The quotient is : 2

thanks guys. :D
 
Sir bale may table po ako (listview), tapos may column dun na dalawa gusto ko po mangyari may isang button po na pag clinik ko po ma a-add po lahat ng nasa column parang yung sa picture po na nilagay ko. yung straight line po na crayons na add naging 100 tapos po iddisplay ko po siya sa textbox yung answer :)

Paano po nag a-add ng specific column sa adodb?. gusto ko po kasi ma -add ung straight line na column ng crayons like po dun sa picture :)

Salamat po cnxa na magulo ang explenation haha.. naiisip ko po gawin di ko maexplain ng maayos :yipee:

THANKS PO :)

gusto sana kita tulungan kaso hindi ko talaga magets yung gusto mong ipunto, try to be more specific
 
guys , pahelp sana ko . assignment ko po ito para bukas , june 16 2012 po papasa .sana matulungan nyo ko . kailangan ko po ng code neto para - flowcharting po itong assignment ko ..

reate a flowchart with program that add, subtract, multiply, and divide two numbers.

Sample Output:
Enter your 1st Number : 10
Enter your 2nd Number : 5
The sum is : 15
The difference is : 5
The product is : 50
The quotient is : 2

thanks guys. :D



walang gagawa ng assignment mo dito kung ako sayo tapusin mo mag isa yan at kung may tanong ka ipost mo dito yung code idebug natin
 
ahahaha tama c fuzzy!!! posa kung yan ganyan lang di mo pa magawa vb 6.0 lang at simple arithmetic operations lang ipapagawa mo pa sa iba mag palit ka na ng course. hahahahaaa or wag ka na mag aral.
 
pwedi po pa help ng ADODB CONNECTION Po yung codes... adodc kasi madali lang di ko po alam yung ADODB... pa hingi po codes.. for that kahit simple login lang na ADODB... :yipee:
 
Sir bale may table po ako (listview), tapos may column dun na dalawa gusto ko po mangyari may isang button po na pag clinik ko po ma a-add po lahat ng nasa column parang yung sa picture po na nilagay ko. yung straight line po na crayons na add naging 100 tapos po iddisplay ko po siya sa textbox yung answer :)

Paano po nag a-add ng specific column sa adodb?. gusto ko po kasi ma -add ung straight line na column ng crayons like po dun sa picture :)

Salamat po cnxa na magulo ang explenation haha.. naiisip ko po gawin di ko maexplain ng maayos :yipee:

THANKS PO :)


parang gusto niya icompute ung values ng listview then ilagay sa textbox ung computed value? tama ba?
 
Sir Tanong po ko ulit :)

Paano po nag aad ng number sa table?.. Gamit ko po is Listview na pag pinindot ko po yung button ma aad po ung number na nasa table at mag didisplay po siya sa textbox :)

Salamat po.

(Naglagay po ko ng picture di ko po mapaliwanag ng maayos) ^^

Sir bale may table po ako (listview), tapos may column dun na dalawa gusto ko po mangyari may isang button po na pag clinik ko po ma a-add po lahat ng nasa column parang yung sa picture po na nilagay ko. yung straight line po na crayons na add naging 100 tapos po iddisplay ko po siya sa textbox yung answer :)

Paano po nag a-add ng specific column sa adodb?. gusto ko po kasi ma -add ung straight line na column ng crayons like po dun sa picture :)

Salamat po cnxa na magulo ang explenation haha.. naiisip ko po gawin di ko maexplain ng maayos :yipee:

THANKS PO :)

May dalawang approaches:
una, gawin ang computation sa server (MySQL)​
pangalawa, gawin ang computation gamit ang values na nasa listview​

Mas madaling iCode ang unang approach (compute sa server), pero mas inefficient kasi magOopen ulit ng connection ang app mo sa server para magCompute.

SAMPLE: First Approach (Computation on Server)

=== tblNumbers ===
+-------------------+
| id | n1 | n2 | n3 |
+-------------------+
| 1 | 10 | 20 | 30 |
| 2 | 20 | 40 | 60 |
| 3 | 30 | 60 | 90 |
| 4 | 40 | 80 | 60 |
| 5 | 50 | 20 | 30 |
+-------------------+


To get the sum of all numbers in n1, the SQL statement would be:
SELECT SUM (n1) FROM tblNumbers;

The above query would return 100 (10 + 20 + 30 + 40 + 50)

To get the sum of all numbers in n1 where n3 = 30, the SQL statement would be:
SELECT SUM(n1) FROM tblNumbers WHERE n3 = '30';

The above query would return 60 (10 + 50)

-----------------------------------------------------------------------------

Next na gagawin mo na lang e iSet yung text ng textbox mo dun sa iRereturn ng query mo. :beat:
Experiment na lang, adapt yung queries depende sa kailangan mo. :thumbsup:

Yung second approach kung saan ang computation ay sa client (sa items na laman ng listview) at hindi sa server, sa susunod ko na lang ipost. Baka merong ibang programmers dito na kabisado yun. :lol: Busy e, di pa ako makaExperiment.


Happy coding! :salute:
 
Last edited:
guys , pahelp sana ko . assignment ko po ito para bukas , june 16 2012 po papasa .sana matulungan nyo ko . kailangan ko po ng code neto para - flowcharting po itong assignment ko ..

reate a flowchart with program that add, subtract, multiply, and divide two numbers.

Sample Output:
Enter your 1st Number : 10
Enter your 2nd Number : 5
The sum is : 15
The difference is : 5
The product is : 50
The quotient is : 2

thanks guys. :D

Di ka po magiging programmer kung hindi mo maAnalyze at document ang logic ng solution sa isang problem.

In my opinion, you have 2 options:
  1. Aral mabuti hanggang makuha at matutunan, or
  2. Palit ng course, yung hindi kailangan ng logic(al) na pagiisip.

Naku, baka marami pang magReact sa post mo sir.
iHanda na lang po sarili. :salute:
 
pwedi po pa help ng ADODB CONNECTION Po yung codes... adodc kasi madali lang di ko po alam yung ADODB... pa hingi po codes.. for that kahit simple login lang na ADODB... :yipee:

Sir, meron akong sample dito ng ADODB Connections.
Explore at experiment na lang kung gagamitin mo siya sa login.

Link to Sample

Happy coding! :salute:
 
Last edited:
parang gusto niya icompute ung values ng listview then ilagay sa textbox ung computed value? tama ba?

.. Opo Sir tama po ganun nga po :)


May dalawang approaches:
una, gawin ang computation sa server (MySQL)​
pangalawa, gawin ang computation gamit ang values na nasa listview​

Mas madaling iCode ang unang approach (compute sa server), pero mas inefficient kasi magOopen ulit ng connection ang app mo sa server para magCompute.

SAMPLE: First Approach (Computation on Server)

=== tblNumbers ===
+-------------------+
| id | n1 | n2 | n3 |
+-------------------+
| 1 | 10 | 20 | 30 |
| 2 | 20 | 40 | 60 |
| 3 | 30 | 60 | 90 |
| 4 | 40 | 80 | 60 |
| 5 | 50 | 20 | 30 |
+-------------------+


To get the sum of all numbers in n1, the SQL statement would be:
SELECT SUM (n1) FROM tblNumbers;

The above query would return 100 (10 + 20 + 30 + 40 + 50)

To get the sum of all numbers in n1 where n3 = 30, the SQL statement would be:
SELECT SUM(n1) FROM tblNumbers WHERE n3 = '30';

The above query would return 60 (10 + 50)

-----------------------------------------------------------------------------

Next na gagawin mo na lang e iSet yung text ng textbox mo dun sa iRereturn ng query mo. :beat:
Experiment na lang, adapt yung queries depende sa kailangan mo. :thumbsup:

Yung second approach kung saan ang computation ay sa client (sa items na laman ng listview) at hindi sa server, sa susunod ko na lang ipost. Baka merong ibang programmers dito na kabisado yun. :lol: Busy e, di pa ako makaExperiment.


Hapy coding! :salute:


Salamat po Sir Sa Pag intindi ng tanong ko haha.. Try ko po tong sinabi niyo gagawin ko po ngayon lang po kasi ulit nakapag net :)
THANKS. :salute:
 
may samples ba kayo ng inventory system?need ko lang po. hindi ko kasi alam yung flow nito. thanks
 
Salamat po Sir Sa Pag intindi ng tanong ko haha.. Try ko po tong sinabi niyo gagawin ko po ngayon lang po kasi ulit nakapag net :)
THANKS. :salute:

Welcome. Glad to help. :thumbsup:
Update na lang, post mo po dito kung ok na.

:salute:


Mga Master Programmer.. phelp naman po. VB6.0 + mysql. :D pa add po sa ym ([email protected]) ung mabait at pwede po mpag-tanungan. :D salamat po :excited:

Suggestion lang po, post niyo rin dito sa thread para pati yung ibang makakabasa matutulungan.

:salute:
 
VBMasters :)
Sir's

..Magtatanong po Ulit, About Sa MYSQL Database ang isang MYSQL database po ba ay kayang mag hold ng Millions of ROWS?. Halimbawa po nag add po ako, tapos Million of Rows na po, kaya pa po bang kargahin ng MYQSL Database po yun o hanggang Thousands lang po? Pwede po Pa Explain ^^


Salamat po :)
 
Back
Top Bottom