CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: dajunka

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,018

    Re: Scrolling a list box.

    Worked a treat, thank you.
  2. Replies
    2
    Views
    1,018

    [RESOLVED] Scrolling a list box.

    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.
  3. Replies
    9
    Views
    913

    Re: When was text file created? (resolved)

    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...
  4. Replies
    9
    Views
    913

    Re: When was text file created?

    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. :)
  5. Replies
    9
    Views
    913

    Re: When was text file created?

    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
    ...
  6. Replies
    9
    Views
    913

    Re: When was text file created?

    Sorry, but that didn't work.
  7. Replies
    9
    Views
    913

    Re: When was text file created?

    By searching I found these solutions but I cannot get them to work.

    File.GetLastWriteTime(fileName)

    and

    File.GetCreationTime(fileName)

    Any idea's?
  8. Replies
    9
    Views
    913

    [RESOLVED] When was text file created?

    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:
  9. Replies
    7
    Views
    1,026

    Re: Pausing a program.

    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.
  10. Replies
    7
    Views
    1,026

    Pausing a program.

    Is there any way I can pause my program and for it to need a key-press to resume?

    Thank you.

    Net 2008
  11. Replies
    3
    Views
    793

    Re: Adding date to file name.

    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...
  12. Replies
    3
    Views
    793

    [RESOLVED] Adding date to file name.

    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 &...
  13. Replies
    6
    Views
    592

    Re: Splitting text from numbers.

    Oooh, this one is going to take some thinking about. :)
  14. Replies
    6
    Views
    592

    Re: Splitting text from numbers.

    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 =...
  15. Replies
    6
    Views
    592

    Splitting text from numbers.

    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...
  16. Replies
    17
    Views
    1,543

    Re: Where has the subroutine gone?

    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...
  17. Replies
    17
    Views
    1,543

    Re: Where has the subroutine gone?

    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...
  18. Replies
    11
    Views
    745

    Re: How do I make this work in vb.net?

    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...
  19. Replies
    17
    Views
    1,543

    Re: Where has the subroutine gone?

    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,...
  20. Replies
    11
    Views
    745

    Re: How do I make this work in vb.net?

    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.
  21. Replies
    11
    Views
    745

    Re: How do I make this work in vb.net?

    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")
    ...
  22. Replies
    11
    Views
    745

    Re: How do I make this work in vb.net?

    And there's me thinking it was going to be so easy.

    Just need to find something helpful on splitting now.:sick:
  23. Replies
    11
    Views
    745

    Re: How do I make this work in vb.net?

    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. ...
  24. Replies
    11
    Views
    745

    How do I make this work in vb.net?

    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 &...
  25. Replies
    17
    Views
    1,543

    Re: Where has the subroutine gone?

    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...
Results 1 to 25 of 120
Page 1 of 5 1 2 3 4



HTML5 Development Center

Click Here to Expand Forum to Full Width