How To Make A Simple Folder Locking Program

Jul 27, 2009

how to make a simple folder locking program and sorry don't have any code for it.

View 2 Replies


ADVERTISEMENT

Make A Temporary Folder Clearer SIMPLE One?

Aug 16, 2011

i need to make a very simple temp folder clearerNever Fear Spartucus49 is here?

View 2 Replies

How To Make Simple Program

Jul 2, 2009

i want to make a simple program that can be used of add,delete,edit,save,, thats all, so that i will understand the basic of programing.so that in that program i will developed it and also connection of vb2005 to sql server 2005.. i am amateur here using this vb2005 and sql server 2005.

View 4 Replies

Make A Simple Program Shell?

May 4, 2009

I'm trying to make a per-user shell for a Vista box to simplify use of a particular system for my users. I have no problem making a program that I want to use and I am familiar with the process of editin the registry to make my program the users shell but I've run into a snag.

Whenever a user with the custom shell logs on, there is a delay just after they enter their password where the system will sit at "Preparing Desktop" for about 30 seconds. I know for a fact that the user desktop is already made and this shouldn't be taking that long.

I've poked around on the web and see various places saying that winlogon is waiting for the shell to flag a "shell ready" flag of some sort but I am unfamiliar with any such flag.

Anyone know of such a fix for the long login time or anything about a shell ready flag?

View 10 Replies

Make A Simple Program That Detects If A Game Closes?

Feb 10, 2011

I'm trying to make a simple program that detects if a game closes, and when it does, it shuts down the computer.

View 1 Replies

Make A Simple Program That When For Eg A User Enters 4 It Gives This Figure ****?

Mar 1, 2009

i was wondering how i can make a simple program that when for eg a user enters 4 it gives this figure **** and so i want that if the user enters 5 it gives ***** etc.

View 9 Replies

Make A Very Simple Asynchronous Method Call In Program?

May 1, 2012

I just have a simple vb.net website that need to call a Sub that performs a very long task that works with syncing up some directories in the filesystem (details not important).

When I call the method, it eventually times out on the website waiting for the sub routine to complete. However, even though the website times out, the routine eventually completes it's task and all the directories end up as they should.

I want to just prevent the timeout so I'd like to just call the Sub asynchronously. I do not need (or even want) and callback/confirmation that it ran successfully.[code]...

View 2 Replies

Make A Very Simple Program That Connects To A MySQL Database Using .NET?

Feb 27, 2011

I am trying to make a very simple program that connects to a MySQL database using VB.NET. My program only has one form and one label. I setup my MySQL database to have a table and one field (a VARCHAR)called "Tab1". I manually inserted the value "CLOSED" into the Tab1 field using PHPMyAdmin. I want my program to change the value of the field to OPEN/CLOSED and I also want the label text on my form to change too when it's clicked.

[Code]...

View 3 Replies

Make Some Simple Program For Encrypt / Decrypting Message Using VB?

Jun 29, 2010

i want to make some simple program for encrypt / decrypting message using VB, my problem was when i want to decrypt the message, the result was incorrect,

Code:
Dim decryptor As Integer = TextBoxhasilencrypt.Text
Dim privatekey As Integer = Labelprivatekey.Text
Dim modulus As Integer = LabelModulus.Text

[code]....

the logic error on the program was when the "power of" are odd

View 2 Replies

VS 2005 Make A Simple Client-server Program?

Sep 27, 2010

I was wanting to make a simple client-server program.I saw some code for it and it was easy to understand but it was with winsock.

The program is:

Client: Clicks button.
Server: Recieves Text written in clients textbox.

Is there a reasonably easy way to do this?Maybe Net.Sockets or something similar?

View 3 Replies

Make A Simple Program To Convert Ascii In Its Code Format?

Jan 11, 2010

I am trying to make a simple program to convert ascii in its code format

Example: Chr(53) & Chr(53) & Chr(54) & Chr(100) & Chr(52)

to a readable format. I understand that this can be easily accomplished by writing in the ascii code into the code will do it but I am trying to create a more interactive method of doing it so I can copy and paste a long length of code into a textbox and have it update a label with the conversion.

View 6 Replies

Make A Program That Opens A File In The Folder The Program Is Stored?

Aug 26, 2009

How do I make a program that opens a file in the folder the program is stored?

View 6 Replies

VS 2010 Make A Simple Program That Can Create A Text File With The Content?

Aug 23, 2011

Im learning Visual Basic 2010 on my programming class and we reached the part of file handling. Here i tried to make a simple program that can create a text file with the content of what i type on the textbox, basically i create the file if it doesn't exist, and if it already exists i append the content to it. Once the file is saved i can read it using the "Open" button. Unfortunataly, whenever i try to create the file, the compiler gives me an error saying that it cannot modify a closed file, although i've followed up the execution instruction by instruction and i can't find the error.

Imports System.IO
Public Class Form1
Dim body As String

[code]....

View 6 Replies

Make A Folder That Program Makes Hidden

Oct 15, 2010

How do i make a folder that my program makes hidden. I am using (MkDir)

View 5 Replies

Make A Program That Password Locks Any Folder?

Nov 23, 2010

I use VB 2008 express edition and i have this problem.I want to make a program that password locks any folder you want.(Using Icacls from command promt).My problem is that when i run the program

Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If My.Computer.FileSystem.DirectoryExists(TextBox1.Text) Then

[Code].....

All this is done becouse i can't save the listbox contents in My.Mysettins.If anyone would be able to show me how to do it i would be helpfull.But please don't give me 50 lines of ununderstandable content.I want something that i will be able to understand becouse there no reason if i use it without knowing what it does.

View 1 Replies

Make VB Program Look For Files In The Same Folder It Is Running From?

Apr 30, 2010

I need to have my VB program look for two specific programs in the same folder it is running from. How do I do that?Here is the code for when I run my program. I need it to look for the files that are underlined. They are the tpfh20 and tphd20.

Private Sub btnRunRelap5_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles btnRunRelap5.Click

Dim pathString As String = String.Format("relap5 -i {0} -o {1} -r {2}", txtInput.Text, txtOutput.Text, txtRestart.Text)Dim stripString As String = String.Format(" -s {0}", tbStripFile.Text)
Dim guiString As String = " -n gui"
Dim waterprop As String = " -w tpfh20 -d tphd20"
If Not lblChangeStripFile.Visible Then

[Code]...

View 5 Replies

Program Locking When Performing Some Tasks

Feb 3, 2011

I have a program that has the option to create a restore point. My problem is that when you click on it to do so, the program just locks up until it's finished creating the restore point. I have put a separate form on the program and it has a Marquee Progress Bar Control which I downloaded, so the idea is.

User clicks "Create Restore Point"

frmRestore.show
Marquee Progress Bar goes on and on while the restore point is created
Restore point is done
frmRestore.hide

The thing is, when you click create restore point, the form shows and the program just locks up, onces the restore point is created the form hides again. Could this problem be solved with a Background worker? To be honest I'm not completely sure what it does, I mucked around with the controls but can't seem to find anything useful.

View 3 Replies

Program Locking When Performing Some Tasks?

Nov 23, 2011

I have a program that has the option to create a restore point...My problem is that when you click on it to do so, the program just locks up until it's finished creating the restore point.

View 13 Replies

Make A Simple Browser With Some Simple Addon's?

Dec 9, 2011

Trying to make a simple browser with some simple addon's. What Ive done is setup a menu(forum) for the user to enter their email providers web address and it will save it in a xml file. When they click on the email link, it should load the email xml iformation and place that info in the tb_html.text and navigate. I keep getting a null exception and im not sure what going on here. Here is the code:

Browsers:
Private Sub btn_Email_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_Email.Click
'Load Action
Dim SavedEmailObj As Storage

[code].....

View 2 Replies

Incorporate Licence Key And Locking System To Program

Jan 19, 2012

I'm interested in making a licence key system to incorporate into my programs. I understand the general idea of checking a database for used keys, but I don't know how I can implement a system into my programs.

I had an idea of creating a custom algorithm, creating a file which contains the licence key, which is encoded with the new algorithm. So people can't just guess the licence because they can't understand what the algorithm (like a custom hash) means. On the contrary, would it be possible to somehow set a licence key variable in my program when it is built or installed somehow? Because I don't understand how it would be possible to work out what key the user needs etc...

After writing that last sentence, I realised that when somebody pays for some software or registers, their username and email is put into a database, and then when they want to register the software, they have to fill in their username, email, and then licence key. Then the key will be filled in in the database. Would that work?

View 8 Replies

Make A File.copy To The Program Files Folder But Can't Get Access To It?

Apr 19, 2010

I'm trying to make a file.copy to the program files folder but can't get access to it.This is on windows vista and 7.

View 6 Replies

Locking - Program Locks Up With Internet Explorer Opened

Jul 7, 2009

I'm using Visual Studio 2008 and developing a VB.NET application. I'm having strange lockup problems with my program, but only when Internet explorer 8 is opened.

When I cover my form with another window and then uncover it, I find that it has locked up. My program has no references to IE and the only thing it even has to do with IE is using Process.Start with a web address.

My program works fine and exactly as it should, but only when IE is not opened.

Does anyone know why a program would lock up only while IE is running?

Edit: I've done some digging and I've found the offending thread in my program.
I don't know what starts this thread or what it does, but when I kill it, my program no longer freezes. The thread is one of the CreateApplicationContext threads, here is the last few items in the stack trace of that thread.

6 ntkrnlpa.exe+0x897bc

7 ntdll.dll!KiFastSystemCallRet

8 mscorwrks.dll!LogHelp_TerminateOnAssert+0x61

9 mscorwrks.dll!DllUnregisterServerInternal+0x10523

10 mscorwrks.dll!DllUnregisterServerInternal+0x10542

11 mscorwrks.dll!StrongNameErrorInfo+0x34387

12 mscorwrks.dll!StrongNameErrorInfo+0x34815

13 mscorwrks.dll!CreateApplicationContext+0xbc35

14 KERNEL32.dll!GetModuleHandleA+0xdf

Process explorer says my program is using no CPU nor throwing any exceptions while it is hung.

View 1 Replies

Program Hangs After Leaving Screen Saver Or Locking Computer?

Nov 15, 2011

Our program works fine, until someone locks the computer or the screen-saver pops up (but not ctrl+alt+delete). Once the computer is unlocked/the screen saver is closed, the application stops drawing everything except the title bar, and stops responding to input - it displays a mostly-white window which can't be moved or closed.(Example of application freezing - the mountains are from my desktop background)If we let it sit for about 5~10 minutes, it comes back to life, and doesn't hang again (even after locking the computer/screen saver popup) until the application is restarted.

View 9 Replies

Make A Simple Install Wizard To Install The Program?

Nov 10, 2009

I'm looking to make a simple install wizard to install my program (I know Visual Studio 2010 already has an installer) but anyway, I would like to make it myself, kind of line reinvent the wheel?

View 3 Replies

Build A Program Through VB That Creates A Folder In Program Files Folder?

Dec 28, 2010

Is it possible to build a program through VB that creates a folder in program files folder and behaves like any other usual program?If not, though witch program can i make this?

View 6 Replies

Run A Simple Operation On Folder Of Pictures ?

Jan 23, 2011

I am looking to create a small program in visual basic 2010 to perform the following actions on some photo's.

#1) I want to select a folder, that contains say 3 to 10 pictures all of which will have random file names (including some characters like - _ ~ )

#2) I want to resize each photo by 2pixels (both width & height)For right now shrinking it by 2 pixels would be best, i do not want to crop, as it may mess the photo up after a couple of times being run.So if it was 500x500 to start with, when its done, it should be 498x498.

#3) I want to save these newly resized photo's as newly created files.We can either delete the old ones automatically & save the file with the same name. Or simply add a random 1 digit # to the old file name, for the new file name.Either way, I do not want to "save over" the old file.I have never worked with any type of image operation in VB before so I have no idea where to start.

View 2 Replies

Generate A Simple Filename That Is Non Duplicate On Existing Folder?

Jun 30, 2011

I have a console application. I get the console application's folder path via this code:

dim Folder as string Folder = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly.Location)

And I need to create a new file with this name Key.txt in the same folder as the console application. Because this file name is rather normal and there is possible duplicate in that folder. How do I prevent duplicate file name while still using simple name for that file?

View 2 Replies

IDE :: VS 2008 - Setup Project : Adding Folder Structure To The Program Files Folder?

May 13, 2009

I am using Visual Studio 2008 Setup project. I need to copy one folder and the sub folders into the program files but when I tried to copy or add the folder to "Application Folder" in File System editor, I am able to add only files and not folders.

View 1 Replies

Change Appliaction Folder Path From Program Files To Public Folder

Sep 27, 2011

how to change the install folder path in a setup and deployment project/Installer class from program files to C:usersPublic in windows 7 and allusers folder in xp.Want to add MVP with my name.

View 3 Replies

Cant Get My Program To Write Into A File That Is Several Folder Deeper Into The Bin Folder?

Apr 29, 2010

the first problem is getting my program to load rss feeds from other websites mostly here:http:[url..... im trying to load it using the webbrowser. i want the rss feed to load right onto the form. im positive that its possible. i have the imports system.net in my code already for xml documents.the second is i cant get my program to write into a file that is several folder deeper into the bin folder.[code]......

ive tried playing with the code moving around the folder names, making sure there capitals are correct, etc. but nothing works. it creates the file in the wrong spot.

View 14 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved