Search:

Type: Posts; User: rellison

Search: Search took 0.06 seconds.

  1. Replies
    3
    Views
    1,501

    Re: TCPListener maybe thread issue??

    I still could not make this work by making the changes as suggested in your blog post. But I changed the layout of the program and removed the second Form. Now everything is working correctly and the...
  2. Replies
    3
    Views
    1,501

    TCPListener maybe thread issue??

    I have a program that has 2 forms. In one form I have a TCPListener running in the thread. This part works fine and receives the data like it should.
    When the data is received I am trying to place...
  3. Replies
    5
    Views
    2,393

    Re: Treeview SelectedNode issue..

    Just after I posted the reply I was able to come up with code that is working for me. Does this look correct??


    Public Sub MoveNodeLeft(ByVal Node As TreeNode)
    Dim nextNode =...
  4. Replies
    5
    Views
    2,393

    Re: Treeview SelectedNode issue..

    Your move up and down works great!.

    Now I am working on the right and left. I have right working with this code

    Public Sub MoveNodeRight(ByVal Node As TreeNode)
    Dim nextNode =...
  5. Replies
    5
    Views
    2,393

    Re: Treeview SelectedNode issue..

    Thanks. I will give what you posted a try today after work. I didn't write the code in the module I found it and was wondering if it would work or not since I do not know much about the treeview. I...
  6. Replies
    5
    Views
    2,393

    Treeview SelectedNode issue..

    I will be up front and say I'm not well rounded in using Treeview's.

    I have a treeview that users can add and remove nodes and child node and nodes off them. I found a module on line that allows...
  7. Replies
    3
    Views
    5,871

    Multi-Threaded TCP Listener

    I have a program that listens on a tcp port for another application to connect to it and send data to it. and it stays connected until the other application closes.
    I'm using a threaded tcp listener...
  8. Replies
    0
    Views
    885

    Ndde DDEServer

    Has anyone ever been able to use the NDDE library to get a successfully working DDE Server??

    I am in need to add a DDE Server to my application to be able to receive data from another program that...
  9. Replies
    5
    Views
    1,544

    Re: What is the correct way for this function.

    Thank you for both of these.. I am leaving for the weekend but I copied both of these to my laptop to try out. Will let you know how they work out..
    Thanks again..

    Rick
  10. Replies
    5
    Views
    1,544

    Re: What is the correct way for this function.

    The first function takes a reference to an array of bytes, takes a segment of the array of length (Count), starting at position (Index), and reverses the order of bytes in the output array.
    The...
  11. Replies
    5
    Views
    1,544

    What is the correct way for this function.

    I am converting some Delphi code to VB These 2 routines below are my attemp to make the functions work:



    Private Function SwapBytes(theBytes() As Byte, index As Integer, count As Integer) As...
  12. Replies
    7
    Views
    808

    Re: How could I add a progressbar for this.

    Here is the code that is working correctly for me.


    Public Sub writeFile(ByVal io As System.IO.Stream, ByVal aFilename As String)
    Dim readIn As New FileStream(aFilename,...
  13. Replies
    7
    Views
    808

    Re: How could I add a progressbar for this.

    I was finally able to get it figured out..
    Thanks for the help everything works good now..

    Rick
  14. Replies
    7
    Views
    808

    Re: How could I add a progressbar for this.

    As I said I wasn't sure how to do this. but couldn't you do something like this to get the original size??


    Public Sub writeFile(ByVal io As System.IO.Stream, ByVal aFilename As String)
    ...
  15. Replies
    7
    Views
    808

    How could I add a progressbar for this.

    I am using this routine as part of a multipartform upload class.



    Public Sub writeFile(ByVal io As System.IO.Stream, ByVal aFilename As String)
    Dim readIn As New...
  16. VS 2012 Re: Can someone explain Why this doesn't work all the time.

    BINGO!!!!

    "The above method calls your DownLoad method, which makes a call to WebClient.DownLoadAsync. That method is not a blocking call. It starts the download off, and then returns immediately....
  17. VS 2012 Re: Can someone explain Why this doesn't work all the time.

    See above post

    (Breakpoints) Yes I have
    as soon as the downloadfileasync statement is called a 0 length file is placed in the directory it is supposed to be in and the the End Sub breakpoint is...
  18. VS 2012 Re: Can someone explain Why this doesn't work all the time.

    The menu option was just a test to see if the download routine would work if I placed it in it's click event. and it did . As my post above I was trying to run this from a download routine and the...
  19. VS 2012 Re: Can someone explain Why this doesn't work all the time.

    1. & 2. All of these routines are located in a Form. Its the main form of my application. the routine that I was trying to use is this:



    Private Sub DownloadUpdates()
    ...
  20. VS 2012 Can someone explain Why this doesn't work all the time.

    I am trying to download a file in my application.. If I call it from a button or menu click event it works but in other callings it does not and returns a 0 length file and never attempts to download...
  21. Replies
    4
    Views
    580

    Re: Looking for a faster file write routine

    Thanks for showing that to me. I was leaning to the machine as to the cause of the slowness but I have run this program on 3 computers that I test with the Windows 7 desktop runs as it had previously...
  22. Replies
    4
    Views
    580

    Re: Looking for a faster file write routine

    DebugString = CStr(Now) & " - " & Title & " = " & Setting
    fname = DebugLogFilename

    DebugString is a single line that gets written to the debugfilename. Each time the routine runs only one line...
  23. Replies
    4
    Views
    580

    Looking for a faster file write routine

    For my debug logging I use this code:


    Public Sub DebugLog(Title As String, Setting As String)
    Dim DebugString As String
    Dim fname As String
    Dim sw As...
  24. Replies
    9
    Views
    1,106

    Re: [RESOLVED] RichTextBox Positioning

    dilettante

    I have another question about your code to scroll to the top. Is there a way to work around the RTB's need to place the line at the top of the window?? I mean is there a way I could...
  25. Replies
    9
    Views
    1,106

    Re: [RESOLVED] RichTextBox Positioning

    Another question about the same thing.. Is it possible to detect when the scrollbar has moved?? If a user moves the scrollbar I want to pause text from entering the box..

    TIA
  26. Replies
    9
    Views
    1,106

    Re: RichTextBox Positioning

    dilettante

    You are amazing... This should work fine for what I am doing. I would have never come up with that. I had never even thought of using the scroll and scroll position...

    I feel like a...
  27. Replies
    9
    Views
    1,106

    Re: RichTextBox Positioning

    I have attached an image..
    What I mean by the top and Bottom are the top line of the visible window and the bottom line of the visible window. This window is resizable..
    Using the image when they...
  28. Replies
    9
    Views
    1,106

    [RESOLVED] RichTextBox Positioning

    In my application I have a RTB that fills with data that comes in from a serial port. As the characters fill the window they scroll from the top to the bottom and text at the top just scrolls off the...
  29. Replies
    5
    Views
    825

    Re: RichTextBox help

    I'll work on this over the weekend and see what I come up with..
    Thanks for the responses so far..

    Rick
  30. Replies
    5
    Views
    825

    Re: RichTextBox help

    Hi Thanks for the reply..
    Yes I have posted this in a few places.. I have figured out most of what is required Now I am trying to get the printing to the RTB correct..
    I need to use a Rich text box...
  31. Replies
    5
    Views
    825

    RichTextBox help

    I am using a richtextbox on an application. I want this RTB to be able to work like this

    Text comes into the RTB from an external serial modem then fills the RTB with the text that is displayed....
  32. Replies
    2
    Views
    352

    MSComm1 issues

    I am using a MSComm1 control connecting to an external data modem of sorts.
    I can recieve data and control the modem fine the problem is when I close the port using mscomm1.portopen=false the port...
  33. Thread: Line out

    by rellison
    Replies
    2
    Views
    741

    Can someone tell me if this is possible and if so...

    Can someone tell me if this is possible and if so how to do it...

    I need to output a wav file but while its outputing mute the speaker jack and only send to the line out jack of a sound card. then...
Results 1 to 33 of 33



Click Here to Expand Forum to Full Width