[nsbasic-ce] help with fileSystem error

2010-02-25 Thread georgeewalters
Using this code

Sub CEF030_Load
AddObject filesystem
AddObject file
filename = \My Documents\pdaPickList.txt
file.Open filename,4,3,3,124 'direct, read/write, locked, reclen
End Sub

I get an AddObject error:

Could not create non-visual control (filesystem) because IClassFactory coult 
not be obtained.

I must have something setup wrong or missing on this new iPAC 211(WM 5.2). Any 
help would be appreciatied.

-- 
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.



[nsbasic-ce] Re: help with fileSystem error

2010-02-25 Thread georgeewalters

Found more info on this. I added the resource and selected run (F5) per tech 
notes and got error:

The system cannot find the file specified.

So I don't know what to do. Help!


--- In nsbasic...@yahoogroups.com, georgeewalters gwalt...@... wrote:

 Using this code
 
 Sub CEF030_Load
 AddObject filesystem
 AddObject file
 filename = \My Documents\pdaPickList.txt
 file.Open filename,4,3,3,124 'direct, read/write, locked, reclen
 End Sub
 
 I get an AddObject error:
 
 Could not create non-visual control (filesystem) because IClassFactory 
 coult not be obtained.
 
 I must have something setup wrong or missing on this new iPAC 211(WM 5.2). 
 Any help would be appreciatied.



-- 
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: More General NSB-CE Q's CreateObject()

2010-02-25 Thread George Henne
This does not seem to be a problem that affects NS Basic/CE.

Since MS had a fix back in 2001 for this I'm going to assume it's been
addressed since then.  Is that a reasonable assumption?

http://support.microsoft.com/kb/286504

Since others make references to this as a known problem though I'm still
a little nervous.  Maybe I'll have to try some testing.

Bob

--- In nsbasic...@yahoogroups.com, George Henne g...@... wrote:

 Answers inline...
 
:
 2. Current script runtime: has the CreateObject()-related memory leak
 ever been addressed?  Is it truly related to using Set X = Nothing or a
 general problem with object disposal (i.e. including object references
 going out of scope)?
 
 CreateObject is built into VBScript. We always use AddObject - we have
 not investigated CreateObject.






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.



[nsbasic-ce] Re: help with fileSystem error

2010-02-25 Thread georgeewalters

on the desktop when I run  start


--- In nsbasic...@yahoogroups.com, George Henne g...@... wrote:

 Is the message happening on the device or the desktop?
 
 
 
 Found more info on this. I added the resource and selected run (F5)
 per tech notes and got error:
 
 The system cannot find the file specified.
 
 So I don't know what to do. Help!
 
 
 --- In nsbasic...@yahoogroups.com, georgeewalters gwalters@ wrote:
 
  Using this code
  
  Sub CEF030_Load
  AddObject filesystem
  AddObject file
  filename = \My Documents\pdaPickList.txt
  file.Open filename,4,3,3,124 'direct, read/write, locked, reclen
  End Sub
  
  I get an AddObject error:
  
  Could not create non-visual control (filesystem) because
 IClassFactory coult not be obtained.
  
  I must have something setup wrong or missing on this new iPAC 211(WM
 5.2). Any help would be appreciatied.
 
 
 
 
 
 
 
 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.



[nsbasic-ce] Re: help with fileSystem error

2010-02-25 Thread georgeewalters
On the desktop IDE  project  add resource pick MSCEfile.dll the default Dir 
that showed up was WM. I highlighted it and clicked OPEN button and the screen 
went away. I then did run  start (F5) on the IDE and got that message.

Im dead in the water untill I/we figure this out. If this is not the correct 
way please clue me in.

Thanks

--- In nsbasic...@yahoogroups.com, George Henne g...@... wrote:

 Did you change anything else?
 
 How did you add the file to the resources?
 
 What pathname shows up there?
 
 
 
 
 on the desktop when I run  start
 
 
 --- In nsbasic...@yahoogroups.com, George Henne gh@ wrote:
 
  Is the message happening on the device or the desktop?
  
  
  
  Found more info on this. I added the resource and selected run (F5)
  per tech notes and got error:
  
  The system cannot find the file specified.
  
  So I don't know what to do. Help!
  
  
  --- In nsbasic...@yahoogroups.com, georgeewalters gwalters@ wrote:
  
   Using this code
   
   Sub CEF030_Load
   AddObject filesystem
   AddObject file
   filename = \My Documents\pdaPickList.txt
   file.Open filename,4,3,3,124 'direct, read/write, locked, reclen
   End Sub
   
   I get an AddObject error:
   
   Could not create non-visual control (filesystem) because
  IClassFactory coult not be obtained.
   
   I must have something setup wrong or missing on this new iPAC 211(WM
  5.2). Any help would be appreciatied.
  
  
  
  
  
  
  
  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.