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!

Hi,

Ask ko lng po kung ano po ung best way para mag achive ko ung report na customized in a way na walang default na pwesto ung mga fields.. For example may isa akong field (Serial No.) minsan nasa top right sya, minsan sa middle, minsan bottom.. depende kung san ilagay ni report master ung pwesto .. pro syempre d sya pwede gumamit ng visual studio or crystal report viewer..

TIA .. Idea lng po .. Thx


edi gumawa ka ng tatlong report, na nasa top, mid and bot, tapos dun ka mag select upon printing, so masusunod pa din yung user depende sa requirements
 
sir pano po ba magkakaron ng uploader ng attachments pictures or any documents yung system ko? vb6 at access po gamit ko
Thesis project po kase. Computerized Purchased Management System po yung titlle ng thesis ko
 
Last edited:
edi gumawa ka ng tatlong report, na nasa top, mid and bot, tapos dun ka mag select upon printing, so masusunod pa din yung user depende sa requirements


Gusto ko sana 1 form lng, parang i dradrag nya lng ung mga fields sa gusto nyang pwesto. Kasi pag ganito fix pa rin, may option lng :D
 
Gusto ko sana 1 form lng, parang i dradrag nya lng ung mga fields sa gusto nyang pwesto. Kasi pag ganito fix pa rin, may option lng :D

medyo mahirap po yung ganyan sir. best way talaga yung gumawa ka ng maraming templates.
 
Mga master newbie po ako sa vb 6.0

gusto ko kasi after input ma-visible ko ung mga labels kaso ang labelname ko X1, X2, X3, X4 ...

eto ung naisip ko code pro error:

Dim lbl As Variant
For o = 1 To n
lbl = "X" & o
lbl(0 - 1).Visible = True
Next o

Salamat
 
Mga master newbie po ako sa vb 6.0

gusto ko kasi after input ma-visible ko ung mga labels kaso ang labelname ko X1, X2, X3, X4 ...

eto ung naisip ko code pro error:

Dim lbl As Variant
For o = 1 To n
lbl = "X" & o
lbl(0 - 1).Visible = True
Next o

Salamat

anu po yung lumalabas na error?
 
Master kudeta21,

runtime error: 13,
type mismatch

on code:

Code:
lbl(0 - 1).Visible = True

thanks po master
 
Last edited:
Mga Sir's magkano po pagawa program.

Project flow:

Mag send po ako message sa phone using apps or browser connected sa internet of course, then yung message ko po mareceived ng kiosk to flash my message on screen for about 5 minutes or 10 minutes.

Thank you.
 
Mga kapato, may gagawin akong program na time-in, time-out taz yung pagsaseavan ng log-in and log-out ay sa sharepoint. paano ko po kea makokonek yung sharepoint sa vb.net???
 
Ano po pwedeng gamiting background worker sa windows CE mobile?
 
Hi! Bago lang ako sa vb.net and gamit ko ngayon ay ado.net

paano po makaretrieve ng data from database to datagrid view using adodb connection? eto po yung code ko sa may datagrid view and
puwede po paexplain kung ano yung meaning ng da.fill(ds,rs,"asdfaf") yung parameters po, di ko po kasi magets. reply po asap! thanks
 

Attachments

  • sample.png
    sample.png
    30.7 KB · Views: 10
Hi! Bago lang ako sa vb.net and gamit ko ngayon ay ado.net

paano po makaretrieve ng data from database to datagrid view using adodb connection? eto po yung code ko sa may datagrid view and
puwede po paexplain kung ano yung meaning ng da.fill(ds,rs,"asdfaf") yung parameters po, di ko po kasi magets. reply po asap! thanks

Since bago ka sa .NET sir, siguro galing ka sa VB6, kasi nakita ko yung ginamit mung RecordSet which is wrong practice pag nasa .NET kana base sa nabasa ko.

Pwede nating palitan yung RecordSet at nakita ko rin sa Connection String mu na gumagamit ka ng MySql Database, wherein pwede nating gamitin yung MySql Connector/Warapper to .NET

Code:
Try

     '//Pwede natin palitan ang [B][I]OleDb.Connection[/I][/B] into [B][I]MySqlConnection[/I][/B] pag meron ka ng Connector/Wrapper  
     
      Using cnn As New OleDb.Connection([B]Connection String[/B])

          '//Same din kay OleDb.DataAdapter
          
          Using da As New OleDb.DataAdapter("SELECT * FROM earvin", cnn)

                Dim ds As New DataSet()

                   '// Maglalagay na ang[B]DataAdapter[/B] natin ng data sa [B]Dataset[/B].
                   '// Yung [B]da.Fill(ds, [B]"TableName"[/B])[/B] ay pangalan ng table sa Dataset. Optional. Pwedeng hindi lagyan.
                
                   da.Fill(ds)  


                   '//Passing data to DataGridView
                   '//Autogenerate Columns para sa DataGridView para as is kung ano ang column name mu sa table mu sa DataBase
                
                   dataGridView.AutoGenerateColumns = True
                   dataGridView.DataSource = ds.Tables(0)
         
          End Using

      End Using

Catch ex As Exception

End Try

Ginamitan ko siya ng Using Block para safe ang connection natin with Database at no need narin na tawagin natin ang Closed() method sa OleDbConnection natin.
 
Last edited:
Sir Pde ko bang mahiram and POS mo for editing and also the database mayroon lang akong kailangang gawin.
Straight to the point tagal ko na kasing huminto sa pag coding and now bumalik ako at dretso sa 2010 hirap bumalik sa nakalimutan na.
:):):):):):):):):)
thanks in advance. Email ko [email protected]...
sensya na talaga sir diko na kasi matandaan pano mag lagay ng database from sql sa VB2010
 
Guys, Yung VB2010 express edition ba, may feature din ba siya na pwedeng maiconnect sa MS Access?
 
Guys, Yung VB2010 express edition ba, may feature din ba siya na pwedeng maiconnect sa MS Access?

Opo sir meron, depende kong ano gagamitin mong connection either oledb or odbc pwede ring databinding, newbie lng din po i am using na po my sql ngaun. happy coding
 
Back
Top Bottom