thanks again for the additional explaination --- for me and the process I'm running it's not too time dependent to save the small 'clicks' of time -- although useful to know and another way to skin the same cat.
I'm actually going to keep the small function I've wrote in addtion to the RegEx --...
Thanks again John.
I've added this example to my 'test bed' and yes it works great thanks. I'll try it on the whole file to see if it offers perfromance improvements (which I'm sure it does).
I guess I really do need to look at these Reg expressions more fully --- I understand your example...
Hi John,
I probably still need to look @ RegEx to see if I can do this in a better (more efficient way), however this said I did have a quick look and from what I could guage, even with RegEx I would need to do some sort of loop to remove mutiple occurances within a string.
I might be wrong...
Hi John
Thanks for the quick reply --- I'll have a look at RegEx. I've never used them before so hence why I was hesitating this route.
I'll post back here as and when I have a solution (or if I get stuck) and maybe tease some better brains than mine.
Thanks also for the link.
Cheers,
Brian
Hi Guys,
I'm trying to read a text file, line by line and then use some of the data from these lines as I read them.
I'm OK with opening the file and reading the text in using (tempReadline = objReader.ReadLine() & vbNewLine)
The main problem I have is that the text often has mutiple spaces...
This has now been resolved and many thanks to the poster who helped me.
Special mention to John for his help and the main part of the answer on post #7 -- see link -- this was very useful.
John was also kind enough to point me on the errors of my ways. -- many thanks
Hi jwpjr765 -- yes I really don't know what I'm doing wrong.
I am using VS 2010 and don't know if that makes any difference -- perhaps if we could exchange .ZIP files as I can look at your's and compare what's different and I'll send mine to see if that worked on your version ?
I'll send you a...
Hi jwpjr765,
thanks for sticking with me on this and your help -- i do appreciate this.
You reply has re-kindled my dampend spirits as I was getting stuck and frustrated --- unfortunatly I still am.
I tried all that you suggested -- it did not like "Imports...
@ jwpjr765
many, many thanks for this 2nd example --- it's very helpful and I acutally understand most of what's being done here -- at least at a high level :-)
I am afraid I'm still a little bit stuck -- what I was trying to do just to test this and also my understanding --- have a simple...
OK guys,
please bear with me on this -- good article above (from jwpjr765), however this seems to be for VB6 rather than .NET and uses Winsock as the control.
Ideally what I'd like to do is update this and I believe I need to use "system.net.sockets" as the .NET equivilant or improved way of...
OK so I've looked via the web and yes there are many items returend in the search but I cannot find anything that does the following -->
1) Provides a source code example in VB.NET
2) Does not use another .DLL (ASocket.dll is mentioned alot but this is a commerical library)
I found an example...
Thanks for the reply -- i think it was terminalogy in my Google search I was missing "ntp" and was using things like atomic clock etc....
I'll have a look through these and see what I come up with.
Many Thanks
Hi All,
I'd like to write a small app to get the time from an "atomic" clock -- I believe the UTC time and then compare this against the system clock.
So far I've been able to get the system time details with the code below but just cannot figure out where to start on getting the atomic...
Hi,
Many thanks for the reply -- if you could email to me that would be great as a .ZIP
Probably the best email address is -->
******email removed****
Or if you could post back to this board with the .ZIP
Many thanks,
Brian
Hi All,
Just to let anyone know who's in a similar position -- I found the cause of my problems which was easy when you know.
Basically my install had not worked correctly and I needed to install again.
It took me a while to figure this out as the orginal install had said success and no...
Hi All,
*** seem's I'm having trouble with the screen shots, so hope the text makes some sense -- sorry for this ***
Hope someone can help me with this and I hope it's something very simple ?
I'm trying to start a VB.NET project. previosuly when using .NET 2003, it asked me what type of...
Do you have an example you can post or email please ?
I think the above has given me some idea's but I'd like to consider all other alternatives.
I'm quite new to VB.NET so would appreciate all the help.
Thanks in advance,
Brian
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.