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...
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...
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...
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...
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...
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...
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 .
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...
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...
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.
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...
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...
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...
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...
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.
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.