Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. strongm

    Ecel Macros not working with V 2505

    I am not seeing it, but I'm on 18827.20102
  2. strongm

    Ecel Macros not working with V 2505

    Perhaps you could provide examples of code that is not running as you expect for others to test (along with a comment of what you expect the code to actually do that it is not doping)
  3. strongm

    printing picturebox to the default printer

    > i can have a series of picturebox on a form Is this still your lotto project? And your insistence on overlaying various additional pictureboxes to show the selections? Despite my favour for the mshflexgrid solution (really, so much easier for a whole bunch of reasons), my solution in...
  4. strongm

    delete ll picturebox in a form

    Again, seriously?! Me.Controls.Remove ("PIC7")
  5. strongm

    delete ll picturebox in a form

    Seriously? ok, here's one way If Left(myitem.Name, 4) = "PIC7" ... Or If myitem.Name = "PIC7" ...
  6. strongm

    delete ll picturebox in a form

    Continuing with your poorly though out solution, eh? Well, hers example code for doing precisely what you have asked for (plus some minor alternatives) Private Sub Command1_Click() Dim picbox Set picbox = Me.Controls.Add("VB.PictureBox", "PIC1") picbox.Move 0, 0, 100, 100...
  7. strongm

    copy and paste picture box

    > I don't like the use of flexgrid It's the MSHFlexgrid, which is a slightly later contyrol - but why don't you like it? For this challenge it is ideal. Does ALL the heavy lifting. >I have doubts if I take the betting slip to the tobacconist it will not be read correctly Why? >I think that...
  8. strongm

    copy and paste picture box

    I understand fine. But the reason I am confused is that I saw you had a solution to the lotto card on eileen's lounge, and assumed that was what you were posting here. Why twould you revert to a non-working, poor version?
  9. strongm

    copy and paste picture box

    So you already have an alternative solution to displaying the lotto selections. You are just missing the bit to save the modified image? In which case, Add a module, then copy and paste this code Option Explicit ' API Declarations Private Declare Function GetWindowDC Lib "user32" (ByVal hwnd...
  10. strongm

    copy and paste picture box

    What are you trying to achieve here?
  11. strongm

    VB classic graphics

    Bitblt is a Win32 GDI API call, and thus is perfectly usable in VB.NET (although using syst4em.drawing's methods for rendering bitmaps may often prove more useful, albeit slower) And bitmasking is also pretty trivial Alpha masking is slightly harder, but only slightly. This isn't a vb.net...
  12. strongm

    Hash encryption 64 bit

    (and of course if you want a proper digest, then this function may help Public Function hexdigest(bytearray) As String Dim lp As Long For lp = 0 To UBound(bytearray) hexdigest = hexdigest & Right("00" & Hex(bytearray(lp)), 2) Next End Function )
  13. strongm

    Hash encryption 64 bit

    Try the following: Public Function Hashit(strPassword As String) As String Dim oEnc As Object Dim Source() As Byte Source = StrConv(strPassword, vbFromUnicode) Set oEnc = CreateObject("System.Security.Cryptography.MD5CryptoServiceProvider") 'or SHA256Managed or...
  14. strongm

    PRINT title in center on hight page for each page

    Is the problem printing the title centred (which you seem to be doing, albeit in a clumsy and inefficient way)? Or is it figuring out how to know if you are printing more than one page?
  15. strongm

    VB classic graphics

    Were VB6 to have masks, then the purpose would be the same as in any graphics environment - a technique to conceal or alter parts of an image for aesthetic purposes, to remove unwanted sections, or to reshape it. It includes two types: bitmasking, which hides pixels based on their color values...
  16. strongm

    strong, where are you...

    Afraid I'm on leave, with no access to a PC for a few weeks ...
  17. strongm

    Query expression negative to a 0

    Format([Basic Salary]-[Amount from Column A]-[Exemption Credit],"#.0#;\0")

Part and Inventory Search

Back
Top