Error Coming Up Almost Everytime Run Application From VS
Dec 20, 2011see the pic. and advise why this error is coming up and how to fix it.
View 1 Repliessee the pic. and advise why this error is coming up and how to fix it.
View 1 RepliesIs there a way to call a function everytime it throws an error? I could use try catch, but I need to do it with unexpected errors.
View 8 RepliesI'm updating a database every few minutes in my program but I get this error
Duplicate entry '127' for key 1
Everytime the db row Id reaches 127.
Compiler Error Message: ASPNET: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl).
View 2 RepliesHow would I get it so every time a timer ticks it measures the ammount of sound coming out of the application and puts it into a progress bar? it's any help I'm using an "axprogressbar" set to go vertical.
View 6 RepliesI keep having this error coming up. Im retrieving messages from outlook. But it bring up this error.
View 4 RepliesI'm trying to make a calculation app, but the 'Declaration expected' error keeps coming up.
Imports System.Math
PublicClass Form1
Dim k AsInteger
[Code].....
i have this code to open a record and this working if there is any, but if no records it will come out with error
[Code]...
I've been hired at a company to fix some bugs and make some improvements to their in house programs. The program I am currently working has been written in Visual Studio 2005, in Visual Basic specifically. The program is used to connect to a database on a server and provide various information. However, I have run into a snag where the program will refuse to connect to the database when it using a user account and password that has been set up on the database. When I look at the logs i see it is giving the error as stated above, however, I have double and triple checked the password both on the database and the one hardcoded into the program and they are identical yet it still logs that there is a password mismatch. Has anyone run into this problem or figured out a solution towards fixing it, I will be much obliged.
View 6 RepliesError is coming Registry Access is not allowed.While Opening a Key.
Code:
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
NewDelete("HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRun", "Sonia")
End Sub
[CODE]...
I'm using Visual Studio Development Server (Visual Basic 2010) and it works fine. Now I've enabled NTLM Authorization because I want to test the website using a different user account. Now when I try to access the website I always get the following error page:
Server Error in '/' Application.
HTTP Error 403 - Forbidden.
Version Information: ASP.NET Development Server 10.0.0.0 .I'm using a test account which is a normal user within our domain. I've already set the access rights in my project folder to Full Access for this user but it does not help.
im loading images into 2 picturebox controls My app works as it should but i need to know when i should dispose of the images or does the garbage collector do it for me?on a user click the images change, i think that my app will become resource hungry and cause the app to bomb out at some point.So do i use Picturebox1.dispose() each time new images are loaded into the pictureboxs to free up the image from memory?
View 5 RepliesHow do I create a Javascript method in here that RELOADS the .aspx page, that I can call during one of those other existing methods.[code]...
View 2 RepliesI have a multiline label that im trying to add a line everytime I click the button. Its basically adding a new CD track name, CD minutes, and CD seconds to each new line for everytime the user inputs the given information:
1 Track_Name1 3 min. 13 sec.
2 Track_Name2 2 min. 34 sec.
3 Track_Name3 3 min. 01 sec.
.
.
.
But it keeps adding the "new" line in the position of the old one, so its only displaying on 1 line. I tried using a vbCrLf, but I might have it in the wrong spot?
heres what I got...
Private Sub btnAddCut_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAddCut.Click
cutCounter += 1
[Code]...
The cutCounter is obviously the track number, and it clears the current info for the new information.
in my vb.net windows application i have crystal reports implementedfor making it work properly after deploying on client side i have
the below code
End
With
[code].....
I'm trying to make this game, where the button moves to a random location everytime your mouse gets near it.How would i do it?
View 3 Replieschange the program flow- so that it ignores certain precedures.Functionality: a form that displays all users. Optionally a user could check a check box and it would display his age. beside it Program Precedure: Now, I have to recheck everytime if it is checked. Is there a way to make the program just ignore a certain line of code(or something, that whatever it is I can't name). And I'm asking that the program should run without any evaluation whatsever?
View 7 RepliesImports System.Data.SqlClient
Imports System
Imports System.Data
[Code].....
I have tried to test out the add delete and save function on a datagridview but the data that I added during testing would disappear after I made some changes to the code.
View 3 RepliesPossible Duplicate: Get year and month from SQL .I want to know that everytime I change the month the tracking number will start at 001 ..For example this is my tracking number:
CAB1108072 == CAB + 11 for year, 08 for month of august, 072 running number
Do I need to have another column in the table for the month in order to generate the tracking number everytime the month changes? The output should be like this.Example:
August 31, 2011 running number is 072 tomorrow is september 1st i need the tracking number start to 001, because september is another[code]....
How to fix the error in code..this code will always display msg box if user select ot nt slect the checkbox .. but i want if user doesn't select any of the checkbox or forgot to select checkbox then msg box will ppear other wise redirect to other page ..
[Code]....
How can I make a form with a new webbrowser control on it everytime?
View 2 RepliesI made a program that makes backups of a database when the user runs the application, etc. I never created something like this. I got all the code to make the backup, now the problem is to create it as a service.This is my form to the person choose the days and the hour to the process runs and install it as a service, and when it runs to be minimizated on the windows icons near clock and date and another option.
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
AddToStartup()
End Sub
Public Sub AddToStartup()
Dim Reg As Object
[code]....
I got this code to creates a short cut on the startup path to my project run Every time windows start's and do his job and close, but now I got a problem, how It should be to VB2010 ? And how it would make a run on the specific days / hour that persons choose ?
I have a program that everytime it is started download a file, read to a list, and add an entry to that list.That entry will be the useres ip address. I have gotten that far so far, but the ip address is sometimes the ip address of the lan like 192.168.1.100. That will nto work properly. I want the true ip address like 69.47.192.12
View 2 RepliesI have a Application that uses proxy IPs. I have a List of 100 ips, adn i want to take a random proxy and use that each and everytime whenever a button is clicked. I got the Proxy code and i modified it as below.
Imports System.IO
Public Class form1
' The structure we use for the information
' to be interpreted correctly by API.
[code]....
It successfully give random results but when i use webbrowser to confirm proxy ip, it shows only 1st or 2nd ip for every time. but i am getting random ips in listbox. When i click button it will get random ip and make browser to navigate to that ip and later it will add it to listbox.
I've got a global random type variable, let's call it rRandom.In my code, I generate a random number like below:
Dim iRandom As Integer = rRandom.Next(0, x)
9 out of 10 times iRandom is 0, the other time it was 1. The code isn't on a timer, it happens when I do something (say clicking a button), so the frequency of the code being called is about 2-3 seconds, I say this because I've had similar issues when generating random numbers really fast in a timer, or with a for loop IIRC.X is a variable that, presently, starts at 3, and will decrease until 0, in which it'll return back to 3. Obviously, if X is 0, iRandom will be 0, but it shouldn't be 0 all the time.I'm declaring the variable globally because I remember, again, having similar issues using local variables, idk whether I should be or not.
I want to build an app that closes itself everytime someone uses a screen capture software. Is that posible?I know many of those screen capture softwares are made on Visual Basic.And I wonder if is posible to detect a common component of those kind of capture applications.Because, I do not want to update my app every time a new screen capture software appears.
View 1 RepliesHow can i get form2 to to load exactly center of form1 or a location within the form when i get form2 to show, no matter the location of form1.[code]...
View 10 RepliesI have Visual Studio 2008 and am using an installer project as part of the same solution that creates an installer for that exe.
[Code]...
Everytiem I try to access data, like herejust to view it, or edit the table schema or something, the data resets
View 6 Replies