ActiveX
-
자동화 - 파이썬ActiveX/Office 2017. 9. 11. 22:04
import win32com.clientexcel = win32com.client.Dispatch("Excel.Application")excel.Visible = Truewb = excel.Workbooks.Add()ws = wb.Worksheets("Sheet1")ws.Cells(1, 1).Value = "..."wb.SaveAs('...')excel.Quit() import win32com.clientexcel = win32com.client.Dispatch("Excel.Application")excel.Visible = Truewb = excel.Workbooks.Open('...')ws = wb.ActiveSheet... ws.Cells(1, 1).Value ...excel.Quit() 참조 사이..
-
Adding Toolbar ButtonsActiveX/인터넷 익스플로러 2010. 9. 1. 15:02
1. GUID를 생성한다. 2. 레지스트리에 GUID를 이름으로 새 키를 만든다. HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Extensions\{GUID} 3. (필수) 생성된 키 아래에 다음의 문자열 값들을 만든다. HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Extensions\{GUID}\ButtonText 툴바 버튼의 레이블 HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Extensions\{GUID}\HotIcon the active (color) icons HKEY_LOCAL_MACHINE\Software\Microsoft\In..
-
IDeskbandActiveX/기타 2010. 5. 28. 18:30
IDeskband -> IDockingWindow .GetBandInfo() DBIM_MINSIZE DBIM_MAXSIZE DBIM_INTEGRAL DBIM_ACTUAL DBIM_TITLE DBIM_MODEFLAGS DBIM_BKCOLOR IObjectWithSite .SetSite() IOleWindow .GetWindow() IDockingWindow -> IOleWindow .CloseDW() .ShowDW() IInputObject .HasFocusIO() .TranslateAcceleratorIO() // to process keyboard accelerators WM_CHAR .UIActivateIO() SetFocus() IInputObjectSite .OnFocusChangeIS() 1. ..
-
리치 에디트ActiveX/컨트롤 2010. 3. 10. 09:48
ES_READONLY RICHEDIT20A WS_EX_TRANSPARENT AfxInitRichEdit() AfxInitRichEdit2() EM_SETSEL EM_GETSEL EM_SCROLLCARET EM_GETOLEINTERFACE // IRichEditOle IRichEditOle .InsertObject() CRichEditCtrl .GetTextLength() .SetSel() .GetSelText() .ReplaceSel() .LineScroll() .HideSelection() .SetFocus() .GetWindowText() .GetDefaultCharFormat() .SetDefaultCharFormat() CFM_BOLD CFM_ITALIC CFM_STRIKEOUT CFM_UNDER..
-
ShellActiveX/기타 2009. 10. 6. 21:58
SHGetDesktopFolder() IShellFolder .ParseDisplayName() SHBrowseForFolder() SHGetPathFromIDList() SHGetFolderPath() SHGetSpecialFolderPath() CSIDL_INTERNET_CACHE // C:\Documents and Settings\{user name}\Local Settings\Temporary Internet Files CSIDL_WINDOWS //GetWindowsDirectory() CSIDL_SYSTEM // GetSystemDirectory() SHGetSpecialFolderLocation() SHGetKnownFolderPath() SHChangeNotifyRegister() a dri..
-
Windows Internet Explorer - MFCActiveX/인터넷 익스플로러 2009. 10. 1. 16:05
#include "ExDispid.h" // IE5.5 이상 class CMFCIEView : public CHtmlView { protected: // create from serialization only CMFCIEView(); DECLARE_DYNCREATE(CMFCIEView) // ... DECLARE_EVENTSINK_MAP() ... virtual void OnNavigateComplete2(LPCTSTR strURL); virtual void OnBeforeNavigate2(LPCTSTR lpszURL, DWORD nFlags, LPCTSTR lpszTargetFrameName, CByteArray& baPostedData, LPCTSTR lpszHeaders, BOOL* pbCancel..