Click here to Skip to main content
15,891,136 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Cross Posted from Web Develoment Forum (x3) -- Ignore Pin
Paul Conrad25-Nov-07 18:17
professionalPaul Conrad25-Nov-07 18:17 
AnswerRe: How to find Reciprocal URL Pin
Paul Conrad25-Nov-07 18:16
professionalPaul Conrad25-Nov-07 18:16 
QuestionCreate a Fill() function with parametres Pin
dcode2525-Nov-07 13:59
dcode2525-Nov-07 13:59 
AnswerRe: Create a Fill() function with parametres Pin
Dave Kreskowiak26-Nov-07 2:38
mveDave Kreskowiak26-Nov-07 2:38 
QuestionInstall ui Pin
UsuallyConfused25-Nov-07 11:30
UsuallyConfused25-Nov-07 11:30 
AnswerRe: Install ui Pin
Christian Graus25-Nov-07 14:02
protectorChristian Graus25-Nov-07 14:02 
GeneralRe: Install ui Pin
UsuallyConfused25-Nov-07 21:33
UsuallyConfused25-Nov-07 21:33 
Questioneasy ADO error when opening catalog 'reference not set' Pin
Reveille25-Nov-07 9:04
Reveille25-Nov-07 9:04 
Dim DBPath As String
Dim ADOXcat As New ADOX.Catalog
Dim sCreateString As String
DBPath = System.Windows.Forms.Application.StartupPath()

sCreateString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & DBPath & "\New07ADB.accdb;Jet OLEDB:Database Password=admin;" 'for Access 2007


Try 'Create DB
ADOXcat.Create(sCreateString)

Catch ex As System.Runtime.InteropServices.COMException
'create DB failed
MsgBox(ex.Message(), MsgBoxStyle.Critical, "Failed to create database")
Finally
ADOXcat = Nothing
End Try


Dim ADOXtable As New ADOX.Table(), _
ADOXindex As New ADOX.Index(), _
Con As New ADODB.Connection()

Try 'connect and insert tables
Con.Open("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & DBPath & "\New07ADB.accdb;Jet OLEDB:Database Password=admin;") 'for 2007
MsgBox(Con.Errors().Count.ToString()) 'Displays 0 Errors
MsgBox(Con.State.ToString()) 'Displays 1 representing an open connection
'Open the Catalog
ADOXcat.ActiveConnection = Con 'Object reference not set to an instance of an object.

I know this error usally gets generated when using a null object but if I receive no errors from opening the connection then 'Con' shouldnt be null right? Any help on this is greatly appreshated.
AnswerRe: easy ADO error when opening catalog 'reference not set' Pin
Mycroft Holmes25-Nov-07 15:34
professionalMycroft Holmes25-Nov-07 15:34 
QuestionoVideo encryption Pin
Jamal Abdul Nasir25-Nov-07 8:18
Jamal Abdul Nasir25-Nov-07 8:18 
AnswerRe: oVideo encryption Pin
Christian Graus25-Nov-07 8:31
protectorChristian Graus25-Nov-07 8:31 
Questionadd column type in datagrid Pin
liat123425-Nov-07 6:12
liat123425-Nov-07 6:12 
AnswerRe: add column type in datagrid Pin
Christian Graus25-Nov-07 8:32
protectorChristian Graus25-Nov-07 8:32 
Questionupdata database from datagrid Pin
liat123425-Nov-07 6:09
liat123425-Nov-07 6:09 
AnswerRe: updata database from datagrid Pin
Vimalsoft(Pty) Ltd25-Nov-07 19:52
professionalVimalsoft(Pty) Ltd25-Nov-07 19:52 
Questiondelete row from data grid Pin
liat123425-Nov-07 6:03
liat123425-Nov-07 6:03 
AnswerRe: delete row from data grid Pin
pmarfleet25-Nov-07 7:01
pmarfleet25-Nov-07 7:01 
AnswerRe: delete row from data grid Pin
John_Adams25-Nov-07 22:54
John_Adams25-Nov-07 22:54 
QuestionMaskbox select text on focus Pin
nishkarsh_k25-Nov-07 3:24
nishkarsh_k25-Nov-07 3:24 
AnswerRe: Maskbox select text on focus Pin
Christian Graus25-Nov-07 8:33
protectorChristian Graus25-Nov-07 8:33 
QuestionBarcode Pin
Naderrafiee24-Nov-07 22:44
Naderrafiee24-Nov-07 22:44 
AnswerRe: Barcode Pin
Christian Graus24-Nov-07 23:03
protectorChristian Graus24-Nov-07 23:03 
AnswerRe: Barcode Pin
WizardintheWoods25-Nov-07 19:10
WizardintheWoods25-Nov-07 19:10 
QuestionHow can write these two lines? Pin
mehrdadc4824-Nov-07 19:43
mehrdadc4824-Nov-07 19:43 
AnswerRe: How can write these two lines? Pin
MikeMarq24-Nov-07 19:53
MikeMarq24-Nov-07 19:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.