Search Results - VBForums

Search:

Type: Posts; User: i00

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. VS 2013 Re: Way to make application think that it is in debug mode at runtime?

    Why does this function differently when the debugger is attached?

    Kris
  2. VS 2013 Re: Way to make application think that it is in debug mode at runtime?

    ... well I was away for the weekend and didn't have access to my project .... I am not using the framework ... so in my sub main have:

    ...
  3. VS 2013 Re: Way to make application think that it is in debug mode at runtime?

    Yes i ALWAYS try to handle them where they occur... and very rarely encounter the global one picking them up ... but I think it is still nice to have a global one as a fallback ... so that i can send...
  4. VS 2013 Re: Way to make application think that it is in debug mode at runtime?

    Ok ... it is compiled in debug mode ... but when using it in VS IsAttached=true ... when not it is false... my custom error handler ALWAYS works when running in VS, but not outside it for unhanded...
  5. VS 2013 Re: RegEx question,, I Don't think this had been asked before

    Like iDent suggested ... look into regular expression grouping...

    Kris
  6. VS 2013 Way to make application think that it is in debug mode at runtime?

    Hi ... just wondering if there is a way to make my application "think" that it is in debug @ runtime...

    As with the newest versions of the framework global unhandled exception handling doesn't...
  7. Re: 20130521 - i00 Spell Check and Control Extensions -No Third Party Components Requ

    Hrm ... I have been meaning to fix this ... you have to disable it on a case by case basis atm through code... will hopefully have an update shortly.

    Kris
  8. Re: 20130521 - i00 Spell Check and Control Extensions -No Third Party Components Requ

    Sorry about the delay ... you can press F7 ... or load it with code ... can't remember how to do this from memory (not near a computer I can check on), but there is an eg of this in my demo project....
  9. Replies
    5
    Views
    204

    VS 2013 Re: Flip a GraphicsPath onto itself

    Thanks... didn't know about the GraphicsPath.Reverse :)

    I did it mirroring from x=0 so made it:

    Private Shared Function ReflectPath(gp As Drawing2D.GraphicsPath) As Drawing2D.GraphicsPath
    ...
  10. Replies
    5
    Views
    204

    VS 2013 Re: Flip a GraphicsPath onto itself

    Thanks... Almost there, but... I need the paths to be connected ... and the problem with this is shown below (I expanded the gap in between the mirror a little so that you can see what is going...
  11. Replies
    5
    Views
    204

    VS 2013 [RESOLVED] Flip a GraphicsPath onto itself

    Ok... I have a graphics path ... and I want it to be symmetrical ... so I thought I would just draw the right 1/2 with positive X values... then use 0-x on the points x values to flip it by cloning...
  12. Replies
    1
    Views
    126

    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
  13. Replies
    2
    Views
    118

    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. :(
  14. Replies
    2
    Views
    118

    [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...
  15. 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...
  16. [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
  17. Replies
    1
    Views
    142

    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 =...
  18. Replies
    1
    Views
    142

    [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",...
  19. Thread: using a wildcard

    by i00
    Replies
    11
    Views
    352

    VS 2013 Re: using a wildcard

    Try this:

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

    Kris
  20. Replies
    9
    Views
    304

    Re: Need some help with a function

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

    Kris
  21. 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...
  22. 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
  23. Replies
    2
    Views
    218

    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
  24. 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...
  25. 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...
  26. 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
  27. Replies
    2
    Views
    117

    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
  28. Replies
    9
    Views
    304

    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...
  29. 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...
  30. 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:
    ...
  31. 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 =...
  32. 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
  33. 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...
  34. 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...
  35. 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...
  36. 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??? ......
  37. 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,...
  38. Replies
    6
    Views
    309

    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
  39. Replies
    6
    Views
    309

    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
  40. Replies
    6
    Views
    309

    [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...
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.