Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
L

ltt19

@ltt19
About
Posts
15
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Get the application icon
    L ltt19

    Hi, Does someone knows how to get the default icon from other applications without using Windows APIs? Any ideas could be very helpfull, Thanks in advance

    Visual Basic tutorial question

  • Internet Explorer Automation
    L ltt19

    Hi, I want to automate the internet explorer, but not like the example in the Visual Basic Resource Kit. I want to get the URL that the user typed in the address bar. I tryed using mshtml and ShDocVw but it does not work, maybe I am using the wrong class. If someone knows how to interact with the Internet Explorer, please anwser me back, it should be very helpfull... Thanks in advance

    Visual Basic tutorial testing tools learning

  • read line by line
    L ltt19

    Hi, It is a text document, so i read it, edit it and them it write again, but jsut write wher it has changed, the it wil be faster... I do not know with there is a direct way to edit it, or if I have to put it in a variable anyway... Any ideas...

    Visual Basic

  • File properties dialog box
    L ltt19

    I want to call the file properties dialog box, the one when you right clik in a file or in many files usind the explorer and them click ont the properties menu... I heard about many ways, one is calling an api(the worst way, I think), other is add a reference to the shell32.dll, and i heard about something in the System.Diagnostics.Process... Does anyone knows one of these ways or other ways? Thanks in advance.

    Visual Basic json question

  • read line by line
    L ltt19

    Hi, I have a .txt file, and it is very big, my application needs to change this file at any time, and to open edit and save it will result in a long time token, so I think it is better to copy it to a variable, make the changes to the variable, and in the end of the program, it could write again. I do not know if there is a way to rewrite the file just where it has changed, and do not write all the file again, them it will be much better. If you could help me... Thanks

    Visual Basic

  • read line by line
    L ltt19

    Yes... I tryed just with the StreamReader, and it does not work, I have not thinked about StringReader. So I will se it... Thanks

    Visual Basic

  • read line by line
    L ltt19

    Hi, Yes it should works, but the problem is that I will make a copy of my big string, and it will use more memory. I am thinking about use your method, but them clear my big string... I will try to get a better way... Thanks, it could be usefull

    Visual Basic

  • read line by line
    L ltt19

    Hi, I have a string variable and it has over 300000 chars.... it is like it: text text1 txt2 it has many lines, and so, I have to read one by one. I tryed to use System.IO.StreamReader, but it does not accept over 260 chars... If someone has any ideas it would be very helpfulll Thanks in advance

    Visual Basic

  • Get all directories and subdirectories
    L ltt19

    I did it, it works, for me, the code is above, if you want to make any changes... Thanks for everybody who helped me. Here is the code, using a ListBox named as 'lst' Dim folders As New System.Collections.Specialized.StringCollection Private Function GetAllDirectories(ByVal Name As String) On Error Resume Next Dim finder As System.IO.Directory Dim cdir As New System.Collections.Specialized.StringCollection Dim cdir2 As New System.Collections.Specialized.StringCollection Dim cancel As Boolean = False Dim dir As String cdir.AddRange(finder.GetDirectories(Name)) folders.AddRange(finder.GetDirectories(Name)) Do While cancel = False For Each dir In cdir folders.AddRange(finder.GetDirectories(dir)) cdir2.AddRange(finder.GetDirectories(dir)) Next If cdir2.Count = 0 Then cdir = Nothing cdir2 = Nothing Dim i As Integer For i = 0 To folders.Count lst.Items.Add(folders(i).ToString) Next cancel = True Exit Do Else cdir.Clear() Dim y As Integer For y = 0 To cdir2.Count cdir.Add(cdir2(y)) Next cdir2.Clear() dir = Nothing y = Nothing End If Loop MessageBox.Show(lst.Items.Count) End Function Private Function GetAllFiles() On error resume next Dim files As System.IO.Directory Dim dir As String For Each dir In folders lst.Items.AddRange(files.GetFiles(dir)) Next End Function

    Visual Basic tutorial question

  • Get all directories and subdirectories
    L ltt19

    Hi, Yes, the idea is great, I am going to use your example, but I will try to use the system.io class, if I can´t, I will use your example as it is..... Thanks, it is what I was looking for....

    Visual Basic tutorial question

  • Get all directories and subdirectories
    L ltt19

    Hi, you are using XML, but the "idea" is the same, it could help me!!!, so I will try to do it with the System.IO classes, if not your code will be very usefull! Thanks!

    Visual Basic tutorial question

  • Get all directories and subdirectories
    L ltt19

    There are some classes in System.IO that do the same that you are doing. The problem is to loop over all directories with this classes. I will try to do a loop with your code. Thanks again!!!

    Visual Basic tutorial question

  • Get all directories and subdirectories
    L ltt19

    Hi, I have already seen some these web pages, but by problem is to look at all subdirectories, I am going to make a kind of loop over each directory. I hope that it help me. Thanks, you helped me a lot too.

    Visual Basic tutorial question

  • Get all directories and subdirectories
    L ltt19

    Could you give me an example?? it will be very helpfull Thanks in advance

    Visual Basic tutorial question

  • Get all directories and subdirectories
    L ltt19

    Hi, Does anybody knows how to get all driections and subdirectoires of a hdd? I took a look at System.IO.IsolatedStorage, but I could not specify the hdd. If someone has any ideas.... Thanks

    Visual Basic tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups