Lock A Folder In Professional Manner (without Using Encryption)?
Jun 18, 2011
I want to lock (or completely hide without allowing to see with show hidden folder check) a folder with C# for windows platforms. This should be work for both FAT and NTFS file systems. I do not wont to use encryption since it is slow.
Also I need this as a robust solution so changing CLSIDs is not working.
Also removing permission with FileSystemAccessRule with AccessControlType.Deny also not working for me. Because that only work on NTFS and also if it is worked then user can right click the folder and remove deny AccessControlType.
View 3 Replies
ADVERTISEMENT
Jun 6, 2009
i want to know how to hide files and folders at system/kernal level. Those files must not be accessible through any means untill they are unlocked again with same method. I want to create an application similar to Folder Lock apps commercially available
View 11 Replies
Sep 1, 2011
I have spent the past week trying to get my copy of Visual Studio 2010 Professional to work on my Windows 7 Professional 64-bit laptop, with no avail.
Every time I try to create a new form using Visual Basic, an error message saying that Microsoft Resource File To COFF Object Conversion Utility has stopped working, and I cannot even run the new form to see if my coding is correct.
I have managed to find that it has something to do with the cvtres.exe file, but after a solid hour of research, I have found numerous others with a similar problem, but no solutions.
I have done registry scans, reinstalled Visual Studio about 3 times and have done many other suggested fixes that have done nothing but waste my time.
View 16 Replies
Jul 27, 2009
I want to lock the folder.[URL] Suppose mine foldername is sonia ,In the codeProject code,he is renaming the folder to sonia.{2559a1f2-21d7-11d4-bdaf-00c04f60b9f0} & password is set & that password is written to xml file in the folder sonia only...next time when we double click on folder sonia.{2559a1f2-21d7-11d4-bdaf-00c04f60b9f0}..form is dispayed it which we have to give the password.firstly i do not want to change the folder name.I want that it still remains sonia,even after locked...Secondly,If we rename that folder by right clicking the properties & remove .{2559a1f2-21d7-11d4-bdaf-00c04f60b9f0},I can view the contents of the folder..
View 3 Replies
Jun 25, 2012
Source code: vb.net
We are using File.Move() method to move the file from source to destination locaion. But the destination location is being monitored by one tool, whenever we are moving files to the destination location, it will pick up the file and process it. The issue here when we try to move huge volume file like around 5GB file, the tool is immediately picking up the file and try to process it before the move operation is complete and send failure notice to all the users.. After again successfully moving the file completely, it picks up the same and process it sucessfully this time and send successful notice this time.
We can't have control over the tool which is monitoring the destination folder because it is a third party tool. However we want to find out the alternative option to place a lock over the destination foler like ReadWrite access till the move operation completes so that 3rd party will not be able to pick up or try to access that file.
View 2 Replies
Jun 29, 2009
Is it possible to lock a folder in such a way that just one specified application can open/write/read it??
View 13 Replies
Aug 30, 2009
How can we lock a file or folder so that it couldnot be opened by any1
View 6 Replies
Aug 12, 2009
I want to round the prices in the following manner: if it's 12.48 should be 12.99, if it's 12.98 it should be 12.99, if it's 12.10 should be 11.99 and so on.
View 39 Replies
Aug 8, 2009
I want a list of all locales which I need to show in the combo box. I get all cultures as :
View 5 Replies
May 13, 2012
let's say I create a basic windows form with 100 textboxes, and create a variable that starts at 0, and counts up to 100. How could I pseudo-effortlessly have, for example, textbox7, when the variable is at 7, display a piece of text, instead of writing 100 lines of code such as
if vara = 7 then textbox7.text = "hello"
is there a way to utilize something in the nature of LINQ, where you could somehow say,
if vara = 7 then textbox & varA & .text = "hello"
this is just an example, I know it will not work, after paying a small bit of attention to the likeliness and possibility.....
View 5 Replies
Feb 22, 2011
I have a small program that checks webpages for certain strings. I am using VB express 2010 .net version 4.I have the list of URLs in a listview, and loop through all the urls, perform a webrequest, check if the source contains certain strings and then add a subitem to the current listview with text to indicate the result I am attempting to speed the application up using a parallel.for loop, but this causes a cross threading exception.This is the code for single threaded:
For i As Integer = 0 to lvUrls.Items.Count - 1
Dim lv As ListViewItem = lvUrls.Items(i)
lv.UseItemStyleForSubItems = False
[code]....
View 2 Replies
Sep 28, 2010
I have an .avi video (500 MB-50 minutes) that I embedded using the following code in VB.NET:
<OBJECT width="360px" height="360px" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" VIEWASTEXT>
<PARAM name="autoStart" value="False">
[Code]....
Worked fine except that it took approx 5 minutes to load. Converted it to a wmv file (cutting it down to 300 MB) and it started playing instantly while it download. Unfortunately there are some computers that will not play it for some reason. It will load and the timer starts up as if the video is playing but there is just a black screen. I ran some tests and determined that it's not a browser issue.
How can I upload a video that instantly plays on all computers?
View 1 Replies
Jun 21, 2011
I have set up a method in vb.net and in xcode for encrypting a string using as far as i can tell the same parameters for an AES encryption.I've looked all over the place but cannot find information on whether they use the same encryption algorithm and settings.
this is the vb.net code:
Dim encryptAES As New AesCryptoServiceProvider()
Dim encoding As New UTF8Encoding()
Dim encryptor As ICryptoTransform
encryptAES.Key = encoding.GetBytes("12345678901234567890123456789032")
encryptAES.IV = encoding.GetBytes("1234567890123416")
encryptAES.Mode = CipherMode.CBC
[Code]...
View 1 Replies
Feb 2, 2011
I want to develop an EDI 837 Professional project and I don't understand from where to start. If anybody knows about this & have worked on it then please help me & give me advice where do I start from ?
View 1 Replies
May 10, 2009
When someone else install my program on another computer, how do i get a professional setup with terms and so on??
View 9 Replies
Jul 1, 2012
Today I'm having a play around with VB.NET and looking at making a little Task Manager kind of
thing; I've completed the little bits like populating the running processes and such, but noticed
that on the Task Manager provided by Microsoft, the Memory updates at a regular interval butnothing
else refreshes, where when I try and reload the running processes to get the updated memory usage,
the whole thing refreshes which doesn't look professional.Also, while I'm on the subject - how can
I make a DLL call to "kernel32.dll" to gain more access of the processes, IE controlling the
windows and such.
View 3 Replies
Feb 2, 2012
I'm trying to have my NotifyIcon show the native context menu of the Operating system. When I use ContextMenuStrips they have the custom skin made from Microsoft which I dont want. I want to use the original menu that all other applications use on my computer. How Can I use that menu? I have tried using the "old" ContextMenu control but It doesnt work with NotifyIcons, it only displays with other controls.
View 1 Replies
Dec 13, 2010
I'm using vb10 express. How do I upgrade to vb 10 pro? I've been to microsofts web site [code]...
View 1 Replies
Feb 4, 2009
I need to get a copy of VB for work, and I need to tell the purchaser what to buy, but I can't figure out the difference between the Visual Studio Standard Edition and the Professional Edition except that the Pro Ed costs $500 more. What is the difference?What I need to do is generate a VB front-end to an Access DB, so I only need the VB language. Can the Visual Studio be purchased with all of the troubleshooting tools, such as debugger, but only contain VB?
View 4 Replies
Jul 3, 2010
I don't wanna to use webbrowser component because it's not so flexible! How can I optimize my webbrowser by loading special parts of the page? for example in IE you can load all page but images.
View 3 Replies
Mar 7, 2011
I would like to enquire how I would go about population a chart (bar graph) in VB 2010 Professional?
I am pulling the information from a MS SQL Database.
View 5 Replies
Jan 16, 2012
I'm working now at a project with another person, but every time when we want to put our projects together this process is time consuming. I worked soon with an already done SVN in a java project which.
My question is: how can I make something similar for my project? I'm programming in vb.net using visual studio 2010 professional. There is a tool already?
View 1 Replies
Dec 29, 2010
I have seen a similar thread. But it is not answered. The Auto uninstall tool link given in that answer is not working. I want to uninstall .Net Pro Trial and going to install express edition. can anyone please tell me the order of programs to be removed?. Or please give the link for Auto uninstall tool for .Net Pro 2010.
Note: I have some software which are based on .Net Framework. so I should not remove the Framework. Is it possible to install Express Edition without removing this Framework?.
View 2 Replies
Oct 27, 2011
i have got the copy of the VS 2008-professional currently i am using & all my projects are in VS-2008 EXPRESS how can i upgrade?
View 4 Replies
Apr 5, 2012
i am using Visual Studio 2008 Professional SP1, i need some help with the syntax error. Below is a full part of the coding appear syntax error. The program stop working at "cmd.ExecuteNonQuery()".
[Error Message: Syntax error (missing operator) in query expression 'Product_Amount='.]
Temporary1.Text = CInt(ProductAmount.Text) + CInt(StockAmount.Text)
Dim cmd As New OleDb.OleDbCommand
cmd.Connection = con
cmd.CommandText = " UPDATE product " & _
[Code]...
Any advice that how to solve this problem cause by syntax error? well, i new in programming.
View 4 Replies
Feb 19, 2010
I've seen some aplications developed with VB.net 2008. The layout of the forms and the entire application is amazing..The toolbars, is like office 2007. All the forms have a blue color, instead the horrible grey of the VB.net How can I do this?
View 2 Replies
Dec 25, 2009
Firstly Merry Christmas everyone I have been asked by a family member to create an application, but one thing that I have decided that I should do with this application is make the UI more professional.Up to now I have been creating applications which when I need more information I would open up a new form, but I would like to create an application which all is within the main form.
After researching this I think the solution for this is to have the different bits in different panels and then only show the relevant panels at a particular time.But the problem I am having is getting my head around the problem with all the code. Using the panels method all the code would be in the main form, which when you have only a small amount of code then that would be fine but I'm thinking that with a larger application would make that a little more difficult as you may have hundreds of different panels.
So while I will be using OOP, so there wouldn't be much business logic code on the form, there would still be a lot.So I am wondering if anyone had any suggestions on how I should go about doing this, if I'm using the wrong method then I would like to know what the more appropriate method would be.
View 12 Replies
Jul 6, 2011
I'm trying to install Microsoft Speech SDK 5.1 on my Windows XP Professional computer for a VB.Net project I'm working on and I'm getting nowhere. I have Office 2007 Pro. Can anyone confirm or deny that this cannot be done? I have an old Office 2002 disk. Would it do any good to put that on the computer (due to the fact that you're supposed to install Speech through Office and Office 2007 does not do this)? Will installing Office 2002 interfere with Office 2007?
View 6 Replies
Aug 31, 2009
I have a very simple program that can run and work perfectly.The only trouble I have is when I install it.I double click the setup file that it created and a window is displayed with 2 buttons 'install' and don't 'install'.What I want it to do is run an installation wizard like when you install an offical program like 'Microsoft Office'.Is there any way to do this in 'Visual Basic 2008 Express Edition' if any other 'free' program is required then I would also be happy to use one.Here is a list of a few extra things I would like to do but I'm mainly posting to find out how to make the installation:
> A Desktop Icon is created
> When it is displayed in the all programs it is called 'Email Validator' not 'xxxx' as it is at the moment
> There will be an uninstall button (So the user doesn't have to go into Control Panel > Add or Remove Programs
View 5 Replies
Feb 20, 2012
I don't think I can use my student account visual studio for commercial purposes. However, I can't afford eight hundred dollars for visual studio. I talked to a Microsoft rep and they said that with the visual basic express edition I won't be able to code anything or debug anything.
Does everyone here have visual studio professional or above? I was studying hard on my visual basic so that I could get started doing contract work on my own and hopefully start a software company after I get out of school. Now I don't know what to do. My next thought is to keep working on my C++ so that at least I can develop and deploy apps with free IDE's.
View 4 Replies