Hide A .txt File
Nov 4, 2009I have a Windows app, which reads and writes to a flat file (.txt file). I don't want user to modify this file. What are my options?
View 6 RepliesI have a Windows app, which reads and writes to a flat file (.txt file). I don't want user to modify this file. What are my options?
View 6 RepliesI am trying to build a simple AutoUpdate application using VB.NET. It was quite simple. That is, I put the newest ZIP file in my hosting site, and then download it using WebClient.DownloadFileAsync. After it get downloaded, I extract it using [URL]
But each time I run the unzip.exe using Process.start, Windows 7 always show Open File Security.
Is it possible for VB.NET to bypass such security restriction?
Btw, this is my code of using WebClient.DownloadFileAsync, in case any one google about it and landed on this page :
Public Class AutoUpdate
Dim installationFolder As String = "C:Program Filesxyzabc"
Dim updateFileNameTarget As String
Private Sub btnStartUpdte_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnStartUpdte.Click
[Code]...
I'm curious if it is possible to hide a group of text boxes from view in a form until a particular condition is met, and to have a custom set of text boxes for that condition. To give an example; I want radio buttons offering choices for a manner of searching records, the user selects one and then a specific set of text boxes are displayed for the user to utilize, if a different option is chosen a different set of text boxes will be shown. Is this something that can be done?
View 7 RepliesIs there a way to hide a csv file?If not, can I put them on a server, acess them and still be able to use streamreader?
View 5 RepliesI am using a WebBrowser control in my application. When I try to download the file through this control, it will show a pop-up of "File Download". I tried to handle it automatically and hove done this. But now I want to hide this window and want to make whole operation at back end.
View 2 Replieshow to hide exe into task-manager in windows 7 using vb.net windows application?I want exe is hide into task-manager in windows 7 & windows vista machine using vb.net(windows application)
View 3 RepliesI am working in VB.NET 2010 Framework 2.0.
I don't want to allow some properties from going into form's designer file but the those properties will present on the form(property grid). The behavior of these properties will be same always.
I used the following code:
<DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)>
Public Property GradientBegin() As Color = Color.Red
But the problem I am facing is that -> on the property grid after changing the "GradientBegin" color to other than RED and compiling the program, it is replacing the new changed value to RED again. So I am not able to change the color actually.
I am working in VB.Net 2010 framework 2.0. I don't want to allow some properties from going into form's designer file but the those properties will present on the form(property grid). The behavior of these properties will be same always. I used the following
[Code]....
But the problem I am facing is that -> on the property grid after changing the "GradientBegin" color to other than RED and compiling the program, it is replacing the new changed value to RED again. So i am not able to change the color actually. How can i achieve this?
I need a code that will hide a folder and if i wanted to find that folder i could click a button and it would be vissible again.
View 1 Repliesit's possible with vb.net code to show or hide extensions for known file types ? this is a folder option for the new windows 7, wich allow the user to show or hide extensions for files.
[Code]...
Is there a way to to hide the taskbar o.o and unhide it?
View 1 RepliesI have a label and button on label in my asp.net webform.i want when i click on button then label1 will be visible with text "Success" and then it will hide automatically after some time say 10 seconds.I M using asp.net (VB)How to auto hide label after 10 sec and after label hide redirect to the ~/Default.aspx ?
View 1 RepliesIs there a way to store data on a USB file in a way that the OS cannot read it with the standard methods? I was thinking maybe with an uncommon filesystem, but then I 'd probably have to implement the IO myself, which sounds like a huge work.Another idea would be to access the disk sectors in a low level way and store data in an incompatible way? But I do not know where to begin.For the record, I am using VB.NET.
EDIT: Regarding the VALID security concerns you have raised: I agree, but assume that, all I need to do for the scope of my project, is to simply hinder the average and slightly advanced user. NOT the expert.
How do i do this in wpf
VB.NET
Private Sub FrmSettings_FormClosing(ByVal sender As System.Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles MyBase.FormClosing
e.Cancel = (e.CloseReason = Forms.CloseReason.UserClosing)
[code]....
as wpf's Close event just gives me e.Cancel and no closereason?
if i have list of names in a comboboxs ( mike , phlip , akon , roy),,, (( from database)) i have combobox1 , combobox2 ,combobox3 and combobox4 they all have the same list names if i chose mike in combobox1 in combobox2 , combobox3 and combobox4 the list will be ( phlip , akon , roy) then i chose akon in combobox2
View 6 RepliesPrivate Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
ListBox1.Items.Clear()
For Each p As Process In Process.GetProcesses[code].....
i add uninstall.bat in my setup and deployment.the uninstaller works.but when i execute it, the cmd appear..what should i do to hide the cmd when i execute my uninstall.bat?can someone tell me?i write this in my unistall.bat :C:WINDOWSsystem32MsiExec.exe /I{productcode}should i add something?
View 4 RepliesHow do i hide min max button in mdi form. To make it clearer i have submit my form in imageshack.
[URL]
The thing is i want to hide min max button in the parent form. R
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click[code]...
View 2 RepliesIs it possible to hide a tab on a TabControl? I want to make certain tabs available depending on a users security level and I don't want users to see the information on the tabs they do not have access to.ebassador
View 4 RepliesI'm using 2 forms, one as a login screen and one as a main screen. Once the user is done with the login screen, bearing in mind that he'll never use it again, should I simply hide it with 'me.hide' and change to my new form, or is there a better way to do that, maybe do delete it from memory completely or something?
View 4 RepliesI have a contextmenu on my winform appplication. I have a bit of trouble with clicking on the menu items event. When I click on menu items event, the menu items do not fade or even hide. I want to know how to hide the contextmenu?
View 1 RepliesI just wonder if there is a way to hide a second program in my application and start/save it from my app. What I am looking for is a way to have 2 processes so if you shut the first one(from ctr+alt+del) down the second will still go on
View 1 RepliesI have finished creating the code for my client/server application although both parts currently execute modules/in console(this was for testing purposes).I am now looking at making both parts of the program completely invisible (they will eventually be executed as a Windows service upon startup). How do i go about this? Does the code need to be copied in to a "Windows Service" project, or is there a way I can hide both of the modules upon execution?
View 5 RepliesI want to hide an item in datalist according to some condition suing ItemBound, how ?
View 2 Repliesi had a dataset that return the following data CategoryDI, CategoryName, CateoryPicture im displaying these data using gridview however i want to display only CategoryName hide categoryid, and CategoryPicture im uinsg the following code but it not working
[Code]...
I have a problem to show and hide some div. The only thing i have is a span with a class. Where we need to click on, to show or hide the div below the parent h2 I can't add some classe's to the h2 or div (this come from some cms, where we can't add a css class), so we need to do it with some jquery.
<div>
<h2>
<span class="h2toggle">Heading (This shows an hide the div below)</span>
</h2>
[Code]......
Ok, everything is 'functionally' working with what I am attempting to accomplish and once again, I am sure this is something dumb, but I cannot figure out how to do this one thing.I have an edit form for an entity, lets say a car. This 'car' can have 0 - many passengers. So on my edit form, I have all the fields for the car, then a list view showing each passenger (partial). I also have a 'add new passenger' button that will render a new partial view that allows you to enter a passenger. This has a cancel link and an add button to submit an Ajax form. When you add a passenger, the passenger is automatically added to the list, but I need the enter passenger form to go away. I have tried using the onSuccess and onComplete functions to hide the div that the form is in, but both render just the partial view HTML elements (white screen, text) and not the partialView in the context of the entire page.
[code]...
how to auto hide programs when windows start up n put its icon in the hidden icon box? i know the codes to make it hide, but not auto hide. im using a check box. when i tick it, i hope it wont prompt when i enter windows environment. iv already make it auto run. now i wish to do it auto hide, and an icon will show up in the hidden icon box
View 7 RepliesIs there is away to hide my application from task bar?I have tried:Me.Hide(task bar.
View 3 Replies