Search Results - VBForums

Search:

Type: Posts; User: Jonney

Page 1 of 13 1 2 3 4

Search: Search took 0.02 seconds.

  1. 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?
  2. 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 :...
  3. 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 -...
  4. Replies
    23
    Views
    424

    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...
  5. Re: PrintDlgEx API failed to return full name of printer

    Thank you very much,Sir.
  6. 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.
  7. 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.
  8. Replies
    6
    Views
    1,493

    Re: [VB6] UPrinter - Unicode Printer Class

    I used your class as a printing controller (OpenPrinter/NewPage/ClosePrinter). Paint is done by outside function.



    Dim oPrintController As PrintController
    Set oPrintController = New...
  9. Re: PrintDlgEx API failed to return full name of printer

    Refer to #10 code, Is it reliable to use GetStrFromPtrW4(lpDevNames + 8 + 18) to retrieve the printer name?
  10. Re: PrintDlgEx API failed to return full name of printer

    "Assume"? those are exact memory address. How you get the 8,18,32,50?
  11. Re: PrintDlgEx API failed to return full name of printer

    First of all, Thank you very much, Sir.
    And, Honestly, Such advanced stuff with memory operation is my weakness. I don't REALLY understand deeply.
    The demo I provided has many testing code, it...
  12. Re: [VB6] Common Dialog Replacement - IFileDialog Vista+ (No TLBs)

    I met a problem from an API Printer dialog. The printer name is truncated into 30 Characters. Any way to create PrintDialogEx via CLASS or TLB to overcome this problem?
  13. Replies
    6
    Views
    1,493

    Re: [VB6] UPrinter - Unicode Printer Class

    Is it possible to call any API to assign the Paper size of hDcPrinter which created by CreateDC API?
  14. Re: PrintDlgEx failed to return full name of my Network printer

    The link is here.

    the local printer name also limit 30 characters from what I tested on Win7.

    .NET C#'s PrinterDialog just work fine for longer printer name. .NET reflector shows the class...
  15. Re: PrintDlgEx failed to return full name of my Network printer

    strComp will be better. But the following loop put UCase$ to check every pinter in printers collection, so it is not root cause.



    If UCase$(ObjPrinter.DeviceName) Like UCase$(NewPrinterName) &...
  16. Re: PrintDlgEx failed to return full name of my Network printer

    I tried to define String type instead of byte, but still cannot retrieve the full name of my Printer.
    The maximum characters are 30 for both of local and network printer.

    I attach a simply demo.
  17. Re: PrintDlgEx failed to return full name of my Network printer

    I verified the max length of the printer name is restricted within 30 characters.

    Refer to my another two screenshots.


    125643


    125645
  18. [RESOLVED] PrintDlgEx API failed to return full name of printer

    I used Krool's OpenPrinterEx function in CommonDialog class. The function failed to return the full name of the chosen printer. The printer name is "\\192.4.4.143\Canon iR2002/2202 UFRII LT(1)"...
  19. Re: CommonControls (Replacement of the MS common controls)

    I used krool's OpenPrinterEx in CommonDialog class.But the printer dialog failed to assign my printer "\\192.4.4.143\Canon iR2002/2202 UFRII LT(1)".I watched the return printer name is limited 30...
  20. Replies
    9
    Views
    333

    Re: Rotate a picturebox?

    Thank Passel!
    Here is GDI+ version of Clock.

    125569

    125571
  21. Replies
    5
    Views
    103

    Re: Display custom control over form borders

    You can subclass WM_MEASUREITEM and WM_DRAWITEM to draw your own. But it is advanced stuff.
  22. Re: VB 6.0 printer count of total page

    I guess you need a function,something like ComputePaginationInfo before doing printing. Many commercial Grid product support customized Header and Footer format such as "Page &p of &n".

    You can go...
  23. Re: [RESOLVED] SetROP2 : Erase Old Resizing Line then Draw new Resizing Line

    Thank you point out the bug.
    I forgot to remove it, I previously call GetDC(0) to use desktop foreground mix mode in DrawResizeLine function.
    The real project draw Margin lines on a MemoryDC then...
  24. Re: SetROP2 : Erase Old Resizing Line then Draw new Resizing Line

    I found the problem:
    The reason is the logic of "If y >= TopMarginInPixels - 2 And y <= TopMarginInPixels + 2 Then". While mouse on the resizing area then mouse down,the Y axis of mouse_Down is...
  25. [RESOLVED] SetROP2 : Erase Old Resizing Line then Draw new Resizing Line

    I draw a dot line on Picturebox so that I can drag the line to move the margins. But very seldom the start (first) line still remains on the screen (look like two lines UpDown). What is going on?
    ...
  26. Replies
    1
    Views
    137

    Risk Using MS Browser OCX

    I heard MS will obsolete IE and go to Spartan, so there's potential risk if we are using MS browser ocx?
  27. Replies
    16
    Views
    423

    Re: read file lineby line from line 457Th

    Good technique! I Couldn't download because I am not the member. Help us attach to VbForums thread of yours.
  28. Re: Postion a form on the middle of the screen right above the task bar?

    Bonnie West always answers on an elegant way. Thanks.
  29. Replies
    17
    Views
    1,047

    Re: [VB6] RSA Data Signing via CNG

    What the beautiful codes!
    Thank dilettante and Bonnie. Both of your codes are neat and nice to read.
  30. Replies
    6
    Views
    242

    Re: [RESOLVED] Format Number

    1,234,567.50 is wrong? For me,it is right format.
  31. Replies
    17
    Views
    1,047

    Re: [VB6] RSA Data Signing via CNG

    Since you have lots of knowledge crossing many fields,Could you please open a new thread (topic) on the techniques of Copy Right protection for a commercial software?
  32. Replies
    60
    Views
    31,269

    Re: VB6 - DirectShow WebCam Minimal Code

    Download and install K-Lite Codec pack will solve your problem.
  33. Replies
    6
    Views
    332

    Re: Weeknumber

    ... ...
  34. Replies
    6
    Views
    332

    Re: Weeknumber

    Your answer is right. The control on VBForum has problem with WeekDay.

    Thank you.
  35. Replies
    6
    Views
    332

    Re: Weeknumber

    My question is Jan 2016 Day 2,4,5,6,7,8,9 is week 53? Refer to highlight in RECT on above screenshot. That calendar on vbform's week marking is correct?
  36. Re: Text fuzzy: Use my Brush for multiLine TextBox

    From what I tested, WM_ERASEBKGND can't resolve the problem. VBAccleerator's solution is complete. But I don't have time to prove it. Will come back in months.
  37. Re: C# vs VB6: How to get IME Unicode Char associated with an ANSI Window (UC or Form

    The raw problem is still un-resolved. But I just close it and wait to see who can come up the solution.
  38. Replies
    6
    Views
    332

    [RESOLVED] Weeknumber

    MS had given a fix for WeekNumber. Refer to:

    http://support2.microsoft.com/default.aspx?scid=kb;en-us;Q200299

    But I saw a code on VBForum showing a weird weeknumber, refer to my screenshot. Is...
  39. Re: Text fuzzy: Use my Brush for multiLine TextBox

    A bit complicated. More debugs need...
  40. Re: CommonControls (Replacement of the MS common controls)

    For Single line TextBoxW, my customized SolidBrush or ImageBrush works very well. But if the textbox's MultiLine is True, the text got "fuzzy" while I am typing or scrolling. Sir,What is solution?
    ...
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.