Search Results - VBForums

Search:

Type: Posts; User: Jonney

Page 1 of 13 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: Data entry usercontrol grid, with Excel like navigation?

    Except of key navigation, what others requirements for a 'good' grid?

    In my mind, I list out few key functions for a CAN-BE-USE Grid control:


    All functions can be done in VB6 because...
  2. Re: A better way for Print Page dpi awareness

    I tried, the spooling can't being activated for pdfcreator and network sharing printer.

    My problem is that the multiline text on preview window is not the same wrapped on Printing using the same...
  3. Re: A better way for Print Page dpi awareness

    Give up. I will try Schmidt's method: print into emf.
  4. Re: A better way for Print Page dpi awareness

    Thanks for the great experiment. I will try to draw into Metafile-DC.
    Meta file has advantages such as adding our own transparent water print.
    I am still wondering why the GDI+ code doesn't work...
  5. Re: A better way for Print Page dpi awareness

    I an trying to replace GDI with GDI+, But situation get complicated:
    1. In GDI+, Preview window (picturebox) do show text, but the text font size looks smaller than normal (or than GDI).
    2. In...
  6. Re: [RESOLVED] Rotation And Scale: Rect within Rect

    Yes, I only see a small line because of dstBounds.Width - dstBounds.Left + 1 = 1 results in scalerX = DestWidth ...
  7. Re: [RESOLVED] Rotation And Scale: Rect within Rect

    Thanks for the enhancement.

    Now the Shear function in my GDIPlusLoadPicture works.




    Public Function GDIPlusLoadPicture(ByVal srcFilename As String, _
    ...
  8. Re: A better way for Print Page dpi awareness

    I will try GDI+ tomorrow. Thanks for the clue:).
  9. Re: A better way for Print Page dpi awareness

    I saw the same problem by direct assignment, I used "Tahoma", size is 9 for this testing :



    If bPrintingView Then
    rc.Left = 283 '283 173 679 358
    rc.Top = 173
    ...
  10. Re: A better way for Print Page dpi awareness

    I remove all other text except the multi-line text:



    283*6.25 = 1768.75
    173*6.25 = 1081.25
    679*6.25 = 4243.75
    358*6.25 = 2237.5

    The Coordinates are almost proportionally same, But I can't...
  11. [RESOLVED] A better way for Print Page dpi awareness

    In Printer Priting mode, I have considered the scale of printer vs screen. I expect I will get the same result because I have scaled the size of Text Rectangle. Printer DPI (normal 600) is larger...
  12. Re: VB6 Enum Declare with VB6 Keyword

    Thanks LaVolpe and Bonnie. Both are solution. I will change all enumerations with Noun (Prefix) + meaningful word, this problem annoyed me long time.
  13. [RESOLVED] VB6 Enum Declare with VB6 Keyword

    I know the question raised by many People on VBForums, But I can't find the right threads.

    1. I want to Declare an enum with member Left and Right which are more meaningful, But after that, VB6's...
  14. Re: VB6 Application and SQL Express 2012 connection: Provider cannot be found

    Thanks for removal. I am sorry!
  15. Replies
    12
    Views
    648

    Re: [VB6] Color Management and VB6 How-Tos

    I have tested your ICMLite class in my vb6 project, it display right for some special images like Alpha-ARGB.bmp, Alpha-pARGB.bmp and png formats and all of your sample images with...
  16. Replies
    12
    Views
    648

    Re: [VB6] Color Management and VB6 How-Tos

    If I import an Image into picturebox1.Image via Properties, picturebox1 won't display ICM as the picture on #7.
    But If I used hard code as #9 with useEmbeddedColorManagement, the picturebox shows...
  17. Replies
    12
    Views
    648

    Re: [VB6] Color Management and VB6 How-Tos

    You are correct, we should turn on optional useEmbeddedColorManagement parameter.


    Bitmap Img = (Bitmap)Bitmap.FromFile(@"C:\ICM Pictures\Browser_Color_Test.jpg", true);
    pictureBox1.Image = Img;...
  18. Replies
    12
    Views
    648

    Re: [VB6] Color Management and VB6 How-Tos

    I tested in C# using your sample file, it shows NOT ICM aware:

    Bitmap Img;
    Img = new Bitmap("C:/ICM Pictures/Browser_Color_Test.jpg");

    On C# picturebox, it also shows wrong color.

    128331
  19. Replies
    18
    Views
    494

    Re: Rotate ball inside circle

    I like your class cPngCacheGDIP ... Thanks.
  20. Thread: wanted: PSC CDs

    by Jonney
    Replies
    31
    Views
    1,187

    Re: wanted: PSC CDs

    PSC has restored back 100% of Carles P.V.'s code:...
  21. Re: CommonControls (Replacement of the MS common controls)

    Your comment is too rude and could hurt Krool who put tremendous effort for this great project. I believe there're more than thousands around the world using Krool's open source CommonControls.
    You...
  22. Thread: wanted: PSC CDs

    by Jonney
    Replies
    31
    Views
    1,187

    Re: wanted: PSC CDs

    Nothing related to VB6. Just answer Karl77's question. I used this software (shareware version) for many years. It helps me store VB6 stuff.
    I remember there's a CodeLibrary written in VB6 at 10...
  23. Thread: wanted: PSC CDs

    by Jonney
    Replies
    31
    Views
    1,187

    Re: wanted: PSC CDs

    I suggest a software called Library .NET Pro (http://fishcodelib.com/).
  24. Replies
    12
    Views
    430

    Re: [RESOLVED] JAVA is faster than VB6?

    Yes, I saw 30% speed improvement.

    Thank you,Sir. @Schmidt;@interactii
  25. Replies
    12
    Views
    430

    Re: [RESOLVED] JAVA is faster than VB6?

    Good catch!
    The loop got reduction from 13511671 and 18483722 to 2040329 and 2824132. almost 10 times! Now the compiled speed reduce to 150ms,IDE goes down to 1.4 sec. (But for JAVA, the speed...
  26. Replies
    12
    Views
    430

    Re: [RESOLVED] JAVA is faster than VB6?

    Totally agreed. There's lots of common techniques for VB6,which also works for JAVA and other language, and some specific optimizations for VB6.

    I will test JAVA with replacement of condition "?"...
  27. Replies
    12
    Views
    430

    Re: JAVA is faster than VB6?

    After vb compiled, the elapsed time is going down to 1 or 2 sec with you suggested modification. There's big difference in exe and VBIDE.

    After Compiled:
    Using IIF:
    4.8 sec
    Using IF...Else
    ...
  28. Replies
    12
    Views
    430

    Re: JAVA is faster than VB6?

    You are right. With the modification, Now the speed is faster but still much slow than JAVA. The elapsed time is 9.6 sec from 12.6 sec.
  29. Replies
    12
    Views
    430

    [RESOLVED] JAVA is faster than VB6?

    I have the same code in JAVA and VB6. In nextSpace and nextBar loop, they are looping 13511671 and 18483722 times in both JAVA and VB6 code. Java used 0.4 sec But VB6 took more than 12 sec. I tested...
  30. Thread: wanted: PSC CDs

    by Jonney
    Replies
    31
    Views
    1,187

    Re: wanted: PSC CDs

    Luckily I have backed up all of your and Carles.P.V. postings on PSC.

    They said storage failure resulted in loss of data.
    1. curious that Google how to deal with those links without resource? In...
  31. Replies
    4
    Views
    285

    Re: AscW returns negative value

    OK, this substitution tested OK to replace AscW for my case:


    Public Function AscU(ByRef Text As String) As Long
    Dim lngChar As Long, lngChar2 As Long, lngLen As Long
    lngLen =...
  32. Replies
    4
    Views
    285

    [RESOLVED] AscW returns negative value

    For some CJK Characters, AscW returns negative value. It's nothing wrong because AscW returns integer, The negative value can add 65536 to convert to UTF-32 (Long Type). But I am not sure whether it...
  33. Re: CommonControls (Replacement of the MS common controls)

    Refer to #659


    NewPrinterName = Mid$(DNAMES.wExtra, _
    DNAMES.wDeviceOffset - DNAMES.wDriverOffset + 1)
    NewPrinterName = VBA.Left$(NewPrinterName, _
    ...
  34. Re: [VB6] Using the new IFileDialog interface for customizable Open/Save (TLB, Vista+

    You are so good at such advance stuff. Could you please make TLB for GDI+,DirectShow,DirectX?
  35. Re: [RESOLVED] PrintDlgEx API failed to return full name of printer

    FYI, For those who visit my thread,VBAccelerator also has comprehensive CommonDialog Class at :...
  36. Re: PrintDlgEx API failed to return full name of printer

    Oh,oh, the full printer name in Krool's Unicode friendly CommonDialog class can be retrieved by:

    NewPrinterName = Mid$(DNAMES.wExtra, _
    DNAMES.wDeviceOffset -...
  37. Replies
    23
    Views
    735

    Re: API calls to receive data in VB5

    You have updated Json to V2.0.
    Please educate me LongPtr and #. My VBIDE shows red color.



    #If Vba7 Then
    'In VB6 these will all be marked in error by the IDE, but the compiler will never...
  38. Re: PrintDlgEx API failed to return full name of printer

    Thank you very much,Sir.
  39. Re: PrintDlgEx API failed to return full name of printer

    I am studying...

    Your code is for PrintDlgW not PrintDlgEx.
    Please add the ShowPrinter and ShowPrinterEx in your classic OpenFile/SaveAsFile class. Thanks.
  40. Re: is there a way to determine if a client \ user has a touch screen?

    This kind of touch screen usually used for Industrial MMI(HMI) such as Wonderware Intouch.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width