Search Results - VBForums

Search:

Type: Posts; User: i00

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    86

    Angle of italic font

    Ok... I realise that this is probably a long shot ... but is there some way to get the angle of a given font when it is in italic?

    Thanks,
    Kris
  2. Replies
    2
    Views
    107

    Re: Binding to ValueMember???

    Only works on a data source... strange ... I don't see why MS didn't make it work for any object ... with the property in it of course ... oh well will have to extend it with my own property. :(
  3. Replies
    2
    Views
    107

    [RESOLVED] Binding to ValueMember???

    Ok ... I can't to work out how to bind to the Value member of a combo box (so that when the item gets changed the value in my bound object updates with the value member)...

    I can't bind to...
  4. Re: ColorDialog to open showing custom colors?

    Whops ... I did actually look at the documentation ... I thought it didn't work ... but I just re-checked my code ... and I just realised I accidently set the AllowFullOpen property instead of the...
  5. [RESOLVED] ColorDialog to open showing custom colors?

    Just wondering how I can get the ColorDialog to open showing the "define custom colors" when it is opened (like paint does)

    Thanks,
    Kris
  6. Replies
    1
    Views
    126

    Re: Get (and invoke) private method

    Ok ... worked it out ... it doesn't seem to get inherited properties .. had to do it on the base class instead :)

    Dim AcceptChanges =...
  7. Replies
    1
    Views
    126

    [RESOLVED] Get (and invoke) private method

    OK ... I am using LINQ2SQL am want to invoke a private method (AcceptChanges) within the DBML...
    So I am using this:

    Dim AcceptChanges = Me.GetType.GetMethod("AcceptChanges",...
  8. Thread: using a wildcard

    by i00
    Replies
    11
    Views
    321

    VS 2013 Re: using a wildcard

    Try this:

    My.Computer.FileSystem.GetFiles("x:\", FileIO.SearchOption.SearchAllSubDirectories, "*.*", "*.")

    Kris
  9. Replies
    9
    Views
    285

    Re: Need some help with a function

    Yes ... of course ... can't believe I didn't think of that!

    Kris
  10. Re: Using a generic list to store a collection of class objects

    Whops ... I missed the first point ... and I know about the 2nd ... but without more to go off ... I would say ienum until we know more about how it is being used... but yes I tend to agree... we...
  11. Re: How to set Datagridview to show latest data on top as entered in SQL table?

    ... probably better that way (that he left) ... for your health ... it horrid having a programmer you want to strangle around ...

    Kris
  12. Replies
    2
    Views
    177

    VS 2012 Re: MultiSelect Treeview

    I use objectlistview ... this has a treeview that supports columns and multi-select ... but it may be a little complex for a n00b... still worth the look though

    Kris
  13. VS 2010 Re: Using Shell, but set default Drive letter that it looks at?

    Ok... this is probably because your playlist has files in it with relative paths and your application is opening the pptview with the current working directory...

    try this:

    Dim si As New...
  14. VS 2008 Re: How can I Get the Path to My Programs User Setting Config File?

    I agree ... bad practice ...

    I actually agree with this method ... kind of ... I actually implemented something like this a while back ... but used the built in settings class ... and created my...
  15. Re: Using a generic list to store a collection of class objects

    More or less what I said, but with more detail :) ... um ... why use a ToList() though ... why not keep it an IEnumerable?...

    Kris
  16. Replies
    2
    Views
    104

    Re: Request.form loop ?

    Not really a vb.net question ... my advice would be to look into jquery though ... it's great at looping through items :)

    Kris
  17. Replies
    9
    Views
    285

    Re: Need some help with a function

    Dim asd As New String("#"c, 4)
    OUTPUT: "####"
    ... unfortunately ... I don't actually know a way to do this with multiple strings for spaces (gaps) as you asked ... could use a replace on it I guess...
  18. VS 2010 Re: My program is not compatible with Windows XP

    IMHO error handling for the sake of error handling where you expect NO errors to occur is a bad idea... yes error handling is a necessity, but know when NOT to use it also...

    I would suggest...
  19. Re: Sorting DataGridView depending on String or Numeric content

    If the datatype for the filed is a number then it should function this way automatically ... if not you can use the StrCmpLogicalW API to compare strings with numbers in it to do what you want:
    ...
  20. Re: Using a generic list to store a collection of class objects

    Create an object that has properties for each of the fields in your csv file... create a constructor for it that accepts a line from your file ... then load the items like so:

    Dim MyObjects =...
  21. Re: Hide form icon and Text in window only (not system tray)

    Whops ... I meant the task bar NOT the system tray :confused:

    ... changed the original post to reflect this

    Kris
  22. VS 2013 Re: FileIO.FileSystem.CopyFile not copying entire file???

    Nope ... source and dest were on the same HDD ... NTFS... seemed to do it with that file only, but explorer could copy the file with no probs :( ... just changed the method used to copy ... and prob...
  23. Hide form icon and Text in window only (not task bar)

    Just wondering how I can hide a forms icon and text ... I currently use:
    SetWindowThemeAttribute() with NODRAWCAPTION and NODRAWICON set, but this ONLY works in Vista + ... and would be great if I...
  24. VS 2013 Re: FileIO.FileSystem.CopyFile not copying entire file???

    Thanks, I will try those suggestions later, and there is a reason that I specifically use this method rather than other methods to copy a file...

    it is so that it presents this if the file is in...
  25. VS 2013 [RESOLVED] FileIO.FileSystem.CopyFile not copying entire file???

    I am using FileIO.FileSystem.CopyFile to copy a file that is ~50 MB ... my issue is that it copys the file without erroring ... but the output filesize is only the first 1.39 MB of the file??? ......
  26. Function to dertimine if a char is a RightToLeft one?

    Hello ... I was wondering if there is some way to determine if a certain character is right to left or not ... I have seen a few ways to do this, but they all seem to me to be a little dodgey,...
  27. Replies
    6
    Views
    285

    Re: Get ellipse string??

    If you read my original post



    ...you would have known that this is not what I want ... I have sorted it now though.

    Kris
  28. Replies
    6
    Views
    285

    Re: Get ellipse string??

    Yea ... I know how to do it ... would be easy enough with measurestring ... just thought there would be some inbuilt method ... that's all

    Kris
  29. Replies
    6
    Views
    285

    [RESOLVED] Get ellipse string??

    I know how to draw ellipsed text with text with the textrender and gdi plus ... but how can I get an ellipse string???

    Eg:

    GetElipsedText("Hello there this is a test", 250, font)

    will...
  30. Replies
    8
    Views
    251

    Re: How to do this in Linq?

    Won't be an issue ... used:
    PersonLocations.Any(Function(y) y.Name = x.Name OrElse y.Name.IndexOf(x.Name & "\") = 0)
    Kris
  31. Replies
    8
    Views
    251

    Re: How to do this in Linq?

    Yep works fine ... except starts with doesn't seem to be able to be converted to l2sql so I used IndexOf(x)=0 instead

    Kris
  32. Replies
    8
    Views
    251

    Re: How to do this in Linq?

    Well ... this is simplified ... but basically I have a table with locations such as

    IsLocation | Location
    FALSE | "Australia\SiteX\Wing1\Room3"
    TRUE | "Australia\SiteX"
    TRUE |...
  33. Sticky: VS 2012 Re: Tech IQ: How Well Do You Know Visual Basic.NET 2012?

    I think this is a poor question ... .text or .caption is just a property ... so you could have a control with both... I have actually done this with a toolstrip text box that I made (as the built in...
  34. Replies
    8
    Views
    251

    Re: How to do this in Linq?

    Yes it's the former - the path is data from a field in the db.. :( ... would have thought there would be a way ... oh well ... will just have to play with it...

    Kris
  35. Replies
    8
    Views
    251

    [RESOLVED] How to do this in Linq?

    Ok... if I have a string such as:

    "c:\documents\medical\Mr Smith\123.doc"

    is it possible to loop through this in linq such that the iterations will be:


    1 c:\documents\medical\Mr...
  36. VS 2010 Re: Populating the controls on a page of a TabControl

    I know that this is a little stale ... but um .. why not do something like:

    Private Sub TabControl1_Selected(sender As Object, e As TabControlEventArgs) Handles TabControl1.Selected
    If...
  37. Replies
    20
    Views
    459

    VS 2013 Re: Need help to encrypt a string

    Winforms ... see the selected control?

    Kris
  38. Re: Fixing program crashes that do not throw an exception

    Not reading all the posts on here ... but if you can distribute the pdb files with your exe it will actually show you the call stack (with line numbers) when you goto the details of the error so you...
  39. Replies
    1
    Views
    198

    VS 2013 Re: Binding not working on one control

    Ok.. strange.. I changed the property name from id and it started working????
  40. Replies
    1
    Views
    198

    VS 2013 Binding not working on one control

    I am having an issue with binding ... basically I have a property ID:

    Dim mc_ID As String
    <System.ComponentModel.Bindable(True)>
    Public Property ID As String
    Get
    ...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.