Search:

Type: Posts; User: Milad87

Page 1 of 3 1 2 3

Search: Search took 0.04 seconds.

  1. Replies
    3
    Views
    782

    Re: Winsock with multi-ports

    ok.. any way of doing this dynamically
  2. Replies
    3
    Views
    782

    Winsock with multi-ports

    Hi guys :)...

    I was just woundering if it was possible to make winsock listen on multi ports?

    Thanks :)
  3. Re: How to remove a dead/idle connection"winsocket"?

    Ok thanks dilettante.. :)
  4. Re: How to remove a dead/idle connection"winsocket"?

    Baja Yu Thank u very much for ur idea.. :) im going to give it a try...
    Chris001 Thanks alot for ur help:) the Timer is not working :(... any ways.. Baja Yu's idea looks like it can solve the...
  5. Re: How to remove a dead/idle connection"winsocket"?

    No.. sir, I mean when the client is crashed for some problem or when it is closed with force by the user it stays there and it's not removed :/ kinda freaking me out...
  6. Re: How to remove a dead/idle connection"winsocket"?

    Sorry.. Now it is working fine... I forgot the "Step -1" and which I dont understand it...
    Now the only problem removing a client that is closed with force... ! :/
  7. Re: How to remove a dead/idle connection"winsocket"?

    Well, here is the last ver. of the code and still no connection can be removed...:
    Note Im loading more than one connection....
    it works fine with one connection


    Private Sub WS_CloseSck(Index...
  8. Re: How to remove a dead/idle connection"winsocket"?

    ok... funny now no connection is beeing removed even when the client is closed normally :/
  9. Re: How to remove a dead/idle connection"winsocket"?

    No, this is working fine... but my problem is when the client frozes or closed with force "computer shutdown or something like that".
  10. [RESOLVED]How to remove a dead/idle connection"winsocket"?

    Hej guys...
    on my small multichat software sometimes I get a problem with some connections. Some connections are not removed from my list view even when the client is shutdown. Im using this code to...
  11. Replies
    2
    Views
    739

    Re: Populating an array

    String MyString[] = new String[100]
    MyString[0] = "a"
    MyString[1]="b"


    not really sure if u can skip indexes?:/.. but u can try :)
  12. 3.0/LINQ Re: [RESOLVED] ExecuteReader() error No Value for Param

    yes a end quote is needed.. but I cant really see why u're using + ? u know + comboBox1.Text..
    another thing.. dont use sql statements.. user linq so ur code is easy to ready and modify.. best...
  13. Replies
    3
    Views
    4,640

    Re: Get Winsock client ready 2 send

    Thank you :).. I would also like to see an example on how to use it..
  14. Replies
    2
    Views
    413

    Re: Picture resizing ??

    Method 2 working :)... does it eat the picture ratio??
  15. Replies
    2
    Views
    413

    Picture resizing ??

    Hi guys.. I have a picture box and I want to load picture in it like this

    Form1.Picture1 = LoadPicture("C:\picture.jpg")
    everything is ok but the picture box is not showing the whole picture .....
  16. Replies
    10
    Views
    889

    Re: How to receive a file and save it

    Thanks I have seen these posts.. and the idea is the same but the problem is the code :)
  17. Replies
    10
    Views
    889

    Re: How to receive a file and save it

    Well, thank you for helping :).... I will search the forum and google it if I cant find anything.. thank you again
  18. Replies
    10
    Views
    889

    Re: How to receive a file and save it

    Thank u for answering... yeah that's right my file was never closed before sending the end statement also mistyping in the end statement which should be "End#"...
    Now there is no error saying file...
  19. Replies
    10
    Views
    889

    Re: How to receive a file and save it

    Not working too :(......hmm always getting file "alreday opened"
  20. Replies
    10
    Views
    889

    Re: How to receive a file and save it

    Hmm... not working.... Now im not get any data... my problem is that I only get a part of the data and then error saying file already open... im only getting 8 kb data no more
  21. Replies
    10
    Views
    889

    How to receive a file and save it

    I've been trying to send a file for more then 3 days but couldnt make it the file is very small so the size should not be a problem

    This code is where I try to send the file I think it works fine...
  22. Replies
    2
    Views
    721

    Printing out in main

    I have this code to print all elements out in an array

    public void printChildren(ArrayList<Person> child){

    for (int i = 0 ; i < child.size(); i++)
    System.out.println(...
  23. Replies
    3
    Views
    945

    Re: find index number??

    the index is the position number the number has in the array:)
  24. Replies
    3
    Views
    945

    find index number??

    hi there if I have an array that looks like this

    dataType[] arrayName = {3, 0, 5, 20, 8};

    how can I find the smallest number in it??

    and how can I return the index number of them all??

    Im...
  25. Replies
    2
    Views
    429

    File receiving error winsock

    Hey guys :)

    When im receiving data from winsock I get error saving it all what I get is
    a part of the screen shot I have taken
    Dont really know what im doing wrong but please take a look at my...
  26. Replies
    5
    Views
    599

    Re: Sending a picture to a client

    oka and how to receive it and put it in imagebox??
  27. Replies
    5
    Views
    599

    Re: Sending a picture to a client

    this is the send method
    savepath is the path of the pic
    FileTotal is as long
    File is as string
    #|# as string to spilt the data from eachother

    Open savepath For Binary As #1
    File =...
  28. Replies
    5
    Views
    599

    Sending a picture to a client

    Hey guys :)

    I just made a screen capture and when im trying to send it to a client and show it in a imagebox nothing happens...

    is there any examples in here that could help me??

    cause I...
  29. Replies
    13
    Views
    1,028

    Re: Problem with listview and imagelist

    I still have the same problem
  30. Replies
    7
    Views
    576

    Re: Listview Icon Gives me error

    Dim GetFreeIndex as integer

    Private Sub Winsock1_ConnectionRequest(Index As Integer, ByVal requestID As Long)
    GetFreeIndex = GetFreeIndex + 1
    Load Winsock1(GetFreeIndex)...
  31. Replies
    7
    Views
    576

    Re: Listview Icon Gives me error

    Remove getfreeindex

    Set AddServerToLstv = lv2.ListItems.Add(, , "Freind","t")
  32. Replies
    13
    Views
    1,028

    Re: Problem with listview and imagelist

    yes I saw it.. but still the same problem mate.. common controls 5.0 is working but the problem is with 6.0 :S
  33. Replies
    13
    Views
    1,028

    Re: Problem with listview and imagelist

    it asks me about the installations path?? where should it be??
  34. Replies
    13
    Views
    1,028

    Re: Problem with listview and imagelist

    I just clicked on remove all when I reinstalled vb6.... shouldnt that also reinstall service pack 6??

    anyway how to reinstalled.. because I cant finde it in add/remove programs
  35. Replies
    13
    Views
    1,028

    Re: Problem with listview and imagelist

    I removed the whole program and still not working.. also when im opening a new project and trying to add listview and imagelist.. but the problem is still there and the image list cant be assigned to...
  36. Replies
    13
    Views
    1,028

    Re: Problem with listview and imagelist

    yes it does... I also reinstalled vb6 but the problem is still there
  37. Replies
    13
    Views
    1,028

    Problem with listview and imagelist

    Hey guys im trying to add icons tom my listview and I know how but I have a problem which I havnt seen before

    problem: when Im trying to assign a imagelist to a listview and then clicking on apply...
  38. Re: How to use this model??:confused:

    thaks this works :)
  39. [RESOLVED]How to use this model??:confused:

    Hey guys :)

    I got a model that skins the column headers of ur listview.. but I dont really know how to use it.. all what I know is to use "Aplicar_Skin(Listview1)".. but im getting error and when...
  40. Replies
    6
    Views
    517

    Re: Saving pictures with random names??

    didnt work .. I tried to do the same but I get a file without name :S
Results 1 to 40 of 90
Page 1 of 3 1 2 3



Click Here to Expand Forum to Full Width