Search Results - VBForums

Search:

Type: Posts; User: Merrion

Page 1 of 13 1 2 3 4

Search: Search took 0.05 seconds.

  1. 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)
  2. 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...
  3. Replies
    7
    Views
    641

    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?
  4. Replies
    6
    Views
    216

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

    Re: MSDN example seems to do very little

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

    Re: MSDN example seems to do very little

    It should do something if you hover the mouse pointer over one of the three buttons..
  7. 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 ...
  8. Replies
    4
    Views
    309

    Re: Network Printing

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

    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??)
  10. Replies
    7
    Views
    299

    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...
  11. Replies
    7
    Views
    641

    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 :-)
  12. Replies
    7
    Views
    317

    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.
  13. 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...
  14. Replies
    13
    Views
    427

    Re: Don't think of it as death

    "The Hogfather" - it was very good.
  15. Replies
    13
    Views
    427

    Don't think of it as death

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

    RIP Terry Pratchett
  16. Replies
    9
    Views
    311

    Re: Friday 13th: unlucky for me?

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

    Re: Maintaining commit-ment?

    Actually - I have also found that doing TDD is useful in this situation because you have continuous feedback of progress.
  18. [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...
  19. Replies
    15
    Views
    3,679

    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
    '''...
  20. Replies
    14
    Views
    532

    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
  21. Replies
    14
    Views
    532

    Re: Maintaining commit-ment?

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

    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.
  23. Replies
    14
    Views
    532

    Maintaining commit-ment?

    How do you keep plugging away at a solo or open source project that doesn't have any monetary compensation when the "proof of concept" part is finished?

    (My own are floundering...and need an...
  24. Re: TextOut: printed text displaced on paper, correct when printing to PDF

    Perhaps your printer device context is not set to use the MM_TEXT map mode (See GetMapMode) ?
  25. VS 2010 Re: face recognition for log in and log out with mysql

    If you have a finite set of people to recognise and can get them to input a lot of photos then something like facebook's facial recognition might be good enough...
  26. VS 2010 Re: face recognition for log in and log out with mysql

    Wow - you surely don't lack ambition.

    Best if you read through some research papers like these before embarking on such an ambitious project.
  27. Replies
    8
    Views
    421

    VS 2008 Re: can send e-mails in VBA but not VB.net

    Where is email(in the line: .To = email) declared, and what does it contain when run?
  28. Replies
    8
    Views
    421

    VS 2008 Re: can send e-mails in VBA but not VB.net

    My guess is the Outlook Security Warning is being triggered because it is an untrusted app. doing the sending. The linked article will explain what to do.
  29. Replies
    12
    Views
    373

    Re: Fatal exceptions?

    My investigations have dug up quite a few examples from aviation (Airbus Paris air show crash) and some really rather horrible industrial control systems failures.
  30. Replies
    12
    Views
    373

    Fatal exceptions?

    Hi

    For an article I am writing I need examples of software faults that have caused human fatalities (it's a "make a big impression" thing, not morbid fascination).
    Any ideas?

    Cheers
    Duncan
  31. Re: Program to encrypt a message using a simple Caeser Cypher

    First you need to add an Option Explicit to the start of your code to make it pick up invalid variable assignments.

    Next - this line doesn't do anything at all - what was intended?

    msgNew =...
  32. Replies
    60
    Views
    1,239

    Re: Laptop suggestions

    I'm doing windows development on a MacBook Air i5

    I use Parallels for hosting the Windows OS at it is responsive enough. (Visual Studio 2013, SQL Server 2012, usual stuff)
    My brother uses...
  33. Re: Generic class with multiple type constraints

    I'd missed that - I kind of assumed BaseClass would implement ITestInterface - otherwise what can you know for sure about every member of this collection ?
  34. Re: Generic class with multiple type constraints

    Something like:-


    Public Class RestrictedList(Of T As {ITestInterface, BaseClass})
    Inherits List(Of T)
    End Class

    Dim objList as List(of foo)
  35. Re: Generic class with multiple type constraints

    You could create a class that inherits from the generic list but adds your interface constraint(s).
  36. Re: Serialize a Class Library Friend

    You can also use the DataMember and DataContract attributes to mark friend (and even private) members for serialising/deserialising. Behind the scenes it adds the same kind of Serialisable code as...
  37. Re: Serialize a Class Library Friend

    You could add an implementation of ISerializable to the classes concerned?
  38. Re: How to make an Azure hosted ASP.NET website use my domain name as its base URL?

    No - but there's a configuration screen on the Azure portal that can set many such settings (things like connection strings etc.)
    However from reading around the subject it appears that this is not...
  39. Re: Getting an unexpected exception!!!

    You should treat a database connection like a refrigerator door : open it, get out only what you want and then close it again immediately.
  40. Re: Getting an unexpected exception!!!

    Shouldn't the first conn.Close() be conn.Open() ?
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.