Author Topic: Broken Links  (Read 2669 times)

0 Members and 1 Guest are viewing this topic.

Offline Dimster

  • Forum Resident
  • Posts: 500
    • View Profile
Broken Links
« on: November 03, 2020, 09:42:51 am »
I have a new computer. The store where I purchased it transferred all my data and programs from the old computer onto the new one. It would appear about 15 of my .exe programs are giving me a "broken links" error. I think this could be an easy fit if I simply locate the .bas file and run it again only using the "add exe to source code file" option. Before I go messing around with these broken links, am I on the right path to a solutions?

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Broken Links
« Reply #1 on: November 03, 2020, 10:00:54 am »
I have a new computer. The store where I purchased it transferred all my data and programs from the old computer onto the new one. It would appear about 15 of my .exe programs are giving me a "broken links" error. I think this could be an easy fit if I simply locate the .bas file and run it again only using the "add exe to source code file" option. Before I go messing around with these broken links, am I on the right path to a solutions?

Ya sure sounds good to me, but is there anything the 15 files have in common? Find the reason for the broken links and you are more than halfway to a solution or avoiding a waste of time if none can be found.

Wait... broken links? isn't that like missing files? still have to check source code.
« Last Edit: November 03, 2020, 10:08:51 am by bplus »

Offline Dimster

  • Forum Resident
  • Posts: 500
    • View Profile
Re: Broken Links
« Reply #2 on: November 03, 2020, 11:42:14 am »
Files missing for sure. Looks like all the exe/Application programs are in one folder and all the .bas associated with those applications are in a completely difference folder. Also, new computer has difference drive letters than those in the program coding. Sheezes - this will take a little longer than I thought. Thanks bplus.

Offline SpriggsySpriggs

  • Forum Resident
  • Posts: 1145
  • Larger than life
    • View Profile
    • GitHub
Re: Broken Links
« Reply #3 on: November 03, 2020, 11:56:36 am »
@Dimster can't you change the drive letter so it will match?
Shuwatch!

Offline Dimster

  • Forum Resident
  • Posts: 500
    • View Profile
Re: Broken Links
« Reply #4 on: November 03, 2020, 02:18:20 pm »
Hi Spriggsy - ya I can. I'm almost back together again. I was able to highlight and move a lot of the missing files, or should I say files found in another folder, back to where they should have been. Then, thanks to the Find and Replace function in the IDE it has been fairly quick work to change the drive letter designation in the programs. It's just doing it program by program that's taking the time. Would be nice if I could just highlight all the programs and do the Find and Replace thing all at once. I'm going to need to run each one to be sure I do not have more broken links or file not found issues.

I never did try that "run the bas file with the option to place the exe in the same folder" I think it would have worked for the broken links but not so much for the change in drive designation.