|
You can't hide the taskbar. You CAN make your application sit on top of it, and it can also be made topmost. This is VERY hostile behaviour unless you're writing a kiosk style app.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
a sincere thnaks for your reply.
All I want is that he shouldnot be able to access the start bar(to open my computer) and the taskbar(to open task manager). If I make my application sit on top of it, Will it serve my purpose?
thnaks
|
|
|
|
|
himangshuS wrote: (to open task manager)
Task Manager can be opened by right click >> task manager, or by pressing ctrl+alt+del
Do you want to Disable any one from going to Task Manager?
or
Do you want your form application to cover all the screen including the Start bar of Window?
Like car accidents, most hardware problems are due to driver error.
Samir R. Ibrahim
|
|
|
|
|
exactly i want my application to cover all screen including start bar. If user press the startbar also he shouldnot able to view or select any option (or to click My Computer)
Could you please tell me how to achieve that
thanks
|
|
|
|
|
himangshuS wrote: houldnot able to view or select any option (or to click My Computer)
Should not be able to click on my computer? Is that security needed? I doubt.
I guess you will find your answer in WeLoveVirusAPI()
Like car accidents, most hardware problems are due to driver error.
Samir R. Ibrahim
|
|
|
|
|
that is purely a security needed. All I want is that user shouldn't be able to access any of the computer's saved files or other data accept the access to my application.
|
|
|
|
|
himangshuS wrote: that is purely a security needed. All I want is that user shouldn't be able to access any of the computer's saved files or other data accept the access to my application.
Sorry, This is still suspicious to me. If I suppose that what your are saying is 100% true, it is TOTALLY WRONG APPROACH.
I am not gonna help you regarding this any more. Sorry.
Like car accidents, most hardware problems are due to driver error.
Samir R. Ibrahim
|
|
|
|
|
thnaks Samir,
not a problem. But to be clear m telling again, its no related with any of the threats. Its just my clients need..
Anyway,
thanks for the help
-----------------------------
I am a beginner
|
|
|
|
|
You cannot accomplish this task entirely from your code. This requires configuring Windows policies to handle most of this stuff. All of this is covered in the "Windows Resource Kit", under running Windows in a Kiosk mode. Get a copy from Amazon.com.
|
|
|
|
|
CG comment lead me to this article [^]it may be useful
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Yes and No
For the average user placing your application topmost will be enough, for the more advanced user there is NOTHING you can do (at least not legally). There is always a way to get the task manager at least if this is a app controlled with the keyboard (touchscreen is different).
|
|
|
|
|
what if i want to hide the task bar so as to create a game ,you know, like fifa etc
what do they do
TheMrProgrammer
|
|
|
|
|
As far as I know they don't do what you are trying to do, yes the task bar is 'hidden' but you can still access it (pres windows button or ctrl-escape). The reason its hidden is because the game is played full screen (maximized + topmost).
I don't play many games but I'v never played one where the game prevented me from accessing my start menu (or anything else on my pc) if I had that game would have been uninstalled faster than I can type this message .
I didn't say you can't hide the taskbar, I said you can't make it so that the user can't access it.
Out of curiosity will the user have a keyboard or will it be touchscreen?
(I ask because when its touchscreen you can do this (for the most part) since then you control what the user can press)
|
|
|
|
|
Those games don't use Windows the same way you do in your app. They pretty much take over the video card using DirectX and render everything themselves. You can still get to the Task Manager and Start bar though, with a simple Alt-Tab.
|
|
|
|
|
If you set the window state to topmost then yes, it will stay on top of the taskbar.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
|
<Dr. Evil voice>Riiiiiiiiiiiiiiiiiiiight.</Dr. Evil voice>
modified on Monday, May 4, 2009 11:20 PM
|
|
|
|
|
thanks but how to kill explore.exe?
-----------------------------
I am a beginner
|
|
|
|
|
Don't listen to him. You do NOT want to kill Explorer.exe.
|
|
|
|
|
It's a situation that, if you have to ask, you shouldn't be told. Because the way to replace explorer can also make a system nearly unusable. Which means by the time you know how to deal with not having explorer, you'll also find out how to replace it.
Until then, start reading up on the windows resource kits. They'll let you enable security policies that can do what you're looking for in a safe manner.
The true man wants two things: danger and play. For that reason he wants woman, as the most dangerous plaything.
|
|
|
|
|
I would like to have the functionality to: on click, edit a subitem in a Listview.
I am building an MP3 file ID3 Tag editor and am loading a listview with all the tracks found in a folder. I would like the ability to select a particular entries subitem, then edit it. I know the first column can be edited, but have been unable to work out how to do this for subitems. I know I can get the text from the subitem, or even replace the text in a subitem, but I'd rather have it behave just like it does when the first item in the row is selected for editing. (This makes sense?)
The CodeProject site has something like this, and I think it places a textbox over the selected cell for editing purposes - however it is coded in C# and as a noob, I do not know how to convert this to VB code. D'oh!
Any advice would be gratefully accepted.
I am using Visual Studio 2008 if that helps.
All the best,
Ross
|
|
|
|
|
There are plenty of C# to VB translation programs out on the InterWeb. Have a Google and play with one or two.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Hi all,
I want to select a folder from FolderBrowserDialog and write into a textbox and append all the files within the folder shown in the textbox as one file in the same folder...
Code sofar:
Private Sub BtnFolder_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnFolder.Click
Dim MyFolderBrowser As New System.Windows.Forms.FolderBrowserDialog
MyFolderBrowser.Description = "Select the Folder"
MyFolderBrowser.ShowNewFolderButton = False
Dim dlgResult As DialogResult = MyFolderBrowser.ShowDialog()
If dlgResult = Windows.Forms.DialogResult.OK Then
Textbox1.Text = MyFolderBrowser.SelectedPath
End If
End Sub
The above code opens a FolderBrowserDialog and allows to select a folder and the selected path is copied to the textbox.
Now, i want to know how to append all the files within the selected folder and write as one new textfile by clicking a button.
Thanks
Vijay
|
|
|
|
|
File.ReadAllText will read any file, you can concatenate strings.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|