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!

VB.NET Programming Corner!

Help ? kapag po nag = 1 yung minutes_label.text ko, mag + 5 yung label7.text, kaso ang nangyayari, kapag nka equal na sa 1 yung minutes_label.text ko, tuloy pa din yung dagdag ng label7 ng 5.

http://i59.tinypic.com/34yy8lx.png
http://i59.tinypic.com/4qhwy.png

cafe timer yung program diba? compute the amount base on the time, if you wanna calculate it via minutes, gumawa ka ng variable na mag hohold ng running total, add the price on each minute na mag tick then display it, do not compute directly sa label.

ex.
dim running_price as double
dim start_time as datetime
dim time_consumed as datetime

time_consumed = now() - start_time

' do your calculations here base on the time na na consume
' like

running_price = time_consumed * price_per_minute ' considering na ang time consumed is converted into minutes

label7.text = running_price

**NOTE: code is untested, im just giving you the logic on how you do it...

- - - Updated - - -

Hello po sir Eric,

I need a suggestion from an expert like you,

Pa help naman in terms sa database, I'm developing patient information management system using vb.net

There are 2 kind of patient like Inpatient(For patient admitting) and Outpatient (for checkup only), so I decide to make 2 tables.

Balak ko po sanang gawing isa pero i'm not sure if tama ba ang gagawin ko, below are my sample databases.

Nalilito kasi ako kasi ang inpatient type sa table ko is merong attribute na admissionID but sa outpatient is wala, okay lang ba imerge as 1 table nalang?

INPATIENT PAYMENT DATABASE

http://i.imgur.com/0Sb8TAB.png

OUTPATIENT PAYMENT DATABASE
http://i.imgur.com/gHit4WJ.png

make a table for patients, make a table for transactions, make a table for transaction_types, and a table for transaction_details
 
View attachment 159264

hello po tanung ko lng panu po ba yung form1 hindi maaalis or matatabanun ni form2 kung iclick ko si form2, dapat exit muna si form1 para maclick si form2 :thanks: po
 

Attachments

  • button.jpg
    button.jpg
    70.1 KB · Views: 13
Medyo kulang pa sa Normalization ang table.
Well I suggest, isang table na lang para sa mga patients, lagyan mo na lang ng PatientType (In-Patient / Out-Patient).
Then, gawa ka pa ng isang table (tblAdmission), dun mo lang ilagay ang mga patients na nagpa-admit.
pwede lagyan ng fields na, AdmissionID (PK) PatientID (FK), AdmissionDate, RoomID, etc...

Sinagot ko lang muna yung tanong, as I've said, normalization is needed. :)

Yup actually meron akong table for patients(registration) with a patient type if inpatient or outpatient
then meron din akong table for admission, discharged and etc.

My problem is about the table payment for patients, kasi kung outpatient maliit lang ang scope, i mean for checkup only

Then sa inpatient is madami ang mga charges.

Baka kasi sa defend namin baka palpak kami sa ERD >.<

Any suggestion please :(
 
Yup actually meron akong table for patients(registration) with a patient type if inpatient or outpatient
then meron din akong table for admission, discharged and etc.

My problem is about the table payment for patients, kasi kung outpatient maliit lang ang scope, i mean for checkup only

Then sa inpatient is madami ang mga charges.

Baka kasi sa defend namin baka palpak kami sa ERD >.<

Any suggestion please :(

Include mo dito yung mga details or fields for check-up at para sa inpatient
 
Yup actually meron akong table for patients(registration) with a patient type if inpatient or outpatient
then meron din akong table for admission, discharged and etc.

My problem is about the table payment for patients, kasi kung outpatient maliit lang ang scope, i mean for checkup only

Then sa inpatient is madami ang mga charges.

Baka kasi sa defend namin baka palpak kami sa ERD >.<

Any suggestion please :(

bakit anong problem kung checkup lang sa outpatient? magdagdag ka lang naman ng ibang charges pag inpatient. amount lang naman ang dapat mo idagdag about sa room referenceID lang ng room ang kaylangan mo idagdag na field.

btw @sir eric happy birthday po
 
Sir, may question po ako. May mga changes kasi akong ginawa sa program ko pero when i ran it, yung mga binago ko, lumalabas pa din. For example, si listview dating may checkbox, inalis ko yung checkbox sa listview nung ni-run ko, nalabas pa rin sya. Pati yung mga tinanggal kong messagebox lumalabas pa din. Naiirita na ako di ko alam solution. :ranting:
 
Sir, may question po ako. May mga changes kasi akong ginawa sa program ko pero when i ran it, yung mga binago ko, lumalabas pa din. For example, si listview dating may checkbox, inalis ko yung checkbox sa listview nung ni-run ko, nalabas pa rin sya. Pati yung mga tinanggal kong messagebox lumalabas pa din. Naiirita na ako di ko alam solution. :ranting:

Okay na pala mga sir. Dinelete ko lang yung bin at obj folder sa project folder ko. :)
 
nice thread.. nkalimutan ko kasi account ko dito kaya matagal na ako di nakakapasok, nice thread maraming learnings dito.. salamat
by the way gusto ko sana gumawa ng isang icafe timer software na kaya magcontrol ng ibang pc ang nagagawa ko pa lng ay stand alone with vb6 and planning to recode sa 2008 express edition seems noob pa ako sa .net research and study mode lang po muna ako at ito nkapasok ulit ako..
sana matulungan ako ng ibang expert jan sa .net
 
mga sir patulong po sana para sa project namin...

anong code po ba ang kailangan na para kapag tumama yung "red ball" sa mga wall babalik sya sa starting line ??

Screenshot :
14l116g.jpg


ito palang po yung code na gamit ko >> http://oi58.tinypic.com/wvwoqf.jpg

sana matulungan nyo ko :salute:
 
@naglasnats gawa ka muna ng documentation. .o di kaya flowchart na lang. .dagdag trabaho pero worth it naman. . saka yun naman talga tamang procedure ng paggawa ng kahit anong program/system. .
 
View attachment 160074

hi guys. alam nyo ba kung bakit ganito nalabas sa IE-Developer tools ko? see image.

Ang nangyari kasi, inilagay ko sa IIS yung web design ko..
nung tinest ko na siya SABOG SABOG yung design... bakit kaya?
tapos chineck ko yung Developer tools, ganito nalabas ang panget.. bakit po kaya?

NOTE.
nung tinest ko yung website ko sa ibang browsers okay naman yung result nya pero sa IE10(Internet Explorer 10) browser, not working.. ang panget ng result..

HELP PLS...
 

Attachments

  • devtools.png
    devtools.png
    109.1 KB · Views: 20
@homolusk233 dapat meron ka default/const value location ng image mo... meron yan region at x y property... pang check mo kung tumama

- - - Updated - - -

View attachment 897750

hi guys. alam nyo ba kung bakit ganito nalabas sa IE-Developer tools ko? see image.

Ang nangyari kasi, inilagay ko sa IIS yung web design ko..
nung tinest ko na siya SABOG SABOG yung design... bakit kaya?
tapos chineck ko yung Developer tools, ganito nalabas ang panget.. bakit po kaya?

NOTE.
nung tinest ko yung website ko sa ibang browsers okay naman yung result nya pero sa IE10(Internet Explorer 10) browser, not working.. ang panget ng result..

HELP PLS...

May compatible issue kc sa IE.. check mo site... May X un IE ibigsabhin d gagana un html tag...
http://www.w3schools.com/html/html5_form_input_types.asp
 
Last edited:
Back
Top Bottom