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!

All about programming (Specially c, c++, VB, Java)

Hi! Pwede po magpaturo how to do a timekeeping system?kahit yung basic lang po.badly need it for my defense. Thanks! :))
(sorry newbie)
 
hi po papano po ba gumawa ng log history. im using vb6.0 at access sa pagsasave ng data. may code na po ako ng login log out. pero po kapag lahat ng user nakalog in na at logout, kapag nag log in ka ulit ung time lang po ng log in ang nsasave. pls help. eto po ung code ko.


form1 (for log in)


Option Explicit
Dim user As String

Public LoginSucceeded As Boolean

Private Sub cmdLogin_Click()
If txtuname.Text = "" Or txtpword.Text = "" Then
MsgBox "Some fields are still empty!", vbCritical, vbOKOnly
Exit Sub
Else
tbl.Open "select * from account where [uname] = '" & txtuname.Text & "' and [pword] = '" & txtpword.Text & "'", db, , adLockReadOnly
If tbl.EOF = True Then
MsgBox "Login Failed!", vbCritical, "LOGIN"
txtuname.Text = ""
txtpword.Text = ""
Else
user = txtuname
Set rs = New ADODB.Recordset
rs.Open "select * from LogHis", db, , 3
With rs
.AddNew
.Fields("uname") = user
.Fields("timein") = Time
.Update
End With
Set rs = Nothing
Me.Hide
main.Show
End If
End If
Set tbl = Nothing

End Sub

FOR LOG OUT NAMAN PO:



Private Sub cmdlogout_Click()
user = login.txtuname.Text
If MsgBox("Do you want to logout your account?", vbQuestion + vbYesNo, "Exit") = vbYes Then
rs.Open "select * from LogHis where uname = '" & user & "'", db, , 3
If rs.EOF = False Then
With rs
.Fields("timeout") = Time
.Update
End With
End If
Set rs = Nothing
login.Show
Unload Me
login.txtuname.Text = ""
login.txtpword.Text = ""
End If
END SUB
 
phelp nmn po sa program nito do while..

output.
Enter the number of steps:5(+10
The current step is:6

Enter the number of steps:8
The current step is:14(+the current step)

Enter the number of steps:10
The current step is:24(+the current step);):beat::praise:
 
galing mo naman sa java.. kung saan mejo mahina ako .dami kasing codes ee tapos ang ikli lang ng output.. pero ung c programming ok naman.. hmmpp.. may alam kabang website na may completong codes ng java ?? T.Y




System.exit(0);
:pray:
 
VB 6.0, henge naman ako tulong ohh.. share niu nman...may problema ako sa DB ko, meron akong gnawang monitoring system ng Bayad ng studyante sa internet fee, may field ako duon na "BALANCE" panu ko po ba ma calculate ung balance ng lahat ng students na may balance within a semester? kunwari 2015 first semester dapat pag calculate lahat ng BALANCE ma total display sa isang textbox.. Pashare nman ng code..PM niu lang po ako ..or pwdi din dito...may award po makakabigay ng COde..salamat..
 
source code nga po ng java insertion sorting , selection sorting at merge sorting .. patulong po for my Project ... PLEASE ..
 
Every student my field na balance?
Then to compute the total balance, you can perform a query SELECT BALANCE FROM (student relation) where semester=(semester you want to total).
Correct me if I misunderstood po. :thumbsup:
 
Hi! Pwede po magpaturo how to do a timekeeping system?kahit yung basic lang po.badly need it for my defense. Thanks! :))
(sorry newbie)

Timekeeping System - kelangan simple lang ang approach mo dito para hindi ka rin mahirapan , ang need mo lang naman is to determine yung purpose /goal bakit gusto mong gumawa nito , basically what this system does is to "record time in/out" of employees and compute necessary data for accounting purposes and payroll

Basic is like these :

1. Create ka ng TABLES , employee table , time table , schedule table, breaktime table, overtime table (i populate mo na lang yung fields na needed ng mga related tables)

2. Transaction Table mo is TIME TABLE , doon mo irecord yung in/out ng employee, and from there madadagdagan yung fields to compute for regular hours, overtime , undertime hours , absent flag , mas maganda kung ilalagay mo rin dito yung schedule code niya based sa schedule master to ensure na tama yung schedule niya (day shift ba or night shift) , and from there dun mag base ang computations mo which include night shift pay

3. decide mo kung anong klaseng "data entry" approach ang gagamitin mo sa system , either MANUAL INPUT ba ng HR STAFF , or BARCODE/BIOMETRIC input. Pinakamadali ang barcode since mag print ka lang ng barcode ng employee number , double purpose na rin dahil yung barcode na i print mo , puwede na rin nilang maging COMPANY ID


I'll assume na CS/IT student ka , and based from the information above pupuwede ka nang mag generate ng necessary documents for your defense and puwede mo rin umpisahan sa code, but i suggest i FINALIZE mo yung tables na gagamitin mo , dahil If I were the defense panelist hindi ko titingnan kung gano kaganda ang design mo sa screen/ UI , ang pagbabasehan ko dito yung DATA STRUCTURES mo which will make or break your defense , kaya dapat pag isipan ng mabuti and well documented (FLOWCHART , ERD , etc.)
 
Every student my field na balance?
Then to compute the total balance, you can perform a query SELECT BALANCE FROM (student relation) where semester=(semester you want to total).
Correct me if I misunderstood po. :thumbsup:

sir napakagandang thread na ito...:clap::clap::clap:
sir gustong gusto ko po matuto mag program kahit c program po sir,baka may video TUT po kayo jan sir pahinge naman po sana,
binasa ko kasi ung ilang page dito at nakita ko ang mga sagot ninyo na madaling intindihin sir at parang ang galing galing mo mag program na
parang sisiw nalang sayo ang pag poprogram,
technician po kasi ako sir gusto ko pasukin ung world ng programming para din sa ikauunlad ko sir..
kahit ung basic at kung panu ko sila magagamit at kung panu sila gumagana sa pag po program,

anu anu po ibigsabihin niyan nasa baba sir,

Basics of C
Structure of a program
Variables and types
Constants
Operators
Basic Input/Output

Program structure
Control Structures
Functions
Overloads and templates
Name visibility

Compound data types
Arrays
Character sequences
Pointers
Dynamic Memory
Data structures
Other data types


sana po sir matulungan ninyo po ako...:):):):praise:
 
hello po sa lahat, gusto ko po sanang ma self study sa java but my problem is wala akong software ng java. Can please me where to get the software need in java programming. Thank you and God bless.
 
hello po sa lahat, gusto ko po sanang ma self study sa java but my problem is wala akong software ng java. Can please me where to get the software need in java programming. Thank you and God bless.

Merong nag post sa kabilang thread try mo i download doon
 
Paturo po pseudocodce and flow chart eto yung Problems:
1.Input any 3 digit no.x w/c is a multiple of 10 Determine the appropriate no. of bills that is equal to x.(500,200,100,50,20,10)
2.Input length in ft and inches Convert the length to meters adn centimeters Then display the result.
 
Pa Program nman po nang ex:
May Category tatlo Math,English,Physics and
a).Math
b)English
c)Physics

And pag pumili sila nang Subject may 10 na tanong about don sa Subject like if Choose Math, Related sa Math ang tanong basta 10 questions every subjects i Hope you can help me.thanks po.
 
Pa help naman po . Program po using Dev C++ , Program that will output a 8x8 chess board with possible 8 queens inside. and will indicate if the placement of the queens are valid or not. The queens must not place or meet diagonally , horizontally and vertically. I will add the link for details or idea .. salamat po. https://developers.google.com/optimization/puzzles/queens
 
mga masters patulong po sa java programming ..
pano po magtranslate ng integers to string (example po nag input po ako ng number halimbawa 120 pag inenter po ang lalabas ay ONE HUNDRED TWENTY)..
Java Swing po ang Topic namin ngayon . pls po patulong TIA
Thank you po ..
 
Mga masters may project po kami sa java programming (USING JAVA SWING)

ang machine problem po ay nag input ng number si user tapos i tratranslate ito sa world

EXAMPLE PO :

Nag input si user ng number ang ininput niya ay 110
Dapat po pag clinick yung botton na Translate ang magiging output po ay ONE HUNDRED TEN ..

ganyan po..

PA HELP PO PLSS

THANK YOU PO
 
Back
Top Bottom