Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: netcpl.cpl
I searched your on line help but only found references to Windows NT not Windows 95.
I copied the example straight out of the Helpfile and just changed what control panel I called, the Title and the tabtitle variables. I keep getting the same results and there doesn't seem to be anything I am doing wrong. I am trying to automate the setup of Windows 95 computers so I need to fill in the Identification tab. Thanks for your help.
I ran the window analysis script on it and peeked at it. I suspect the example came from a NT system or something.
AddExtender("wwctl34I.dll") Run("rundll32.exe", "shell32.dll,Control_RunDLL netcpl.cpl") title="Network" multiwnd=DllHwnd(title) tabtitle="Identification" systabwnd=cWndByClass(multiwnd,"SysTabControl") cSetTabItem(systabwnd,2) ; confirm correct tab nethwnd=cWndBySeq(multiwnd,1) thistitle=cWndInfo(nethwnd,0) if thistitle!=tabtitle Message("Error","Incorrect tab title") exit endif
Article ID: W12518
Filename: Setting Network Control Panel in Win95.txt
File Created: 2001:03:02:14:38:46
Last Updated: 2001:03:02:14:38:46