Re: [nsbasic-ce] Re: How To Show a Open Dialog(Using CommonDialog Control)?
You'll need to install it, then. Look in the Installers folder - is there something there that will install it? (My apologies - we don't support NS Basic/CE 7 officially any more. I know the control was in Version 7, but the exact installation procedure escapes me. We really improved this in Version 8.) >I saw that it is installed, but I can't see that needed DLL on the >Windows folder. > >--- In nsbasic-ce@yahoogroups.com, "George Henne" wrote: >> >> Using ActiveSync's Explore function, can you look for it? > > > > > >Yahoo! Groups Links > > > -- You received this message because you are subscribed to the Google Groups "nsb-ce" group. To post to this group, send email to nsb...@googlegroups.com. To unsubscribe from this group, send email to nsb-ce+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en.
Re: [nsbasic-ce] Re: How To Show a Open Dialog(Using CommonDialog Control)?
Using ActiveSync's Explore function, can you look for it? >I think yes, because I've installed the runtime using ActiveSync. > >--- In nsbasic-ce@yahoogroups.com, "George Henne" wrote: >> >> >> Is the file in \Windows on the device? >> >> >Yeah, I've installed the RuntimeFat, because I hate to install optional >> >controls separately, and I still got the error as you already know. >> > >> >--- In nsbasic-ce@yahoogroups.com, "George Henne" wrote: >> >> >> >> You're using NS Basic/CE 7, right? >> >> >> >> Have you installed RuntimeFat.wince.exe to your device? (I think that's >> >> the name of the installer for that device - recollection of NS Basic/CE >> >> 7 is getting hazy). >> >> >> >> >> >> >I've searched for this on the installer folder of my NSBasic at the PC >> >> >and I haven't found anything. >> >> > >> >> >Where can I get this DLL for Windows CE 3(HPC) ARM? >> >> > >> >> >--- In nsbasic-ce@yahoogroups.com, "George Henne" wrote: >> >> >> >> >> >> That's a different control - it is the old, obsolete Microsoft >control. >> >> >> >> >> >> The one you are using in your program is called NSBComDlg.dll. >> >> >> >> >> >> George Henne >> >> >> NS BASIC Corporation >> >> >> http://www.nsbasic.com >> >> >> >> >> >> > >> >> >> > >> >> >> >Also, I saw that I already have the control installed on my >> >device. Proof: >> >> >> > >> >> >> > >> >> >> >What is wrong? >> >> >> > >> >> >> > >> >> >> >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> >Yahoo! Groups Links >> >> > >> >> > >> >> > >> >> >> > >> > >> > >> > >> > >> > >> >Yahoo! Groups Links >> > >> > >> > >> > > > > > > >Yahoo! Groups Links > > > -- You received this message because you are subscribed to the Google Groups "nsb-ce" group. To post to this group, send email to nsb...@googlegroups.com. To unsubscribe from this group, send email to nsb-ce+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en.
Re: [nsbasic-ce] Re: How To Show a Open Dialog(Using CommonDialog Control)?
Is the file in \Windows on the device? >Yeah, I've installed the RuntimeFat, because I hate to install optional >controls separately, and I still got the error as you already know. > >--- In nsbasic-ce@yahoogroups.com, "George Henne" wrote: >> >> You're using NS Basic/CE 7, right? >> >> Have you installed RuntimeFat.wince.exe to your device? (I think that's >> the name of the installer for that device - recollection of NS Basic/CE >> 7 is getting hazy). >> >> >> >I've searched for this on the installer folder of my NSBasic at the PC >> >and I haven't found anything. >> > >> >Where can I get this DLL for Windows CE 3(HPC) ARM? >> > >> >--- In nsbasic-ce@yahoogroups.com, "George Henne" wrote: >> >> >> >> That's a different control - it is the old, obsolete Microsoft control. >> >> >> >> The one you are using in your program is called NSBComDlg.dll. >> >> >> >> George Henne >> >> NS BASIC Corporation >> >> http://www.nsbasic.com >> >> >> >> > >> >> > >> >> >Also, I saw that I already have the control installed on my >device. Proof: >> >> > >> >> > >> >> >What is wrong? >> >> > >> >> > >> >> >> > >> > >> > >> > >> > >> > >> >Yahoo! Groups Links >> > >> > >> > >> > > > > > > >Yahoo! Groups Links > > > -- You received this message because you are subscribed to the Google Groups "nsb-ce" group. To post to this group, send email to nsb...@googlegroups.com. To unsubscribe from this group, send email to nsb-ce+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en.
Re: [nsbasic-ce] Re: How To Show a Open Dialog(Using CommonDialog Control)?
You're using NS Basic/CE 7, right? Have you installed RuntimeFat.wince.exe to your device? (I think that's the name of the installer for that device - recollection of NS Basic/CE 7 is getting hazy). >I've searched for this on the installer folder of my NSBasic at the PC >and I haven't found anything. > >Where can I get this DLL for Windows CE 3(HPC) ARM? > >--- In nsbasic-ce@yahoogroups.com, "George Henne" wrote: >> >> That's a different control - it is the old, obsolete Microsoft control. >> >> The one you are using in your program is called NSBComDlg.dll. >> >> George Henne >> NS BASIC Corporation >> http://www.nsbasic.com >> >> > >> > >> >Also, I saw that I already have the control installed on my device. Proof: >> > >> > >> >What is wrong? >> > >> > >> > > > > > > >Yahoo! Groups Links > > > -- You received this message because you are subscribed to the Google Groups "nsb-ce" group. To post to this group, send email to nsb...@googlegroups.com. To unsubscribe from this group, send email to nsb-ce+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en.
Re: [nsbasic-ce] Re: How To Show a Open Dialog(Using CommonDialog Control)?
That's a different control - it is the old, obsolete Microsoft control. The one you are using in your program is called NSBComDlg.dll. George Henne NS BASIC Corporation http://www.nsbasic.com > > >Also, I saw that I already have the control installed on my device. Proof: > > >What is wrong? > > -- You received this message because you are subscribed to the Google Groups "nsb-ce" group. To post to this group, send email to nsb...@googlegroups.com. To unsubscribe from this group, send email to nsb-ce+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en.
Re: [nsbasic-ce] Re: How To Show a Open Dialog(Using CommonDialog Control)?
In Version 8, it's simple - just do AddResource. In Version 7, you'll need to install the controls. See the Version 7 ReadMe for info on doing this. > > >How can I include the control as a resource on the project? > >PS: I'm using NSBasic/CE 7.0 >--- In nsbasic-ce@yahoogroups.com, "George Henne" wrote: >> >> Have you included the control as a resource in your project? >> >> I'll bet it is not on your device. >> >> > >> > >> >Thanks for the help, but now I'm getting errors when the program launch. >> >My code is like this: >> >Option Explicit >> >ShowOKButton True >> > >> >AddObject "NSBasic.ComDlg","dialog",0,0,0,0 >> >If Vartype(dialog)<>9 Then >> > MsgBox "Common Dialog control not installed. Please check the ReadMe >> >file's section on ""Install Device Components"" for more information." >> > Bye >> >End If >> > >> >Sub mnu_About_Click >> > MsgBox "2bp Converter", NULL, "About..." >> >End Sub >> > >> >Sub CommandButton1_Click >> > openDialog >> >End Sub >> > >> >Sub openDialog() >> > dialog.DialogTitle = "Pick a BMP to Convert" >> > dialog.InitDir = "\" >> > dialog.Filter = "JPG|*.nsb" >> > dialog.FilterIndex = 1 >> > dialog.Flags = &H1000 Or &H800 'path and file must exist >> > dialog.filename = "" 'initialize >> > 'Generate error if cancel is pressed >> > dialog.CancelError = True >> > 'On Error Resume Next >> > dialog.ShowOpen >> > 'Determine action to take after dialog is dismissed >> > If Err.Number = 0 Then >> > txtFileName = dialog.filename >> > MsgBox txtFileName '<- >> > ElseIf Err.Number = 32755 Then >> > 'The user canceled the dialog, so do nothing >> > MsgBox "Canceled" '<- >> > Else >> > MsgBox "Error in Comm on Dialog ShowOpen" & vbCrLf & vbCrLf & _ >> > Err.Number & ": " & Err.Description, vbCritical, "Common Dialog ShowOpen" >> > End If >> > KillFocus >> >End Sub >> >And when I launch I get this: >> > >> >Best Regards. >> > >> >--- In nsbasic-ce@yahoogroups.com, "michiman56" rriemersma@ wrote: >> >> >> >> You should find an example project CommonDlg.nsb in the NSBasic Samples >> >\CE folder under your Documents (My Documents) folder. It uses AddObject >> >I believe. >> >> >> >> --- In nsbasic-ce@yahoogroups.com, "Nathan" eeepc904@ wrote: >> >> > >> >> > Hello, >> >> > I'm a Visual Basic devel oper and now I'm on the mobile platform >> >using NSBasic 7.0, but I have a question: How can I show a Open Dialog, >> >because on VB I will add a CommonDialog control and do a >> >CommonDialog1.ShowOpen. On NSBasic I don't know how to include the >> >control at the form(because I can't see it on the Control Tab). >> >> > >> >> > Best Regards, >> >> > Nathan Paulino Campos >> >> > >> >> >> > >> > >> > >> > > > -- You received this message because you are subscribed to the Google Groups "nsb-ce" group. To post to this group, send email to nsb...@googlegroups.com. To unsubscribe from this group, send email to nsb-ce+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en.
Re: [nsbasic-ce] Re: How To Show a Open Dialog(Using CommonDialog Control)?
Have you included the control as a resource in your project? I'll bet it is not on your device. > > >Thanks for the help, but now I'm getting errors when the program launch. >My code is like this: >Option Explicit >ShowOKButton True > >AddObject "NSBasic.ComDlg","dialog",0,0,0,0 >If Vartype(dialog)<>9 Then > MsgBox "Common Dialog control not installed. Please check the ReadMe >file's section on ""Install Device Components"" for more information." > Bye >End If > >Sub mnu_About_Click > MsgBox "2bp Converter", NULL, "About..." >End Sub > >Sub CommandButton1_Click > openDialog >End Sub > >Sub openDialog() > dialog.DialogTitle = "Pick a BMP to Convert" > dialog.InitDir = "\" > dialog.Filter = "JPG|*.nsb" > dialog.FilterIndex = 1 > dialog.Flags = &H1000 Or &H800 'path and file must exist > dialog.filename = "" 'initialize > 'Generate error if cancel is pressed > dialog.CancelError = True > 'On Error Resume Next > dialog.ShowOpen > 'Determine action to take after dialog is dismissed > If Err.Number = 0 Then >txtFileName = dialog.filename >MsgBox txtFileName '<- > ElseIf Err.Number = 32755 Then >'The user canceled the dialog, so do nothing >MsgBox "Canceled"'<- > Else >MsgBox "Error in Common Dialog ShowOpen" & vbCrLf & vbCrLf & _ >Err.Number & ": " & Err.Description, vbCritical, "Common Dialog ShowOpen" > End If > KillFocus >End Sub >And when I launch I get this: > >Best Regards. > >--- In nsbasic-ce@yahoogroups.com, "michiman56" wrote: >> >> You should find an example project CommonDlg.nsb in the NSBasic Samples >\CE folder under your Documents (My Documents) folder. It uses AddObject >I believe. >> >> --- In nsbasic-ce@yahoogroups.com, "Nathan" eeepc904@ wrote: >> > >> > Hello, >> > I'm a Visual Basic devel oper and now I'm on the mobile platform >using NSBasic 7.0, but I have a question: How can I show a Open Dialog, >because on VB I will add a CommonDialog control and do a >CommonDialog1.ShowOpen. On NSBasic I don't know how to include the >control at the form(because I can't see it on the Control Tab). >> > >> > Best Regards, >> > Nathan Paulino Campos >> > >> > > > -- You received this message because you are subscribed to the Google Groups "nsb-ce" group. To post to this group, send email to nsb...@googlegroups.com. To unsubscribe from this group, send email to nsb-ce+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en.