Error:
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details...
c,
So, I can create multiple datagrids by Dim'ing only newDG?
More of the story. . .
I have an array that I would like to be able to read out and only create the datagrid if there is data from a query to fill the datagrid.
Thanks for the information
Is it at all possible to dynamically create a Datagrid using a variable as it's name? I have tried and am either not doing something correct or it cannot be done. Please help. I have tried the following with no success.
Private Sub brunTest_Click(ByVal sender As System.Object, ByVal e As...
In your exit Sub add 'End' like below.
Private Sub ExitButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExitButton.Click
Dim Form1 As New LoginForm
Dim Form2 As New WelcomeForm
Form1.Close()
Form2.Close()
Me.Close()
'add...
Is there any way to return a recorset into an array instead of doing the following?
rsTT.let_Source(strSQLTT2)
rsTT.Open()
While Not rsTT.EOF
rsTTout = rsTT.Fields(0).Value
strTT.Add(rsTTout)
rsTT.MoveNext()
End While
I am looking for a...
Public Class fClearHist
Inherits System.Windows.Forms.Form
#Region " Windows Form Designer generated code "
Public Sub New()
MyBase.New()
'This call is required by the Windows Form Designer.
InitializeComponent()
'Add any initialization after...
This is what I get;
An unhandled exception of type 'System.NullReferenceException' occurred in ClearIEHist.exe
Additional information: Object reference not set to an instance of an object.
When I first copy/paste into VB.NET I get;
C:\My Documents\Visual Studio...
Thanks for the reply but, I found that article and was unable to get it to work. It failed on the "deleteregistrykey". I'll try it again and post the error.
Thanks again for the reply.
Does anyone have an easy way to clear IE history? I've tried deleting the folders under the History folder but they seem to be "special". I did run across one article that mentioned deleting reg keys but I couldn't seem to get the code to work (not sure if it was VB6 or .NET) in...
I figured out the delete:
OXL.DisplayAlerts = False
OWB.Sheets("Sheet1").delete()
OWB.Sheets("Sheet2").delete()
OWB.Sheets("sheet3").select()
OXL.DisplayAlerts = True
I had also found out the .Visible =...
If this is a repost please forgive.
I've created a little app that reads from multiple db servers and outputs to a xls. I have the data from each server going to it's own sheet.
1) My first question is, is there any way to output to the xls without using the following due to the fact I'd...
Russ,
I tried your code (I need to do the same thing) and get an error with the "Dim JRO As JRO.JetEngine" section. The error is "Type JRO.JetEngine is not defined" I'm sure it's something I'm doing wrong.
Any suggestions?
CCLINT,
You ROCK. . . That did it. I didn't realize it was looking for the pound signs. I tried everything else. Anyway, thanks to you, I have it working.
Do you have any suggestions to the second question?
I have a few more questions like, how to list all the tables in an Access db...
Please help,
I'm trying to create a little app to archive data out of an Access Db. I've created a DSN that I can use MSQuery to connect to the mdb with and select/delete but when I try to connect from inside the .NET app it doesn't delete.
Here's the code I've got. Plz excuse, I am very new...
I have seen this problem before. I think it had something to do with the NIC in the device that we were connecting, not really on the Cisco side (also a 4xxx). Once we upgraded the NIC drivers the issue was over. You may wish to try that.
I agree with the other two posts. Usually...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.