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!

Good day po newbie po ako sa VB.net using VB 2010. Okey po ba ung pag connect database ay databinding source? para less coding.
 
good day po....

patolong naman po...
pano po ba ma viview ang next message sa vb.net galing sa usb 3g modem(globe)...

marunung po aq kung pano mag send ng message using usbl 3g modem pero hindi ko po alam kung pano mag show ng mga message(parang inbox).

salamat po...
 
San po ako pwede makadownload ng Visual Studio 2010 yung complete po.
Salamat po sa magrereply :D
 
Hi Master, pa-help naman ako alam ko matutulungan niyo ako, may gngawa kasi akong program gusto ko sana is maglagay ng expiration sa program ko na once na expired na yung papers niya mag-eemail si system na itong document niya is pa-expire na di ko po alam gagawin ko eh! patulong naman po maraming salamat.
 
Hi Master, pa-help naman ako alam ko matutulungan niyo ako, may gngawa kasi akong program gusto ko sana is maglagay ng expiration sa program ko na once na expired na yung papers niya mag-eemail si system na itong document niya is pa-expire na di ko po alam gagawin ko eh! patulong naman po maraming salamat.

i save mo sa settings or sa databaes kung kelan ininstal.. tapos every launch ng application mo, compare mo lang yung date sa settings mo
 
i save mo sa settings or sa databaes kung kelan ininstal.. tapos every launch ng application mo, compare mo lang yung date sa settings mo

Hi TS! baka naman may sample code ka diyan, di ko din kasi alam pano ko sisimulan yun. salamat.
 
right click references on solution explorer
add reference
browse -> goto your mysql.data.dll (usually nasa program files\mysql\connector net x.x.x)
click ok

- - - Updated - - -



gawa ka ng program na gagalaw ng regedit. usually nasa HKCU->software->ms windows->policies->explorer or sa HKLM->software->ms windows->policies->explorer

sa pagka-alala ko dyan yung location. may ginawa na ako dati na bat file pero pwede mo yan magawa sa vb.

- - - Updated - - -



here's my function:

Code:
Private Shared Sub MoveListViewItem(ByRef lv As ListView, ByVal moveUp As Boolean)
        Dim i As Integer
        Dim cache As String
        Dim selIdx As Integer

        With lv
            If .SelectedItems.Count > 0 Then
                selIdx = .SelectedItems.Item(0).Index
                If moveUp Then
                    ' ignore moveup of row(0)
                    If selIdx = 0 Then
                        Exit Sub
                    End If
                    ' move the subitems for the previous row
                    ' to cache so we can move the selected row up
                    For i = 0 To .Items(selIdx).SubItems.Count - 1
                        cache = .Items(selIdx - 1).SubItems(i).Text
                        .Items(selIdx - 1).SubItems(i).Text = _
                           .Items(selIdx).SubItems(i).Text
                        .Items(selIdx).SubItems(i).Text = cache
                    Next
                    .Items(selIdx - 1).Selected = True
                    .Refresh()
                    .Focus()
                Else
                    ' ignore move down of last row
                    If selIdx = .Items.Count - 1 Then
                        Exit Sub
                    End If
                    ' move the subitems for the next row
                    ' to cache so we can move the selected row down
                    For i = 0 To .Items(selIdx).SubItems.Count - 1
                        cache = .Items(selIdx + 1).SubItems(i).Text
                        .Items(selIdx + 1).SubItems(i).Text = _
                           .Items(selIdx).SubItems(i).Text
                        .Items(selIdx).SubItems(i).Text = cache
                    Next
                    .Items(selIdx + 1).Selected = True
                    .Refresh()
                    .Focus()
                End If
            End If
        End With
    End Sub

usage: btnDown - MoveListViewItem(ListViewHere, False)
btnUp - MoveListViewItem(ListViewHere, True)


TS.. mayprogram kapa noon gaya nito? di ko kasi alam kung saan ako magsisimula. Please po sir
hindo ko rin alam kung paano magcocomunicate yong pc and flash drive ko.. kung alisin ko yong usb ko mag aautomatic close yong mga broser at iba pang nka open.
 
Mga boss, pag gusto mo po mag-aral ng programing, ano po ang unang pag-aaralan? VB, C, or c++? pahingi po ng list. or pwede po kahit alin po ang unahin. Thanks po.
 
Guys patulong naman about crystal report :) hehe

Ganito kasi yun, pag print preview kasi ganito lumalabas

13237820_898991513543579_7404931326580089737_n.jpg



Tapos kelangan pa irestart (exit then open) ang system para gumana ng maayos

13307413_898991903543540_3911507912016801152_n.jpg
 
mga master pano ko gagawin sa program ko yung multi users? i mean i dedeploy ko siya sa dalawang pc naka auto series kasi yung ginawa ko let say si pc1 nag new with the series of 00001 dapat si pc2 pag ng new 00002 na ang nangyayari kasi is both pc pag nag new same series yung lumalabas. pano kaya yun mga master? thanks po.
 
mga master pano ko gagawin sa program ko yung multi users? i mean i dedeploy ko siya sa dalawang pc naka auto series kasi yung ginawa ko let say si pc1 nag new with the series of 00001 dapat si pc2 pag ng new 00002 na ang nangyayari kasi is both pc pag nag new same series yung lumalabas. pano kaya yun mga master? thanks po.

Either use Socket/TcpListerner-TcpServer (namespace is found in system.net) to pass series number among different client..
or
Connect both PC to the same database (mssql/mysql), and retrieve series number from DB, increment by 1, then save again to DB so that the other PC can get updated series value.
 
Either use Socket/TcpListerner-TcpServer (namespace is found in system.net) to pass series number among different client..
or
Connect both PC to the same database (mssql/mysql), and retrieve series number from DB, increment by 1, then save again to DB so that the other PC can get updated series value.

master, baka pwede mo ko tulungan first time ko lang kasi gagawin ito eh! hindi ko alam gagawin, sana matulungan mo ko. thanks!
 
master, baka pwede mo ko tulungan first time ko lang kasi gagawin ito eh! hindi ko alam gagawin, sana matulungan mo ko. thanks!

the db structuring would be dependent on how exactly you would like to handle your incremental value.

1. pwede kasi na e auto increment mo yung column sa database and the ID will be given after save. (mabubutal din ang number dahil sa cancel ng transaction)
2. pwede din na e generate nya ang number on form creation (pero may downside to, what if sabay ang dalawang computer na kumuha ng same number). then you would have to do additional code for DUPLICATE KEYS. (mabubutal din ang number dahil sa cancel ng transaction)
3. pwede ka gumawa ng spoiler table where each click mo ng generation ng ID ay e rereserve nya number to that connection. (downside - maraming butal na number)
 
master, baka pwede mo ko tulungan first time ko lang kasi gagawin ito eh! hindi ko alam gagawin, sana matulungan mo ko. thanks!

hayaan mo lang mag increment pag nag insert.. tapos i retrive mo by using select statement para makita sa vb.net yung series ng number..
 
Back
Top Bottom