OS Win 10
Calibre's latest version, as it was very recently downloaded and installed.
Can someone please advise as to how to reopen the Live View Panel?
I had been editing an ePUB file's text, and also adding images. It was an easy process to add images; i.e., by clicking the desired position in the Live View Panel, and then importing a image.
Unfortunately, I do believe that I probably inadvertantly clicked on something or another, which caused the disappearance of the Live View Panel. All the other panels on the editing screen were still visible.
A search of the edit screen for a feature enabling me to view display panel agin was unsuccessful.
I tried clicking other HTML files in the Text panel, hoping it would cause the Live View Panel appear, to no avail.
I closed the entire program, and reopened it several times, with the same results.
I loaded different ePub files, and each time I went into edit mode, the Live View Panel was missing. And, all along, I did try the previously mentioned measures.
I even uninstalled Calibre and reinstalled it, twice! And, I made sure that its installation folders had been deleted upon each uninstallation. But, somehow, upon reinstallation startup, Calibre knew the very "special" folder (i.e., which I had designated in an earlier installation) into which to setup its User-related files and its library. [I thought it was probably due to system registry setting.]
Finally, I again uninstalled Calibre. However, this time, before doing a reinstallation, I restored Windows settings. I used a (restore) point that I had created prior to Calibre's first installation. I had hoped that any Registry settings related to Calibre would surely not survive. Nevertheless, upon a subsequent Calibre reinstallation, the program simply failed to display the "Live View Panel." (Go figure!)
I would certaintly appreciate any feedback.
Related
I have a setup created that installs an application, and still does, but it started giving a strange warning at the end out of the blue. So, when the installation process finishes, the following appears:
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2810.
So I checked 2810, and it says:
On the dialog [2] the next control pointers do not form a cycle. There is a pointer from both [3] and [5] to [4].
I was not changing anything in the "User interface" or "Custom actions" so this came unexpected. Also the installation completes if you just click ok and everything works fine, it just doesn't look good from a user perspective. Any help or similar issues encountered?
Control_Next: This is probably just the tab-order for the controls on the dialog. See the Control_Next column of the Control Table. You need to find a way to visit each control of the dialog in sequence and sort out so there are no loops or double links.
TAB Order: In the dialog in question (launch the setup and get yourself to the FinishedForm dialog), try hitting TAB repeatedly to see what happens. It might work, but you might see the control order being messed up so TAB unexpectedly moves around the dialog haphazardly going in "reverse" selecting a control already visited or similar.
Fix: Fixing this depends on what tool you are using. You can "test fix" directly in the final MSI using ORCA or a similar tool to edit the Control Table directly (just open the MSI and do it). The real, lasting fix will be in the sources used to compile the setup. WiX, Installshield, Advanced Installer, Visual Studio Installer, or whatever tool you are using. Exact fix depends on tool. A screen shot of the Control Table content could give us the clue we need.
(combining comments into an actual solution)
If you're using the common script EnableLaunchApplication.js within a Visual Studio Installer project, then the 2810 error code is most likely caused by a single line within that script, along with a recent Visual Studio update.
The fix, as mentioned by user Olaf:
in the EnableLaunchApplication.js I changed the line INSERT INTO 'Control' ... and replaced the value 'CloseButton' with 'Line1'. – Olaf Jan 9 at 14:16
With the entire corrected script linked by user Shangwu:
Here is the latest JavaScript without causing error 2810. stackoverflow.com/a/59888956/6079057 – Shangwu Jan 24 at 0:49
The underlying reason can be found in answers by Adam cosby and Stein Åsmul.
I actually had the same problem and my Control Table was over populated just as you mentioned above. I beleive it was related or at least co-incided with the Visual Studio update from 16.3 to 16.4.2. For me I used the Visual Studio Installer too and on the older version of VS it compiles fine but the same commit number on a different machine with the new version it causes the same issue and the Control Table has a lot more Control_Next entries populated. Still not sure how to fix yet though in the source.
Edit:
Ok I discovered the problem. The issue with it now populating more of the Control_Next I can only put down to a the update. However, the automatic entries put in by Visual Studio would have been fine but I realised we had the MSI launch the exe after install using this: Visual Studio Installer > How To Launch App at End of Installer technique.
That meant I was injecting and modifying the Control_Next and thus caused the loop of Control_Next to be non circular. It is worth noting that the Control_Next is basically the tab order of the MSI screen and it must always be closed (imagine the tab without anywhere to go).. Anyway, it was ultimately caused by us modifying on the post build process the Control_Next to add in the checkbox. After working out the last entry on a build without our code running i just modified the original last entry and then slotted in out one there. Now it works fine.
Hope this helps
I've just pulled a piece of code from the company git repo, and when I ran it for the first time, the layout of the components were awkward. I though the software was not working properly, then realized that the source code shows the window with that initial layout. This is a windows forms application written with C#, and my development machine is Windows 7
I've manually changed the layout through moving stuff around, and killed the debugging session. Now when I start the debugging/execution again, the window appears with the layout I've configured. I did not install this program or anything, but windows remembers the layout for this window, and I can't describe or demonstrate the initial layout to other members of the team. Cleaning the solution, rebuilding etc did not help. I can delete the local repo and do everything from scratch, but this is not a solution, just an annoying walkaround.
where is this information kept, and how do I reset it?
Ps: Searching for the solution through Google is another nightmare, since I can't think of keywords other than "windows layout history " etc...
It is not uncommon to write custom code to persist the layout of windows (position, size) and controls like splitpanels (or grid column size). This is usually done to present the last know layout to the end user. Windows doesn't offer a pre-built solution to this task because unintended consequences could arise (think about changing screen resolution and then restore a window to a now, out of screen position).
I am sure that it is your application that write/persist somewhere the information needed to restore its last 'layout'
I want .js, .css, .html, etc. files to be associated with Sublime Text 2. I tried to associate the file type with the Sublime Text program, but the Open With dialog wont let me select sublime_text.exe. When I browse to the sublime_text.exe and click Open, (under Program Files, not Program Files x86; I have ST 64bit version installed) nothing happens; the browse window closes and I'm back to the stupid Open With dialog, but sublime_text.exe isn't selected and within the list available programs, and the OK button is disabled because I have nothing selected.
I'm sure there's someone out there that's more familiar with how Windows works internally and would be able to shed some light on what could be going wrong.
This all started when I installed Sublime Text 2 official release. At the time, I had Sublime Text 2 32bit beta installed, when I installed the official release, I decided to go with 64bit. After I installed the new version, I had two versions on my computer, a 32bit version and 64bit version. All my file associations were using the 32bit version, so after I uninstalled the old 32bit version (using Revo Uninstaller), all my file associations broke, and I haven't been able to fix this sense then.
Any help on this is greatly appreciated.
Maybe this will help http://www.sublimetext.com/forum/viewtopic.php?f=2&t=1652&start=10#p7646
In case the link will die, here is content
This actually isn't a problem with Sublime text, it's a generic quirk
introduced in Vista and left lingering in W7. I actually recently made
a blog post about this very issue, you can find it at
http://anders.tonfeldt.se/?p=775 but I'll detail it here since it's
generally considered bad form to drop an url and leave.
Open regedit.
Navigate to HKEY_CLASSES_ROOT\Applications\sublime_text.exe\shell\open\command
Verify that the path is accurate, correct it if it is not. Exit regedit.
Open task manager via ctrl+alt+del, kill explorer.exe, go to run and type explorer.exe (or skip this step and simply reboot).
Now attempt the same thing, right click a text file, open with, navigate to sublime, and it should now appear in the list of available
applications.
Disclaimer; My post above uses another application as an example and
it's not guaranteed to fix your problem, but it's likely to be the
same as I've encountered it countless times when installing /
uninstalling / reinstalling an application, or just updating one, in
Win7/Vista.
TFeldt
I'm using the VB6 development environment, and when I started it up this morning, the project displayed as usual, but the immediate box also appeared (even though the program was not running).
However, the box down the left-hand edge where one selects the controls to add to a form has also disappeared. Does anyone know what that box is officially called, so I can find it in the help text, or point me to the place to get it back again?
Edit: I restarted the VB6 environment again and now the properties panel at lower right has vanished.
As Alex K said, View, Toolbox for the control window, Properties/F4 for the properties window, etc.
If they keep disappearing randomly, it could indicate a corrupt value or even worse, general memory/disk corruption.
The values themselves are stored as a large BLOB under HKEY_CURRENT_USER\Software\Microsoft\Visual Basic\6.0\ in the UI and possibly the DockSDI values. You could try deleting these and see if it happens again.
There should also be an icon in your toolbar for displaying the toolbox.
I still have to use the VB6 IDE.
Unfortunately every time I start the IDE one of the buttons of the toolbar disappears. Almost always it's the Run button which goes first. Sometimes also items from the menu bar or the context menus are missing.
I have to reset the toolbars almost every time I start the IDE (Which is quite often during a typical work day). Recently I bought an IDE plugin which modifies the menu bar and requires a restart after every reset of the menu bar. (Otherwise it would crash)
I could live with just the resetting, but the restart is really annoying.
Is there something I can do?
To solve this problem:
Unload all add-ins.
Right-click on a toolbar and select the Customize... menu.
For each toolbar click the Reset... button (6 times in total).
Reload the add-ins.
For me action 3 was enough.
cf. MZTools faq (thanks to Andrea Bonafini), but these steps are originally from MSDN
It sounds like you recently bought a bad add-in. Can you get your money back? Every time I've had problems with disappearing controls in the IDE it has been due to a bad add-in. You can find out which one it is by disabling them, one by one, each time using the IDE for a while, then re-enable it and disable the next one, until the problem stops.
I still use one problematic add-in. It exhibits behavior similar to yours in that it makes the run button disappear. I avoid the problem by only loading the add-in when I need it, use it (it formats code), then I immediately unload it. If you don't use the functionality of the add-in that often, this could be an acceptable workaround.
Yea, i have this same problem with one of the add-in. But if you reset it. Shut the IDE down and open it back up again without doing anything, the IDE shouuld be able to retain the previous clean setup.
It's just guest, but:
Each graphical element on IDE (like button) is kind of resource (i.e. GDI handle).
Maybe your VB app doesn't manage these resources good enough and after sometime VB IDE cannot redraw elements like buttons (run is used often).
Also, maybe some IDE add-in is in conflict with some other add-in/application and breaks something -- I have this problem with Clip-X and MZ-Tools.
I had a similar problem when I was setting up the IDE to use for the first time, though it may not be helpful if you've been using the same IDE for a while. When I first started using the IDE, I would modify the toolbars and then close the IDE. When prompted if I wanted to save the open file I always said No, since the file was just a dummy file I was using to open the IDE with. Turns out the IDE was saving the toolbar preferences with that file, so they never got saved.
Try opening a file, customizing the UI, saving the file, then closing without modifying the code. This was the solution for me.
I've tracked down the problem and as suggested it was an add-in.
The problem went away as soon as I disabled the Visual Basic 6 Resource Editor.
How to restore your VB6 IDE without reinstalling:
Run Regedit
Find the entry for Visual Basic 6.0
Export your settings in case things
go wrong
Delete the 'UI' setting
Run VB and you will have your popup
menus back
The 'Find' button disappeared from my VB6 toolbar forcing me to select the Edit menu to use Find. I had two add-ins enabled: vbCodePrint and ResourceEditor; so I did away with both of them, turned VB6 off and back on, then put both add-ins back in and my button returned.
If you're still using the VB6 IDE, and I do amongst others, then this problem is not likely to have gone away. I use VB6 in Windows 10, and the problem is still there. But it doesn't affect me anymore.
I have had this problem a few years into using VB5 and VB6. Today, if I start VB6 directly, it may work fine the first time, but buttons will go missing the second time -- ALWAYS.
My solution, which I developed from day one:
Do whatever needs to be done to restore all your buttons. Save the Visual Basic 6.0 registry settings to a file, as suggested previously, and only keep the UI entry. Sometimes, you have to exit VB6 for it to post changes to the registry. So if this doesn't work the first time, try exiting before saving the settings.
I use my own program to launch VB6, which automatically copies my VB6 registry backup back into the registry -- by calling "RegEdit.exe /S D:\VB\IDE_Fix.reg" -- before I launch the IDE . This works every single time, and requires no action on my part.
If you read this, that means you are a programmer. You can make this work by yourself.
Mike
Reinstall,clean registry and update with SPacks etc....