Search:
Type: Posts; User: dajunka
Search :
Search took 0.01 seconds.
January 18th, 2011 01:39 AM
Worked a treat, thank you.
January 17th, 2011 01:11 AM
What is the best way to force a list box to visually scroll down the list as things are added to it from within the program?
Thank you.
January 13th, 2011 02:51 AM
Your right DataMiser, and I did find it, but the examples I found all had errors of one kind or another.
On the other hand your answer worked perfectly, thank you very much, I can now proceed with...
January 12th, 2011 10:43 AM
Can you by any chance remember how to use "fileinfo"? I have tried it a few ways without result.
That VB6 code I got from these forums, years back, and it worked well for me at the time. :)
January 12th, 2011 09:40 AM
Sorry, but that didn't work.
It seems this is one of those many things that VB.net is not very good at. In VB6 I use to do it like so...
Requires reference to Microsoft Scripting Runtime
...
January 12th, 2011 08:38 AM
Sorry, but that didn't work.
January 11th, 2011 11:33 PM
By searching I found these solutions but I cannot get them to work.
File.GetLastWriteTime(fileName)
and
File.GetCreationTime(fileName)
Any idea's?
January 11th, 2011 02:39 AM
I want to display the date a text file was created and modified could anyone point me in the right direction? Visual studio 2008
Thank you :wave:
August 24th, 2010 11:38 AM
Very strange, I did think with VB-net being so powerful and all, that there would be a simple command for this. Well you live and learn.
Thank you for your replys.
August 21st, 2010 06:34 AM
Is there any way I can pause my program and for it to need a key-press to resume?
Thank you.
Net 2008
Oh my word, I would not have found that in a million years. :blush:
Thanks very much, just changed the little blighter's "/" for "_" and Bobs your uncle. How could something so simple give me...
This has become a major headache for me. :sick:
I am simply trying to add the days date to a filename.
FilePathStr = Environment.CurrentDirectory() & "\Data\Data Archive\Padding " & Mydate &...
Oooh, this one is going to take some thinking about. :)
Hi! :wave:
Thank you so much, that really helps, and written in a way that even a fool like me may understand. :)
As a point of interest, I have noticed this in some examples...
arrSplit =...
Is there a .split command that would allow me to separate numbers from text in a given string.
Mystring = "1234, this, is, text,5678"
Using the split command I would just like for
this
is...
Well, I have just finished my first little program and it works really well.
It was a lot of hard and frustrating work, and a few times I nearly gave up.
Now I have cracked the surface it should...
So sorry. I found out what happened.
With my experiments with loading and saving data somehow my data file had been empted, the file was still there but was minus all it's data, and that's why my...
Yeehee!! I have done it, and it works like a charm :)
Thank you so much for all of you who took time to help, it is very much appreciated.
Now that I have learned to load and save I can move...
This net thing is so flipping frustrating, it's so hard to get anything to work with it.
I made a sub routine as I was shown, and placed my load data routine into it that I know works perfectly,...
The examples I have are a little unclear as to the wording or layout I would use to split it into a array (a, 0 ) through to (a,6) and my first few attempts have failed.
Cool, thank you.
This is my code so far and it seems to be working very well except for the splitting bit.
a = 0
Dim objfile As New System.IO.StreamReader("c:\data.txt")
...
And there's me thinking it was going to be so easy.
Just need to find something helpful on splitting now.:sick:
I found info about the streamreader/writer in my book and got it to work, the problem is that it reads/ writes the whole thing, I was looking for a way to read data individually separated by commas. ...
I am trying to read/write a simple text file in net 2008 but can't, as yet, get it to work.
Any help would be appreciated.
This is how I use to do it in VB6
MyStr = App.Path &...
Thank you for that.
Looks like I will have to enter it manually too. I can't believe that the coders of this new VB forgot to include a menu option for what is a heavily used part of vb.
Up to now...
Click Here to Expand Forum to Full Width