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!

VB.NET Programming Corner!

mga Sir, cno po may Idea gumawa ng subreport sa VB.NET w/ mysql DB?
pa sample nman po. :thanks: in Advance po.
 
Re: VB.NET Programming Corner! UPDATED!!!

Mga MASTERS:salute::salute:


^RSSI:14

^BOOT:20373527,0,0,0,89
AT

OK
AT+CMGF=1

OK
AT+CMGR="PCCP437"

ERROR
AT+CPMS="ME"

+CPMS: 0,23,22,35,22,35

OK
AT+CMGL="REC UNREAD"

OK


problem occured sa AT+CMGR eh for read message nmn ung CMGR eh bakit kea ganun? di ma read ung message??

and panu ko po kea magagawang ganayan??? ung lalabas lang sa listview ung mga text message then ma babasa ko ng maaus sa text box??
attachment.php


Code:
 Public Function ParseMessages(ByVal Input As String) As ShortMessageCollection
        Dim Messages As New ShortMessageCollection()
        Try
            Dim r As New Regex("\+CMGL: (\d+),""(.+)"",""(.+)"",(.*),""(.+)""\r\n(.+)\r\n")
            Dim m As Match = r.Match(Input)
            While m.Success
                Dim msg As New ShortMessage()
                'msg.Index = int.Parse(m.Groups[1].Value);
                msg.Index = m.Groups(1).Value
                msg.Status = m.Groups(2).Value
                msg.Sender = m.Groups(3).Value
                msg.Alphabet = m.Groups(4).Value
                msg.Sent = m.Groups(5).Value
                msg.Message = m.Groups(6).Value
                Messages.Add(msg)

                m = m.NextMatch()

            End While
        Catch ex As Exception
            MessageBox.Show(ex.Message)
        End Try
        Return Messages
    End Function


    Public Function ReadSMS(ByVal Port As SerialPort, ByVal Command As String)
        Dim Messages As ShortMessageCollection = Nothing
        Dim ReceivedData As String = ""

        ExecCommand(Port, "AT" & vbCr, "Unable to connect.")
        System.Threading.Thread.Sleep(200)
        ExecCommand(Port, "AT+CMGF=1" & vbCr, "Failed to set message format.")
        System.Threading.Thread.Sleep(200)
        ExecCommand(Port, "AT+CMGR=" & Chr(34) & "PCCP437" & Chr(34), "Failed to set character set.")
        System.Threading.Thread.Sleep(200)
        ExecCommand(Port, "AT+CPMS=" & Chr(34) & "ME" & Chr(34), "Failed to select message storage.")
        System.Threading.Thread.Sleep(200)
        ReceivedData = ExecCommand(Port, "AT+CMGL=" & Chr(34) & "REC UNREAD" & Chr(34), "Failed to read all message.")
        System.Threading.Thread.Sleep(200)
        Messages = ParseMessages(ReceivedData)

        If Not Messages Is Nothing Then
            Return Messages
        Else
            Return Nothing
        End If
    End Function

yan po ung code na ginagamit ko... di nga lang po na didisplay sa listview ^_^:salute::salute:




guys up ko lang po ulit..


hnd ko pa po kc na ssolve kung panu po cia gawin tlga.. hnd pa rin ako mka receive ng SMS using vs 2010.


pa request po ng source code kung meron po kayo guys... thank you po...:yipee:
 
mga tropa! may napansin kasi ako sa VB.NET parang kada gagamit ka ng table kailangan pa iopen ulit ung Connection? kasi sa VB6.0 ioopen ko muna ung Connection tapos declare n lng ako ng declare ng recordset para gumamit ng table.... ngaun gusto ko pong malaman kung paano ko maiiwasan ung pag open ng connection ng paulit ulit sa VB.NET???
 
mga tropa! may napansin kasi ako sa VB.NET parang kada gagamit ka ng table kailangan pa iopen ulit ung Connection? kasi sa VB6.0 ioopen ko muna ung Connection tapos declare n lng ako ng declare ng recordset para gumamit ng table.... ngaun gusto ko pong malaman kung paano ko maiiwasan ung pag open ng connection ng paulit ulit sa VB.NET???

depende yan dude sa gusto mo.. pag hard coded ka need mo tlga iopen ulit connection sa DB..

Pero if nagamit ka ng controls.. automatik na gagawin ng controls yung pag open at pag close ng connection..
 
Re: VB.NET Programming Corner! UPDATED!!!

guys up ko lang po ulit..


hnd ko pa po kc na ssolve kung panu po cia gawin tlga.. hnd pa rin ako mka receive ng SMS using vs 2010.


pa request po ng source code kung meron po kayo guys... thank you po...:yipee:

GSM Modem po ang gamit mo sir tingin ko mali syntax mo sa pag read ng message..

This is how to Read Message:

AT+CMGR="all"
AT+CMGR="REC UNREAD"
AT+CMGR="REC READ"
AT+CMGR="STO READ"
AT+CMGR=1

then i think need mo mag palit ng Prefered Message Storage(PMS)

Use this either:

AT+CPMS="SM"
 
mga tropa! may napansin kasi ako sa VB.NET parang kada gagamit ka ng table kailangan pa iopen ulit ung Connection? kasi sa VB6.0 ioopen ko muna ung Connection tapos declare n lng ako ng declare ng recordset para gumamit ng table.... ngaun gusto ko pong malaman kung paano ko maiiwasan ung pag open ng connection ng paulit ulit sa VB.NET???

pwede ka gumawa ng function then declare mo lahat dun.....icall mo nalng pagkelangan mo........
 
panu ivalidate ung datetime? ex ung isang user 1 beses lng mag register sa isang date
 
Ex. Si a ng register ng jan 1 tpos mvvalidate n register n sa ng jan 1 at hnd n pde
 
Baka pwede makahinge naman jan ng complete installer for MySQL.. need ko lang ng maliitang SQL kasi pag aaralan ko lang naman.. nag rereview ako sa pag poprogram kasi nag hahanap nako ng job na nasa IT so I need some refresher kasi almost 1.5yrs ako di nakapagprogram eh puro video games na ang laman ng utak ko haha..
 
Sir vince vb.net po ivavalidte sa mysql n nlpag register n siya mung date n un pde b sa vb.net n code o sa database n mismo
 
Sir vince vb.net po ivavalidte sa mysql n nlpag register n siya mung date n un pde b sa vb.net n code o sa database n mismo

example nag register ako tapos vinalidate ko na.. hindi na ulit mag papa validate?

para bang sa ID?

kunyare.. 2nd sem na.. need ko na i pa validate ID ko.. for second semester.. ipapa validate ko na xa.. pero pag nag pa validate ulit ako ng second time for 2nd semester hindi na tatanggapin ung validation ko kasi validated na ung ID ko for 2nd sem tama ba?
 
mga boss... panu b mag run ng program n may 3rd party s ibang pc?? hnd q ma run ung prog q eh.. encounters a problem and need to close dw.. ung 3rd party q eh krypton toolkit.. sinma q nman ung DLL file nya s release pero wla prin nanyare.. ayaw magrun.. patulong nman mga boss. :help:
 
astig tong threads na to : ) Very useful especially sa mga beginner : ) :clap:
 
opo sir vince

it will depend on the database design na po..

StudentID,STDValidation1,STDValidation2,STDValidation3,STDValidation4

Ayan tapos if may laman na ung STD Validation1 tapos mag vavalidate ulit hindi na mag wowork kasi may laman na..

Pwede Rin namang ganto:

StudentID,Validation

ang pwedeng maging laman ng Validation is 1,2,3,4
if 3 ang value nung Validation...

hindi na pwede mag validate ng 1st ,2nd and 3rd year ang available nglang for Validation is for the 4th year..
 
Sir vinceky02 , may tanung lng po ako, ndi po ito tunkol sa database ^_^


.. gumagawa kc ako ng application, Wattpad2PDF po, nagcoconvert sia nga mga wattpad books or chapters to pdf files ^_^

may naencounter lng po akong problem sa Webclient class

sa DownloadStringAsync po at sa DownloadFileAsync.

may way po ba kau kung panu madedetect or show ung progress ng download?

i have done that, pero buggy masiado... ^_^

sana matulungan nio ako
 
Back
Top Bottom