| | |
windows shell API vs windows 32 API vs windows script host API
Please support our C# advertiser: Intel Parallel Studio Home
Thread Solved |
Look Serkan I didn't fully understand your question what specific functionality you are looking for but every item on the subject and how to talk to it using .NET, I just searched for windows shell API C# and I found some posts, Am I right?
http://www.codeproject.com/KB/cs/dec...hellapics.aspx
http://www.codeproject.com/KB/cs/dec...hellapics.aspx
BI Developer | LINKdotNET
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
•
•
Join Date: Jan 2008
Posts: 2,052
Reputation:
Solved Threads: 123
Actually it started with a problem. I needed to get the path for all users desktop. in vista and xp and other versions of windows OS, it is in different location and unfortunately you cant get it using specialfolder enumaration. there was one win32 method to grab all users folder but then the desktop you have to hardcode it. my manager didnt like the idea of hardcoding. so there must be a way of getting this information from the OS. i will find the solution and share in here as i do with my many questions.
Due to lack of freedom of speech, i no longer post on this website.
Best of luck, man
BI Developer | LINKdotNET
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
•
•
Join Date: Jan 2008
Posts: 2,052
Reputation:
Solved Threads: 123
i understood what windows shell API is according to definition from wikipedia
"Windows Shell[9][10]
Component of the Windows API allows applications to access the functionality provided by the operating system shell, as well as change and enhance it. The component resides in shell.dll on 16-bit Windows, and shell32.dll on 32-bit Windows. The Shell Lightweight Utility Functions are in shlwapi.dll. It is grouped under the User Interface category of the API. "
So this means it is just a programmic way of running windows shell functions, it can be thought as windows shell is a running program in windows OS, and you operate with it with your compiled code using the shell API, it is like using some program API to operate with that program like automating microsoft Excel with c#.
now it is time to understand what windows script host is all about.
"Windows Shell[9][10]
Component of the Windows API allows applications to access the functionality provided by the operating system shell, as well as change and enhance it. The component resides in shell.dll on 16-bit Windows, and shell32.dll on 32-bit Windows. The Shell Lightweight Utility Functions are in shlwapi.dll. It is grouped under the User Interface category of the API. "
So this means it is just a programmic way of running windows shell functions, it can be thought as windows shell is a running program in windows OS, and you operate with it with your compiled code using the shell API, it is like using some program API to operate with that program like automating microsoft Excel with c#.
now it is time to understand what windows script host is all about.
Due to lack of freedom of speech, i no longer post on this website.
•
•
Join Date: Jan 2008
Posts: 2,052
Reputation:
Solved Threads: 123
ok i understood that windows shell can be thought as a subset of windows script host because windows script host can do everything windows shell can do as well as many others.
Then it will be a good idea to learn how to make use of windows script host using c#.
Then it will be a good idea to learn how to make use of windows script host using c#.
Due to lack of freedom of speech, i no longer post on this website.
•
•
Join Date: Jan 2008
Posts: 2,052
Reputation:
Solved Threads: 123
Microsoft currently offers three hosts for running scripting language code. They are:
Internet Explorer (IE)
Internet Information Server (IIS)
Windows Script Host (WSH, VBS)
The Internet Explorer and the Internet Information Server are well known to developers. However, many developers may not be familiar with the Windows Script Host. WSH (VBS) is a very useful tool that allows you to directly run VBScript, JScript and XML encoded scripts natively within the operating system.
Windows Script Host is the successor of batch files and enables scripts to be executed directly on the Windows desktop or command console, without the need to embed those scripts in an HTML document. Scripts can be run directly from the desktop by clicking on a script file, or from the command console. WSH provides a low-memory scripting host that is ideal for non-interactive scripting needs, such as logon scripting, administrative scripting, and so on.
Internet Explorer (IE)
Internet Information Server (IIS)
Windows Script Host (WSH, VBS)
The Internet Explorer and the Internet Information Server are well known to developers. However, many developers may not be familiar with the Windows Script Host. WSH (VBS) is a very useful tool that allows you to directly run VBScript, JScript and XML encoded scripts natively within the operating system.
Windows Script Host is the successor of batch files and enables scripts to be executed directly on the Windows desktop or command console, without the need to embed those scripts in an HTML document. Scripts can be run directly from the desktop by clicking on a script file, or from the command console. WSH provides a low-memory scripting host that is ideal for non-interactive scripting needs, such as logon scripting, administrative scripting, and so on.
Due to lack of freedom of speech, i no longer post on this website.
![]() |
Similar Threads
- windows script host - help me pls (HTML and CSS)
- Hijackthis report, I just don't know (Viruses, Spyware and other Nasties)
- windows 2000 IE 6. need help to remove spyware (Viruses, Spyware and other Nasties)
- Browser popup windows (Viruses, Spyware and other Nasties)
- Problems with Windows Script Encoder & #include directive (ASP)
Other Threads in the C# Forum
- Previous Thread: Generating Reports in C# - Pls Help
- Next Thread: dealing with paths with accents
Views: 547 | Replies: 6
| Thread Tools | Search this Thread |
Tag cloud for C#
.net access ado.net algorithm array barchart bitmap box broadcast button buttons c# chat check checkbox class client code color combobox control conversion csharp custom database datagrid datagridview dataset datetime degrees development draganddrop drawing encryption enum event excel file files form format forms ftp function gdi+ http httpwebrequest image index input install java label list listbox login mandelbrot math mysql networking operator oracle path photoshop picturebox pixelinversion prime programming radians regex remote remoting resource richtextbox save saving serialization server socket sql statistics stream string table tcp text textbox thread time timer treeview update usercontrol validation view webbrowser windows winforms wpf xml






