Search:

Type: Posts; User: malequen

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,042

    Re: Find number in array

    no, this is not a homework. and about algorithm, i thought it would be easier for you to help me, but it seems not. then better using vb.net code.

    case your asking me about my code, its like this...
  2. Replies
    3
    Views
    1,042

    Find number in array

    help me, i have an array consist of ({9,2,10,5,7}) and i have a total = "17".

    the question is, how do i find which sum of array that match the total ??

    do you people know the algorithm or in...
  3. Replies
    0
    Views
    358

    Help MySQL Stored Procedures

    when i call this SP its only return this query : "select barcode,kode,jenis,statusisi,kodegudang,kodebeli,tglbeli,tglproduksi from barrel where loss = l;"

    the result i want was "select...
  4. VS 2008 Re: How to fast retrieve data > 10000 from mysql

    okay, i already tested it with above code, and the result was amazing. reason why it took a long time to load was because there is bottle neck when loaded it to listview, as was mentioned by...
  5. VS 2008 Re: How to fast retrieve data > 10000 from mysql

    i already testing with ADO.Net but another coming in("Unable to convert MySQL date/time value to System.DateTime").
    i'm still testing it right now. i'll get it to you when its done.

    so the code...
  6. VS 2008 Re: How to fast retrieve data > 10000 from mysql

    thats where i put them :


    Sub refreshList()
    Try
    lvBarrel.Items.Clear()

    OpenSys()
    rs = New ADODB.Recordset
    rsx = New ADODB.Recordset
  7. VS 2008 Re: How to fast retrieve data > 10000 from mysql

    hmm.... sorry but i dont know where the bottle neck is. can you explain to me where is usually bottle neck happen when you retrieve from database ?? i dont have a clue at all. :confused:
  8. VS 2008 Re: How to fast retrieve data > 10000 from mysql

    i already try .beginupdate and .endupdate but it doesnt make any difference, i'm still have to wait > 2 minutes to complete.
    what i mean,can i make the query complete faster ?? maybe i'll try using...
  9. VS 2008 Re: How to fast retrieve data > 10000 from mysql

    um... sorry i dont quite understand. can you show me an example or a reference ?? thanks...
  10. VS 2008 Re: How to fast retrieve data > 10000 from mysql

    okay,here is my code : (sorry,its a bit confusing)


    Sub refreshList()
    Try
    lvBarrel.Items.Clear()

    OpenSys()
    rs = New ADODB.Recordset
    ...
  11. VS 2008 [RESOLVED] How to fast retrieve data > 10000 from mysql

    Topic. i'm using recordset to retrieve data and then show it through listview, that took more than 2 minute to retrieve data. i think that kinda slow.

    anyone can help me, suggest a way to fast...
  12. Replies
    3
    Views
    653

    VS 2008 Re: Help Checkbox in DataGridView

    using ADO ?? but i do not know how. can u show me an example ??

    btw, i've done it. adding some code to this.


    For j = 1 To 5
    If dgvAccess.Rows(i).Cells(j).Value = True Then
    ...
  13. Replies
    3
    Views
    653

    VS 2008 [RESOLVED] Help Checkbox in DataGridView

    i use this gridview to save data to database. but everytime i save, the only data that saved was checkbox that i was recently checked.
    so checkbox that was supposed checked not saved to database. ...
  14. Re: [RESOLVED] How can i delete .txt file only in folder ?

    Dim fDir As New IO.DirectoryInfo("C:\Documents and Settings\" & UserDir & "\My Documents\Sony Ericsson\Sony Ericsson PC Suite\SMS Archives")
    Dim aryFol As IO.DirectoryInfo() =...
  15. Re: How can i delete .txt file only in folder ?

    i've resolved it. i forgot to close when i use that file to read. so,the problem is from my code. and that code suppose to run smoothly. sorry and thanks for your help.
  16. Re: How can i delete .txt file only in folder ?

    i've already done this. i though maybe why i can't delete it becase is still in use with this variable "Fi".
  17. Re: How can i delete .txt file only in folder ?

    oh sorry, i already marked the Error on the code. it say "file in on process" or something like that. i know i must change the code but i dont know other code beside that.
  18. [RESOLVED] How can i delete .txt file only in folder ?

    i make a program that only read .txt then copy and delete the original file.

    i keep getting error. does anyone know how to make around this ??


    Dim fDir As New IO.DirectoryInfo("C:\Documents...
  19. Replies
    8
    Views
    730

    Re: winsock multiple client problem

    yeah, i understand what you're saying. but i still dont know what to do. will you please check my project ? i already attached my project. and sorry if the code is really mess. i'm a newbie
    i'm...
  20. Replies
    8
    Views
    730

    Re: winsock multiple client problem

    yes, you are right. you got my point there...but it didn't solved.

    about "Put #1", that are the code on server. it only work when client send data to the server. i dont know what wrong, because...
  21. Replies
    8
    Views
    730

    Re: winsock multiple client problem

    where do i must change this ? on server or the client ? because when i change to the server then nothing happen. the server still send a file to the last connection it receive.
  22. Replies
    8
    Views
    730

    Re: winsock multiple client problem

    thanks, but now it gives error : "bad file name or number" on server _DataArrival event. here the code on server :


    Private Sub winSck_DataArrival(index As Integer, ByVal bytesTotal As Long)
    ...
  23. Replies
    8
    Views
    730

    winsock multiple client problem

    hello,i make an application with multiple connection winsock and it run smoothly. the problem is when 2 client connect to server and request to send a file, the server did not know which client...
  24. Replies
    4
    Views
    606

    Re: Bad File Name or Number on File Transfer

    no..sending a file. but it seems something wrong with the file name.

    this is a file name that i try to send :
    fname = App.Path & "\Temp\DL" & currId & ".hwj"

    can you help me ?
  25. Replies
    4
    Views
    606

    Re: Bad File Name or Number on File Transfer

    hmm...i dont get it. so i just need to put that line ?
    okay i will try it first.

    thanks..
  26. Replies
    4
    Views
    606

    Bad File Name or Number on File Transfer

    hello, i have client-server application. and been receiving "Run Time Error 52 - Bad file name or number". i think i know where the my error come out, but i didn't know what to do or to fix it.
    ...
  27. Replies
    10
    Views
    1,028

    Re: Access Remote MS Access DataBase

    ok thanks anyway for the help
  28. Replies
    10
    Views
    1,028

    Re: Access Remote MS Access DataBase

    seems like complicated. doh...i've had enough problem here....:(
    say maybe i can modify so i dont have to access to other network.
    by sending a text file to another remote comp and then that comp...
  29. Replies
    10
    Views
    1,028

    Re: Access Remote MS Access DataBase

    oh ok....but why should i change to vb 2008 ? its my vb6 aplication still work in vb 2008 ?
  30. Replies
    10
    Views
    1,028

    Re: Access Remote MS Access DataBase

    your suggestion is using ms sql 2008 express edition ?
    can you teach me the first thing i need about this ms sql 2008 so then i wouldn't want to dissapoint anyone.
    or maybe i can change my client...
  31. Replies
    10
    Views
    1,028

    Re: Access Remote MS Access DataBase

    so you're saying i must give up my almost done aplication ? please help....i've been using ms access from beginning and its hard to change because its nearly deadline. i dont have time to change...
  32. Replies
    10
    Views
    1,028

    Access Remote MS Access DataBase

    hello, i already following RhinoBull threads on how to access. but i keep getting error like : RDS Access Denied.
    so can anybody teach me how to access to remote computer ms access database over...
  33. Replies
    25
    Views
    124,581

    Re: How to access remote MS Access database

    sorry for being out of topic. but can i try this with just 1 comp ? i change the ip address so it will same for both client and server. i already try sending with winsock and it turn out no problem...
  34. Replies
    2
    Views
    559

    Re: TCP/IP address for client-server

    what do you mean hard-code ? can you give me the example ? i'm the one that made program for both the server and client. so if anything i can do to change then i will change the code.
  35. Replies
    2
    Views
    559

    TCP/IP address for client-server

    hello, i want to make an aplication that work as server-client. i'm still new on vb, now i'm trying to make a button that can generate IP address so both server and client can connect each other. can...
  36. Re: how to check the last record in access

    thank you very much...it works.
  37. [RESOLVED] how to check the last record in access

    hello,i have a database and using number record. let say a record like :
    ---------
    | idSale |
    ---------
    | 10021 |
    | 10029 |
    | 10030 |
    | 10041 |
    ---------
  38. Replies
    4
    Views
    1,345

    Re: how to convert date to number

    thanks... it resolves....
    i just use :


    Format(Date, "ddmmyyyy")


    and thanks again all...
  39. Replies
    4
    Views
    1,345

    [RESOLVED] how to convert date to number

    hello, i want to convert date to number. i know we can use format(date,"general number"), but the outcome value is not exactly like a date.
    i mean is like this :
    if date now = 12/05/2009
    then i...
  40. Re: image on second subitem listview

    now it show....thanks for the code...

    this the right code....just minus 1 comma and its my fault

    1.
    lvTransferList.ListItems.Item(lvTransferList.ListItems.Count).ListSubItems.Add , ,...
Results 1 to 40 of 45
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width