Search:

Type: Posts; User: samtheman

Page 1 of 8 1 2 3 4

Search: Search took 0.07 seconds.

  1. Replies
    1
    Views
    592

    Replacing text in an array

    ignore. resolved
  2. Replies
    3
    Views
    962

    VS 2008 Re: SelectedValueChanged and a ListView

    Okay I fixed the ValueCommitted thing no problem, but having trouble with the second event.

    Dim ChItems As Integer = 0
    For Each Item In FruitList.Items
    If...
  3. Replies
    3
    Views
    962

    VS 2008 SelectedValueChanged and a ListView

    Hey,

    I'm trying to perform an action when the value of a drop down changes, only problem is I dynamically insert the different options after the form starts up, which triggers the...
  4. Replies
    5
    Views
    925

    Re: Retreival of web based data

    Hi,

    I'm just trying to return the Text to the combo box and the selected value (so I can use a select case command). I would use Tab delimeter too but it's impossible (can't explain the...
  5. Replies
    5
    Views
    925

    Re: Retreival of web based data

    For the 1st bit, the stuff I want to put in a drop-down, I have data like this:

    Fruit Price (no decimal)

    Apple 122
    Orange 150
    Bannana 90

    Separated by space.
  6. Replies
    5
    Views
    925

    Retreival of web based data

    I need to do two things:

    1. I need to pull some data from a text file separated by a space and put it in a drop down, the first value is supposed to be the text and the second value (separated by...
  7. Replies
    1
    Views
    506

    Function in C#

    Might be a stupid question, but I can't figure out why C# is giving me a squiggly line under this. Expected class, delegate, enum etc.



    public bool TrueFalseEvaluator(string Statement, string...
  8. Re: VS2008.Net3.5:Program crashes when form closes

    What's in form 2? Anything on the FormClosing method?
  9. Passing parameter from function to variable

    Hi,

    I am trying to get a variable from a function



    _declspec(dllexport) int MsgTxt(char MsgTxt); {
    char MessageText
    strcpy(MessageText, MsgTxt);
  10. Replies
    16
    Views
    1,628

    VS 2008 Re: Returning result in multithreading

    Yeah but I have code running after the background worker. Don't worry - it's not resolved but I think I know what i've got to do.



    'Call background worker
    'Then do something
  11. Replies
    16
    Views
    1,628

    VS 2008 Re: Returning result in multithreading

    So there's no way of waiting without sleeping the form and causing freezes, unless starting the background worker is the VERY last thing I do from the GUI thread
  12. Replies
    16
    Views
    1,628

    VS 2008 Re: Returning result in multithreading

    Hey it's because I'm passing via argument to the background process several times based on the results from previous threads.
  13. Replies
    16
    Views
    1,628

    VS 2008 Re: Returning result in multithreading

    Exactly what I thought. If I just stack them up in eventcompleted i'll be ok. But, if it can't be busy then I must check IsBusy = False before I run the command. Problem is I will have to use sleep...
  14. Replies
    16
    Views
    1,628

    VS 2008 Re: Returning result in multithreading

    Also can I call the same bg workers a few times? My plan is to have it like a sub where it varies depending on what it does.
  15. Replies
    16
    Views
    1,628

    VS 2008 Re: Returning result in multithreading

    Nice one mate,

    If I do threading.thread.sleep while IsBusy = True then the form will still freeze won't it -- even if I'm only doing it for a few milliseconds at a time?

    I've got a LOT of code...
  16. Replies
    16
    Views
    1,628

    VS 2008 Re: Returning result in multithreading

    can't return the argument because I can't return a string to System.ComponentModel
  17. Replies
    16
    Views
    1,628

    VS 2008 Re: Returning result in multithreading

    yo

    I'm running the Download and CopyFile features from My.Computer. I want to run it as a seperate thread because I don't want the GUI to freeze up while I'm doing some processing.

    If I use...
  18. Replies
    16
    Views
    1,628

    VS 2008 Returning result in multithreading

    How do I call a function with System.Threading with parameters and get the return?

    Normally my code would be:



    StrInput = GetString("A")


    How can I do this with multi-threading??
  19. Replies
    1
    Views
    2,199

    Waiting during CopyFile

    My.Computer.FileSystem.CopyFile()



    How do I wrap a "Do While" command round this? My understanding is I can't. Tried

    Do While My.Computer.FileSystem.FileExists(File) = True
    and then...
  20. Replies
    1
    Views
    661

    VS 2008 Redirecting CMD

    Hey,

    Every time I try and redirect input and output of command prompt I have a problem. The debugger itself crashes! Something must really be wrong. What is a good way to launch CMD and send...
  21. Replies
    10
    Views
    1,164

    Re: Version Number

    OK great
  22. Replies
    10
    Views
    1,164

    Re: Version Number

    I can always change it I guess to 1.0.0.0 how many decimals does it go to?
  23. Replies
    10
    Views
    1,164

    Re: Version Number

    No this won't work. The version is always expressed as a 3 digit number, which is why I dimmed it. Because I can't round it and have no decimals if I check file version.
  24. Replies
    10
    Views
    1,164

    Re: Version Number

    I get a format exception:



    Dim Cvn As String = "159"
    Dim Wvn As String = String.Empty
    Using Uwc As New System.Net.WebClient
    Wvn =...
  25. Replies
    10
    Views
    1,164

    Re: Version Number

    Hey Kleinma, how's it going?

    I'll give it a go. My problem is if I dim them both as Strings, because I can't dim the retreived value as an Integer it doesn't work when I compare them it always...
  26. Replies
    10
    Views
    1,164

    Re: Version Number

    I know I need to use streamreader, any advice?
  27. Replies
    10
    Views
    1,164

    [RESOLVED]Version Number

    I've defined two numbers. ThisVersionNumber and LatestVersionNumber, I want to compare them, and so if ThisVersionNumber = < LatestVersionNumber it will show a dialogue.

    How do I receive the...
  28. Replies
    0
    Views
    487

    VS 2008 WizardPages and duplication

    Hey,

    I'm creating a booking form and I have a WizardPage called Customer Details. However depending on the amount of Customers Selected I would like to increase the amount of customer details...
  29. Replies
    3
    Views
    1,383

    Re: Web Browser Custom Downloader?

    This is called enumeration. You can't integrate directly with the browser AFAIK, without incorporating some sophisticated libraries or writing a hell load of code yourself, however, refer to this...
  30. VS 2008 Re: Deleting a line in a text file that ends with a certain string

    Perfect my good man, will give you rep and mark as resolved. I added this: IO.File.WriteAllLines("Sources.txt", finalLines.ToArray()) so that I write the final lines to the TXT file.



    ...
  31. VS 2008 Re: Deleting a line in a text file that ends with a certain string

    Will try after a 10 minute break :)
  32. VS 2008 Re: Deleting a line in a text file that ends with a certain string

    Hey,

    This seems a little RAM inefficient, but it seems to be the only way, I tried to do an If String.Endswith = .... then GetIndexOf but it failed.

    Can you give me some code to suggest this...
  33. VS 2008 Re: Deleting a line in a text file that ends with a certain string

    Ok, I have found I can get it to work. But I need help


    Dim lines As New List(Of String)(IO.File.ReadAllLines("Sources.txt"))
    Dim DataList As String = lines.ToString
    If...
  34. VS 2008 Re: Deleting a line in a text file that ends with a certain string

    Hi,

    This will not work with a list. Instead I shall try using List.Find, letting you know how I get on.
  35. VS 2008 [RESOLVED]Deleting a line in a text file that ends with a certain string

    Hey,

    I need help deleting a line from a text file. This is for an ASP.net Webpage. I will have a file called Sources.txt. Example data of this file looks like this:

    John|John@Me.com...
  36. VS 2008 Re: Manipulating a control's location property.

    It should not cause a scrolling effect as the timer effect is 60 secs however I know what to do now.

    I will place return the objects to the end when they reach it and continue the behaviour
    ...
  37. VS 2008 Manipulating a control's location property.

    Hey,

    This one has me stumped. I'm trying to change the location of an object's X position so that it has a marquee like effect. I'm doing this with buttons and text, etc...

    I've been...
  38. Replies
    0
    Views
    495

    VS 2008 Screen capture

    Hey Guys,

    How would I approach performing screen capture of video? I want to capture the desktop into video like AVI and stream it over a network.

    E.g. wanting: Desktop to be streamed over...
  39. Replies
    1
    Views
    479

    Re: VB 6.0 - Website Data

    Hi,

    The page you have shown has a lot of data on it and really mounts up the killobytes, even megabytes with them shots.

    I'm sure Bungie has an API so both you and them can reduce the amount of...
  40. Replies
    18
    Views
    1,240

    Re: [2008] Add VB to Start up

    Hey,

    To add a resource, consult this documentation:

    http://dotnetdud.blogspot.com/2009/01/how-to-add-resources-to-c-windows.html

    That's for C# meaning that the code is a little different,...
Results 1 to 40 of 282
Page 1 of 8 1 2 3 4



Click Here to Expand Forum to Full Width