Search results for query: *

  1. T

    Question parsing a text file and writing to new text fileD:\Folder\

    Thanks jmcilhinney but I never wanted you to write my code. I was just stuck in the middle part of getting the value I wanted and getting it to another array. Once I read the List part it started to click and I eventually figured it out as I have never done that part of a coding procedure...
  2. T

    Question parsing a text file and writing to new text fileD:\Folder\

    Okay jmcilhinney I went back to your original post and I do apologize for not getting back sooner, other projects have distracted me until now. I understand the concept of what you were saying. I get the ReadAllLines and I create the array from the file. I understand the WriteAllLines aspect as...
  3. T

    Question parsing a text file and writing to new text fileD:\Folder\

    I am using vs2015. I am trying to parse the one file movedfiles.txt and writing it to a second file filenamesonly.txt keeping the original in tact. I tried this but like I said in previous post I am very new to parsing and all this stuff so I'm not sure of what to use to accomplish task This is...
  4. T

    Question parsing a text file and writing to new text fileD:\Folder\

    Thank you for your direction and Ok so I came up with this and I got it to read the file but it writes only the first line over and over. I tried objstreamwriter and thats what happened. So I went with writealllines and that didn't write anything. I'm at a loss which line is failling. I'm sure...
  5. T

    Question parsing a text file and writing to new text fileD:\Folder\

    I have a dilemma. I am quite a novice at parsing text files in vb net. I have tried split to no avail. This is what I need to do. I have a text file with multiple lines (varies with each run of the function) The text file is a list of files with paths. Each path is different i.e...
  6. T

    parsing strings during objReader.ReadLine

    Thanks jmcilhinney. I'll take it from here. Appreciate Input
  7. T

    parsing strings during objReader.ReadLine

    I'm having difficulty finding exactly what I need. I have code that gets Initial Path, Return Path and a List of FileNames with FullPath of filename All works well, but in the list of filenames I need to trim or split the filenames to only have filename with extensions(no path) I'm trying to do...
  8. T

    Question Why does this coding fail if drive directory chosen?

    But how would I handle that simply with out a boatload of if's. I was trying to avoid a long string of if or's. Maybe I'm not understanding. Is there an example of what you're talking about .
  9. T

    Question Why does this coding fail if drive directory chosen?

    Okay Let's say I just want to prohibit user from this scenario and I go this route,If SearchPathTextBox.Text = "" but display a prompt that this can not be done. how do I wild card Search text so they can't use any root directory like SearchPathTextBox.Text = "?:" which of course doesn't...
  10. T

    Question Why does this coding fail if drive directory chosen?

    OK Thanks for the response, I can do that.
  11. T

    Question Why does this coding fail if drive directory chosen?

    Hi, I'm confused. This code works fine as long as directory chosen from directory dialog is not a root directory on any drive. Example if I choose C:/ or F:/ it fails and I get exception: 'System.UnauthorizedAccessException' occurred in mscorlib.dll. Is there a way to handle this exception and...
  12. T

    Question passing local variables to next function

    Okay, understand now. I was so confused in the function return end that I continued to overwrite my own code instead of leaving it alone. Now understand the member thing and access point. Thanks for straightening me out. Life is easier now.
  13. T

    Question passing local variables to next function

    So,, thanks for your response jim. I declare it as a Public ? Const? Property? I don't see field as an option. or member. Do I declare it = nothing and then can set value in local code or what is my option. Because with the code you see It may have 1 variable in the string that is not...
  14. T

    Question passing local variables to next function

    I thought I posted this but apparently didn't take I have a win form app I am building. Initially I build a variable string from following code and need to pass it to next function which sends to dll and on to server. My problem is I create the string its there but I lose it before I can pass...
  15. T

    communicates functions?

    That's kind of what I figured you would end up saying. I'll let him know and we can proceed without questions. Appreciate your advice and tutelage.jim
  16. T

    communicates functions?

    Developer has concerns that a dll is too readily hacked whereby they could compromise our interim process and break security. Is that justified in his thinking. Initial plan was a dll which would have saved me all this trouble. But his thinking was thus. They could replace our dll with their own...
  17. T

    communicates functions?

    Apologize jim, I am fairly new to complex programming. So I may seem ignorant. All previous have been standalone. So to clarify, the middle piece if we do not want it a dll must be an exe. got it. Do I still then run on your first action as an IPC type structure and learn from there. Any...
  18. T

    communicates functions?

    Maybe I need to clarify. The center or middle module is merely a compiled group of functions. Does that makes sense. My client program wants to pass strings or objects to center module which in turn passes up to server gets a return and sends back to my client program. Is this even feasible.
  19. T

    communicates functions?

    I'll be as detailed as possible. Looking for direction not solution. I am a GUI guy. I write the client side of a service. Developer writes a server side (php) based program. Plan is to have a compiled program ( not a dll ) in place on client that communicates functions to and fro from client...
Back
Top