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!

Anyone wanna teach me?
I got a simple background about VB6 ginamit ko na kasi sa paggawa ng trainer ng mga flash games yan eh
so anyone wanna teach me how to make some simple programs like calculators timers etc.
or just add me in YM so we understand each other more.
[email protected]
:rofl:
nice thread by the way.


i can heLp you abOut your prOblem On programs at calculatOr,...using JCreatOr ryt??
 
Sir exzi paano po gumawa ng login sa MDI form? Hindi ko po kasi alam kung paano palalabasin un MDI form at login ng sabay pero disabled po yung MDI form habang hindi pa naglalogin ng account

another question sir, may issue po ba ang MS Access at VB6 sa WinVista?? kasi po nalabas unrecognized database daw eh..

I have a sample here for Login for and MDI form, using form properties (property Get) to pass the result to the calling function.
From my experience mas ok if you use properties para isolated mga forms and classes mo, no need na maraming global or public variables. i have a complete sample for logins using classes and database, pero im sure you can do that na.

sa access, unrecognized database kasi siguro wala kang installation ng MDAC 2.6 or 2.7.

i hope this helps...

goodluck.....
 

Attachments

  • LogIn_MDI_Sample.rar
    2.6 KB · Views: 125
:wow: madame alam si sir ericgmejia..

keep sharing helping us bro.. :)


thanks for appreciating pre

di naman masyado madami, kagaya nyo rin ako nung naguumpisa, vb2 and vb3 pa nga nun e pero na inlove na ako sa vb ever since.

mahirap mag umpisa sa programming, wala pa internet nun at mapapagtanungan.

heheh tagal na nun, anyway ill try to contribute kung ano man makakaya ko, basta may oras ako, ill try to help,
sa mga newbies dyan, you can email me directly sa yahoo ko after posting dito para makita ko agad.

Ill try to teach you what i can but please do your part, read and try out and improve the samples.

Ill show you the way but only you can get there.

best of luck to all vb programmers, keep on coding, no matter what they say.
 
patulong naman sa video rental program sir..wala talaga akong idea pano icode yung naiisip kong gawin eh ol ka po ba sa ym?
 
thanks for appreciating pre

di naman masyado madami, kagaya nyo rin ako nung naguumpisa, vb2 and vb3 pa nga nun e pero na inlove na ako sa vb ever since.

mahirap mag umpisa sa programming, wala pa internet nun at mapapagtanungan.

heheh tagal na nun, anyway ill try to contribute kung ano man makakaya ko, basta may oras ako, ill try to help,
sa mga newbies dyan, you can email me directly sa yahoo ko after posting dito para makita ko agad.

Ill try to teach you what i can but please do your part, read and try out and improve the samples.

Ill show you the way but only you can get there.

best of luck to all vb programmers, keep on coding, no matter what they say.

:wow: may vb2 at vb3 pala nun..

sir ano job mo??
 
:wow: may vb2 at vb3 pala nun..

sir ano job mo??



hehehe, oo, kung may vb6 for sure may vb1 diba?

Sr. Software Engineer ako dito somewhere sa ayala ave.

di na ako masyadong nagsusulat ng code,
designing nalang then let others do the code,

so out of hobby nalang na binabalikan yung coding.
lalo sa vb classic

to all vb programmers out there,
pag tyagaan nyo sa umpisa, madami kayo mararating at maabot dahil lang sa vb6, dont stop learning.
 
magandang araw po....
meron po ba kayong program na soduko sa visual basic with application...
maraming salamat po..

sana pagbigyan niyo request ko...

:thanks:

check these sites, although walang complete source sa vb, (sa c# meron ako), this is a nice starting point to learn programming soduko

http://www.dreamincode.net/forums/showtopic77408.htm

http://www.constraintsolving.com/Solvers/SudokuSolver.html#vb

http://www.a1vbcode.com/app-4311.asp

http://www.topshareware.com/code-for-sudoku-using-visual-basic-6.0/downloads/1.htm

study them and design your own soduko or even your own puzzle game.

goodluck...
 
A little info sa mga vb6 programmers,

whenever you withdraw money from your ATM card dito sa atin (assuming meron kayo at may laman yung card, hehhe),
a vb6 program running somewhere is facilitating you transaction and making it possible na maka withdraw kayo ng pera sa atm.
it has been in use for more than 10 years now, di yan masyadong minomodify.
several banks are using it parin up to now, i know kasi product namin yun.
its called ATM Switch, and its a critical part of all online financial transactions.

just an info to keep your pride up as a budding vb programers
 
pwd poh b pheLp dto,??
s isang reviewer n pinapagawa ng prof nmin.??
^^
 
patulong naman sa video rental program sir..wala talaga akong idea pano icode yung naiisip kong gawin eh ol ka po ba sa ym?

hi shane;

i kwento mo dito yung idea mo para mapagtulungan natin;
then sa coding wala naman masyadong problema dun e.

to give you an idea eto ang plan ko kung ako ang gagawa

1. members uses magstripe, RFID or barcoded cards for identification
2. module to create and update your client files
3. module to create and update your merchandise, which is yung videos.
4. user/admin modules syempre
5. most important is yung transaction module, ito na yung gagamitin tuwing may magrerent.

sa rental naman:
1. read the member card, verify mo sa database kung good member, wala ba utang or di nasoli, etc.
2. scan yung hinihiram nyang videos, mark each as naka-out,
3. compute amount na babayaran
4. accept payment, bigay ang sukli, bawal ang kupit kasi computerized na.

sa pagsoli ng video;
1. scan ID
2. scan each video, mark as IN
3. compute kung may overdue or may babyaran pa.

basic lang yan, wala pa reports etc, it can be expanded pa depende sa business rules ng design mo.

dont be afraid sa coding, marami dito ang tutulong sayo.

ilagay mo sa flowchart yung steps then code from there. module by module.
pde mo rin gawan muna ng mockup na modules, yung drawing lang muna, then i link mo kung anong relationship ng mga modules sa bawat isa

database design is another matter, pero later na yun pag solid na ang design mo.

let me know yung idea mo para ma improve natin.

goodluck...
 
pwd poh b pheLp dto,??
s isang reviewer n pinapagawa ng prof nmin.??
^^

pre, of course we can help, kaya nga tayo nandito e

pero sana i kwento mo in detail kung ano yung pinapagawa so i can give my idea. as of now anong reviewer yan?
magagamit ba ang vb dyan? or pdeng xerox nalang, hehehe, joke lang (reviewer eh, diba?)

ilagay mo din kung anong plan or idea mo para sa project mo.

dont be afraid na icriticize yan, dyan lalong gumaganda ang system habang may review at comments ng peers mo.

goodluck...
 
pre, of course we can help, kaya nga tayo nandito e

pero sana i kwento mo in detail kung ano yung pinapagawa so i can give my idea. as of now anong reviewer yan?
magagamit ba ang vb dyan? or pdeng xerox nalang, hehehe, joke lang (reviewer eh, diba?)

ilagay mo din kung anong plan or idea mo para sa project mo.

dont be afraid na icriticize yan, dyan lalong gumaganda ang system habang may review at comments ng peers mo.

goodluck...

actually my screenies xa binigay.,, ngawa koh n ung form pero xempre un ung pinaka simple.,, im using visual studio .net 2003.,
im having problems in how to us the other variable s iba pang functions.,,
for example:
Code:
Private Sub rbnone_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles rbnone.CheckedChanged, rbstand.CheckedChanged, rb401a.CheckedChanged
        Dim checkedRadioButton As RadioButton = CType(sender, RadioButton)
        Dim sngret!
        Select Case checkedRadioButton.Name
            Case "rbnone"
                sngret = 0
            Case "rbstand"
                sngret = 0.05
            Case "rb401a"
                sngret = 0.08
        End Select

    End Sub

pno koh mggmit s ibang functions ung var n sngret.??

inattach koh n rin screenshots.,,
 

Attachments

  • sample.bmp
    858.5 KB · Views: 62
basic na basic lang po talaga ang need sa program and need ko na po ito bukas hehe sensya sobrang rush 5 projects sabay sabay eh..

eto po sana want ko sa program ko (no database po ha)

First form splash screen [ok na po yan nagawa ko na]

2nd Form Log-in [ok na rin..using txtPassword.text = txtPassword.tag lang ginamit ko kasi po basic lang talaga hehe]

3rd Form yan yung main ko consists of 3 command buttons: Foreign Movies, Local Movies and Exit

4th Form is the list of Foreign movies..Check boxes lang nilagay ko dun lahat ng movies tapos once you clicked a movie mag didisplay sa txt box yung short info about sa movie

5th Form is a list Local movies same thing sa Foreign movies

both form4 and form 5 may rent button and me textbox para madisplay kung ilang movie na ang selected


ang di ko alam gawin is pano ko madidisplay ung number of items selected..dapat iisa lang ung bilang.. example ang selected item sa foreign is 2 and sa local is 3 dapat 5 magdidisplay sa textbox kahit mag switchform pako continuous ung bilang unless iclick ung clear button which is included din sa both forms

pag click rin ng rent ko display lahat ng want niya irent including the info kung magkano total and kung wen niya dapat isoli yung dvds

upload ko po ba design ko para maliwanagan kayo? di nako matutulog matapos ko lang to hayz.. 2 subjects defense ko bukas need help talaga
 
actually my screenies xa binigay.,, ngawa koh n ung form pero xempre un ung pinaka simple.,, im using visual studio .net 2003.,
im having problems in how to us the other variable s iba pang functions.,,
for example:
Code:
Private Sub rbnone_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles rbnone.CheckedChanged, rbstand.CheckedChanged, rb401a.CheckedChanged
        Dim checkedRadioButton As RadioButton = CType(sender, RadioButton)
        Dim sngret!
        Select Case checkedRadioButton.Name
            Case "rbnone"
                sngret = 0
            Case "rbstand"
                sngret = 0.05
            Case "rb401a"
                sngret = 0.08
        End Select

    End Sub

pno koh mggmit s ibang functions ung var n sngret.??

inattach koh n rin screenshots.,,


madami approach dyan brod,
one is to use a form/ module level variable, meaning i declare mo yung variable "sngret" sa taas, outside of all functions and subs
Code:
Private sngret as Single
there, magagamit mo na sya sa boung form mo
declare your varibles properly, dont use $ or !, trust me, pag may trabaho ka na pasasalamatan mo ako.

second is ipasa mo yung variable as input parameter or return parameter ng isang function.
Code:
Private Function FXQ(value as single) as string
    dim sReturn as string
    ......
    .......
   return sReturn
end function
then i call mo sya as
Code:
Dim sngret!
        Select Case checkedRadioButton.Name
            Case "rbnone"
                sngret = 0
            Case "rbstand"
                sngret = 0.05
            Case "rb401a"
                sngret = 0.08
                s = FXQ (sngret )
        End Select

ulitmately, you can put that in a class along with other related variables. then declare as one single object.

by the way, your code doesnt show kung checked or not, CheckedChanged event yan, nag aasign ka na agad ng value no matter kung na check or not.
i dont know kung yan ang design mo, napansin ko lang.

try mo to;
Code:
Dim sngret!
        Select Case checkedRadioButton.Name
            Case "rbnone"
              [COLOR="Red"]  If checkedRadioButton.Checked = True Then
                    sngret = 0
                else
                    sngret = 10
                endif[/COLOR]
            Case "rbstand"
                sngret = 0.05
            Case "rb401a"
                sngret = 0.08
                s = FXQ (sngret )
        End Select
 
Last edited:
madami approach dyan brod,
one is to use a form/ module level variable, meaning i declare mo yung variable "sngret" sa taas, outside of all functions and subs
Code:
Private sngret as Single
there, magagamit mo na sya sa boung form mo
declare your varibles properly, dont use $ or !, trust me, pag may trabaho ka na pasasalamatan mo ako.

second is ipasa mo yung variable as input parameter or return parameter ng isang function.
Code:
Private Function FXQ(value as single) as string
    dim sReturn as string
    ......
    .......
   return sReturn
end function
then i call mo sya as
Code:
Dim sngret!
        Select Case checkedRadioButton.Name
            Case "rbnone"
                sngret = 0
            Case "rbstand"
                sngret = 0.05
            Case "rb401a"
                sngret = 0.08
                s = FXQ (sngret )
        End Select

ulitmately, you can put that in a class along with other related variables. then declare as one single object.

by the way, your code doesnt show kung checked or not, CheckedChanged event yan, nag aasign ka na agad ng value no matter kung na check or not.
i dont know kung yan ang design mo, napansin ko lang.

try mo to;
Code:
Dim sngret!
        Select Case checkedRadioButton.Name
            Case "rbnone"
              [COLOR="Red"]  If checkedRadioButton.Checked = True Then
                    sngret = 0
                else
                    sngret = 10
                endif[/COLOR]
            Case "rbstand"
                sngret = 0.05
            Case "rb401a"
                sngret = 0.08
                s = FXQ (sngret )
        End Select

attach koh n instructions bro ha.,,
mtutulungan m tlga ako.,, ^^
 

Attachments

  • reviewer.doc
    184.5 KB · Views: 23
basic na basic lang po talaga ang need sa program and need ko na po ito bukas hehe sensya sobrang rush 5 projects sabay sabay eh..

eto po sana want ko sa program ko (no database po ha)

First form splash screen [ok na po yan nagawa ko na]

2nd Form Log-in [ok na rin..using txtPassword.text = txtPassword.tag lang ginamit ko kasi po basic lang talaga hehe]

3rd Form yan yung main ko consists of 3 command buttons: Foreign Movies, Local Movies and Exit

4th Form is the list of Foreign movies..Check boxes lang nilagay ko dun lahat ng movies tapos once you clicked a movie mag didisplay sa txt box yung short info about sa movie

5th Form is a list Local movies same thing sa Foreign movies

both form4 and form 5 may rent button and me textbox para madisplay kung ilang movie na ang selected


ang di ko alam gawin is pano ko madidisplay ung number of items selected..dapat iisa lang ung bilang.. example ang selected item sa foreign is 2 and sa local is 3 dapat 5 magdidisplay sa textbox kahit mag switchform pako continuous ung bilang unless iclick ung clear button which is included din sa both forms

pag click rin ng rent ko display lahat ng want niya irent including the info kung magkano total and kung wen niya dapat isoli yung dvds

upload ko po ba design ko para maliwanagan kayo? di nako matutulog matapos ko lang to hayz.. 2 subjects defense ko bukas need help talaga

sorry shane21, ill be out na, catch me sa Ym ([email protected]) later tonight nalang mga 10:30pm,
i can guide you nalang habang nagdedebug ako sa bahay, same to the other guys who needs assistance.

sige lang habang di pa busy,
next month out of the country na naman.

goodluck...

ano ba feeling ng may thanks?
 
Last edited:
@eric,

kung ikaw ang gagawa ng Hospital Management System, ano at paano mo ito gagawin?? idea lang po.. may nagawa na kong draft, actually, i want to enhance it pa.. :thanks:
 
Back
Top Bottom