Search:

Type: Posts; User: Pc_Not_Mac

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    12
    Views
    2,125

    VS 2008 Re: System.Text.StringBuilder?

    Uhhh, lol...
    I started learning all these programming languages (JAVA C++ VB.net)
    And actually understand them, but I always overlook the more BOLD mistakes.

    Anyways, I see my mistake.
    You...
  2. Replies
    12
    Views
    2,125

    VS 2008 Re: System.Text.StringBuilder?

    Okay, I have tried both AppendLine and Append.

    How would joining an array (to a single string) solve my problem when in fact I need an array to store multiple items to add inside the listview?
  3. Replies
    12
    Views
    2,125

    VS 2008 Re: System.Text.StringBuilder?

    Sorry for the late reply,

    This problem is beyond me.
    I think its .net frame bug.
    I really can't draw logically conclusions at this point.
  4. Replies
    12
    Views
    2,125

    VS 2008 Re: System.Text.StringBuilder?

    I have three columns inside the listview.
    I need to pass an array (with three items) inside the listview.


    When I said 'nothing' that means those functions are working.
    It's just the...
  5. Replies
    12
    Views
    2,125

    VS 2008 Re: System.Text.StringBuilder?

    No see,
    If Array.IndexOf(ignorechar, chr) = -1 Then
    ses.AppendLine(chr)

    End If
    removes the 'bad' chars and adds them inside...
  6. Replies
    12
    Views
    2,125

    VS 2008 Re: System.Text.StringBuilder?

    This is what I'm trying to do.
    The data comes in this format:
    <xfind value="0001"
    <xfind value="0002"
    <xfind value="0003"
    <xfind value="0004"
    <xfind value="0005"
  7. Replies
    12
    Views
    2,125

    VS 2008 [RESOLVED] System.Text.StringBuilder?

    Lets say I have a declared StringBuilder, and within I have the following data:
    0001 0002 0003 0004

    How would I separate each item to a different line so the output is:
    0001
    0002
    0003
    0004
  8. VS 2010 Re: Extracting a string from a webpage

    YES. I solved the issue with Regular Expressions.
  9. VS 2010 [RESOLVED] Extracting a string from a webpage

    lets say webpage has 2 strings named sampleObj="sample1" and sampleObj="sample2"

    Even though sampleObj remains the same the text inside, however, changes.
    How would you loop inside page and get...
  10. Replies
    9
    Views
    1,226

    VS 2008 Re: List of string function

    How would I add items to the list from another form then?
    Because this:


    ListOFT.Add("A")
    ListOFT.Add("B")
    Dim ex1() As...
  11. Replies
    9
    Views
    1,226

    VS 2008 List of string function

    I have added a module to the project. Inside the module I have the following code:


    Public Function ListOFT() As List(Of String)

    Return ListOFT
    End Function

    When I try to...
  12. VS 2010 Re: Check if a file is being used by another process

    Very nice code, jay20aiii, just one question.
    I get a "Another program is currently using this file." message after I ran the function and started the file that I checked.

    I have tried:
    ...
  13. VS 2010 Check if a file is being used by another process

    The only logical way is reading the file and creating Try and Catch?
  14. Replies
    25
    Views
    5,076

    VS 2010 Re: Download Multiple Files

    Does the original code from, jmcilhinney, work at downloading regular files?
    I mean without using ftp?
  15. Replies
    25
    Views
    5,076

    VS 2010 Re: Download Multiple Files

    Yes, sorry New should get removed.
  16. Replies
    25
    Views
    5,076

    VS 2010 Re: Download Multiple Files

    This theoretically should work;


    Imports System.Threading.Tasks
    Imports System.Net
    Imports System.IO

    Public Class Form1
    Using myWebClient As New WebClient()
    ...
  17. Replies
    25
    Views
    5,076

    VS 2010 Re: Download Multiple Files

    You can't just use, jmcilhinney, code to work with a file transfer protocol server.
    His example is using the Webclient Class. However, you need to use the FtpWebRequest Class.


    ...
  18. Replies
    25
    Views
    5,076

    VS 2010 Re: Download Multiple Files

    Hey, BackGroundWorker was giving me a ton of problems last October.
  19. Replies
    25
    Views
    5,076

    VS 2010 Re: Download Multiple Files

    Wow, all the search engines much of want offline in your area.
    http://social.msdn.microsoft.com/Forums/en-NZ/vbgeneral/thread/d47d9388-6580-4951-ac28-cf98b3fa0290
  20. Re: Programmatically check if a web browser is installed.

    However, Chris128 has done great class for such task, but I believe there might be a easier way.


    Dim Browsers As New List(Of String)
    Try
    Dim UserFolderPath As String =...
  21. Re: Programmatically check if a web browser is installed.

    I know you can read the Registry to find out the default web browser.
    Yet sadly you can't read the Registry to see all the installed ones.
    But I'm looking for all installed web browsers.
  22. Replies
    4
    Views
    1,091

    VS 2010 Re: VB 2010 Clock

    Dim time As DateTime = DateTime.Now
    Dim Hours As String = "HH"
    Dim Minutes As String = "mm"
    Dim...
  23. Replies
    25
    Views
    5,076

    VS 2010 Re: Download Multiple Files

    Try something like this:
    Try
    Dim Next_file As Integer = 0
    For i = 0 To 3
    Using wc As New WebClient()
    wc.DownloadFile("http:\\someurl.com" &...
  24. Replies
    3
    Views
    716

    VS 2008 Re: What's a Temporaray key ?

    The .pfx file is used to sign the manifest.
    More detailed information could be found here:
    http://us.generation-nt.com/answer/test-temporarykey-pfx-file-help-47428862.html
  25. Programmatically check if a web browser is installed.

    Not sure if there is a straight way of accomplishing this task, but there must be some way.
    I was thinking of checking the registry keys that a web browsers makes, and hopefully seeing if I could...
  26. Replies
    2
    Views
    566

    Re: web browser save tabs

    You could simply store the data in the Settings.
    Collect the data(urls)on the close event, and save them into the settings.
    On the load event call them.
    You could also use a .data file to store...
  27. Replies
    2
    Views
    1,400

    VS 2010 Re: 102 erros with designer.

    Thanks for the reply, Sitten Spynne

    No, sadly the errors were with the designer files.

    But, thank goodness I always keep backups.
    None of my code was lost.
  28. Replies
    2
    Views
    1,400

    VS 2010 [RESOLVED] 102 erros with designer.

    Hello, I recently got 102 errors specifically with the designer. I have added the code below:

    And was surprised to find so many errors.
    The interesting part was that this problem invoked...
  29. Replies
    10
    Views
    16,012

    Re: Yet another way to check the OS name.

    Nice. That was completely irrelevant and off-topic.
    Next time try reading the first post rather than, the title and skipping to the code.
  30. Replies
    8
    Views
    8,653

    Re: change file extension

    I wasn't being sarcastic. I simply complimented jmcilhinney on his memory skills.
    I actually find it incredible how one could remember such a unobtrusive topic.
  31. Replies
    8
    Views
    8,653

    Re: change file extension

    Wow, that's some impressive memory there. :thumb:
    That thread is almost a year old.
  32. Replies
    8
    Views
    8,653

    Re: change file extension

    System.Diagnostics.Process.Start("notepad") '\\\ Start a process.
    Threading.Thread.Sleep("1000") '\\\ Put the thraed to sleep.
    Dim TargetProcess() As Process =...
  33. VS 2010 Re: Select a file in windows explorer\highlight it.

    Thanks, weirddemon.
    I have reduced the code to;
    Dim argument As String = "/select," & Me.ListView1.SelectedItems(0).Text
    Process.Start("explorer.exe", argument)
    Anyway, thank you for...
  34. VS 2010 [RESOLVED] Select a file in windows explorer\highlight it.

    Hello,
    The code below is able to process a path such as, "C:\test\test.txt".
    And open its root, "C:\test".
    But how would you highlight\select test.txt?
    Do I need to work with the windows...
  35. Replies
    4
    Views
    5,297

    Re: Pause Your Code

    I have updated the code.
    I did provided minimum comments inside the code but it should not be that hard to understand.
    Use the diagram below to name the elements correctly.
    If you have any...
  36. Replies
    10
    Views
    16,012

    Re: Yet another way to check the OS name.

    You can but I made a sub for the method.
    Just call Full_Os_Name anytime you want to run it.
    You only need to run it ones so keep it in the load event.
    I personal avoid having any code inside the...
  37. Replies
    10
    Views
    16,012

    Re: Yet another way to check the OS name.

    Line 1 gets the users full OS name:
    for example,
    Microsoft Windows 7 Professional Edition.
    Line 11, is just a message box.
    Line 2, is a simple sting to store shorted name of the OS. Like...
  38. Replies
    10
    Views
    16,012

    Re: Yet another way to check the OS name.

    Not sure if I completely understand that.
    This example is useful when something works on one, but not the other.
    For example, the progress bar on each task in the taskbar only works on "7".
    The...
  39. Replies
    4
    Views
    5,297

    Re: Pause Your Code

    Minitech, As this post is from Nov 19th, 2010 I have no idea what's wrong with code.
    It must of worked because if it did not, I would of never posted the code.
    I will upload another explain as...
  40. VS 2008 Re: [RESOLVED] Need help with my web browser

    No, there is always a correct way to something in programming, and an odd way.
    TableLayoutPanel is an odd solution in this case.
    The anchor, which I have suggested before is the best tool for the...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width