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...
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.