Page 2 of 6 FirstFirst 12345 ... LastLast
Results 11 to 20 of 60

Thread: VB 6 need help

  1. #11

    Public Sub Clear()
    Call ClearGrid(grdRow, Row)

    Row = 1
    totalAmt = 0
    totalqty = 0

    txtPO.SetFocus
    End Sub
    -----------------
    'error jd na kay wala man kay gipasa na parameter sa grdRow ug Row
    '..suggest lng:
    '1. remove Call ClearGrid(grdRow, Row) ug Row = 1 from the module
    '2. inig tawag na nim, ing.ania lang:
    Call ClearGrid(grdRow, Row)
    Call Clear


    '''''happy coding..

  2. #12
    ako niya testingan na. ty.

  3. #13
    pwede ra ma install ang vb6 sa win7...e check lng ang compatibility mode sa Run this program in compatibility mode for : Windows XP (Service Pack 3).

  4. #14
    @lestat1116
    --char seryos! ... wa pa na sulbad?

  5. #15
    Quote Originally Posted by tamse View Post
    @lestat1116
    --char seryos! ... wa pa na sulbad?
    wala pa jud. maka buang na jud.

  6. #16
    Quote Originally Posted by lestat1116 View Post
    wala pa jud. maka buang na jud.
    tabangan ta tka..nawala man akong portable nga vb6...

  7. #17
    ako lang post ako mga problema dri. hahaha

  8. #18
    Quote Originally Posted by rhex_tendo View Post
    Public Sub Clear()
    Call ClearGrid(grdRow, Row)

    Row = 1
    totalAmt = 0
    totalqty = 0

    txtPO.SetFocus
    End Sub
    -----------------
    'error jd na kay wala man kay gipasa na parameter sa grdRow ug Row
    '..suggest lng:
    '1. remove Call ClearGrid(grdRow, Row) ug Row = 1 from the module
    '2. inig tawag na nim, ing.ania lang:
    Call ClearGrid(grdRow, Row)
    Call Clear


    '''''happy coding..
    sakto ni ka @rhex_tendo...just change the "Byref" to "Byval"

    @lestat1116....just try this one.

    ****frmEntry
    Private Sub Command1_Click()
    Call ClearGrid(grid, Row)
    Call Clear
    End Sub

    Private Sub Form_Load()
    Me.grid.AddItem "test", 1
    Me.grid.AddItem "test2", 2
    End Sub

    ****from module
    Public Sub Clear()

    'Call ClearGrid(grid, Row)

    Row = 1
    totalAmt = 0
    totalqty = 0

    'txtPO.SetFocus
    End Sub

    Public Sub ClearGrid(ByVal grid As MSFlexGrid, ByVal Row As Integer)
    grid.Clear
    grid.Rows = 2
    grid.FormatString = grid.FormatString
    Row = 1
    End Sub
    Last edited by l_e_n_c_e; 08-17-2010 at 08:53 AM. Reason: change

  9. #19
    Quote Originally Posted by l_e_n_c_e View Post
    sakto ni ka @rhex_tendo...just change the "Byref" to "Byval"

    @lestat1116....just try this one.

    ****frmEntry
    Private Sub Command1_Click()
    Call ClearGrid(grid, Row)
    Call Clear
    End Sub

    Private Sub Form_Load()
    Me.grid.AddItem "test", 1
    Me.grid.AddItem "test2", 2
    End Sub

    ****from module
    Public Sub Clear()

    'Call ClearGrid(grid, Row)

    Row = 1
    totalAmt = 0
    totalqty = 0

    'txtPO.SetFocus
    End Sub

    Public Sub ClearGrid(ByVal grid As MSFlexGrid, ByVal Row As Integer)
    grid.Clear
    grid.Rows = 2
    grid.FormatString = grid.FormatString
    Row = 1
    End Sub
    cge try pud nako ni. theres something wrong jud. naa man unta sayon pero nahan ko tanan ako mga functions naa sa module.

  10. #20
    mga bro pwede ko mangayo sample code sa vb6..error trapping kanang itrap nimo nga d sya pwede mka input ug number ba, dapat text ra jud...nalimot nman gud ko on how to error trap preho ani...pls some ideas..?thanks...

  11.    Advertisement

Page 2 of 6 FirstFirst 12345 ... LastLast

Similar Threads

 
  1. Need help in VB 6.0 and VB.Net?
    By rhex_tendo in forum Programming
    Replies: 10
    Last Post: 08-31-2010, 01:01 PM
  2. VBS need help
    By ManoyanX in forum Programming
    Replies: 2
    Last Post: 02-12-2010, 07:58 PM
  3. Replies: 1
    Last Post: 04-02-2009, 08:41 AM
  4. Who needs help with their vb/c# projects?
    By Cruzader in forum Programming
    Replies: 19
    Last Post: 02-24-2009, 02:44 PM
  5. Replies: 1
    Last Post: 07-30-2005, 01:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top