Program Which Should Close And Block Different Programs
Nov 9, 2011
I'm making a program which should close and block different programs, but also i want i to be a able to close and block different websites. So if i have my browser opened and i'm on www.facebook.com then i want to block the acces for this site.
View 2 Replies
ADVERTISEMENT
Sep 2, 2011
I am making a program that NEEDS to be password protected, so i made a textbox with a code so that when the user enters the right password it lets you in. But if the user/person enters a wrong password 2X it will kick you out. So is there a way to keep the
View 3 Replies
May 27, 2011
I am sure this can be done, as Visual Studio is basically built this way. What I want to do is simply make a class that my other workmates can use. But rather than have it in a code form, I want to build it (partially), and then my workmate can add it into their programs (sort of, like the add reference for the .NET stuff).
View 4 Replies
Mar 22, 2011
Using sr As New System.IO.StreamWriter("C: est.txt")
sr.WriteEnd
End Using
Using sr As New System.IO.StreamReader("C: est.txt")
sr.ReadToEnd
End Using
This is equivalent to:
[Code]...
Am I right in saying the attempt to read the file may fail if the Garbage collector had not got around to disposing the StreamWriter and closing the file. If so where is the benefit is using the Using Statement in this case. Is is better practice to use
View 3 Replies
Jan 8, 2010
In class i saved my program in with load of other test programs for the same assignment and got everything mixed up i finally figured out what was what and loaded the program in Visual Basic. Now my program doesn't recognize one of my forms when i try to access the design view of it. I hit run for the hell of it and the program runs with errors of course but the form1 "the missing one" shows up with all the buttons etc and i can use it.
Heres the link to the files. [URL]
View 3 Replies
Sep 24, 2010
I have a very simple VB 2005 program which runs on our W2K and XP systems, but when I try to run it on W7, the UAC throws up an admin login block. I have tried signing the assembly, to no avail. The entire program is below:
frmSimpleTest.vb:
Public Class frmSimpleTest
Private cabsdirectory As String = "C:HOTRMHMR"
[Code].....
View 7 Replies
Dec 21, 2011
I'm working on a program, just to learn a bit more about programming. The program's function (if I manage to do it) will be to accept drag/drop files and create a link to them within the program itself. For example: I drag and drop the .exe to a game I have installed; the program then creates a shortcut within itself; the shortcut is displayed in the program with the name/icon; if I click the icon within the program, game launches.I've already manually coded something to this same effect, but it doesn't automatically add new shortcuts/buttons so I have to keep going back in and reprogramming another button every time I install a new game/program. I'd like to be able to just drag/drop and be ready to go. Any ideas on how I can get this function? I'm using Microsoft Visual Studio 2010.
View 9 Replies
Dec 3, 2009
does anyone know how to get my program to scan for a program such as ie then add it to a toolstrip as a button then when i click it it opens ie??I like..... Understandable Answers
[Code]...
View 1 Replies
Nov 16, 2010
I want to make a simple window which would contain a list of some free programs available for download. The program list would be derived from a web page that has download links to the programs. My program would check this webpage, and provide the download links so that the user could download the programs in-window.
View 3 Replies
Jun 14, 2011
How to block a program from running twice. Show a message box when the program is executed twice
View 1 Replies
Mar 14, 2011
I'm Trying to make a Program that Blocks / unblocks websites.[code]...
View 4 Replies
Feb 6, 2011
i am making a program that you should be able to block websites with. and i want the program to block the websites that is inside a text file or something, so the user can change the website that should be blocked.
View 9 Replies
Jun 22, 2011
any easy way to ref c sharp programs from visual basic? Can it be referenced from within the .net program?
View 2 Replies
Aug 7, 2011
I would like to create a program that would install a program depending on the checkbox selected.
View 3 Replies
Apr 7, 2010
Im new to programming and I started by grabbing some code here and there from various internet sites. I made some little programs without sense but Im stuck on my new program.
[Code]...
View 6 Replies
Nov 3, 2010
This question may be vague but I was wondering if anyone has ever implemented an application that basically creates a UI to list and monitor all running applications you have running. This applies to many developers who might have multiple programs running continuously and it would be great to have an app that monitors these programs..or does anyone think it is just unnecessary.
View 1 Replies
Feb 11, 2010
I'm using datagridview to populate all the data from datbase.if i press the ENTER key then it is moving to the next row.i want to block this.when i press the ENTER key it should not move to the next row but instead it should display the cell value.
View 1 Replies
Apr 18, 2009
I'm writting a dll in Fortran. I've included some common blocks in the fortran code. And I don't khow how to import it to Visual Basic.
View 2 Replies
Apr 30, 2009
i just wanted to make a really simple program to hide/restore programs listed in the taskbar. the hiding part is working, but somehow i cant get the window to show up again ? >< here is the code i am using:
Public Class Form1
Private Declare Function ShowWindow Lib "user32" ( _
ByVal hwnd As Long, _
[Code]....
i've also tried this with a button for show and a button for hide aswell incase SW_HIDE and SW_RESTORE are being used too fast after each other, but same issue.
View 1 Replies
May 30, 2011
I made a program that clicks in different places. I wanted it to be able to click on other programs, but it doesnt. I know it clicks because when i test it on VS where i am typing changes when the program clicks.
View 1 Replies
Jun 5, 2009
I want to make a program that can communicate with other programs, Like a tcpserver/client.But i don't know where to start. I want the user to be able to submit several urls to pictures on the internet and for other users to be able to view those pictures. How can I do this?
View 1 Replies
Feb 25, 2010
If e.CommandLine.Count > 0 Then
Dim IncomingCommand As String = e.CommandLine.Item(0).ToString
If IncomingCommand.Substring(0, 2) = "-1" Then
form1.close()
End If
End If
I am trying to make the program close if the -1 string is sent with the program. See my installer allows for me to run certain programs before it actually installs, but it doesn't shut down copies of the program itself. So I have a next startup instance set to shut the program down if the -1 is received. But if the program is not running it starts up instead. This is not desired. form1.close doesn't work. e.cancel = true doesn't work, etc etc. What can I do to make the program not start during this instance.
View 1 Replies
Dec 6, 2011
I have a function coded for on_click operation and it is not cycling all the way through. I have moved various "If" block controls as well as the code itself around several times and I can not figure out how to get it to go all the way through.
As of now, it will check to see if the Company Name is in the database, then check to see if the field is blank, then check to make sure the zip code box is numeric. That's as far as the code goes. I can not get it to cycle through and actually add the row to the database. If I move various lines of codes around, I can get it to add the row, but it will allow the errors such as incorrect zip format as well as blank values also. I need the code to perform the checks, then if all entry is valid, it adds the row.
I am only working on one form as of now, but this exact problem will be applied to several other forms within my overall project. However, if I can not get this one form to work, I will not be able to get the others to work either.
[Code]...
View 1 Replies
May 12, 2012
I have embedded the flash player(Shockwave Flash Object) into my application Form. and then I want to block right click from user.
View 1 Replies
Nov 24, 2011
I am having trouble figuring out what I need to do in order to get the program to drop into the different cases. I am suppose to be doing a case block for this assignment. I believe everything else is good but it always outputs the first case and doesn't progress down depending on the inputs. I tried to number them case 1, case 2, etc.. Here is the code
[Code]...
View 2 Replies
Apr 7, 2011
I wanna make a small program, which have a some list of bad word to block url search in my system
View 3 Replies
Apr 11, 2011
im using visual basic 2008 and a made a fully functional webbrowser useing the control. i have a huge list of ad servers and every different one is separated by an enter. i need a way for the program to read the file and block ads from loading.
View 1 Replies
Nov 10, 2010
I am wanting to create a simple program that monitors what programs are opening and if necessary close one or two. I would also like to know if it is possible to get the window title (using a simple function/sub) and check with a stored list of programs,
whether that particular program is allowed to be open and if so before the program can be opened a password dialog will appear asking the user to enter the defined password in order to continue opening the program. Is this possible? Also should the password entered not match up, the program/process will not be allowed to open and will be closed/cancelled.
some code or point to the part of the microsoft site that has information on getting window titles and how to close current programs open etc
View 5 Replies
Jun 3, 2010
i want to make a simple program where i can add/edit or delete a shortcut from an installed programs in my computer.
let say c:program filesmicrosoft officeoffice11winword.exe.
the purpose of this is i want some of my selected programs to be in a single window where i can click to open so i don't need to go to start then programs and open that specific program.
i want to run that program in startup so everytime i start my computer the shell or the program is already running and i could click the program that i want on that window.
View 2 Replies
Mar 15, 2009
how to write/program VB programs. However, I'm stuck on the mortgage calculator application. Whenever I run the program, I come up with an error stating "Argument 'NPer' is not a valid value." which refers to the Pmt function in the code.
'Dim monthly As Double ' monthly payment rates
Dim years As Double 'total # of years
Dim rate As Decimal 'annual rate
Dim months As Integer
[code]....
View 2 Replies