Click here to Skip to main content
15,913,115 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Usercontrol toolbox bitmap Pin
xstoneheartx7-Feb-07 10:12
xstoneheartx7-Feb-07 10:12 
QuestionBuilding strings from strings? Pin
Ron West6-Feb-07 15:13
Ron West6-Feb-07 15:13 
AnswerRe: Building strings from strings? Pin
Christian Graus6-Feb-07 15:32
protectorChristian Graus6-Feb-07 15:32 
GeneralRe: Building strings from strings? Pin
Ron West7-Feb-07 8:18
Ron West7-Feb-07 8:18 
GeneralRe: Building strings from strings? Pin
Christian Graus7-Feb-07 11:01
protectorChristian Graus7-Feb-07 11:01 
AnswerRe: Building strings from strings? Pin
Kschuler7-Feb-07 10:32
Kschuler7-Feb-07 10:32 
GeneralRe: Building strings from strings? Pin
Ron West7-Feb-07 12:25
Ron West7-Feb-07 12:25 
Questionappforge PDBOpen method Byfilename ERROR Pin
jbboy6-Feb-07 13:28
jbboy6-Feb-07 13:28 
to anyone who has encounter appforge.. pls help..

im encountering problem with the PDBOpen method..this is my code..

Public Function OpenPatientInfoDatabase() As Boolean
lType = PalmIDtoLong("DATA")
lCreator = PalmIDtoLong("!!)<")
' Open the database
#If APPFORGE Then
'when running on the device
dbPatientInfo = PDBOpen(Byfilename, "PatientInfo", 0, 0, 0, 0, afModeReadWrite)
#Else
'when running on windows
dbPatientInfo = PDBOpen(Byfilename, App.Path & "\PatientInfo", 0, 0, 0, 0, afModeReadWrite)
#End If

If dbPatientInfo <> 0 Then
'We successfully opened the database
OpenPatientInfoDatabase = True
Else
'We failed to open the database
OpenPatientInfoDatabase = False

#If APPFORGE Then
MsgBox "Could not open database - PatientInfo", vbExclamation
#Else
MsgBox "Could not open database - " + App.Path + "\PatientInfo.pdb" + vbCrLf + vbCrLf + "Potential causes are:" + vbCrLf + "1. Database file does not exist" + vbCrLf + "2. The database path in the PDBOpen call is incorrect", vbExclamation
#End If
End If
End Function


..at the line dbPatientInfo = PDBOpen(Byfilename, App.Path & "\PatientInfo", 0, 0, 0, 0, afModeReadWrite)
there is an error: byfilename is a variable undefined..
how could this be?i know byfilename is a keyword to pdopen..
help..
AnswerRe: appforge PDBOpen method Byfilename ERROR Pin
Dave Kreskowiak7-Feb-07 5:08
mveDave Kreskowiak7-Feb-07 5:08 
GeneralRe: appforge PDBOpen method Byfilename ERROR Pin
jbboy7-Feb-07 18:45
jbboy7-Feb-07 18:45 
QuestionPrintout method of word document Pin
hemrk6-Feb-07 10:42
hemrk6-Feb-07 10:42 
QuestionADSL Network Connection Information Pin
FeRtoll6-Feb-07 10:25
FeRtoll6-Feb-07 10:25 
AnswerRe: ADSL Network Connection Information Pin
Nilesh Hapse6-Feb-07 20:26
Nilesh Hapse6-Feb-07 20:26 
GeneralRe: ADSL Network Connection Information Pin
FeRtoll6-Feb-07 21:05
FeRtoll6-Feb-07 21:05 
Questionif, then statement Pin
jds12076-Feb-07 10:07
jds12076-Feb-07 10:07 
AnswerRe: if, then statement Pin
nlindley76-Feb-07 10:54
nlindley76-Feb-07 10:54 
GeneralRe: if, then statement Pin
jds12077-Feb-07 2:56
jds12077-Feb-07 2:56 
GeneralRe: if, then statement Pin
nlindley77-Feb-07 3:40
nlindley77-Feb-07 3:40 
GeneralRe: if, then statement Pin
jds12077-Feb-07 5:35
jds12077-Feb-07 5:35 
GeneralRe: if, then statement Pin
jds12077-Feb-07 5:58
jds12077-Feb-07 5:58 
QuestionMy.Settings won't serialize my class Pin
TwoFaced6-Feb-07 7:52
TwoFaced6-Feb-07 7:52 
AnswerRe: help help help!! Pin
Christian Graus6-Feb-07 9:35
protectorChristian Graus6-Feb-07 9:35 
QuestionRandom letters Pin
harveyhanson6-Feb-07 6:02
harveyhanson6-Feb-07 6:02 
AnswerRe: Random letters Pin
FeRtoll6-Feb-07 6:26
FeRtoll6-Feb-07 6:26 
GeneralRe: Random letters Pin
harveyhanson6-Feb-07 6:32
harveyhanson6-Feb-07 6: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.