› ›
Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

jimvaughan

About

Username
jimvaughan
Joined
Visits
420
Last Active
Roles
Member

Comments

  • I copy all the files in the directory, I have checked and they are byte identical. The new location has never existed.
  • Hmm, this what I'm doing. Detach existing volume. Use osread and oswrite to copy rev files from that volume to a new location. I then attempt to attach those files at the new location. Is that a different volume name?
  • Thanks Barry.
  • I guess I need to report this as a bug. How do I do that nowadays?
  • I am using 10.2.4
  • Thanks Barry, yes they show up under that menu.
  • >> are your tables a member of the W_TACTIC database<< The database ID is W_TACTIC, how would I tell if the tables are members of this database. They are attached when I open OI.
  • I just recompiled the code that copies the files. I added a debug, changed my mind and deleted the debug. Now like magic it's working I have no idea what I did to fix it. Edit: It didn't fix it. It's now not detaching the original tables. So jus…
  • I can attach the files in the original location but not the copied ones. Bizzare maybe it's the location in the Windows %Temp% directory. Let me experiment.
  • Following also does not work Subroutine Test_Jim(Null) Gosub Get_Table_Names Call Detach_Table(Table_Names) Dir_Name = "C:\Users\jimva\AppData\Local\Temp\TACTIC_BUFFER\1" Num_Tables = FieldCount(Table_Names, @FM) For x = 1 To Num_Tables Call A…
  • I tried: Call Attach_Table(Dir_Name, Table_Names, "W_TACTIC", "") It still didn't work.
  • Get_Status() returned 1.
  • 10.2.4
  • I will see what happens if I do the tables individually. And with a null parameter. Thanks for the suggestions, it helps a lot.
  • Btw this code that doesn't work in OI10 works fine in OI9.4
  • I agree they should be the exact same thing, but one works and the other does not. One is all RBasic, the other all in database manager.
  • I can remove the old volume and add the new one via database manager.
  • Not using UD. The files are originaly attached in c:\oi10\data\base\ and show up in the tool panel database as tables. All the following is done in RBasic. I then deatch the files. They no longer show up in tool panel database. Copy them to a new…
  • I figured it all out, yes you need to compile any migrated dll prototype records. However OI 10 has a bunch already setup, including one for GDI and it includes CreateCompatibleBitmap. However it is aliased so I need to modify my code to use msWin_…
  • Thanks that is helpful.
  • No it is not. Does anyone know if the migration process copies all dll prototype records and does the Declare_Fcns? Or do have to manualy do this? I do it mnually if need be, I just want to ensure I am not missing anything.
  • I spelt the fn call above wrong i's correct in my code, but doesn't work.
  • Hmm, this one is actually part of the WinAPI.
  • OK let me give that a try, thank you.
    in Struct Comment by jimvaughan April 22
  • Custom. Ones I have created. Does OI 9.4 have some out of the box ones which do not excist in 10?
    in Struct Comment by jimvaughan April 22
  • Don, Yes I figured it out, you need to be in the app you are trying to migrate.
  • Incredible. Let me experiment. Thanks for the help.
    in Excel Comment by jimvaughan October 2025
  • Thank you, Don and Barry. I think i can do what I want with Barry's code. We already have code that reads from a csv file, this will allow me to reuse that code (it has all kinds of error checking bulit in) by simply writing the Excel data to i…
    in Excel Comment by jimvaughan October 2025
  • Thanks Don, the request came from a co-worker (Andy), let me talk to him.
    in Excel Comment by jimvaughan October 2025
  • Thanks for the help, that did the trick.