VSIP goodnes
I’m working on a Visual Studio package for MySQL and discovering that it is
possible to write hundreds of pages of documentation and still not be able to
answer some of the most basic questions. Microsoft does it over and over
again.
In this case I’m using managed code to create a custom editor for our
database objects (think Server Explorer). I don’t want to register a file
extension. After considerable trial and error, I got a chunk of code
working. This code called IVsUIShellOpenDocument.InitializeEditorInstance
and IVsUIShell.CreateDocumentWindow and my editor appeared. However, it
would not prompt to save when the window pane was closed. GetDocumentInfo
showed an edit lock on my document but UnlockDocument could not remove it.
I replaced this code with simpler code that called
IVsUIShellOpenDocument.OpenSpecificEditor and my documents suddenly started
prompting to save properly. I had wanted to avoid going this route because
it requires an editor factory class that I thought was unnecessary. Oh
well. Unnecessary working code is better than sleek busted
code.
about 3 years ago
numero uno
about 3 years ago
1
about 3 years ago
18
about 3 years ago
2
about 3 years ago
12
about 3 years ago
%22corel draw graphics suite 12%22 activation code
about 3 years ago
14
about 3 years ago
11-Sep
about 3 years ago
.com
about 3 years ago
nelly ctip drill
about 3 years ago
barnes & noble
about 3 years ago
christmas jokes
about 3 years ago
elizabeth berkley
about 3 years ago
grammy awards
about 3 years ago
jennifer aniston sedu hair straightener
about 3 years ago
megan
about 1 year ago
may be it;s too late, but i have to say that this post is nice
about 1 year ago
what a nice post, thanks for informing.
about 7 months ago
welcome to my blog world trying to have a blog like this but until now I can not. Maybe next time I will be able to have a blog like this