Search:

Type: Posts; User: LITHIA

Page 1 of 13 1 2 3 4

Search: Search took 0.18 seconds.

  1. Re: [2.0] Selecting only part of a label with BeginEdit

    Hm, I didn't want to manipulate the label though, like I said. I only wanted to make it automatically select the name without the extension. That really shouldn't be that hard to do.

    Could you...
  2. [2.0] Selecting only part of a label with BeginEdit

    Hi everyone.

    I have a ListView with lots of items in it that represent files. Their Text properties are the actual filenames for the file that the item represents.

    Now, I have allowed the user...
  3. Re: [2.0] Rename DoubleClick (Delayed DoubleClick)

    Ok sorry, I had checked the ListViewItem properties and didn't see the BeginEdit. I'm at College and don't have access to the help files, so I quickly checked on MSDN and was searching for LabelEdit....
  4. Re: [2.0] Rename DoubleClick (Delayed DoubleClick)

    Wow! I never knew about the LabelEdit property. Thanks very much jmcilhinney!

    I guess my method that I wrote is obsolete now. I was using some complex code to put a textbox into the label's place,...
  5. [RESOLVED] [2.0] Rename DoubleClick (Delayed DoubleClick)

    Hi everyone,

    I was just working on my program and I'm implementing a Rename ability.

    At the moment the user has to right click the item and choose rename in order to rename it, but I'd like it...
  6. Replies
    5
    Views
    708

    Re: String < AnotherString?

    Thank you very much for the help! I understand the Compare function now. Works great.

    Thanks mendhak, too. Resolved.
  7. Replies
    5
    Views
    708

    Re: String < AnotherString?

    Thanks, mendhak. I'll try it next time I'm at college (going home now).

    I thought it might have been this, but I thought the compare only told you if it was equal to it or not... bit confused as...
  8. Replies
    5
    Views
    708

    [RESOLVED] String < AnotherString?

    I have to tell if one string is less than another (e.g. First string is apple and second string is banana. first string will be less than second string because it comes before it in the alphabet. (at...
  9. Replies
    5
    Views
    938

    Re: ExecuteNonQuery() does nothing!

    Ok, it's working fine now! The problem was with the datasource of the program - it's not needed for my case. I just removed it and the IDE will stop overwriting it. I also set the server explorer to...
  10. Replies
    5
    Views
    938

    Re: ExecuteNonQuery() does nothing!

    Ok, I swear I checked this before, but it seems to be doing something now. Maybe it was because I used the ' instead of #, but when I open the database in the Debug directory, the row has now been...
  11. Replies
    5
    Views
    938

    [RESOLVED] ExecuteNonQuery() does nothing!

    Hi,

    I've just been trying some programming out with databases, and it's been going great so far, until I got to INSERT statements.

    I'm using C# 2005, and a MS Access 2003 database. I have an...
  12. Replies
    7
    Views
    1,032

    Re: [RESOLVED] Attributes for folders, not files!

    Ah I understand. I'm doing binary at college right now ;)

    Isn't 1010 ten? 18 would be 10010. You also missed a 0 off the 16, I believe.
  13. Replies
    7
    Views
    1,032

    Re: Attributes for folders, not files!

    Hah! Wow, it worked! Thank you. Surprised that Or worked instead of And. And would have made more sense :P

    Resolved, thanks to you both :)
  14. Replies
    7
    Views
    1,032

    Re: Attributes for folders, not files!

    Thanks. Although I'm not creating a directory, you brought the Attributes property to my attention so I did a search. The IO.File.SetAttributes does seem to work for a folder below.

    I'm...
  15. Replies
    7
    Views
    1,032

    [RESOLVED] Attributes for folders, not files!

    Hi,

    I was just wondering how you'd go about editing the attributes of folders. I know you can easily do it for files with the IO.File.SetAttributes, but what about folders?

    It seems strange...
  16. Replies
    41
    Views
    2,220

    Re: POLL : VB.net or VB 6.0

    Definitely .NET, there's no competition really.

    The only reason that I'd ever use VB6 is if I needed to quickly make an app that I need to use a computer I know doesn't have the required .NET...
  17. Replies
    3
    Views
    791

    Re: Threading error [RESOLVED]

    I've wrote an extensive post on delegates, so have a check here: http://vbforums.com/showthread.php?t=357995 if you want any help :)
  18. Thread: Scalemode???

    by LITHIA
    Replies
    4
    Views
    821

    Re: Scalemode???

    Either I'm missing something in your post, or your problem can be solved easily with anchors. Do a search on those, or experiment.

    Anchoring an object to a side of the form will make it resize...
  19. Replies
    3
    Views
    19,970

    Re: .NET - VB & C# Line Counter

    I like the look of this app! Are you planning on making it compatible with 2005 too? I want to have a look at my project in this, but I made it in 2005.

    Thanks! Good work.
  20. Replies
    4
    Views
    1,887

    Re: Encryption and Decryption of Password

    Do some research into the System.Security.Cryptography namespace. It can get pretty complex, but if you want it secure, then you'll have to be able to cope with it.

    There's loads of articles on...
  21. Replies
    17
    Views
    1,422

    Re: Is Visual Studio 2005 Beta 2 free?

    If you're not in the US or Canada, why is the currency in USD?

    Did you try getting it shipped from the US or something? I think you did it a different way to me, as I got the Beta Experience Kit....
  22. Replies
    18
    Views
    1,178

    Re: ListView

    Hehe yeah I do. It keeps me occupied when I'm bored. I just seem to write some really, really complex apps, even if they don't do anything, or aren't benefitting me. I just like the learning...
  23. Replies
    10
    Views
    1,134

    Re: Hiding lines of text

    Can you put the data into a seperate variable and then just incorporate it back in at the end when you are going to output it?
  24. Replies
    18
    Views
    1,178

    Re: ListView

    Damn, Zakary beat me! I like your way of making the lsv. I never knew you could do it on the For line itself. I'll keep that in mind myself in the future! Thanks.
  25. Replies
    18
    Views
    1,178

    Re: ListView

    This is how I would do it. I just wrote this now:Dim Item As ListViewItem
    For Each Item In ListView1.SelectedItems
    ListView1.Items.Remove(Item)
    NextHope it helps.
  26. Re: LineCounter... counts the lines of code in your projects

    Nice work! Looks great. Is that your own computer's theme that is making it look like Trillian, or did you manage to put that on the program itself? (Can't take a look at the app itself right now,...
  27. Re: Split(Data, vbCrLf)...VB.NET equivelant

    Cool! I know nothing about these things. I don't even know what LF is :blush:
  28. Re: Split(Data, vbCrLf)...VB.NET equivelant

    I got the same impression... I was wondering if I should respond to the thread as it seemed kind of... simple? I thought I was missing something and that there was more complexity to it than I first...
  29. Replies
    3
    Views
    519

    Re: URGENT..Problem with showing forms!!

    That's very strange... I don't see anywhere in that code which would make the program terminate, but you haven't showed much else code linked with this.

    Are you using 2005? If you are, make sure...
  30. Re: Split(Data, vbCrLf)...VB.NET equivelant

    I'm guessing that data is the string you're trying to split? I can't remember vb6.

    You'll need to pass the split result into a string array. I do it like this:

    Dim strResult() As String...
  31. Replies
    17
    Views
    1,422

    Re: Is Visual Studio 2005 Beta 2 free?

    I got mine completely free. On the receipt, all the charges were at £0.00, including the P&P. That was sent to the UK, and as you're not in the US or Canada, you shouldn't have to pay either.
  32. Replies
    3
    Views
    735

    Re: Connection Through a Socket - TcpClient

    Not sure if I can help you, but can you give the error you get and what line it occurs on? It's not much help without it. You might need to temporarily get rid of the Try/Catch block to find out...
  33. Replies
    4
    Views
    602

    Re: Quick Way to add "

    Can you show how you resolved it for other users who may also have this problem? It makes the thread a complete waste of space without it.
  34. Thread: VB6 or Vb.net

    by LITHIA
    Replies
    8
    Views
    1,158

    Re: VB6 or Vb.net

    Only starting up, I'd say.

    The only downside to .NET, in my opinion, is the requirement of the framework on every computer you are going to run the app. A lot of novices don't know anything about...
  35. Thread: Emails

    by LITHIA
    Replies
    2
    Views
    596

    Re: Emails

    Not a pro with HTML, but I'd say there's a problem here:
    <img src=title.gif>
    Try putting the title.gif within " " so it reads
    <img src="title.gif">
    I don't know if this will really make a...
  36. Replies
    8
    Views
    904

    Re: quick noob question

    As with Godwin's code, you'll be declaring a new instance of the form each time you press the button. Make sure that's what you want, as that does NOT have the same effect as just simply showing the...
  37. Thread: LoadFrom() Hell

    by LITHIA
    Replies
    3
    Views
    681

    Re: LoadFrom() Hell

    Maybe it's having a problem accessing the dll directly. Maybe you can try downloading it to the hard-disk first and then accessing it from there?

    I guess this is inefficient though, especially if...
  38. Thread: VB6 or Vb.net

    by LITHIA
    Replies
    8
    Views
    1,158

    Re: VB6 or Vb.net

    Just to expand on what RobDog888 said about 2005 being released soon.

    If you're going to go to .NET, which I highly recommend like everyone else has said, then go for 2005. 2003 is already...
  39. Replies
    6
    Views
    2,177

    Re: How does one thread speak to the main thread

    Just had a thought that you may need to know in the future! If you're trying to pass several arguments to the delegate, pass them as an array.

    Example: If you had a second argument for another...
  40. Replies
    6
    Views
    2,177

    Re: How does one thread speak to the main thread

    (I hope this helps if that link that Asgorath posted is a bit daunting. I looked at it quickly and it seemed to have a lot more information than I think you're looking for. A quick scan didn't...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width