Click here to Skip to main content
16,004,882 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Searching HD for files of type Pin
Kevnar16-Aug-04 20:22
Kevnar16-Aug-04 20:22 
QuestionReloading a form? Pin
Glisson16-Aug-04 16:28
Glisson16-Aug-04 16:28 
AnswerRe: Reloading a form? Pin
S Sansanwal16-Aug-04 18:07
S Sansanwal16-Aug-04 18:07 
GeneralTrack user clicks in a menu Pin
and_vb16-Aug-04 15:36
and_vb16-Aug-04 15:36 
GeneralRe: Track user clicks in a menu Pin
Dave Kreskowiak16-Aug-04 18:22
mveDave Kreskowiak16-Aug-04 18:22 
GeneralProtection via registry .. need help Pin
AbuFahed16-Aug-04 14:34
AbuFahed16-Aug-04 14:34 
GeneralRe: Protection via registry .. need help Pin
Dave Kreskowiak16-Aug-04 18:21
mveDave Kreskowiak16-Aug-04 18:21 
GeneralCompact and repair Pin
benjj16-Aug-04 13:19
benjj16-Aug-04 13:19 
Hi
I am trying to compact and repair an access 2000 d/b from within vb.net using this code from microsoft:

Dim jro As JRO.JetEngine<br />
<br />
        jro = New JRO.JetEngine()<br />
<br />
        jro.CompactDatabase("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\nwind.mdb", _<br />
        "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\NewNwind.mdb;Jet OLEDB:Engine Type=5")<br />
<br />
        MsgBox("Finished Compacting Database!")


The problem is that when I try to replace the both the source and the destination file with application.startupath and my file name, vb.net breaks at the MsgBox line saying the the file is not found.

I have to use application.startupath in order for my app to find the database upon deployment.
I think the problem is that I do not knmow how to use application.startupath in this instance.
Any help?
GeneralRe: Compact and repair Pin
Anonymous16-Aug-04 14:12
Anonymous16-Aug-04 14:12 
GeneralRe: Compact and repair Pin
Dave Kreskowiak16-Aug-04 18:20
mveDave Kreskowiak16-Aug-04 18:20 
GeneralRe: Compact and repair Pin
benjj17-Aug-04 3:03
benjj17-Aug-04 3:03 
GeneralHelp with Windows Media 9 in VB Pin
Kevnar16-Aug-04 10:07
Kevnar16-Aug-04 10:07 
GeneralRe: Help with Windows Media 9 in VB Pin
Jim Matthews16-Aug-04 10:17
Jim Matthews16-Aug-04 10:17 
GeneralRe: Help with Windows Media 9 in VB Pin
Kevnar16-Aug-04 11:04
Kevnar16-Aug-04 11:04 
GeneralCell range of embedded worksheet in Word document Pin
Member 119356216-Aug-04 8:19
Member 119356216-Aug-04 8:19 
GeneralQuark file Pin
XGaMeS16-Aug-04 7:33
XGaMeS16-Aug-04 7:33 
GeneralRe: Quark file Pin
progload16-Aug-04 9:35
progload16-Aug-04 9:35 
GeneralRe: Quark file Pin
XGaMeS16-Aug-04 9:53
XGaMeS16-Aug-04 9:53 
GeneralRe: Quark file Pin
Dave Kreskowiak16-Aug-04 10:48
mveDave Kreskowiak16-Aug-04 10:48 
GeneralRe: Quark file Pin
progload16-Aug-04 10:41
progload16-Aug-04 10:41 
Generaltimers Pin
Randolph Williams16-Aug-04 5:27
Randolph Williams16-Aug-04 5:27 
GeneralRe: timers Pin
Dave Kreskowiak16-Aug-04 10:39
mveDave Kreskowiak16-Aug-04 10:39 
QuestionUsing USB ? Pin
jobr1ch16-Aug-04 5:19
jobr1ch16-Aug-04 5:19 
AnswerRe: Using USB ? Pin
Dave Kreskowiak16-Aug-04 10:35
mveDave Kreskowiak16-Aug-04 10:35 
Generalhelp.....datagrid coulmn Pin
Lisana16-Aug-04 4:32
Lisana16-Aug-04 4:32 

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.