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!

Help naman po..ang naituturo p lng po kasi samin ung basic pa lang n mga codes,tap0s may pinapagawa na po n assignment about sa converting of numbers to any base(2,8,10,16)..eh la naman po ako idea kung anong code gagamitin ko..baka po may nakakaalam sa inyo..pwede daw po kmi gumamit ng kahit an0ng code kahit d p nya naituturo...

Thanks

Subukan mo muna i compute manually sa papel, pag nagawa mo yan madali mo na maiintidihan ang code na to

http://www.devx.com/vb2themax/Tip/19316
 
thanks po sir eric..

..at least my idea n aq kung anong codes ggmitin q...
 
pa help po..ask ko lng poh kung panu poh ba ggwin ung codes s VB 6 pra sa SMS?

Ano modem gamit mo? kung via cellphone yan di kita matutulungan dahil di ko ginagamit yan.

In case GSM Modem yan, you need to learn how to use AT commands, yan ang protocol sa modem or telephony.

Then sa VB6 learn how to use MSComm na OCX, nsa vb6 yan.
see attached file

then try these links and codes, basic lang but if you are a good programmer you can learn a lot from these.

http://www.scampers.org/steve/sms/samples/SendSMS_AT_VB6_20041025.zip

http://www.ontrak.net/visual.htm

http://www.xtremevbtalk.com/showthread.php?t=80958

http://www.smssolutions.net/tutorials/gsm/sendsmsat/

http://www.cellular.co.za/sms_at_commands.htm
 

Attachments

  • MScomm.rar
    10.2 KB · Views: 7
Last edited:
Masters pahelp naman po.Bale ung isang form,xa ung mag iinput ng no. Of rows and columns, tapos dun s isang form naman yung magdidisplay ng datagrid na merong rows and column na equivalent sa ininput sa unang form,penge naman po ng tut tsaka sample program,thanks
 
guys sino marunong gumamit dito ng windows media player component. pano makukuha yung time ng video na ipaplay sa player?
 

another question masters..
di ko rin ma search eh..

meron bang paraan para ma select ko lahat ng fonts or lahat ng text
ng isang form?..

halimabwa..
sa Form1 meron labels,buttons ect.
tapos papalitan ko lahat ng font properties ng sabay sabay..

parang ganito oh.

Form1(all-fonts).FontBold= True

 

another question masters..
di ko rin ma search eh..

meron bang paraan para ma select ko lahat ng fonts or lahat ng text
ng isang form?..

halimabwa..
sa Form1 meron labels,buttons ect.
tapos papalitan ko lahat ng font properties ng sabay sabay..

parang ganito oh.

Form1(all-fonts).FontBold= True


teka, bakit mo naman gagawin yan?
di ko magets ang purpose, pero eto

use the controls collection para ma access mo yung fonts ng controls

Code:
Dim ctl As Control

    For Each ctl In Me.Controls

        If TypeOf ctl Is Label Then
            ctl.Font = "Arial"
            ctl.Font.Bold = True
        End If

        If TypeOf ctl Is CommandButton Then
            ctl.Font = "Arial"
        End If

        'and so on.....
    Next

identified yung controls kung label or textbox, etc kasi malamang mag error pag may ibang control na walang ganyan na property.
 
Masters pahelp naman po.Bale ung isang form,xa ung mag iinput ng no. Of rows and columns, tapos dun s isang form naman yung magdidisplay ng datagrid na merong rows and column na equivalent sa ininput sa unang form,penge naman po ng tut tsaka sample program,thanks

Datagrid yan diba? you can not manually set the rows and columns nyan dahil galing sa bound database ang laman nyan, unless sa database mo i control yan.
Datagrid shows the content of the table in a database, so you can not manipulate it outside of that.

Flex grid ang gamitin mo kung gusto mo i manipulate ang rows and columns.
 
teka, bakit mo naman gagawin yan?
di ko magets ang purpose, pero eto

use the controls collection para ma access mo yung fonts ng controls

Code:
Dim ctl As Control

    For Each ctl In Me.Controls

        If TypeOf ctl Is Label Then
            ctl.Font = "Arial"
            ctl.Font.Bold = True
        End If

        If TypeOf ctl Is CommandButton Then
            ctl.Font = "Arial"
        End If

        'and so on.....
    Next

identified yung controls kung label or textbox, etc kasi malamang mag error pag may ibang control na walang ganyan na property.


thanks master eric! :salute:

meron kasi kami baby thesis..
yung gagawin kong software gusto ko
meron din sya font changer..

newbie palang ako sa VB sana matulungan nyo ako gang matapos
ko yung project! . :lol:


:thanks:
 
Ano modem gamit mo? kung via cellphone yan di kita matutulungan dahil di ko ginagamit yan.

In case GSM Modem yan, you need to learn how to use AT commands, yan ang protocol sa modem or telephony.

Then sa VB6 learn how to use MSComm na OCX, nsa vb6 yan.
see attached file

then try these links and codes, basic lang but if you are a good programmer you can learn a lot from these.

http://www.scampers.org/steve/sms/samples/SendSMS_AT_VB6_20041025.zip

http://www.ontrak.net/visual.htm

http://www.xtremevbtalk.com/showthread.php?t=80958

http://www.smssolutions.net/tutorials/gsm/sendsmsat/

http://www.cellular.co.za/sms_at_commands.htm


cellphone nga poh ang gamit ko hehehe..un poh kasi ung requirement samin..but i think this could help me nmn para mg ka idea sa ggwin ko ..thank u poh.pero kung may alam po kaung tutorial regarding SMS with the use of CP..baka poh pede ko po mlman..thanks a lot
 
cellphone nga poh ang gamit ko hehehe..un poh kasi ung requirement samin..but i think this could help me nmn para mg ka idea sa ggwin ko ..thank u poh.pero kung may alam po kaung tutorial regarding SMS with the use of CP..baka poh pede ko po mlman..thanks a lot

Just make sure makapag send ka ng AT commands papunta sa cellphone, yung Nokia kasi ginagamit nya yung port ng modem kaya di magamit ng VB6, try mo lang using Hyperterminal kung maka connect ka sa cellphone.

Suggest ko yung Broadband modem na USB nalang, mas simple.
Im sure marami sa inyo meron nun.
 
May database nga poh sya, may adodc, bale s datagrid lang xa magdedisplay para maedit ung laman ng database, halimbawa ung s unang form ay 3 rows and 3 colums ung nkainput, 3 rows and column din lang ung la2bas sa datagrid s another form,tapoz pwedeng isave,delete yung laman s db,
 
Sir eric tanong lang po ako about sa vb6.

ganito po ang situation

meron po akong fields sa database na ang mga names po ay:

Day1 up to Day8
Time1 up to Time8
Subject1 up to Subject8
Room1 up to Room8

bale sila po ay mga schedules ng mga prof.

kasi po maximun 8 scheds meron ang mga prof.

ngayon po gumamit po ako ng listview para makita sila galing sa database

nag set po ako ng query na for example pinili kong makita ang schedules ng room na ito (click ko ang command button)>ASB1 na ieequal ko naman ang name nya sa isang textbox para makapagsearch ako sa next form.

Ang makikita ko lang po ay ang lahat ng schedules meron ang room na ito..

nagawa ko na po sya base sa query ko..(na kapag pinili nya ang ASB1 mag hahanap sa database sa Room1 up to Room8 at
ibabato as datagrid)

bali and ginawa ko po dito ay where Room1 up to Room8 like (yung textbox ko)

ok po say nag search nga po ng lahat ng merong katulad na (ASB1) sa scheds ng mga prof.

pano ko po ito gagawin??

Example sir.

Database Fields po ito.
==============================================
=Day1 Day2 Day3 Subjt1 Subj2 Subj3 Room1 Room2 Room3
=
= M W Th math Eng PE ASB1 ASB2 ASB1 =
= W FRi M Eng Math PE ASB2 ASB1 ASB3 =
========================================================================


(click ko na po ang command button)>ASB1

equal ko po ang textboxt sa ASb1 tapos search na po sa room1 up to room8 kung meron silang laman na ASB1

tapos meron sya nakita sa Room1 at Room3.

ngayon po pano ko po gagawing na yung Day1,Day3 And Subject1,Subject3 lang po yung mag aapear sa datagrid??

ahh tanong lang po tama po ba yung ginagawa ko??? hhuhuhu yan lang kaya po ng utak ko eh :upset:

:idea:

gumamit din po ako ng datagrid.colums("Fields").visible =false pag di nya ka equal yung room name.

pa help naman po.. hirap kasi..hehehe
 
Last edited:
program namn poh para sa pag read ng barcode reade taz may data base to determine the time in and time out of student
 
Good afternoon.

I've search na s google pero mali lang siguro ako ng keyword

possible ba na 2 rows ang pngcompare sa textbox?
cmd.CommandText = "SELECT * from employee where EmpCode,PosCode = '" & txtEmpCode.Text & "'"

salamat po. ^^
 
Good afternoon.

I've search na s google pero mali lang siguro ako ng keyword

possible ba na 2 rows ang pngcompare sa textbox?
cmd.CommandText = "SELECT * from employee where EmpCode,PosCode = '" & txtEmpCode.Text & "'"

salamat po. ^^

try this one.

"Select * from employee where EmpCode ='" & txtEmpCode.Text & "' And PosCode='" & txtPosCode.Text & "'"
 
try this one.

"Select * from employee where EmpCode ='" & txtEmpCode.Text & "' And PosCode='" & txtPosCode.Text & "'"

thanks for the reply.

what i mean in the statement is yung empcode at poscode nsa txtempcode.text lng. so meaning isang string lng sila compared with two diff rows. possble b un?
 
thanks for the reply.

what i mean in the statement is yung empcode at poscode nsa txtempcode.text lng. so meaning isang string lng sila compared with two diff rows. possble b un?

not sure... gawin mo na lang kayang ganito...

"Select * from employee where EmpCode ='" & txtEmpCode.Text & "' And PosCode='" & txtEmpCode.Text & "'"

hehehehe... baka gumana...
 
Good afternoon.

I've search na s google pero mali lang siguro ako ng keyword

possible ba na 2 rows ang pngcompare sa textbox?
cmd.CommandText = "SELECT * from employee where EmpCode,PosCode = '" & txtEmpCode.Text & "'"

salamat po. ^^

are u saying na your using a single text box to search for the data contained in separate fields?
 
Back
Top Bottom