Error 448 - database name is longer than 11 characters?

  • Thread starter Thread starter Jasper Recto
  • Start date Start date
J

Jasper Recto

I have a little program that opens a progress database and runs a report.

Dim Path As Object
Dim Report As Object
Path = "d:\ReportBuilder\VendorShipping.p"
Report = Shell("""V:\PROGRESS\bin\prowin32.exe"" """ & Path & """", 1)

When it tries to run I get this error:

Error
**Your database name is longer than 11 characters.(448)

Any ideas on what this might be?

Thanks,
Jasper
 
I could be wrong but I think the resulting command may have a problem

""V:\PROGRESS\bin\prowin32.exe" "d:\ReportBuilder\VendorShipping.p""


also

Dim Path as String = "d:\ReportBuilder\VendorShipping.p"


I did the following as I do not have your software or report.


Dim fileToOpen As String = "c:\a.bat"
Dim app As String = "C:\WINNT\notepad.exe"

Dim newstr = app & " " & fileToOpen
Try
Shell(newstr) 'concatenated string for application and path
Catch ex As Exception
System.Console.WriteLine(ex.Message)
End Try
 
Back
Top