Search results for query: *

  1. Raven65

    Process Launching Bat Not Working

    I thought about that initially, but my paths number in the hundreds, and grow every day =\ I'm trying the simple->complex stepping now, but if anyone has further thoughts I'd love to hear them...
  2. Raven65

    Process Launching Bat Not Working

    Alright, so this one has me stuck. My setup is this: Server/Client service using TCPClient/Listener. Client sends the Listener a path to run. Listener using Process to launch that path locally. This works fine on one machine. However on another I am having a terrible time. Code to run the...
  3. Raven65

    Using PC time

    You may actually need to consider using the GPS devices time. If you are running this @ multiple locations, the "current time" on the PC's @ each location will likely rarely match exactly. I know my two machines I'm sitting @ right now differ by a minute most of the time. You could try...
  4. Raven65

    Question Classes

    One of the wonderful things about object oriented programming is the ability to nest. You simple need to create another class that represents the Profile, then store that within the xStudent class. Pseudo code Public class xStudent Dim studentProfile as New Profile End Class Public Class...
  5. Raven65

    Question some general questions

    No problem at all really. Like I said the community here is great and will help you where we can. Gather up some base knowledge about the questions you've posted above from either the boards here (the search function on these forums always serves me well), or Google like I mentioned. Once you...
  6. Raven65

    Question some general questions

    Don't take this wrong, but these seem like 5 questions that have been cut and paste from a homework assignment. Generally the community here tries to help its member develop their skills by improving on posted code and thoughts through conversation in a thread, while here it doesn't seem you...
  7. Raven65

    How to extract text from string

    While harder to understand than the string parsing solution Jaden provided, Regular Expressions are great for this sort of thing. This will achieve basically the same thing, pulling out the Long/Lat, but uses .NET's regex engine which should be more efficient. (Especially if your doing this...
  8. Raven65

    loops

    What is it exactly that you are questioning? The code above seems to be valid for the results you give... Are you trying to NOT reverse the string perhaps?
  9. Raven65

    Myself

    Bayne, first off welcome to the boards, glad to have you! Secondly, rather than waiting on a private contact, go ahead and post your questions as you come to the here on the boards so that more people can help you, and later more people can benefit from reviewing the threads when they may have...
  10. Raven65

    Big xml

    Are you only able to use Studio 2003 and .NET 1.1 as indicated by your preferences; or would you be able to implement your solution in Studio 08 and .NET 3.5?
  11. Raven65

    True Randomization

    For those on Studio 2008 LINQ offers a beautiful new alternative to generating this list: Dim rnd As New System.Random() Dim numbers = Enumerable.Range(1, 100). _ OrderBy(Function() rnd.Next) That's it! More details on this functionality here: Advanced Basics: The LINQ Enumerable Class...
  12. Raven65

    XML Parsing Prob

    Yes sir. Just remember, LINQ is basically a new way to interact with data stored in any type of object. Where previously you could only do 'queries' over SQL databases, now you can do them over anything LINQ can interface to (which is most everything). If you need more helping understanding...
  13. Raven65

    XML Parsing Prob

    Alright, so along with Studio 2008 comes the ability to use LINQ over XML. This gives you a powerful new way to use XML documents over the previous DOM models. So, you could restate your code approxamately as follows: Dim ListOption As String = "Greeting" Dim EWordList As New List(Of String)...
  14. Raven65

    XML Parsing Prob

    Samboy, would it be possible for you to post a snip from the XML file so I can see the structure better? Also, can you confirm your platform of Studio 2008/3.5 is accurate? I believe I can help you with a very easy solution given these two things.
  15. Raven65

    client/server

    As this seems to be an early app for you based on previous comments you will likely want to use the BackgroundWorker object, rather than true multithreading as it accomplishes many of the same things without as much hassle. You can find a decent BGW example here: CodeGuru: Safe Multithreading...
  16. Raven65

    Simple way to Send/Receive a string between two applications

    Rexy, Try the two links from MSDN I provided for Kaure in another thread asking a similar question here: http://www.vbdotnetforums.com/net-sockets/29128-client-server.html#post86344 Or, for a slightly easier (imo) solution to implement you can see a suggestion I posted here...
  17. Raven65

    String Compare

    Tom's approach should work, but seems terribly inefficient. Even assuming you have a conditional to drop out of the check at the first non-valid character you have still executed a Chr() function and a compare for each valid character you did pass. So a string like this: "ÜThis string is bad...
  18. Raven65

    client/server

    You can get a start on the TCPClient here: TcpClient Class (System.Net.Sockets) And on the TCPListener (server) here: TcpListener Class (System.Net.Sockets) Beyond those introduction and sample code, Google will return a ton of references (including tutorials) is you search for those keywords.
  19. Raven65

    client/server

    "Better" is going to be relative to your needs and goals. The XML approach will likely be easier to code for a beginner, but will likely rely on a FileSystemWatcher to see the new file and act upon it, which means it will be a bit slower overall in terms of reaction times. The...
  20. Raven65

    'Variable' LINQ Structure

    Simply put, by declaring the query in each of the branches of your IF conditional you have not expanded is scope but only declared it in two places. To be able to set the value of the query in either branch of the IF and then use it later you need to expand the scope of the variable. This is...
Back
Top