3/12/2018 1:37 PM | |
Joined: 9/19/2009 Last visit: 7/5/2024 Posts: 459 Rating:
|
Hi Update 15-03-2018: int : StartProgram(string PathProgram, out string Message) Update 21-03-2018 string :GetUserGroupLogon(string DataSourceRT, string CurrentUser) When you define Path, remember double slash, the library is build with C#
AttachmentVBScriptLibraryWinCC 15_03_2018.zip (3797 Downloads) |
Last edited by: JM76 at: 3/12/2018 1:38:50 PMcorrect misspelling Last edited by: JM76 at: 3/15/2018 12:53:36 PMAdd new functions Last edited by: JM76 at: 3/21/2018 1:39:45 PMUpdate Comment Last edited by: *PHS* at: 7/12/2018 4:34:36 PMIf my answer help you, use the Thanks or Rate Button, It is free of charge :-) |
|
This contribution was helpful to
24 thankful Users |
3/15/2018 12:55 PM | |
Joined: 9/19/2009 Last visit: 7/5/2024 Posts: 459 Rating:
|
Add new funcions |
If my answer help you, use the Thanks or Rate Button, It is free of charge :-) |
|
This contribution was helpful to
8 thankful Users |
3/21/2018 1:36 PM | |
Joined: 9/19/2009 Last visit: 7/5/2024 Posts: 459 Rating:
|
I try to implement a new function if you want to know the User Group of User if you are working with Simatic Logon I don't try with Active Directory environment, if you try let me know if is working. With WorkGroup work fine, It will take a few seconds, you can see the video. string : GetUserGroupLogon (string DataSourceRT, string CurrentUser) Regards AttachmentVBScriptLibraryWinCC.zip (1570 Downloads) |
If my answer help you, use the Thanks or Rate Button, It is free of charge :-) |
|
This contribution was helpful to
1 thankful Users |
4/8/2018 5:25 PM | |
Joined: 9/19/2009 Last visit: 7/5/2024 Posts: 459 Rating:
|
Update: 08-04-2018. New functions void GetCursorPosition(out int x , out int y)
void NormalWinCC()
AttachmentVBScriptLibraryWinCC.zip (1513 Downloads) |
If my answer help you, use the Thanks or Rate Button, It is free of charge :-) |
|
This contribution was helpful to
5 thankful Users |
7/12/2018 4:32 PM | |
Joined: 9/19/2009 Last visit: 7/5/2024 Posts: 459 Rating:
|
New Functions 12-07-2018: int PrintHtmlToPdf(String Source, String Path , String msg) Thanks to WkHtmlToPdf I have created this functions, if you want try it, you need to install WkHtmlToPdf. You can donwload from https://wkhtmltopdf.org/downloads.html You can convert to pdf a website
You can convert to pdf a file
Thanks to HtmlRenderer.PdfSharp I have created this functions, with this you don´t need to install nothing With this functions you will able to create a pdf from html code, and you can include css style and image
AttachmentVBScriptLibraryWinCC.zip (1034 Downloads) |
If my answer help you, use the Thanks or Rate Button, It is free of charge :-) |
|
This contribution was helpful to
2 thankful Users |
7/27/2018 12:23 AM | |
Joined: 9/19/2009 Last visit: 7/5/2024 Posts: 459 Rating:
|
New Update 26-07-2018 Update some functions and create a news. Are you running WinCC with Full Screen and disable windows keys and you need to see taskbar for some reason, you can use ShowTaskbar() and HideTaskbar() Now you don´t need any parameter to use GetUserGroup() , GetUserGroupLogon()
Until now, if you want print Report or preview report you need to use ANSI C code, now you can run this functions with VBScript Regards AttachmentVBScriptLibraryWinCC 26-07-2018.zip (2096 Downloads) |
If my answer help you, use the Thanks or Rate Button, It is free of charge :-) |
|
This contribution was helpful to
6 thankful Users |
7/3/2019 1:32 PM | |
Joined: 9/19/2009 Last visit: 7/5/2024 Posts: 459 Rating:
|
Hi I have severals request about the code, I don´t have anything to hide, the true it is very easy view the source code of my dll. You can do amazing things with WinCC - Libraries with ANSI C - Library with .NET and so on... Don´t forget rate it if it's worth it :-) Regards |
If my answer help you, use the Thanks or Rate Button, It is free of charge :-) |
|
This contribution was helpful to
4 thankful Users |
Follow us on