我正在尝试从新创建的GetObject()
获取句柄。一旦我有了句柄,那么我就可以控制窗口的大小。我该如何处理?
On Error GoTo Errorhandler
Dim SecCheck As Object
Set SecCheck = GetObject("C:\VICI\" & Right(TxtFile(CurrentProject.Path
_ & "\Aux Files\DPAS\DPAS.txt", 1, ""), 6)
_ & "\Fleet Management Data Interface.accdb") <---- new object that I want to get the handle from
SizeNewWindow SecCheck, 0, 0, 1920, 1080 <---- API for resizing windows