Search:

Type: Posts; User: itzviper

Search: Search took 0.03 seconds.

  1. Replies
    214
    Views
    165,390

    Re: [VB6] - Multi-User Chat Example (Winsock)

    DigiRev you forget about this thread again!?
  2. Replies
    2
    Views
    5,543

    [Office] auto-convert .xls to .csv

    Hello all,

    I have an interesting request. I'm pretty new to writing macro's for Office, but I'm no stranger to VB. The issue I'm having is:

    I need to be able to convert a .xls file to a .csv...
  3. Replies
    14
    Views
    1,105

    Re: How to create a live updater

    I would have the updater as a seperate progam, have the main program check if there is an update available, if there is it launches the updater program. Then I would have the updater download the...
  4. Replies
    214
    Views
    165,390

    Re: [VB6] - Multi-User Chat Example (Winsock)

    you would need to setup port forwarding on your router. Log into your router, i'm not going to go into details on this, you can do a google search for the model number of your router and should find...
  5. Re: Need your help to read the stiring

    Don't remember where I came across these functions, but here they are:
    Private Declare Function GetPrivateProfileString Lib "kernel32" Alias "GetPrivateProfileStringA" (ByVal lpApplicationName As...
  6. Replies
    214
    Views
    165,390

    Re: [VB6] - Multi-User Chat Example (Winsock)

    have you given up yet digirev? or you just been busy? haha, just want to see if this project is still active.
  7. Replies
    3
    Views
    694

    Re: progress bar by count

    simply subtract 1 from the variable in each pass of the loop. so before the 'loop' line, put this: ncount = ncount - 1 You should declare ncount as an integer or long type.
  8. Replies
    13
    Views
    1,011

    Re: Reading From Multiple Files

    I did show an example! Did it help GDOG34?
  9. Replies
    40
    Views
    2,580

    Re: Writing To The End Of The File

    Example for using the FreeFile function:

    Dim intFree As Integer
    intFree = FreeFile

    Open App.Path & "\asfdasfd\lol.txt" For Output As #intFree
    'blabla
    Close #intFree
  10. Thread: Random

    by itzviper
    Replies
    16
    Views
    989

    Re: Random

    Try something like this:

    'new
    Dim bRecordsFound As Boolean, strFile As String, strLines() As String

    FileName = App.Path & "\Data\data.txt"
    Number = 0
    Open FileName For Input As #1
    ...
  11. Thread: Random

    by itzviper
    Replies
    16
    Views
    989

    Re: Random

    No, the encryption function to encrypt returnes an encrypted value, with a given password. same for the decrypt function. So you would need to encrypt the data first, then write it to the file. ...
  12. Replies
    3
    Views
    5,445

    Re: Find DESKTOP Path . . .

    try using this, add a \desktop to the end of the result.

    Dim i As Integer, strSplit() As String, strUserProfile As String
    i = 1
    While Environ(i) <> ""
    strSplit = Split(Environ(i),...
  13. Replies
    18
    Views
    2,718

    Re: Validation

    try this function.
    Public Function ValidateString(strString As String) As Boolean
    Dim strOK As String, strTemp As String
    Dim intX As Integer
    strOK =...
  14. Replies
    13
    Views
    1,011

    Re: Reading From Multiple Files

    However, the code I posted above will work, but can be buggy, especially if lines are missing from one file, which can cause the program to crash. Here is the method I would use, as suggested by...
  15. Replies
    13
    Views
    1,011

    Re: Reading From Multiple Files

    If you in want to use 2 text files that store the favorites here is one way you could do it. Start off by making 2 text files in the app.path directory of your project. One named links.txt and one...
  16. Replies
    16
    Views
    46,670

    Re: Tutorial: Goto My Pc for FREE

    or you could use a free service that I like, www.logmein.com works great. I also like to use VNC though.
  17. Thread: Random

    by itzviper
    Replies
    16
    Views
    989

    Re: Random

    There are many simple encryption functions in the CodeBank forums. I did a quick search and found this. I'm sure that simple encryption will be just fine for what you need.
  18. Replies
    3
    Views
    816

    Re: Change Menu Position

    Don't think you can move the actual menu button itself. But what you can do is have it popup anywhere, like gavio said. I would put a command button on the form, then when you click the button it...
  19. Thread: Random

    by itzviper
    Replies
    16
    Views
    989

    Re: Random

    hmm, do you mean randomize as in encrypts so that its not clearly visible if someone opens the textfile that has the records?
  20. Replies
    4
    Views
    546

    Re: RichTextBox Help

    But what if they edit some code above the last place searched? You need to loop through the whole thing. The problem is that with a large document this will start to take more time, especially if...
  21. Replies
    4
    Views
    572

    Re: Help with textbox behavior

    If all else fails, try a RichTextBox as this shows more characters than a normal textbox does.
  22. Replies
    6
    Views
    784

    Re: Menu ToolTipText

    I'd be interested to see this class as well. There have been times where putting a tooltip on a menu item has put the breaks on a project for me.
  23. Thread: Random

    by itzviper
    Replies
    16
    Views
    989

    Re: Random

    So you just want to save random info to the file? or random records to the file? or random letters to the file? This doesn't make much sense. Please describe what you want in more than 1 sentence. ...
  24. Re: how to stop too many packet in certain time period

    You could try setting a variable to hold the current timer value (lTimer1 = Timer) and then each time a data packet comes in have it check it against the current timer value, also storing the amout...
  25. Re: Transferring Large size files thru TCP/IP

    There are several examples on how to send files using the winsock control (which i'm assuming that you're using). One such example that I found helpful is here. That example shows how to send files...
  26. Replies
    2
    Views
    6,372

    Re: VB6 very simple WHOIS app

    This probably belongs in the CodeBank forum.
  27. Re: where have i gone wrong with this irc prog code?

    I might be wrong but do you have to put "txtLog.Text" not just "txtLog"
  28. Replies
    15
    Views
    1,793

    Re: [RESOLVED] Chat box

    Just wondering if you ever came to a conclusion on this. Did you end up going with the DHTML control or did you find another solution? I've been trying to find a way around using the webbrowser...
  29. Re: VB6 - Proper sending/receiving data with Winsock (tutorial & code)

    Hey i'd like to start out by saying nice example. Very easy to follow. I havn't tested it fully yet, but I was looking through the code for the byte arrays code that you included. I'm looking in...
Results 1 to 29 of 29



Click Here to Expand Forum to Full Width