Search:

Type: Posts; User: QuattroDave

Page 1 of 6 1 2 3 4

Search: Search took 0.03 seconds.

  1. VS 2019 Re: Updating a rich text box fast the first time slow after that....

    Percect, thank you!
  2. VS 2019 Re: Updating a rich text box fast the first time slow after that....

    Thanks guys, both using a string to build the text & LINQ are much, much faster. Would you recomend using LINQ over String building? So far the biggest record has 580 lines in it but it will only...
  3. VS 2019 Re: Updating a rich text box fast the first time slow after that....

    Thanks, commented out, no difference. Only added that the other day wondering if it was something to do with that data table not being empted properly...
  4. VS 2019 [RESOLVED] Updating a rich text box fast the first time slow after that....

    Morning all,

    I'm head scratching here, I can't work out why my richtextbox displays text quickly the first time but if i clear it and refill its much slower...
    Its basically pulling notes from a...
  5. VS 2010 Can't think of a cleaner way to code the logic, any ideas?

    Afternoon all,

    Wrote this small sub yesterday but I really don't like it, the logic is rather confusing & messy but I can't think of a better way to do it... any ideas...?

    Thanks

    Dave


    ...
  6. Replies
    5
    Views
    1,840

    VS 2010 Re: Struggeling with SQL Dependancy

    After a few days head sctratching, i'm still no further on with this, although I am a little confused as to how VB knows which dependancy (SQL Server Queue) you're attempting to 'subscribe' to...?
  7. Replies
    5
    Views
    1,840

    VS 2010 Re: Struggeling with SQL Dependancy

    Thanks for your reply, yes queue, service & user rights were sucessfully added, broker was enabled. I'm using SQL Server 2008 R2 on my test database server...

    I'll try moving the start around and...
  8. Replies
    5
    Views
    1,840

    VS 2010 Struggeling with SQL Dependancy

    Afternoon all,

    I'm trying to lean how to use SQL Dependancy so I can recieve near realtime updates from a SQL database. I've been following an example on dreamincode...
  9. VS 2010 Re: Date should be between 'MinDate' and 'MaxDate' ?

    Doh, Doh, Doh!!!! My bad.... I'd some how copied a date picker but named it textbox....! All working as it should now, sorry..
  10. Replies
    4
    Views
    919

    Re: Detect and alter power settings?

    This might be useful :
    ...
  11. VS 2010 [RESOLVED] Date should be between 'MinDate' and 'MaxDate' ?

    Morning all,

    I'm pulling my hair our here, I'm blatently missing something but can't seem to see it...

    I'm trying to display a datetime variable in a textbox using:

    Public Class cTest...
  12. VS 2010 Re: DeserializeAnonymousType & Nested JSON Object

    Perfect, thank you!!
  13. VS 2010 DeserializeAnonymousType & Nested JSON Object

    Afternoon all,

    I'm pulling my hair out trying to work this one out, I only want to get 1 value from the JSON responce. Any idea how i declare an anonymous type for a nested JSON object??



    ...
  14. Replies
    2
    Views
    5,384

    VS 2010 Re: DataGridView Row Count Changed Event?

    Thank you, works perfectly!



    Private Sub RowCountEvent(ByVal sender As Object, ByVal e As DataGridViewRowsAddedEventArgs) Handles DataGridView.RowsAdded
    Console.WriteLine("rows added:...
  15. Replies
    2
    Views
    5,384

    VS 2010 DataGridView Row Count Changed Event?

    Aftnoon all,

    I currently have a filtered datagridview with data in it and I'm trying to get a little counter somewhere to show how many rows there are. 'DataGridView.RowCount' will give me the...
  16. VS 2010 Re: Context Menu With Textbox & Button.

    Perfect, thank you!
  17. VS 2010 [RESOLVED] Context Menu With Textbox & Button.

    Evening all,

    I'm having a few problems with aToolStripTextbox and a ToolStripButton on a context menu. Essentially what i want to do is right click on a form, context menu appears with a couple...
  18. VS 2010 Re: Performance rather poor, any thoughts on improving?

    Thanks for all the replies,

    @KPMC The data is retrieved from an MS SQL database.

    @Shaggy Hiker Some great points there, some of I shold have seen my self, I'll work through your list....
    ...
  19. VS 2017 Re: Prevent Datagridview scroll to first column

    I may be misundestanding you but you can hold columns still by using 'freeze'



    DataGridView.Columns("Your_Column_Name").Frozen = True


    EDIT:

    Thinking about it, I seem to remember this...
  20. VS 2010 Performance rather poor, any thoughts on improving?

    Afternoon all,

    In an application I have a datagridview that is essentially being used as a big calendar. Its initially populated with employees down the left hand side & 3 months of dates allong...
  21. VS 2012 Re: Struggeling with DataGridView Check Box Column.

    Found it..... 'Editmode' was set to 'EditProgramaticaly'. Changed it to 'KeystrokeOrF2' so far it looks to be working as it should.....
  22. VS 2012 Re: Struggeling with DataGridView Check Box Column.

    Thanks for your replies.

    @Karen, I never thought of adding the column to the datatable...!

    Anyhow, tried everything but still I can't check or un-check the checkbox. I though I'd dumb it...
  23. VS 2012 Struggeling with DataGridView Check Box Column.

    Afternoon all,

    I have a datagridview that is populated from a SQL server via a datatable. I would like to add a Check Box Column with the idea to use the check boxes to do a multiple row...
  24. VS 2010 Re: Send Data Back to The Correct Calling Form

    Thanks for that, excellent, thats the answer I was hoping for. Is there any specific name for it so I can look up some eamples?

    Thanks
  25. VS 2010 Re: Send Data Back to The Correct Calling Form

    I may be mis-understand you here, wouldn't I need multiple search forms and call the search method from each one? Can't I just call the search form from multiple locations?
  26. VS 2010 Send Data Back to The Correct Calling Form

    Afternoon all,

    I have an application with a search window (Seperate form), the search form basically retrieves data from a database and populates a datagridview, code below takes the chosen...
  27. VS 2010 Newtonsoft JSON Deserialise Into A Class.

    Morning all,

    I used Newtonsoft JSON a few years a go and remember it being very good to decided to use it again this time. Problem is I've forgotten a few bits so just wondered if anyone could...
  28. Replies
    12
    Views
    1,560

    VS 2010 Re: Reading Element From XML String

    @dbasnett: good stuff, that makes sense... If I don't know how many <ContactMethod> are included how might I go to the 'next' <ContactMethod>...?
    Also while I'm thinking about it, is it possible to...
  29. Replies
    12
    Views
    1,560

    VS 2010 Re: Reading Element From XML String

    Guys, big thanks for all your replys,

    @Sitten: Thank you for such a detailed reply and helping me understand it.

    dbasnett's code appears to be working. Quick question how would I get to...
  30. Replies
    12
    Views
    1,560

    VS 2010 Re: Reading Element From XML String

    Thanks for your reply, OK i've found a few references to setting a namespace manager but no references to setting 2 namespace managers... Do i literally add one then the other...?



    Dim...
  31. Replies
    12
    Views
    1,560

    VS 2010 Re: Reading Element From XML String

    Thanks for your reply, after a bit of reading & research I thought this should work



    Dim doc As New XmlDocument()
    doc.LoadXml(XMLString)

    Dim nodes As XmlNodeList =...
  32. Replies
    12
    Views
    1,560

    VS 2010 Reading Element From XML String

    Evening all,

    I've been struggeling with this all day now, I'm having serious problems trying to parse an XML string.

    Example XML


    <?xml version="1.0" encoding="UTF-8"?>
    <!-- [xml content...
  33. Replies
    3
    Views
    663

    VS 2010 Re: Grid reference overlaid on a form....

    To be honest I'm a little unsure of the best way to proceed. My thought at the moment is to first calculate the inner corners of the active form ie

    top left might be x=4 & y=23
    bottom left...
  34. Replies
    3
    Views
    663

    VS 2010 Grid reference overlaid on a form....

    Afternoon all,

    I've been mulling something over for a while, I'm thinking about writing a program and one part has me a little stumped as to how I'd achieve it...
    If I have a basic map of a...
  35. Re: UWP - Back Button Problems with Pivot Tables

    Thanks for the reply Si,

    Hmmm it doesn't recognise 'App' so I'm going to assume 'Application' would be the correct choice. but then on this line:


    AddHandler Application.Current.BackRequested,...
  36. Re: UWP - Back Button Problems with Pivot Tables

    After a bit more reading and head scratching I think this is exactly what I need:

    https://stackoverflow.com/questions/32635667/uwpc-override-backpress-navigation-set-in-appx-cs
    In C#
    ...
  37. Re: UWP - Back Button Problems with Pivot Tables

    Thanks for your reply,

    I'm sturggeling to understand how that would work and how I'd code it, have you got any examples you can point me to?

    I also came accross this in C# a little earlier but...
  38. Re: UWP - Back Button Problems with Pivot Tables

    Hi Si,

    Thanks for the reply & thanks for moving the post. Thats the problem, the pivot table isn't in the scope of 'App.xaml.vb' really not sure how to get around this. Can I expand the scope or...
  39. Re: UWP - Back Button Problems with Pivot Tables

    I thought you might ask that...

    This code makes the back button work:

    App.xaml.vb


    'The Event Handler:
    AddHandler SystemNavigationManager.GetForCurrentView().BackRequested, AddressOf...
  40. UWP - Back Button Problems with Pivot Tables

    Afternoon all,

    I've got a bit of an odd problem that I can't seem to get to the bottom off. The back button works perfectly unless I'm in a Pivot table, where it will jump clean out of the pivot...
Results 1 to 40 of 201
Page 1 of 6 1 2 3 4



Click Here to Expand Forum to Full Width