Search Results - VBForums

Search:

Type: Posts; User: i00

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    6
    Views
    157

    VS 2013 Re: Bindings (data to control) not working

    Ok... I have worked out what it is ...

    The property strScoreA1 doesn't actually exist... it is "spoofed" property that I have created with the ICustomTypeDescriptor

    It appears binding updates...
  2. Replies
    6
    Views
    157

    VS 2013 Re: Bindings (data to control) not working

    Yes it does ... hence the:

    RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs("strScoreA1"))

    Kris

    EDIT

    Strange I just made a test case (to use create a new project and set the...
  3. Replies
    6
    Views
    157

    VS 2013 Re: Bindings (data to control) not working

    BoundItem is a custom class
    I meant the bound button not textbox as I wrote (now corrected).

    Kris
  4. Replies
    6
    Views
    157

    VS 2013 Bindings (data to control) not working

    First of all I know I asked a similar question here ages ago... And I have now come across a similar issue...

    I have the following binding:
    Dim binding As New Binding("Text", BoundItem,...
  5. Replies
    1
    Views
    203

    VS 2013 Re: Linq group join not working correctly?

    Ok... I have played around with it an have reworked it to this:

    Dim PersonMap = CurrentResidents.Join(AllMappedItems, Function(x) True, Function(y) True, Function(x, y) New With {.Person = x,...
  6. Replies
    1
    Views
    203

    VS 2013 Linq group join not working correctly?

    I have 2 IQueryable's ... AllMappedItems and LastAnswers

    They both work fine and only execute one sql statement each to loop through their results.

    Now the issue is when I join them using:
    ...
  7. VS 2013 Re: .Net 4.0 AutoScrollPosition not calling Scroll event??

    Whops ... forgot I posted that 8 months ago :P ...

    And so it appears the suggestion I said was the one to go with :(

    Thanks
    K
  8. VS 2013 [RESOLVED] .Net 4.0 AutoScrollPosition not calling Scroll event??

    Is there an event that captures all scroll events a control?

    I ask as according to MSDN:

    The above is a lie :P... it doesn't trigger the event... just as sizing the control to make it bigger...
  9. Replies
    4
    Views
    251

    VS 2013 Line height RichTextBox

    I was wondering how I would go about getting the height of a line in a RichTextBox from a character index.
    When I say line I don't mean split by line breaks but lines as they are displayed on the...
  10. Replies
    5
    Views
    336

    VS 2013 Re: Stop combobox appending when dropped?

    The format does't trigger when i do it with alt+down arrow???

    Kris
  11. Replies
    7
    Views
    462

    Re: is it to long filename?

    I know that you "can" put other things in the formatting section that are not number / date related ... but IMHO this is REALLY, REALLY bad practice!

    Kris
  12. Thread: Help Desk Service

    by i00
    Replies
    3
    Views
    208

    VS 2010 Re: Help Desk Service

    This is not constructive.
  13. Replies
    3
    Views
    296

    VS 2013 Re: Message "cipher" program (form, not console)

    Oh ... and for the encryption ... re-read the spec... add another TextBox (txtEnc)...

    Private Sub txtMessage_TextChanged(sender As Object, e As EventArgs) Handles txtMessage.TextChanged
    ...
  14. Replies
    3
    Views
    296

    VS 2013 Re: Message "cipher" program (form, not console)

    You have not really stated how the file is layed out.... but:

    Add a binding source, three textbooks and two buttons, to your form;
    BindingSource2, txtMessage, txtLat, txtLong, btnPrevious,...
  15. Replies
    15
    Views
    940

    Re: Best way to learn VB .NET?

    I think when going from VB6 to .Net you should first read up on new features that the language and offers such as inheritance, threading, lambda, linq, delegates etc.. then think of a few small...
  16. Replies
    5
    Views
    336

    VS 2013 Re: Stop combobox appending when dropped?

    No ... that is for a completely different thing ... i am not using the autocomplete source and it is set to None...
    This property has NO effect on the items in the combo box.

    Kris
  17. Replies
    7
    Views
    462

    Re: is it to long filename?

    Your problem is this:

    Now.ToString((myFile) + "MM-dd-yyyy"))

    as this is formatting Now to "VolvoPentaMM-dd-yyyy" ... so use this instead:

    myFile & Now.ToString("MM-dd-yyyy"))

    Kris
  18. Replies
    5
    Views
    336

    VS 2013 Stop combobox appending when dropped?

    How can I stop a combobox from automatically filling in the item when the combo box is dropped...

    eg the user has entered in "a" ... the ComboBox is then dropped down and the combo box has "Apple"...
  19. Replies
    8
    Views
    529

    VS 2013 Re: Problem sending SSL email???

    So it doesn't support this ??? lame.... :( ...

    How can I support both? ... I mean end users enter the info ... so to not support something that should work just seems ... crude...

    Kris
  20. Re: How do I shut dwn lingering instances of Excel from within my VB pgm just b4 it e

    This page shows you how to kill ALL applications opened by your app:

    http://stackoverflow.com/questions/7189117/find-all-child-processes-of-my-own-net-process-find-out-if-a-given-process-is

    Kris
  21. Replies
    10
    Views
    474

    VS 2010 Re: Fastest way to compare two datatables?

    If the column names vary a lot you could compare these first without loading any data ... and then compare the data for columns that are only in both - eliminating some of the data you need to load...
  22. Replies
    33
    Views
    965

    Re: Utilizing drawstrings with slider bars

    As for overlapping controls ... .Net transparency isn't really transparent ... it supports drawing its parents background ONLY (VisualStyleRenderer.DrawParentBackground) so it doesn't work for...
  23. Replies
    33
    Views
    965

    Re: Utilizing drawstrings with slider bars

    Just another note about refresh and invalidate ... it isn't just the instant redraw difference ... invalidate will also just draw the single control you are calling it on (and transparent controls...
  24. Replies
    8
    Views
    529

    VS 2013 Re: Problem sending SSL email???

    Good to know for the timeout
    ... but it can't be the gmail settings, as it works when I enter the settings into Outlook!

    Any other ideas?
    Thanks,
    Kris
  25. VS 2013 Re: Everything appears pixelated in VB 2013 debugging

    It could do with the DPI scaling ... you can try making your application DPI aware to see if this fixes things ... it will make the forms look a lot sharper, but I warn you it may have strange...
  26. Re: Inefficient redraw on multiple child control move?

    Thanks for that ... I checked it and your right...

    The combo boxes were the culprit ... strange... since they don't really have transparent backgrounds (I don't think they can have rounded corners...
  27. Replies
    8
    Views
    529

    VS 2013 Problem sending SSL email???

    I have the following:
    Dim GmailAccount = "XXXX@gmail.com"
    Dim GmailAccountPW = "XXXX"
    Dim ToAccount = "XXXX@XXXX"

    Dim MailMsg As New System.Net.Mail.MailMessage
    MailMsg.From = New...
  28. Replies
    3
    Views
    922

    VS 2013 Re: Spell CHeck Richtextbox

    Thanks for that :) ... The article on VB Forums is not maintained ... the latest version is here on Code Project, but link on the VB Forums page directs to that anyway.

    What you posted seems to...
  29. Replies
    9
    Views
    466

    VS 2013 Re: Can't get CodeDom to work with Linq 2 SQL?

    Yea I know of those ... just wanted to know the compiler flag for it.

    Kris
  30. Replies
    9
    Views
    466

    VS 2013 Re: Can't get CodeDom to work with Linq 2 SQL?

    Ok.. it works when I go:

    Dim DBML = DirectCast(Me.DBML, Database.DBML)
    Return DirectCast(DBML.Person, System.Data.Linq.Table(Of Database.Person)).Where(Function(x)...
  31. Replies
    9
    Views
    466

    VS 2013 Re: Can't get CodeDom to work with Linq 2 SQL?

    Whops .. yea I miss-read it ...

    Well this is good ... I have gotten it to compile now :) ...

    but now there is a runtime error with it ... strange it is the same as one I had earlier in compile...
  32. Replies
    9
    Views
    466

    VS 2013 Re: Can't get CodeDom to work with Linq 2 SQL?

    Ok... I needed to add a reference to my project to, then do a cast like:
    Dim DBML = DirectCast(Me.DBML, Database.DBML)
    From within my Eval text, so that it knows the extension to use.. but now when...
  33. Replies
    9
    Views
    466

    VS 2013 Re: Can't get CodeDom to work with Linq 2 SQL?

    I added System.XML reference and import in... and same thing :(

    Kris
  34. Replies
    9
    Views
    466

    VS 2013 Can't get CodeDom to work with Linq 2 SQL?

    I am trying to pass a DBML into a function in to a Class compiled by the code DOM, so that I can make my own "free text queries" and have it spit out the results...

    The code seems to be working...
  35. Re: Inefficient redraw on multiple child control move?

    I had actually already tried the 2nd one (and I thought LockWindowUpdate did the same thing to the window??) before posting here... same thing... :(

    Kris
  36. Replies
    5
    Views
    365

    VS 2013 Re: SetWindowsHookEx(WH_KEYBOARD) Possible??

    The issue is not with the communication I haven't even got that far yet ...
    I first need to be able to capture the WH_KEYBOARD hook NOT the _LL one as, even if I was doing the message bit I would...
  37. Replies
    5
    Views
    365

    VS 2013 Re: SetWindowsHookEx(WH_KEYBOARD) Possible??

    It isn't suitable as the order of processing goes WH_KEYBOARD_LL > WM_INPUT > WH_KEYBOARD > ...

    Now you have to work out the device with WM_INPUT ... so if you want to drop the keys based on the...
  38. Replies
    5
    Views
    365

    VS 2013 SetWindowsHookEx(WH_KEYBOARD) Possible??

    I am trying to basically capture all input from a input device (card reader that is a keyboard like input) and redirect it to my program... basically like this suggests.

    The problem is the article...
  39. Replies
    1
    Views
    241

    VS 2013 Re: Range equivalent for Linq2SQL?

    Whops .. had a blonde moment ... just after I posted this I thought I could just check that the mod value < duration :P *hits self on head
    ...
  40. Replies
    1
    Views
    241

    VS 2013 [RESOLVED] Range equivalent for Linq2SQL?

    Was just wondering if there is a way to do something like this in Linq2SQL:

    .Where(function(y) Enumerable.Range(0, y.CalendarItem.Duration).Any(Function(z)...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width