Project Trajectory "Pork-Chop Plot" Generator

tblaxland

O-F Administrator
Administrator
Addon Developer
Webmaster
Joined
Jan 1, 2008
Messages
7,320
Reaction score
25
Points
113
Location
Sydney, Australia
I do believe the status bar is not needed if it involves strange dll files.
They are not strange dll files. They are so common that your system even has them already but they are just not registered properly.
 

Piper

Orbiting Space Addict
Addon Developer
Tutorial Publisher
Donator
Joined
Apr 7, 2008
Messages
356
Reaction score
0
Points
0
Location
Ottawa, Canada
A wonderful, long needed tool. Really well done.
I have a problem with it displaying the actual image. The output.bmp is created quite viewable, but the program is displaying the default icon from my assigned bmp viewer (irfanview) instead. Screenshot attached.
Also, when exiting the program with the windows forms (X button), the process persists and has to be killed via Task Manager. Process kills itself fine when using the exit button.
This is on a fully updated Windows 7 for x64.

The program was written and tested on a computer using Windows XP. Unfortunately I don't have access to a computer that uses Windows 7, or Vista for that matter, so I don't really have any good ways of solving this particular problem as it currently works. With that said, I'll look at other ways of displaying the image that doesn't involve opening a file at all (which is what Windows 7 and Vista doesn't seem to like programs doing, I think).

The missing font by the way is Wingding 3. I thought that this was a standard font, apparently that's only true for Microsoft Office. I'll look at other ways of displaying arrows.

The "x" at the right-hand corner not working is because I forgot to write in a single line of code saying "End". I'll add it in.

As for the status bar, people said they wanted it, so I added it.
 

chad_s

New member
Joined
Mar 21, 2008
Messages
8
Reaction score
0
Points
1
It currently works fine for me in Windows 7. One thing that others running Vista or 7 can do is move the program out of the Program Files folder to avoid UAC.
 

TJohns

Addon Developer
Addon Developer
Joined
Apr 4, 2008
Messages
69
Reaction score
0
Points
6
Another font to try

The missing font by the way is Wingding 3. I thought that this was a standard font, apparently that's only true for Microsoft Office. I'll look at other ways of displaying arrows.
There are a number of arrow characters in the "standard" WingDings that are probably suitable...

WinDings.jpg
 

Urwumpe

Not funny anymore
Addon Developer
Donator
Joined
Feb 6, 2008
Messages
37,627
Reaction score
2,345
Points
203
Location
Wolfsburg
Preferred Pronouns
Sire
They are not strange dll files. They are so common that your system even has them already but they are just not registered properly.

Actually, the .ocx stuff is purely Visual Basic/Office, the files wrap the Common Control dynamic link library which you really use.

http://en.wikipedia.org/wiki/Object_Linking_and_Embedding

If you don't have it registered, for example because you don't have MS Office installed already, it will fail. But the alternative would be switching the programming language.
 

Piper

Orbiting Space Addict
Addon Developer
Tutorial Publisher
Donator
Joined
Apr 7, 2008
Messages
356
Reaction score
0
Points
0
Location
Ottawa, Canada
It currently works fine for me in Windows 7. One thing that others running Vista or 7 can do is move the program out of the Program Files folder to avoid UAC.

Can other people with Vista or Windows 7 confirm this as a fix?
 

flytandem

Tutorial Publisher
Tutorial Publisher
Joined
Oct 19, 2007
Messages
499
Reaction score
5
Points
0
Location
San Bernardino
Website
www.flytandem.com
I have Vista and version 1.0.5 is working fine.


comp.gif
 

TSPenguin

The Seeker
Joined
Jan 27, 2008
Messages
4,075
Reaction score
4
Points
63
Can other people with Vista or Windows 7 confirm this as a fix?

This does not fix my problem. I never had it in one of the program files directories and disabling UAC yielded no results.
The image file is properly written to disk, which is what the directories and UAC would be preventing.
Again, I am on a 64 bit Windows 7. I can only suspect that everyone else who reports it working is using the 32bit version. Or does not have an alternate default program assigned to BMP files.

May the :probe: be with us
 

Quick_Nick

Passed the Turing Test
Donator
Joined
Oct 20, 2007
Messages
4,088
Reaction score
204
Points
103
Location
Tucson, AZ
Just tested on Vista 64 bit. It wouldn't even allow me to extract to 'Program Files (x86)' I put it in C:\Games\TrajectoryPlanner and ran it. I got that ocx error when I clicked a button, but I can't find that file anywhere on my computer to register it. So it seems the file will need to be added to the program (as mentioned in a link a few posts ago).
 

Piper

Orbiting Space Addict
Addon Developer
Tutorial Publisher
Donator
Joined
Apr 7, 2008
Messages
356
Reaction score
0
Points
0
Location
Ottawa, Canada
I've completely changed how the imaged is loaded and displayed, so hopefully this fixes the problem for Windows 7 64-bit users. I've also changed the arrows to standard Wingdings, so hopefully everybody has that font and they will show. Lastly, I've also added an "End" command to the termination sequence for the main form, so it should probably end the program now.

Trajectory Planner (1.94 Mb)
 

Zachstar

Addon Developer
Addon Developer
Donator
Joined
May 1, 2008
Messages
654
Reaction score
0
Points
0
Location
Shreveport, Louisiana
Website
www.ibiblio.org
I've completely changed how the imaged is loaded and displayed, so hopefully this fixes the problem for Windows 7 64-bit users. I've also changed the arrows to standard Wingdings, so hopefully everybody has that font and they will show. Lastly, I've also added an "End" command to the termination sequence for the main form, so it should probably end the program now.

Trajectory Planner (1.94 Mb)

"Runtime Error 339"

MSCOMCTL.OSX again...

Sorry Piper I still am unable to run the program. Still unable to register this file.
 

TSPenguin

The Seeker
Joined
Jan 27, 2008
Messages
4,075
Reaction score
4
Points
63
Image displaying is working very fine now and the arrows are there too. :thumbup:
However, the process is not terminating. No change in the behavior at all. :(
 

Piper

Orbiting Space Addict
Addon Developer
Tutorial Publisher
Donator
Joined
Apr 7, 2008
Messages
356
Reaction score
0
Points
0
Location
Ottawa, Canada
Image displaying is working very fine now and the arrows are there too. :thumbup:
However, the process is not terminating. No change in the behavior at all. :(

Well, at least the big part is working, however I'm completely stumped about the process not terminating. If I don't hear of any other major issues in the next day or so, I'll upload the new one to Orbit Hangar.

Now wait till you see my next program ;)
 

orb

New member
News Reporter
Joined
Oct 30, 2009
Messages
14,020
Reaction score
4
Points
0
BUG: You can drag selection cross out of the frame, which causes either in elements displayed as 0, if you moved it right or above of the frame, or "Run-time error '9': Subscript out of range", if selection cross is moved left or below of the bitmap frame.

And process remains in computer's memory after quitting the application on Windows XP too. Like there is no ExitProcess or ExitThread call after closing main app window. EDIT: Not always though. This might be connected to extensive tests with dozens of calculations before quitting, or causing few runtime errors in a row, before making the process remain in a memory. Single tests terminate the process after closing the window.
 
Last edited:

Piper

Orbiting Space Addict
Addon Developer
Tutorial Publisher
Donator
Joined
Apr 7, 2008
Messages
356
Reaction score
0
Points
0
Location
Ottawa, Canada
Ok a few more fixes:

-Corrected typo (I wrote "synoptic" when it should be "synodic").
-Corrected problem with clicking near edges, or draging the cross outside of the frame.
-After what orb said about the "process continuing" problem, I'm pretty sure I've now corrected it.

Trajectory Planner (1.94 Mb)
 

TSPenguin

The Seeker
Joined
Jan 27, 2008
Messages
4,075
Reaction score
4
Points
63
Everything is working properly now for me. Thank you very much!

:cheers:
 

Piper

Orbiting Space Addict
Addon Developer
Tutorial Publisher
Donator
Joined
Apr 7, 2008
Messages
356
Reaction score
0
Points
0
Location
Ottawa, Canada
Ok, I've uploaded the new version (v1.1.1) to Orbit Hangar, it's the same as the most recent one I've put up on my site, so if you've already downloaded that one, you don't need to download the one from Orbit Hangar.

I also just realized that I'm releasing this on my birthday :p.
 
Top