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"
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
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.
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.
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.
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.
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
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.
I have used VB6 years ago. Few days ago I just got started again with VB 2010. So I'm newbie again, Almost forgot everything. I want to create a program for parental control that block specific websites.
What I exactly want to do is The code should check the titles of the open windows and see if it is blocked one. If it is, it will close the browser with a message showing it's blocked. For example If I put "yahoo" to check and someone opens yahoo.com it should be terminated.What I have done so far is, I made DOS batch file that will terminate all the browsers that are open and set that ready to run when the title matches blocked site name/address.But I am stuck at how I can check the titles of the window that are open.
I am looking for a way to block registry changes unless I choose to allow them to be made. So basically if an application tries to make a change my program would display a dialog with information of the change and I can either click Allow Change or Disallow Change.
Only thing is I am not sure how I go about stopping a registry change before it happens.
I have this block of php that i want to convert to c# or vbnet. I am stuck on the array methods since there is no direct equal to the is array and other bits like array merge. I know that arrays behave differently in php than in c# but thats about it. I am looking online but have not found anything yet.
private static function processArgs( $arguments ) { $args = array(); foreach ( $arguments as $arg ) {
I tried utilizing a collections Enumerator inside of a USING block to take care of the Enumerator.dispose call for me, however, I'm getting NullReferenceExceptions when trying to access the Enumerator.Current property after doing a MoveNext.
Currently, I am enclosing object initialization and usage in a Try/Catch block and then tear it down (dispose, close, set to nothing) in the Finally block. The problem is, a C# 'using' block is so easy to use and would clean things up in my code.
Is there a VB.NET equivalent? Or is my Finally block tear-down solution the only way?
i have a simple question. in vb6 you can block the form using modal. but in vb.net i dont find any thing like this. so is there a way to block a form when other is opened. now i do this:
Dim frmDisc As New frmDiscount frmDisc.GET_SENDER(Me) frmDisc.Show(Me)
and in form Discount i do this:
Public Sub GET_SENDER(ByRef frm As Form) frmSender = frm End Sub
I have a form in vb.net that has a ShockwaveFlash object in it, and I get an IE popup requesting to download a file. I changed variables in it and it blocked some of them.