dcsimg

Search:

Type: Posts; User: QuattroDave

Page 1 of 5 1 2 3 4

Search: Search took 0.37 seconds.

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


    ...
  2. Replies
    5
    Views
    439

    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...?
  3. Replies
    5
    Views
    439

    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...
  4. Replies
    5
    Views
    439

    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...
  5. 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..
  6. Replies
    4
    Views
    416

    Re: Detect and alter power settings?

    This might be useful :
    ...
  7. 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...
  8. VS 2010 Re: DeserializeAnonymousType & Nested JSON Object

    Perfect, thank you!!
  9. 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??



    ...
  10. Replies
    2
    Views
    1,226

    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:...
  11. Replies
    2
    Views
    1,226

    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...
  12. VS 2010 Re: Context Menu With Textbox & Button.

    Perfect, thank you!
  13. 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...
  14. 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....
    ...
  15. 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...
  16. 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...
  17. 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.....
  18. 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...
  19. 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...
  20. 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
  21. 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?
  22. 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...
  23. 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...
  24. Replies
    12
    Views
    935

    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...
  25. Replies
    12
    Views
    935

    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...
  26. Replies
    12
    Views
    935

    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...
  27. Replies
    12
    Views
    935

    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 =...
  28. Replies
    12
    Views
    935

    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...
  29. Replies
    3
    Views
    423

    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...
  30. Replies
    3
    Views
    423

    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...
  31. 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,...
  32. 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#
    ...
  33. 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...
  34. 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...
  35. 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...
  36. 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...
  37. Replies
    1
    Views
    531

    VS 2015 UWP - Validate text box entry?

    Afternoon all,

    I've been googling this but can't seem to find a decent solution. I have a text box that the user needs to type the time into ie '15:23' any idea how to validate a textbox in UWP?...
  38. VS 2015 Re: Problems understanding UWP HttpClient POST...

    Ah yes you did mention NewtonSoft Json in a previous thread, I'll have a look into it. Have you got any good examples for it?

    Thanks

    Dave
  39. VS 2015 Re: Problems understanding UWP HttpClient POST...

    Thanks for the replys guys,

    After a lot of head scratching I think we've got to the bottom of it. I'm pretty sure the problem was with the content creation. You were correct the first part was...
  40. VS 2015 Re: Problems understanding UWP HttpClient POST...

    The API should reply with whatever it was sent. Just a thought, when doing a POST



    Using response As HttpResponseMessage = Await http.PostAsync("http://192.168.1.103/api/posttest", Content)
    ...
Results 1 to 40 of 197
Page 1 of 5 1 2 3 4



Featured


Click Here to Expand Forum to Full Width