Search:

Type: Posts; User: Leary222

Page 1 of 11 1 2 3 4

Search: Search took 0.03 seconds; generated 7 minute(s) ago.

  1. Replies
    6
    Views
    615

    VS 2015 Re: Work flows and Tasks framework/ classes

    Appriciate this is old thread, just wanted to bring back some life into it and get some new opinions.

    Essentially what i am looking for is a system or existing library which supports workflows.
    ...
  2. Replies
    1
    Views
    2,004

    VS 2015 Embed a database file into an application

    Im sure its advised against but if you had a sqlite database as part of a vb project and choose the build option as embedded resource would you still be able to access it from the application?
  3. Replies
    7
    Views
    714

    Re: ByRef/ByVal Function/property

    Ignore me everyone, i had the parameters the wrong way round, how embarressing.,.....
  4. Replies
    7
    Views
    714

    Re: ByRef/ByVal Function/property

    Hi All,

    i think i have caused confusion by typing from memory a skeleton of the structure of some code.

    i now have the actual code and have tryed changing to ByVal with the same issue...
  5. Replies
    7
    Views
    714

    Re: ByRef/ByVal Function/property

    Hi passel I haven't yet that's what I was going yo try next but haven't got round to it but either way I'd like to know if there is any reason behind this that im missing based around by ref by cal...
  6. Replies
    7
    Views
    714

    [RESOLVED] ByRef/ByVal Function/property

    Hi

    i have some code which calls a function passing a property by ref as to the function however it appears to lose its value at some stage and i cant work out why the code is like below:
    ...
  7. Replies
    0
    Views
    563

    VS 2015 [RESOLVED] Renci SSH

    Issue Resolved
  8. Replies
    281
    Views
    16,661

    Re: Need Help with 'simple' class design

    haha now you mention it i vaguely see the joke with this being equivalent to 'me' in VB in this instance (no pun intended) i was referring to closures and delegate methods.
  9. Replies
    281
    Views
    16,661

    Re: Need Help with 'simple' class design

    that question mark is the thing that made me love/say wow when i learned java its like a mini if statement

    so you have:

    evaluation ? true result : false result

    but if you want to make it...
  10. Replies
    281
    Views
    16,661

    Re: Need Help with 'simple' class design

    haha thanks been very busy with 'real' work lol haha possibly, seeing szlamany's example made me realise ive used these before - without even realizing lol
  11. Replies
    7
    Views
    1,292

    VS 2010 Re: I need help with my Simon says game

    some people will probably argue strongly against this but you could add

    Thread.Sleep(1000) just before the 'next' statement
  12. Replies
    281
    Views
    16,661

    Re: Need Help with 'simple' class design

    wow what is this stuff! i can see why you said your brain hurts. Sitten, would you be willing to write us a nice thread on this?
  13. Replies
    12
    Views
    10,434

    Re: Copy to Clipboard

    Ha - unsupprisingly i stand corrected.....

    i thought thats linq was passed like "do linq" - not sure why i thought that probably on the basis id never used it because i didn't like the look of it....
  14. Replies
    11
    Views
    924

    Re: VB 2005 - Snappable blocks?

    surely irrespective of the VS version this can be achieved using custom controls?
  15. VS 2015 Re: How to run specific lines of a .bat file

    i would say your best bet would be to make a combined bat file and then run that.
  16. Replies
    12
    Views
    10,434

    Re: Copy to Clipboard

    Sorry dday, now realize that my comment is unproductive.

    personally i dont like the idea of 'unmannged code ' in the sense that it looks a bit like sql and visual studio wont highlight any syntax...
  17. Replies
    12
    Views
    10,434

    Re: Copy to Clipboard

    LINQ - what horrible stuff!
  18. Re: [RESOLVED] Unable to use objects from form1 in form2

    http://jmcilhinney.blogspot.co.uk/2009/07/vbnet-default-form-instances.html?m=1

    Jmcilhinney's blog
  19. Replies
    12
    Views
    10,434

    Re: Copy to Clipboard

    you need to combine all of the values first before setting the value of the clipboard like below



    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
  20. Re: [RESOLVED] Unable to use objects from form1 in form2

    by the way, id not recommend doing what your trying to do how your trying to do it anyway.....

    you are currently referencing the default instance of form1, which has the potential to cause you...
  21. Replies
    74
    Views
    4,187

    Re: Saving Classes

    Hi Jumper, im guessing your serialize method is incorrect, given that your only passing an object to it and no file path it cant possibly be writing anywhere, the correct code is posted above and if...
  22. Replies
    74
    Views
    4,187

    Re: Saving Classes

    There's nothing wrong with where you have the code but when you create your stream writer within the serialize method you don't pass it the path parameter so it doesn't know where to write to. If you...
  23. Replies
    74
    Views
    4,187

    Re: Saving Classes

    So your current method doesn't actually write the xml content anywhere as you've passed an empty string. The intention is that instead of creating a stream writer and writing names etc to it you can...
  24. VS 2012 Re: [Help] How to show messagebox by Day and time

    Note: with ddays example you will require the user to keep the application open and not close it, an alternative would be to have a it running as a service which would mean it would show if the user...
  25. Replies
    74
    Views
    4,187

    Re: Saving Classes

    Hi Jumper,

    when you say all of the code what do you mean?

    the code i provided is a snippet which you could put directly into your method and would work exactly as it is.

    the link i...
  26. Re: how to make limited undo in paint program

    i wont write code for you in this instance as its not beneficial to your development. however i will tell you what code you need to write:

    1. Declare a new class Called BitmapHistory (or whatever...
  27. Replies
    74
    Views
    4,187

    Re: Saving Classes

    Hi Jumper, back again.

    It may help you to see the code behind XmlSerializer to see what it is doing a bit better.
    ...
  28. Re: short thread: question about classes and threads

    So classes....

    If you think of a class a description of an object take a car for example

    You have properties to describe details about th car it's make model top speed etc
    You have methods to...
  29. Replies
    4
    Views
    579

    Re: insert values from vb into mysql table

    In don't think your Sql is valid select and values can't be combined and don't need to be for that matter also I think there is a missing comma after date in.
  30. Re: Multiple users accessing only his/her records

    I had a similar problem in the past my solution to it was to have a permitted users field this way I could add user ids to the field which would be surrounded by apostrophes and comma separated like...
  31. Re: [RESOLVED] Getting error referencing controls with me.Controls( )

    Looks good sorry I got the of type syntax wrong it was free typed intellisense has made me not know how to program without it
  32. Re: VS 2015, How to create a searching feature?

    What an odd thing to dream about

    Overall you would need to first design a process which would probably be:
    1. Iterate through a given directory
    2.open the file
    3 read the file either line by...
  33. Re: [RESOLVED] What is a fair price to pay a programmer?

    what is a fair price .....

    I think we should all earn a minimum or £50 per hour but that's just me. Market rate is about £15- £25 in the UK I believe?
  34. Thread: own grid

    by Leary222
    Replies
    3
    Views
    639

    VS 2013 Re: own grid

    Paul do you know a way of finding out how a control got focus I.e via mouse click or tab control, the only reason I didn't suggest your method is as I think the OP wants different behaviour from a...
  35. Replies
    9
    Views
    2,450

    VS 2013 Re: Can't open csv using Excel automation

    ]out of interest how long did your previous method take?
  36. VS 2013 Re: Looking for ideas for a autocomplete comobox that stores and displays selected it

    Compact in what way? can you expand a bit?
  37. Re: Getting error referencing controls with me.Controls( )

    well first, you dont need to declare the iterator outside of the loop
    second you dont need to define TempStr at all
    i would write your code as below:


    For I As Integer = 1 to 15 ...
  38. VS 2013 Re: Looking for ideas for a autocomplete comobox that stores and displays selected it

    Is this resolved?
  39. Thread: own grid

    by Leary222
    Replies
    3
    Views
    639

    VS 2013 Re: own grid

    Hmmm, its not very often im completely stumped for how to do something. but i think i have a method although not the best.

    1. Define a Variable called TabKeyPressed as a boolean
    2. Handle the...
  40. Replies
    1
    Views
    583

    VS 2008 Re: Refresh Chart Data

    does the control have a double buffered property, if so set this to true and your performance should improve.
Results 1 to 40 of 403
Page 1 of 11 1 2 3 4



Click Here to Expand Forum to Full Width