Search:

Type: Posts; User: knighty

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    825

    Re: Timer/Program delay

    I'm not sure, it is for a job I have seen posted, I haven't made any communication with the client yet as I wanted to be sure I was technically capable of completing the task before putting myself...
  2. Replies
    3
    Views
    825

    Timer/Program delay

    Hi all,

    I am making an application which calls several methods from a loop. Inside the methods, some external applications are executed.

    What I want to do, is implement a wait which is called...
  3. Replies
    0
    Views
    729

    [RESOLVED] Multiple ShowDialog issue

    Hi all,

    I am creating an application which requires navigation (not compulsory this method, I have a work around although I would like it to work by this initial plan).

    Basically this...
  4. Re: Tcplistener/Tcpclient over LAN issues

    Unbelievable, changed the port to 10000 and it seems to work. I wonder why 1000 didn't work. If anybody knows why, please let me know.

    Thanks
  5. Re: Tcplistener/Tcpclient over LAN issues

    IPAddress.any gives the same result
  6. Re: Tcplistener/Tcpclient over LAN issues

    I read that 0.0.0.0 listens to all IP addresses?

    Also I've tried it listening to the specific IP of the client which still gives the same result.
  7. Re: Hello Guys I'm New Here and i need some help !

    I think the only way is to create a VB project and put the 2 applications side by side and just recode it, the syntax is very similar anyhow as they use the same libaries.
  8. Replies
    8
    Views
    791

    Re: sub for the whole app

    Multithreading perhaps?

    Not used it myself but it seems to fit the description.
    http://msdn.microsoft.com/en-us/library/eed6swsx%28v=vs.80%29.aspx
  9. Replies
    7
    Views
    913

    VS 2010 Re: Call function using array value

    Or what 4x2y said, probably the better option
  10. Replies
    7
    Views
    913

    VS 2010 Re: Call function using array value

    Wouldn't it be easier to assign each function an equivalent integer and then create an integer array.
    Example...
    openford = 1
    openvauxhall = 2
    openmini = 3

    Then you call the function like.. ...
  11. Replies
    8
    Views
    791

    Re: sub for the whole app

    While (count <> 2)
    'code
    End While
    shut down



    That does the code inside the while, whilst count does not equal 2.

    Any use?
  12. Re: Hello Guys I'm New Here and i need some help !

    Void is a C,C#,C++ and Java term, although there may be other languages which use it that I'm unaware of.
    Void is not used in VB although the equivalent to it is the Sub() method which will return...
  13. [RESOLVED] Tcplistener/Tcpclient over LAN issues

    Hi all,

    I am creating an application that will be talking over the LAN (and eventually, WAN) which uses the Tcplistener and Tcpclient objects.

    Now, I have this working absolutely fine locally...
  14. Re: [RESOLVED] Problem with ClientScript.RegisterArrayDeclaration

    Solved!

    I seem to have this habit of posting a question and then looking at the code and fixing it.

    Issue: the trans time string data is being read from an xml file, somewhere along the way I...
  15. Re: Problem with ClientScript.RegisterArrayDeclaration

    Also could it be anything to do with my Javascript?

    z.innerHTML = transTimeArray[0];
    z is a table cell.
  16. Re: Problem with ClientScript.RegisterArrayDeclaration

    Strings only.

    Also I think the only other reason it works correctly with the other arrays is because the elements only contain numbers (although they are string arrays).
  17. [RESOLVED] Problem with ClientScript.RegisterArrayDeclaration

    Hi,

    I am loading a VB array in to a JS array using the ClientScript.RegisterArrayDeclaration function. The function works fine with 2 of my other string arrays although has a problem with one...
  18. Replies
    4
    Views
    1,111

    Re: ASP.net + Table + XML data

    I have managed to semi find a work around although I've hit another problem (fancy that...:rolleyes:)

    Now, the VB side of things adds all the XML data to 3 arrays inside a for loop like so:

    ...
  19. Replies
    4
    Views
    1,111

    Re: ASP.net + Table + XML data

    Appologies for the late reply.

    There isn't much code yet, was trying to initially attack it from the correct approach!

    I have managed to create a dynamic table (using JS) although this only...
  20. Replies
    4
    Views
    1,111

    [RESOLVED] ASP.net + Table + XML data

    Hi all.

    I am almost at the finishing stages of my project now but having some problems with tables and filling it with data from an XML file.

    I am wanting to import an XML file that contains...
  21. Replies
    9
    Views
    1,163

    Re: Filereader issue

    It was calling the sendMessage twice.
    Basically, inside the readLine method as you can see, it calls the sendMessage method, although earlier on in the program, there is a loop which basically...
  22. Replies
    9
    Views
    1,163

    Re: Filereader issue

    I have an earlier version backed up of the program which works fine also, just with a few features missing. I compared the 2 versions (both server and client) side by side earlier and couldn't see...
  23. Replies
    9
    Views
    1,163

    Re: Filereader issue

    Made the change although it's still repeating the last line of data
  24. Replies
    9
    Views
    1,163

    Re: Filereader issue

    Yeah and it sends the data line by line
  25. Replies
    9
    Views
    1,163

    Filereader issue

    Hi all,

    I have a problem with the filereader class (i think). My program has server/client interaction and the client reads from a text file, sends the data to the server, blah blah blah.

    The...
  26. Thread: Hidden module

    by knighty
    Replies
    5
    Views
    636

    Re: Hidden module

    Basically my client application connects to the server, reads in a text file, sends the data to the server and repeats 5 minutes later
    I want this whole application hidden, there is no need for...
  27. Thread: Hidden module

    by knighty
    Replies
    5
    Views
    636

    Re: Hidden module

    The user

    The server doesn't necessarily need to be hidden but the client application certainly does
  28. Thread: Hidden module

    by knighty
    Replies
    5
    Views
    636

    Hidden module

    Hi all,

    I have finished creating the code for my client/server application although both parts currently execute modules/in console(this was for testing purposes).

    I am now looking at making...
  29. Replies
    1
    Views
    439

    Re: Declaring object variable question

    Solved my own problem.

    textWriter = Nothing was what I was looking for.
  30. Replies
    1
    Views
    439

    Declaring object variable question

    Hi all,

    Got a question regarding declaring a variable, I'm not too sure if what I want to do is possible.

    Basically I have a module that writes to a text file using textwriter which is...
  31. Replies
    19
    Views
    2,273

    Re: String/Char arrays and whitespace

    Works a charm.

    Thanks to everybody for their suggestions :thumb:
  32. Replies
    19
    Views
    2,273

    Re: String/Char arrays and whitespace

    Could be on to a winner with this.

    I've just reduced the Byte arary to 5 bytes and told the NetworkStream to receieve 5 bytes of data, which recieved and output "Hello" only.

    I'll look at...
  33. Replies
    19
    Views
    2,273

    Re: String/Char arrays and whitespace

    Same result :sick:

    Wondering whether it would just be easier to transfer the file via FTP. Ideally I wanted it to be purely code but hey-ho, if I can't get it working tonight then I probably will...
  34. Replies
    19
    Views
    2,273

    Re: String/Char arrays and whitespace

    Unfortunately the whitespace still remains

    This is how I implemented it:

    Option Strict On
    Imports System.Net.Sockets
    Imports System.Net
    Imports System.Text
    Module Module1
    Sub Main()
  35. Replies
    19
    Views
    2,273

    Re: String/Char arrays and whitespace

    Does anybody know what the characters are that would be that appear as whitespace? I have tried using the string.trim function although it doesn't remove any of the whitespaces.

    Thanks
  36. Replies
    19
    Views
    2,273

    Re: String/Char arrays and whitespace

    Is there a work around for this? Failing that - I might have to go back to the drawing board.
  37. Replies
    19
    Views
    2,273

    Re: String/Char arrays and whitespace

    Added to line 1 of the module although no errors reported
  38. Replies
    19
    Views
    2,273

    Re: String/Char arrays and whitespace

    Server:

    Imports System.Net.Sockets
    Imports System.Net
    Imports System.Text

    Module Module1

    Sub Main()
    Dim client As New TcpListener(IPAddress.Parse("127.0.0.1"), 1000)
  39. Replies
    6
    Views
    1,005

    Re: Personal development

    Thanks for the replies.

    Coding on the side is something I have already looked in to (should have mentioned this in the first post), and something I plan on getting some experience with when I have...
  40. Replies
    6
    Views
    1,005

    Personal development

    Hi all,

    I am currently studying Software Engineering at University and I'm currently in my 2nd year.
    What I have studied up until this point, I have found reasonably easy. We have covered modules...
Results 1 to 40 of 42
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width