vc6中提供了Animation控件,我们可以使用它方便的做一个等待动画窗体.
那么在vb.net中,我们如何来使用这个控件呢?
答:
首先,Animation控件被封装在 MSCOMCT2.OCX中;
然后,我们只需要把这个mscomct2.ocx拖到工具栏上,就可以和基本控件一样使用了.
VB 控件(animation控件)
Microsoft Windows Common Controls 2 6.0
MSCOMCT2.OCX Animation,UpDown,MonthView,DTPicker,FlatScrollbar
部件名 文件名 控件 Microsoft ADO Data Control 6.0 MSADODC.OCX ADO Data Control Microsoft Chart Control 5.5 MSCHART.OCX Microsoft Chart Microsoft Comm Control 6.0 MSCOMM32.OCX MSComm Microsoft Common Dialog Control 6.0 COMDLG32. OCX CommonDialog Microsoft Data Bound Grid Control 5.0 DBGRID32.OCX DBGrid Microsoft Data Bound List Controls 6.0 DBLIST32.OCX DBList,DBCombo Microsoft Data Repeater Control 6.0 MSDATREP.OCX DataRepeater Microsoft Data Grid Control 6.0 MSDATGRD.OCX DataGrid Microsoft Data List Controls 6.0 MSDATLST.OCX DataList,DataCombo Microsoft FlexGrid Control 6.0 MSFLXGRD.OCX MSFlexGrid Microsoft Grid Control GRID32.OCX Grid Microsoft Hierarchical Flex Grid Control 6.0 MSHFLXGD.OCX MSHFlexGrid Microsoft Internet Transfer Control 6.0 MSINET.OCX Internet Transfer control Microsoft MAPI Controls6.0 MSMAPI32.OCX MAPIMessages,MAPISession Microsoft MaskedEdit Control 6.0 MSMASK32.OCX MaskedEdit Microsoft Multimedia Control 6.0 MCI32.OCX Multimedia MCI Microsoft PictureClip Control 6.0 PICCLP32.OCX PictureClip Microsoft RemoteData Control 6.0 MSRDC20.OCX RemoteData Microsoft RichTextBox Control 6.0 RICHTX32.OCX RichTextBox Microsoft SysInfo Control 6.0 SYSINFO.OCX SysInfo Microsoft TabbedDialog Control 6.0 TABCTL32.OCX Microsoft Tab Control Microsoft Windows Common Controls 6.0 MSCOMCTL.OCX TabStrip,Toolbar,StatusBar,ProgressBar,TreeView,ListView,ImageList,Slider,ImageCombo Microsoft Windows Common Controls 2 6.0 MSCOMCT2.OCX Animation,FlatScrollbar Microsoft Windows Common Controls 3 6.0 COMCT332.OCX CoolBar Microsoft Winsock Control 6.0 MSWINSCK.OCX WinSock