o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

Error #91 -

When I run the following code I get the error message #91

VB Code:
  1. Dim fnt As StdFont
  2. Private Sub Command1_Click()
  3. Set fnt.Name = "Impact"
  4. End Sub

What Shall I do.

 

On Error problem -
I am having a problem with On Error, I want to catch an error with GoTo, but it still does what I want it to do with an error even when there is no error... this is my code.. Private Sub Command1_Click() On Error GoTo Error AppActivate Text8 SendKeys Text1 & "~" Er


Copy data from Linked Server -
I'm trying to data from one database to another (Databases as MSDE). I have created a linked server OK. Some of the tables copy and others don't I get the error message: Error getting data for TAX_RANGES. Error is: 5 MSDTC on server 'ST344REG2' is unavailable. The operation


Error Handling Q -
Hey, Is there a way to display what line in the routine the error happened on? I am currently getting a error on my client test machine in a certain subroutine that adds a record to my database. When I run it on my developement machine I don't get the error and it works fine. My Error


HTTP STATUS Error 500 -
good day everyone im having an error on my jsp...im only a newbie and im really confused on what the possible error could be... Here is the error message: The server encounted an internal error () that prevented it from fulfilling this request. org.apatch.jasper.jasperExcep


Error Capturing in ASP! -
Hi there! I am told to capture the error line and error desciption when an error occurs. But without redirecting to a error handling page(custom error message), how can I write my own error message and stop the page execution thereafter? Please help me.


Correct use of On Error -
I`m hoping someone can explain how On Error is properly used. From what I can understand, you place the On Error before a piece of code that may generate an error. When the error is generated, the program jumps to the error handling code and deals with it. The problem I am having is ho


Time-out error -
Hi everybody. I am getting a runtime error because sp execution is timing out. However I can not capture this error with my error handler. I am using a standard error hadler n err goto err_label etc.... Still getting error as if VB produces it. Any thoughts? Thanks in advance.


Error Handling with ActiveX Component -
I have this exe that launches this dll(A) that launches another dll(B). If an error occurs in B and I do not have an error handler within the function that gets the error, VB should look in the call stack for an error handler, right? Well, I have an error handler in the function in A


Is it possible to setup a Global Error handler for a specific error -
Im wondering is it possible to setup a global error handler? Quite often my system is coming up with the error: Error -2147467259 - Unspecified error which keeps pointing to the database connection db.open line... and I am wanting to setup an error handler that will handl


Error Message is not stopping the app. -
Hey guys. I had originally written one error trapping sub that began On Error Resume Next Then later in the sub Msgbox(err.number) ' for my own use Later, I found that an error was occuring in the app. Then I wanted to see where it was happening so I removed On Error Res


On Local Error vs On Error -
I saw a snippet of code that contained a statement along the lines of: On Local Error goto ... I have always used On Error goto.... Can someone explain the difference for me? If I have On Error in a sub, does that overflow into other areas of the app or is it localized in the sub


Is there a way to set one error page for all errors -
well the bookie that I'm reading is creating a separate error page for different error numbers. I'm wondering if it is possible to have one error page that would also desplay the specific error that happened. IE, errorReport.aspx would tell the user what error was raised... no idea, is


Consider what Error -
hi, I need some advise here. It is all about Error Handling. There are number of Error. How do i trap difference kind of Error ? and what are the Error do i need to consider?


Another Error! -
If I run my project in VB it works fine but when I compile it and install my program on my computer I get an error when my program starts up. This is the error: Error 3265 Item cannot be found in the collection corresponding to the requested name or ordinal. I have two questions: 1.


Access 2003 Runtime Error 3265 -
I want to capture the run-time error 3265, item not found in this collection, but I have been un successful. I have 2 tables and the items with column names alike I want to update from one tot he other and the column names difrferently I want to be ignored. This error does not


form1.vb [design] error -
I get an error while trying to change the interface on my program: An error occured while loading the document. Fix the error then try loading it again. The error message is as follows: The designer could not be shown for this file because none of its classes can be shown.


how to Error traping line by line -
I have Error trap in the script, but when an error happens, not sure on which line , thats when the EXE runs, I need to be able to know which line caused the error, thats what I have: Private Sub_load ON error GOTO Error ....code Error: msgbox"hello"


SQL DMO/ Error Trapping. -
I am using SQL DMO in an app that I am currently developing and have come across a problem trapping an error. The error is coming from SQL not my app, things like invalid user name or password. Because the error is coming from SQL my usual error handling routine is not working. Could s


Program Error ( *.exe has generated errors...restart program.... error log created... -
I have a VB Application in Production for last 4 yrs and in last 2 weeks the users were getting this error. Error Message Window Header: Program Error Actual Error Msg: [My program name].exe has generated errors and will be closed by windows. You will need to restart the program.


"Authentication failed" error trapping -
In a project I'm working on, in my Sub Main process, I do a check for a Jet provider. I get the following error: -2147217843 ' "Authentification Failed" . I've tried all "standard" error traps for this error, but so far, no luck. I've tried "on error goto


runtime error help!! -
ive created an install package and try to install it on other pc. there was an error occured.. Run-time error '-2147467259 (80004005)': Unspecified error do anyone encounters this kind of error?? thanks!


automatization error -
somebody nkow what this error means? error '2147417848 (80010108) at execution time automatization error This error ocurrs me sometimes when I try to print a crystal report.


Provider error '80004005' Unspecified error -
I am sure you all had this error once! But what can i do to solver the problem, Everything was ok for the past 2 month, this morning i change the dbase location to put a temporary one(to test it fully loaded) everything was ok, no error,BUT when i rename the tester one and pu


Reserved error (-7709) -
Does anyone had to deal with this error, and if so how did you resolve it. My access application is running in a multiuser environment. It is related to a SQL-Server database. All users can work fine with it but one. When I try to run my app it gives following error. There is a re


Execution error -
Hello! I'm just wondering if somebody already encountered this kind of error during execution of their application. Here's the exact error message: Error-2147417848 Automation error The object invoked has disconnected from its clients. I really don't know what's wrong with t


Centralized Error Trap -
i want to make program with error trapping which centralized the error in any forms or procedure can handled by It because VB doesn't support error handling to a procedure on error resume procedure name would you help me , my be i must create an error class or... ? thanks


How Do I Error Handle -
Hi All, Well I am getting more into VB programming now and I think I should start building some error handling into my Apps. But the question is how, for example I have a SQL error at the moment where if I enter the wrong data it has a problem with some contraint and comes back w


File already open error -
I am having problems with this error... I have a loop that runs every minute, and it opens a file and writes info to it.. and I get this error randomly.. I put one of those 'On Error GoTo blahblah" things before it, and that doesnt seem to work, I still get the same error, which c


Run time error 372 -
I receive this error: Run time error 372, which concerns the pdf.ocx, see attatched error message. I have just installed Acrobat Reader 7 and I think this is what causes the error. I have to update the pdf.ocx, how do I do that?


<resolved>error 401 help -
hi, in my vb app it seems perfect for what it is ment to be when run in vb 6 (non compiled) but when i compile it and it has finnished writing the exe, i open the program and i get the folowing error: Run-time error '401': Can't show non-modal form when modal form is displayed W


Dr. Watson Error -
When I exit VB6 I get a doctor watson error. I am using VB6 on NT Workstation 4.0. I have installed VB SP4 and Workstation SP6 but I still get the error. Everything in the VB program works it just doesn't exit properly and doesn't save my configurations (existing/recent programs).


Another error question -
Hi there! When I delete all the records on a ADO recordset and then use addnew method or any other operations, following error occurs. Run time error : -2147217885 : A given HROW referred to a hard- or soft-deleted row. Can you tell me why this error occurs and what should I


Run Time Error List -
I have created a program that will give me the list of all run time errors from 0 to whatever you specify. However, it keeps returning the same description " Invalid procedure call or argument". Does anyone know how to get it to show the description for the Error Number tha


Please help -- Error Error Error !!!! -
Dear All, Please help in sorting out this error. We have two exes, for e.g., Exe1 and Exe2 (Both are ActiveX EXEs). The EXE2 has been made by giving a reference of EXE1 in it and been made. We have to start the EXE1 so that its values will be entered into the registr


web browser runtime error -
i have made a form with a webbrowser control on it and it randomly comes up with: runtime error '-9(fffffff7)' when this happens in the vb6 environment, it should highlight the code for me that produces the error but it doesn't i don't knowwhere this error is coming from as i have p


WinSock.SendData....How To Handle Error -
Somebody told me that error already detected, some told me that I need to do error detection.. Exactly, I just want to have the text string definitely delivered, if there is error inside (line not connected, data loss etc) just let me know by any error code. So that I can try to


Error information -
When an error occurs in my app, one of the things the error handler does is append some information to a log file such as date, time, error number and description. I'd like to add to that the name of the procedure where the error took place. Is it possible to retrieve this information


ADO Recordset and TimeOut Error -
Hi, I'm having a problem with error handling when using the ado recordset. On a movenext method I occasionally get a Connection TimeOut error. This error I cannot trap with On Error Goto. Also , with my connection setup with "withevents" the Infomessage event also doesn'


Handling error number 0 -
I really don't understand this. When I use error handling. It sends error number 0 to the handler. Is 0 really an error? There is no description to it. And how do skip error 0? Resume next gives me error 22 and nothing will make in continue after the handler which is the


Run-time error '-1(ffffffff)' -
I get this error from my vb app, which is webbrowser intensive... there seems to be nowhere where this error is explained, it seems it may be ocx related, although the app is mainly just some api & webbrowser controls... again, error is = Run-time error '-1(ffffffff)' but it