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!

pahelp namam mga kaSB sa phonebook simple edit delete search nalang ang di ko nagagawa. ADODC sana gagamitin wag ADODB... salamat sa tutulong ito screenshot ng design... nagawa ko na yung add at clear yung edit, search at delete nlng.. ADODC po sana. SALAMAT

Code:
Dim sql
With Adodc1.Recordset
sql = "select * from TABLE where FIELD_NAME = '" & Text1.Text & "'"
Adodc1.RecordSource = sql
Adodc1.Refresh
End With
:thumbsup:
 
:help: naman po..first time ko sa VB... program para sa scheduler ng classrooms wit corresponding time for the whole day... or kahit tutorials :D salamat po :)
 
basic lang po :unsure:

what is basic para sayo?
kasi magkakaiba tayo ng definition ng basic

i lista mo dito kung ano na ang alam mong concepts
kung ano na ang alam mo gawin at iba pa
make it detailed

kaya ko tinatanong ay dahil para alam natin kung saan tayo mag uumpisa at kung anong klaseng code ang ibibigay na sample para sayo

please be detailed in your list,
 
sir..ang alam ko po ehcontrols and manipulations..mathematical operations...if, then else controls...

***
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim num1, num2, sum As Single
num1 = 100
num2 = 200
sum = num1 + num2
MsgBox(" The Sum of " & num1 & " and " & num2 & " is " & sum)

End Sub



If condition Then

expression

End If


If condition Then

expression

Else

expression

End If


If condition Then

expression

ElseIf condition Then

expression

ElseIf condition Then

expression





Else

expression

End If

***
 
sir..ang alam ko po ehcontrols and manipulations..mathematical operations...if, then else controls...

***
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim num1, num2, sum As Single
num1 = 100
num2 = 200
sum = num1 + num2
MsgBox(" The Sum of " & num1 & " and " & num2 & " is " & sum)

End Sub



If condition Then

expression

End If


If condition Then

expression

Else

expression

End If


If condition Then

expression

ElseIf condition Then

expression

ElseIf condition Then

expression





Else

expression

End If

***

You will need more than taht para magawa mo ang project mo

first you will need to master your IDE(GUI ng vb6 mismo, kung saan ka nag code)
study yung mga commands, how to compile, how to debug, how to set breakpoints

this site has most of the things you need to know
www.vb6.us/

tapos you will need to learn how vb6 communicates to a databse (MSAccess) using ADO (ActiveX Data Objects)
yung Connection, Command, Recordset objects ng ADO
how to read, insert and update data into your database

with that dapat alam mo rin kung papano gamitin ang MSAccess, how to add tables, edit tables, create primary keys, index and relationships
also how to create querries in access

for that check out these sites

http://www.profsr.com/vb/vbintro.htm
http://www.timesheetsmts.com/adotutorial.htm
http://www.vb6.us/tutorials/database-access-ado-vb6-tutorial
http://planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=12050&lngWId=1
http://www.vbforums.com/showthread.php?threadid=153935


habang inaaral mo yan (Assuming masipag ka magbasa ang mag test ng code samples)
try creating the GUI of your project
just assemble the forms para makita mo kung ano ang magiging itsura ng project mo

sabi mo scheduler, so ano ano ang dapat makita sa isang schedulre program?

gawin mo yung forms nya, wala muna codes

saka mo na lagyan ng code pag marunong ka na sa ADO

pag ok ka na sa ADO check out my sample here
http://symbianize.com/showthread.php?t=163979

hwag ka magmadali matuto, take it one step at a time, read as much as you can
then try out the codes na makita mo about each topic na relevant sayo

use google to search for things or words you are not familiar with, ask questions sa form kung naguguluhan ka pa
 
Last edited:
:salute: yes sir..maraming salamat po..masipag naman po ako magbasa :) may nabasa po akong tutorial kanina about vb, naintindihan ko naman po :) :hat:
 
dami po sa google bossing, try mo minsan mag search
eto isa lang sa mga nakita ko, try mo nalang ilagay sa code mo.

http://www.dreamincode.net/forums/topic/39992-fading-effect-of-form/
http://allapi.mentalis.org/apilist/F93035EA44358524F2E35155881EBB02.html

di ko ginagamit ang mga ganyan na effects
it doesnt make your system better because of that
i better concentrate on the features of my program than waste time coding just for a SHOW.

i hope maintindihan mo yung mga API na ginamit

napansin mo ba ang MSWord 2007?
or any microsoft applications

wala silang fade in or fade out splash screens
Thank you po sir! More power
 
sir eric andito na nman po ako. sir alam nyo po nakapag research na rin ako ng codes sa mga hinahanap ko pero kasi wala akong formal training sa codes di ko alam kung anu ang gawa ng mga CHR(), INT() sa encrypt at decrypt function.

sir gusto ko sana humingi sayo ng tut sa encrypt at decrypt with matching comments at explanation sa code kung ok lang po.

para lang po na mas maintindihan ko ang gawa at takbo ng code.
 
Last edited:
sir may other question ako:

ShellAndWait "cmd /c mysqldump.exe -u" & txtUser & " -p" & txtPassword & " -h" & txtServer & " " & txtSchema & " > " & sfile

above po ay code ko sa back database ng mysql database... I learned it sa google. gusto ko po sana malaman kung papaano po gagawin kung may criteria po ako kung anung files ang ang iba-backup ko

at

ShellAndWait "cmd /c mysql.exe -u" & txtUser & " -p" & txtPassword & " -h" & txtServer & " " & txtSchema & " < " & sfile

above nman ang restore. gusto ko rin makuha kung papaano i-rerestore lang ang part ng database na i-rerestore base sa criteria.
 
sir may other question ako:

ShellAndWait "cmd /c mysqldump.exe -u" & txtUser & " -p" & txtPassword & " -h" & txtServer & " " & txtSchema & " > " & sfile

above po ay code ko sa back database ng mysql database... I learned it sa google. gusto ko po sana malaman kung papaano po gagawin kung may criteria po ako kung anung files ang ang iba-backup ko

at

ShellAndWait "cmd /c mysql.exe -u" & txtUser & " -p" & txtPassword & " -h" & txtServer & " " & txtSchema & " < " & sfile

above nman ang restore. gusto ko rin makuha kung papaano i-rerestore lang ang part ng database na i-rerestore base sa criteria.

anong files?
buong database ang usapan dyan, walang hati hati ng backup

kung gusto mo specific table lang, i script mo yung table
 
regarding sa specific table, nakuha ko na rin po yan sir, I was thinking like, sa table employees wherein I have 200 employees at gusto ko lang i backup ang employees from 101 to 200 hindi ba pwede yun sir?

sir wait ko ang encrypt at decrypt explanation sir ha....thanks.
 
regarding sa specific table, nakuha ko na rin po yan sir, I was thinking like, sa table employees wherein I have 200 employees at gusto ko lang i backup ang employees from 101 to 200 hindi ba pwede yun sir?

sir wait ko ang encrypt at decrypt explanation sir ha....thanks.

hindi yan pwede sa backup, kung gusto mo gumamit ka nung mga tools ng mySQl para i SCRIPT yung tables na gusto mo
gagawa yan ng script file na pwde ka mag select ng records na gusto mo, tapos pwede mo i restorr sa ibang database.

anong explanation ng encrypt /decrypt ang hinahanap mo?
 
sir eric andito na nman po ako. sir alam nyo po nakapag research na rin ako ng codes sa mga hinahanap ko pero kasi wala akong formal training sa codes di ko alam kung anu ang gawa ng mga CHR(), INT() sa encrypt at decrypt function.

sir gusto ko sana humingi sayo ng tut sa encrypt at decrypt with matching comments at explanation sa code kung ok lang po.

para lang po na mas maintindihan ko ang gawa at takbo ng code.

ahh eto pala, di ko napansin....
ang CHR is conversion lang ng isang LONG value int its equivalent ASCII characters

i review mo ang ASCII codes mo, isa yan sa mga basic na dapat malaman ng isang programmer

for example CHR(65) = letter A
ASCII("A") = 65 in integer

ginagamit yan sa mga pambatang encrytion kung saan gusto mo i substitute ang letters into numeric

for example sa encryption kung saan mag add ka ng 7 sa value

ASCII("A") = 65, then add 7
so 72 sya
ang CHR(72) ay letter H
mangyayari ang letter A mo ay magiging letter H

tapos minus 7 naman sa decrypt

as i said pang simple substitution encryption lang yan

INT will return integer portin ng isan value
INT(6.5) = 6

yung sample ko sa VB6/Access merong encryption yun, simple substitution lang dinpero may password
kunin mo yung function at aralin mo

kung gusto mo ng mga totoong encryption, study other encryption algorithm like
AES
DES
3DES
Rijndael/RSA
Blowfish
at marami pang iba
 
kung pag-aaralan ko ang AES at iba pa, di ba same code lang ang ginagamit ng ibang programmers..

gusto ko kasi gumawa ako ng sarili ko na encryption at decryption code na unique sir.

sir how about sa isa ko pa na question din post number 4156... wait po ako sir. salamat.
 
kung pag-aaralan ko ang AES at iba pa, di ba same code lang ang ginagamit ng ibang programmers..

gusto ko kasi gumawa ako ng sarili ko na encryption at decryption code na unique sir.

sir how about sa isa ko pa na question din post number 4156... wait po ako sir. salamat.
 
kung pag-aaralan ko ang AES at iba pa, di ba same code lang ang ginagamit ng ibang programmers..

gusto ko kasi gumawa ako ng sarili ko na encryption at decryption code na unique sir.

sir how about sa isa ko pa na question din post number 4156... wait po ako sir. salamat.

kung part nga ng databse ang i restore mo dapat gumamit ka ng sql scripts para dun, take a look sa ginagamit mong mysqlTools, meron yan.

sa regular bakcup/restore buong databse ang binabackup/restore, not part of it



regarding sa encryption, ok lang kung plan mo gumawa ng sinasabi mong unique encryption, pero im telling you more than a million type of encryption are out there.

kaya nga pinapa aral ko sayo yung mga popular na encryption algo para makakuha ka ng idea kung papano ang logic nila.

it all starts sa logic ng enryption, perhaps meron kang ibang idea na di pa naiisip ng mga nauna sa atin
 
Back
Top Bottom