Can't get rid of "Do you want to view the example graph

Found a bug? Tell us about it here

Moderator: DPlotAdmin

Post Reply
John
Posts: 12
Joined: Sun Sep 11, 2005 4:58 am
Location: Salt Lake City, Utah

Can't get rid of "Do you want to view the example graph

Post by John »

Tried looking for this as a previous issue, but couldn't find it, so here goes:

I installed DPlot as admin, but when I log in under a separate account, the message box with "Do you want to view the example graphs..." displays itself every time DPlot is launched whether I view them or just reply "no" the first time.

The problem does not occur if I am logged in as admin, but I avoid that working environment for security reasons.

Am I missing something, or is it more likely a computer-specific problem?

--John

----------
Using Dell Optiplex GX 260, Windows XP Professional SP3, Intel Pentium 4 @ 2.66 GHz, 512MB RAM.
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

John,
That MessageBox is displayed based on whether DPlot determines you are a "new user" or not. It bases that decision on whether the Init value in the [Version] section of %appdata%/dplot/dplot.ini is non-zero or not. My guess is that for whatever reason that file is not being created and/or updated (which would also mean that your most recently-used equations, most recently opened files, etc., were also not being saved). If you'll let me know what version of Windows you're running I can probably track this down.
Visualize Your Data
support@dplot.com
John
Posts: 12
Joined: Sun Sep 11, 2005 4:58 am
Location: Salt Lake City, Utah

Post by John »

As for my OS version: Windows XP Pro SP3 (not sure if you need more than that).

Dplot is creating the file, but it appears that the [Version] section is being written incorrectly so that DPlot can't recognize it. Here's the DPlot.ini relevant section:

[Registration]
UserName=xxxxxxxxxxxx
RegistrationCode=xxxxxxxxxxx
[Macros]
PrintExamples=PRINT000.MAC
RedToYellow=REDTO000.MAC
MyFonts=MYFON000.MAC
[Macro Editor]
FontFace=System
FontSize=0x0010
readsheets &[Version]
version=2.2.6
Init=1

You'll note that the [Version] section is corrupted with the "readsheets &" text that is prepended to it so that DPlot doesn't know it exists. Otherwise the section does indicate it has already been run an initial time. And it's not a DPlot version-specific problem. It's been doing the same thing for other previous versions.

The admin's ini file prints correctly with [Version] on it's own line.

If you need more than the above, just let me know.

--John
--John
Using Dell Optiplex GX 260, Windows XP Professional SP3, Intel Pentium 4 @ 2.66 GHz, 1GB RAM.
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

John,
Thanks for the detailed reply. It looks like the Macro Editor is somehow botching up the ini file. I'll fix this as soon as possible.

In the meantime you can correct the problem you're having with Notepad. Open dplot.ini, delete "readsheets &" so that [Version] is on a separate line, and save.
Visualize Your Data
support@dplot.com
John
Posts: 12
Joined: Sun Sep 11, 2005 4:58 am
Location: Salt Lake City, Utah

Post by John »

In the meantime you can correct the problem you're having with Notepad. Open dplot.ini, delete "readsheets &" so that [Version] is on a separate line, and save.
Already done. Thanks David for the quick response.

--John
--John
Using Dell Optiplex GX 260, Windows XP Professional SP3, Intel Pentium 4 @ 2.66 GHz, 1GB RAM.
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

You can possibly run into the same problem again when creating new macros. The next release will prevent the problem.
Visualize Your Data
support@dplot.com
Post Reply