Search:

Type: Posts; User: xiaoyao

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    40
    Views
    918

    Re: [RESOLVED] Getting hWnd from VBIDE.Window

    Dim x As String
    Dim vbc As VBIDE.VBComponent
    For Each vbc In ThisWorkbook.VBProject.VBComponents
    If vbc.Type = vbext_ct_MSForm Then
    Debug.Print vbc.Name
    ...
  2. Replies
    40
    Views
    918

    Re: [RESOLVED] Getting hWnd from VBIDE.Window

    Private Declare Function IUnknown_GetWindow Lib "shlwapi.dll" (ByVal punk As IUnknown, ByRef phwnd As Long) As Long

    Sub ListAllUserFormsHwnd()
    Dim MyHwnd As Long

    Dim c As Long

    For...
  3. Replies
    40
    Views
    918

    Re: [RESOLVED] Getting hWnd from VBIDE.Window

    Private Declare Function IUnknown_GetWindow Lib "shlwapi.dll" (ByVal punk As IUnknown, ByRef phwnd As Long) As Long

    Private Declare PtrSafe Function GetWindowText Lib "user32" Alias...
  4. Replies
    40
    Views
    918

    Re: [RESOLVED] Getting hWnd from VBIDE.Window

    Private Declare Function IUnknown_GetWindow Lib "shlwapi.dll" (ByVal punk As IUnknown, ByRef phwnd As Long) As Long

    Function GetHwnd_Com() As Long
    IUnknown_GetWindow Me, GetHwnd_Com
    ...
  5. Replies
    40
    Views
    918

    Re: [RESOLVED] Getting hWnd from VBIDE.Window

    get hwnd :vba code in excel forms:


    Dim MyHwnd As Long
    Private Declare PtrSafe Function FindWindowA Lib "user32" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
    Private Sub...
  6. Re: (VB6) SSTabEx: SSTab replacement. Themed and with new features

    very good,i need study more days ,thank you
  7. Replies
    40
    Views
    918

    Re: [RESOLVED] Getting hWnd from VBIDE.Window

    you can save vba forms hwnd in ini file ,when forms load.
    so findwindow ,will get 2 hwnd,you will khnow what form from ini file
  8. Replies
    8
    Views
    118

    Re: JRO Database File Size Limitations??

    you can copy all table to new mdb file
  9. Re: Is the VB6 community capable to grab the bull by its horns?

    Is there a VB6 version of VB3?
    Need a VB6 project source code syntax analysis conversion tool, and then you can convert VB source code into C language
    The entire VB6 source code project parsing...
  10. Re: how can copy contents from websites or otherapp like as unicode in IDE vb6?

    you can change unicode text to picture by gdi,draw on screen by gdiplus,so it's easy.
    in fact ,if len(text)=20,draw picture about width ** on a new form,if double click,you can change the text ,and...
  11. Replies
    40
    Views
    918

    Re: [RESOLVED] Getting hWnd from VBIDE.Window

    title=form1.caption
    Form1.caption=123123456
    hwnd=findWindow(123123456
    form1.caption=title
  12. Re: Is there anyway to build x64 exe by vb6s compiler?

    lot,getobject,it'S very slowy
  13. Re: Is the VB6 community capable to grab the bull by its horns?

    vb6 code to c,it'S hard
  14. Replies
    40
    Views
    918

    Re: [RESOLVED] Getting hWnd from VBIDE.Window

    form1.caption="123123456"hwnd=findwindow(123123456,like this)
  15. Replies
    114
    Views
    2,730

    Re: Should i learn VB6?

    VB6 multithreading, I modified a long time, the smallest only 39 lines of code. It's because Microsoft didn't provide this function that it abandoned VB6 and switched to development VB.NET It's too...
  16. Re: how can copy contents from websites or otherapp like as unicode in IDE vb6?

    you can make a VB6 ADD-IN DLL,LIKE THIS:


    SUB TEST()
    DIM A
    A="【#01】Chinese"
    b="【#02】arabic "

    addin will change A="STR1",B="STR2"
  17. Re: how to Get Sha512 Fast by vb6 use api CryptCreateHash

    it's only base64,do you have sha512 api or other code function ?
    you can try base64 without api,only use vb6 code,and test speed
  18. Re: how can copy contents from websites or otherapp like as unicode in IDE vb6?

    you can use a ctronl ocx for support unicode。Or like a resource file.
  19. Re: Is there anyway to build x64 exe by vb6s compiler?

    delphi support mac pc。I think it's great to be able to do a good job of supporting the version of windows.

    vfb ,visual freebasic ,it'S free.
    This great inventor, the author, spent more than five...
  20. Re: Is there anyway to build x64 exe by vb6s compiler?

    download link,https://yfvb.lanzous.com/b01hid90j
    you can search github,visualfreebadic,old version
  21. Re: how to Get Sha512 Fast by vb6 use api CryptCreateHash

    ok,i put test code at page first.
    I hope you can try other methods to find the fastest way to calculate.
    For example, will the speed of 64 bit exe be doubled?
    VC++, VB.NET ,C#,virtual...
  22. Replies
    18
    Views
    302

    Re: Read Bitmap into a 2D array ?

    picture from stream,or byte array,it's very nice.
    change bmp or cut screen picture ,Convert bitmap to JPG, and then transfer it to another computer through remote network, saving a lot of broadband....
  23. Re: Is there anyway to build x64 exe by vb6s compiler?

    and one chinese developer, split vb6 project ,and change vb6 code to vc++, compiler by gcc or vc compiler.(it's name vb6++)
    you can download a app:(qq),add group 582102872
    VFB QQ GROUP:78458582...
  24. Re: Is there anyway to build x64 exe by vb6s compiler?

    because msvbvm60.dll is 32 bit,exe can't without it,so only support 32bit.
    but you can use vfb(visual Freebasic ide),it's like vb7,support x64,DLL,CREATEthread,you can try
    ...
  25. Re: [RESOLVED] Copy file to clipboard with OleSetClipboard

    yes ,it's ok,you changed here:

    Call psfParent.GetUIObjectOf(0&, 1&, aPidl(0), IID_IDataObject, 0&, psData)

    old code:
    psfParent.GetUIObjectOf(0&, 1&, VarPtr(aPidl(0)), IID_IDataObject, 0&,...
  26. Re: how to Get Sha512 Fast by vb6 use api CryptCreateHash

    len(str)=30
    i test 10000 counts,used time:3000ms (i5 8600k),If multithreading is used, the speed of 6-core CPU can be increased by 3-5 times
  27. how to Get Sha512 Fast by vb6 use api CryptCreateHash

    best way by:
    UPDATE: I PUT SPEED TEST CODE


    'Solved: help with sha512 key Implementation in VB6 | Experts Exchange...
  28. Replies
    73
    Views
    168,164

    Re: [VB6] HMAC-SHA-256, HMAC-SHA-1 Using Crypto API

    what about CryptBinaryToStringA sha512?
  29. Thread: C++ DLL to VB6

    by xiaoyao
    Replies
    58
    Views
    4,847

    Re: C++ DLL to VB6

    what's this?

    [VBCompiler]
    LinkSwitches= "C:\Program Files\Microsoft Visual Studio\VB98\Projects\TestVB6StaticLink\Release\TestVB6StaticLink.lib" /EXPORT:_StrLen@4
    Конференция VBStreets ...
  30. Thread: C++ DLL to VB6

    by xiaoyao
    Replies
    58
    Views
    4,847

    Re: C++ DLL to VB6

    what about this?
    GetMem4 ByVal GetAddr(AddresOf NeedFunc) + &H16, NeedAddr
  31. Thread: C++ DLL to VB6

    by xiaoyao
    Replies
    58
    Views
    4,847

    Re: C++ DLL to VB6

    RlySN$ = SysAllocStringByteLen$(DeviceInfo.Serial_Number, 5)
    maybe it need to clear memory about string pointer?
  32. Thread: C++ DLL to VB6

    by xiaoyao
    Replies
    58
    Views
    4,847

    Re: C++ DLL to VB6

    vb6 call by cdecl dll api:

    how to Fast Call cdecl api like sqlite3.dll? - Page 2-VBForums...
  33. Replies
    18
    Views
    302

    Re: Read Bitmap into a 2D array ?

    get picture from picture1,change black to white, edit color byte() array,show it on picture2
  34. Re: Idea for a new addin to copy / paste control attributes

    you need make a new usercontrol,if you change a textbox 4 items value:
    Text1.Text
    Text1.BorderStyle
    Text1.BackColor
    text1.ScrollBars

    you can save for text_set1 in ini
  35. Re: [RESOLVED] Copy file to clipboard with OleSetClipboard

    why cash?can you upload new zip project,thank you

    Private Declare Function OleSetClipboard Lib "ole32.dll" (ByVal pDataObj As IDataObject) As Long

    Private Declare Function OleFlushClipboard Lib...
  36. Re: Is the VB6 community capable to grab the bull by its horns?

    what about :powerbasic,PureBasic,spiderbasic,b4a
    https://www.b4x.com/b4a.html
    https://www.freebasic.net/
    FreeBASIC IDEs/Editors - freebasic.net...
  37. Re: Is the VB6 community capable to grab the bull by its horns?

    Why is there no open source project for VB6?If vb7 IDE open source and free, we develop together, each person contributed part of the function, it is estimated that half a year can be successful.
    we...
  38. Re: Is the VB6 community capable to grab the bull by its horns?

    I think only (virtual freebasic)vfb like vb6,vb7.msgbox,ff_replace
    The only drawback is that the current English version has quite a few bugs.
    The Chinese version function unceasingly in the...
  39. Re: how to zorder vb6 Controls,use SetWindowPos api?

    if control have hwnd,like this:(but can't suppot label control)
    Dim r1 As RECT
    GetWindowRect Picture1(2).hwnd, r1
    SetWindowPos Picture1(2).hwnd, 0, Picture1(2).Left / Screen.TwipsPerPixelX,...
  40. Re: Is there anyone who have been used a Control in vb6 like DataGridview which in .N

    i think there is a way to put vb.net ocx on vb6 forms

    make a vb.net com dll,ocx,use on vb6 form1.frm
    that's good
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width