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!

@sir eric

galing mo talaga idol...

pero sir eric di po ba kayang mag raised to 500 ung val(text1.text) ^ 500


tinry ko 3 ^ 500 sagot 3. something hehe baka makuha ng format pede ba un?

actually pwede naman, ang ipinakita ko ay applicable di naman sa ibang situation,

yung lumabas sayo ay baka scientific format na, meron 3.2E100 siguro, i format mo lang yan

pero di ako gagamit ng VAL, gagamit ako ng mas specific na conversion like CINT

try mo kung ano mangyayari sa VAL("12.3")
 
@sir eric

salamat sa ebooks...kakadownload ko lang haha 27mb half hour ko dinowload

ang tagal try ko sir eric iupload kung kaya :)
 
@sir eric
tnry ko po ung 12.3 ^ 500 ahaha error po overflow


pati rin idol ung cint(text1.text) ^ 500 overflow daw po


pero kung ^2 or ^3 using val ok naman po sagot hehe :)
 
@sir eric
tnry ko po ung 12.3 ^ 500 ahaha error po overflow


pati rin idol ung cint(text1.text) ^ 500 overflow daw po


pero kung ^2 or ^3 using val ok naman po sagot hehe :)

natural overflow, sobrang laki na nun, 500 na kaya yun.
tinitignan ko lang kung sino ang susubok

try mo pag LONG
 
@ sir eric : idol kailan ba ginagamit tong mga ito..

byte
integer
long
single
double
currency
decimal

:thanks: in advance sir..?
 
pede p help ako kc my ginagawa akong thesis.. para xang vnc in vb6my mga sample codes ba kau jan?
 
@ sir eric : idol kailan ba ginagamit tong mga ito..

byte
integer
long
single
double
currency
decimal

:thanks: in advance sir..?

dipende sa need mo, each data type has their own limit.

for example byte is 255 ata then int is 32768. search mo nlng sa google/msdn ung exact na maximum /minimum value nila.

kung ang nid mo na value ng isang variable eh 1000 ano gagamitin mo byte or integer? diba medyo obvious na.

currency pera diba obvious din.
 
dipende sa need mo, each data type has their own limit.

for example byte is 255 ata then int is 32768. search mo nlng sa google/msdn ung exact na maximum /minimum value nila.

kung ang nid mo na value ng isang variable eh 1000 ano gagamitin mo byte or integer? diba medyo obvious na.

currency pera diba obvious din.

:thanks: sir nlilito lang kc ako minsan..

boss ask ulit pano ba icode e2..
magiinput user ng 0ras tapos mag +2hours..?
d ko kc makuha
gamit ko po Visual Studio 2008
:thanks; in advance sir
 
@Sir Eric

sir tanong ko lang kng USB ba ung Barcode Scanner or Reader kailangan ng code to interface sa barcode reader?

gamit ko kc ngaun ung naka ps2 lang sya ndi na kailangan mag.code para magamit ung barcode reader...
 
@ sir eric : idol kailan ba ginagamit tong mga ito..

byte
integer
long
single
double
currency
decimal

:thanks: in advance sir..?

kung up to now di mo pa kabisado yan mahihirapan ka mag program

kailan ba gagamitin?

magcocompute ka ba ng 2 values? hwag ka gumamit ng date or stringnatural gumamit ka ng integer, currency or single or double.
mag compute ka ba ng date? natural gumamit ka ng date data type.
papunta ka ba ng america? natural sasakay ka ng eroplano, baka pedicab naman ang gamitin mo.
magtitimla ka ba ng kape? hwag mo ilagay sa mangkok, sa tasa mo ilagay.
kulang pa ba example ko?

kung alam mo ang datatype, alam mo kung saan at kelan gagamitin.

check this page
http://visualbasic.freetutes.com/learn-vb6/lesson2.html
 
:thanks: sir nlilito lang kc ako minsan..

boss ask ulit pano ba icode e2..
magiinput user ng 0ras tapos mag +2hours..?
d ko kc makuha
gamit ko po Visual Studio 2008
:thanks; in advance sir

DateAndTime.DateAdd
 
@Sir Eric

sir tanong ko lang kng USB ba ung Barcode Scanner or Reader kailangan ng code to interface sa barcode reader?

gamit ko kc ngaun ung naka ps2 lang sya ndi na kailangan mag.code para magamit ung barcode reader...

kung PS2 ang interface nyan, malamang keyboard wedge yan
wala ka na kelangan i program,
IT ACTS LIKE A KEYBOARD

perosnally mas gusto ko yung serial or USB, kasi ang Kyeboardwedge wala ka control, saka dapat naka focus sa textbox yung cursor para makita mo yung na scan.

pwede mo i try sa notepad yan, basta nasa notepad ang focus gagana yan,
 
Last edited:
@Sir Eric

ung gamit ko po ngaun na barcode reader po ung Zebex na ps2... kaso papalitan raw e2 ng USB...

ang tanong ko po... ung USB barcode scanner kailangan pa ba ng Code un para gumana sa VB6 program ko?
 
@Sir Eric

ung gamit ko po ngaun na barcode reader po ung Zebex na ps2... kaso papalitan raw e2 ng USB...

ang tanong ko po... ung USB barcode scanner kailangan pa ba ng Code un para gumana sa VB6 program ko?

itanong mo kung keyboard wedge ang interface
 
pde mag request any sample programs using VB 6
somelike simple student information lang po,
tapos kung pde ung pde ma DL sir ha , ty ^_^
 
kung up to now di mo pa kabisado yan mahihirapan ka mag program

kailan ba gagamitin?

magcocompute ka ba ng 2 values? hwag ka gumamit ng date or stringnatural gumamit ka ng integer, currency or single or double.
mag compute ka ba ng date? natural gumamit ka ng date data type.
papunta ka ba ng america? natural sasakay ka ng eroplano, baka pedicab naman ang gamitin mo.
magtitimla ka ba ng kape? hwag mo ilagay sa mangkok, sa tasa mo ilagay.
kulang pa ba example ko?

kung alam mo ang datatype, alam mo kung saan at kelan gagamitin.

check this page
http://visualbasic.freetutes.com/learn-vb6/lesson2.html

haha aus na sir napagaralan ko na hehe.. :thanks:

DateAndTime.DateAdd

:thanks: sir d ko kc mkapa ito... :lol:
 
haha aus na sir napagaralan ko na hehe.. :thanks:



:thanks: sir d ko kc mkapa ito... :lol:

anong ginagawa ng google?

http://msdn.microsoft.com/en-us/library/c0ccadae.aspx

Code:
Dim NextMonth As Date = DateAdd(DateInterval.Month, 1, #1/31/1995#)

Code:
Dim NextTime As Date = Now        ' Current date and time.
NextTime = NextTime.AddDays(3.4)  ' Increment by 3 2/5 days.

Code:
Dim Msg, Number, StartDate As String   'Declare variables.
Dim Months As Double
Dim SecondDate As Date
Dim IntervalType As DateInterval
IntervalType = DateInterval.Month   ' Specifies months as interval.
StartDate = InputBox("Enter a date")
SecondDate = CDate(StartDate)
Number = InputBox("Enter number of months to add")
Months = Val(Number)
Msg = "New date: " & DateAdd(IntervalType, Months, SecondDate)
MsgBox(Msg)
 
anong ginagawa ng google?

http://msdn.microsoft.com/en-us/library/c0ccadae.aspx

Code:
Dim NextMonth As Date = DateAdd(DateInterval.Month, 1, #1/31/1995#)

Code:
Dim NextTime As Date = Now        ' Current date and time.
NextTime = NextTime.AddDays(3.4)  ' Increment by 3 2/5 days.

Code:
Dim Msg, Number, StartDate As String   'Declare variables.
Dim Months As Double
Dim SecondDate As Date
Dim IntervalType As DateInterval
IntervalType = DateInterval.Month   ' Specifies months as interval.
StartDate = InputBox("Enter a date")
SecondDate = CDate(StartDate)
Number = InputBox("Enter number of months to add")
Months = Val(Number)
Msg = "New date: " & DateAdd(IntervalType, Months, SecondDate)
MsgBox(Msg)

:thanks: dito sir hehe..
nkita ko rin e2 eh haha...
ngawa ko na poh..:lol:
 
Back
Top Bottom