Search Results - VBForums

Search:

Type: Posts; User: Merrion

Page 1 of 13 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    2
    Views
    136

    Re: How would you unit test this method?

    You should aim to test every field in your model, both a positive test and a negative test.
    (i.e. test that does raise a validation error and test that does not)

    There are tools (such as "Pex")...
  2. Re: Press button in another process or send keys to it

    I think you would be better to use SetForegroundWindow rather than SetActiveWindow.
  3. Replies
    12
    Views
    206

    Re: How to place my site on Top of Googlle?

    Use new Zen search - you don't search for pages, they search for you.*

    *Contains NSA technology
  4. Replies
    657
    Views
    32,213

    Re: What if there was a NEW vb6

    IMO Microsoft Lightswitch is a far easier-to-use RAD environment than VB5 (then VB6) ever was.
    If you want to throw together business applications, that is the way to go.
  5. Replies
    10
    Views
    183

    Re: What if there wasn't a new VB6?

    I guess if there were no Visual Basic at all we'd have to brace ourselves for some big changes. ;-)
  6. Replies
    10
    Views
    183

    Re: What if there wasn't a new VB6?

    Expected 'End If'
  7. Replies
    12
    Views
    206

    Re: How to place my site on Top of Googlle?

    You have to send a letter outlining why you think your site is relevant to:

    PageRank c/o Google
    1600 Amphitheatre Parkway
    Mountain View
    CA 94043

    That's what all the successful companies...
  8. Replies
    2
    Views
    176

    VS 2013 Re: Event: Changes in form

    As far as I know, there is no one event - you can either use a "form change control" (like this one) or if you are data binding to your form controls you can use the INotifyPropertyChanged interface...
  9. Replies
    9
    Views
    260

    Re: [RESOLVED] What is a PDB file ?

    If you want to create a .pdb file, there is a setting "Generate debug info" under the "Advanced compile options" button on the Compile properties. Set this to "Full" or "pdb-only"
  10. Replies
    9
    Views
    893

    Re: Anyone have any interest in CQRS?

    Adding a command line interface - any comments on the (proposed) syntax?
  11. Replies
    3
    Views
    102

    Re: Problem printing using PrintDocument

    Actually I should have referred you to this article first

    Yes - you call PrintDocument.Print() and put the workings of printing the current page into your PrintDocument_PrintPage() event handler. ...
  12. Replies
    3
    Views
    102

    Re: Problem printing using PrintDocument

    I'd suggest you take a look at the code in this class...basically you don't need to call the PrintDocument.Print() inside a loop - you need the code in the printpage event handler to take care of...
  13. Replies
    4
    Views
    249

    Re: Visual Studio .NET 2013 vs 2015

    There are some stand-out changes in the IDE itself:-

    1) Above every method / class etc. a little tip appears with things like the number of references, who last modified this code etc.
    2) Fixing...
  14. VS 2012 Re: Want to automate the running of another executable

    For automating applications, take a look at the White Framework...
  15. Replies
    9
    Views
    369

    VS 2008 Re: Printing another form or output page

    You don't need to use any reporting tool - the .NET framework has a number of printing classes that can do the printing (and print preview) for you.

    maybe have a look at this article: A beginner's...
  16. Replies
    9
    Views
    369

    VS 2008 Re: Printing another form or output page

    You don't need to use any reporting tool - the .NET framework has a number of printing classes that can do the printing (and print preview) for you.

    maybe have a look at this article: A beginner's...
  17. How do I wrap text in a visual studio modelling diagram shape?

    I have a class that inherits from TextField that is intended to wrap the text across multiple lines.
    I replace the standard TextField with it :-




    protected override void...
  18. Replies
    9
    Views
    893

    Re: Anyone have any interest in CQRS?

    127173

    First cut of the designer - any feedback (is it obvious what is a command, query, projection or event or do I need icons for them too?)
  19. Re: [RESOLVED] VB.Net PrintDocument - How to print a horizontal line

    If you are going to be doing a lot of printing then I recommend creating a library of print routines (or you can use this one I did a few years ago)
  20. Re: VB.Net Print a Packing Slip - need help with this

    First I would suggest reading the beginners' guide to printing for background.

    The problem you have is that you are calling PrintDocument.Print inside the loop - this prints a new document for...
  21. Replies
    9
    Views
    893

    Re: Anyone have any interest in CQRS?

    Progress update: I've put together the modelling classes for this and looking at code generation - any text template wizards around?
  22. Replies
    6
    Views
    329

    Re: How to print a form in VB.Net

    Printing a windows form as a bitmap can be pretty chunky - the bitmap is scaled to screen resolution and is oriented the way the form is.

    I wrote a component called MCLFormPrint to address some of...
  23. Replies
    6
    Views
    283

    Re: MSDN example seems to do very little

    Maybe add button1.Visible = True into the New() method?
  24. Replies
    6
    Views
    283

    Re: MSDN example seems to do very little

    It should do something if you hover the mouse pointer over one of the three buttons..
  25. Re: Query with two fields pointing to same table

    Yes - use the AS keyword to alias the table name

    e.g.
    SELECT ... FROM myThing INNER JOIN Location AS TargetLocation ON MyThing.LocationIDTo = TargetLocation.ID ...
  26. Replies
    4
    Views
    381

    Re: Network Printing

    In fact the printer driver situation seems most likely - see this TechNet article.
  27. Replies
    4
    Views
    381

    Re: Network Printing

    Have a look in the event viewer to see if there's some mad hand-shaking going on (or also likely is it loading the correct printer driver into memory??)
  28. Replies
    7
    Views
    374

    VS 2010 Re: Print more Pages

    The PrintPage method (which you have an extract of in your first post) gets called once for each page printed. This means you need to keep track of what you are printing and how much you have...
  29. Replies
    9
    Views
    893

    Re: Anyone have any interest in CQRS?

    I have added some documentation to A CodePlex project and am hoping to build that into a usable CQRS/ES tooling application. All [serious] feedback, ideas, tips appreciated :-)
  30. Replies
    7
    Views
    400

    Re: startdoc without savedialog

    I think you have a file printer set as your default printer (e.g. Print to PDF or similar)?
    If you print to a physical printer you would not get this dialog box.
  31. Re: Domain driven design (DDD) - nesting domains

    Actually - looking at this again I think that if a domain is entirely nested within another then only the top-level domain needs to exist. It is only where there is an "overlap" that a separate...
  32. Replies
    13
    Views
    481

    Re: Don't think of it as death

    "The Hogfather" - it was very good.
  33. Replies
    13
    Views
    481

    Don't think of it as death

    THINK OF IT AS LEAVING EARTH AHEAD OF THE RUSH...

    RIP Terry Pratchett
  34. Replies
    9
    Views
    381

    Re: Friday 13th: unlucky for me?

    Not only that, but there's a partial eclipse due so nobody will see you go.
  35. Replies
    14
    Views
    601

    Re: Maintaining commit-ment?

    Actually - I have also found that doing TDD is useful in this situation because you have continuous feedback of progress.
  36. [RESOLVED] Domain driven design (DDD) - nesting domains

    Hi

    Any thought on how to do a domain driven design architecture where one domain type is effectively nested within another?
    For example if I have a [Fund] domain that has all the operations...
  37. Replies
    15
    Views
    3,854

    Re: An Azure learning app - "Task Bazaar"

    ..and the events that are held in the EventStore all inherit from a base class:-


    ''' <summary>
    ''' Base class for all events - allows for a common synchronising property
    '''...
  38. Replies
    14
    Views
    601

    Re: Maintaining commit-ment?

    Actually - I've worked out that part of this is that my day job has become more exciting leaving less of a programming type hole to fill
  39. Replies
    14
    Views
    601

    Re: Maintaining commit-ment?

    Nah - money is just a proxy for mating rights and food ;-) (OK - this may have gone OT)
  40. Replies
    14
    Views
    601

    Re: Maintaining commit-ment?

    Yeah - I think the printer stuff is holding me back. I'll let it wither and see if that increases my interest in my other projects. Thanks.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width