Note:
Using CoGetClassObject, to create multiple objects through a class object for which there is a CLSID in the system registry
Single threaded apartment
For instance:
hresult = CoInitializeEx(NULL, COINIT_APARTMENTTHREADED);
IClassFactory *pIClassFactory;
hresult = CoGetClassObject (clsid, CLSCTX_LOCAL_SERVER, NULL, IID_IClassF...
In VS2008 (VB.NET) when you type Public Property X As SomeType
and press enter, VS auto-generates the rest of that property definition for you.
I would like to be able to customize what VS generates.
Any thoughts on how to go about that? VS must have a template for it somewhere, eh?
Thanks.
...
Question:
Based on a CLSID, how can I find out what objects (or interfaces) it supports for IClassFactory::CreateInstance
Note:
Currently using CLSIDFromProgID to obtain CLSID
...
We use Visual Studio Professional and we are quite pleased with it. We use Tortoise SVN, Visual VSN, NUnit and resharper. A combination that works very well for us.
Now we need to run load tests.
We looked at Visual Studio Team System, but frankly the pricing seems a bit lofty (obvious understatement). We are with a team of 6 develope...
In Visual Studio 2008 I somehow dragged around my tool windows so that now
Solution Explorer
Database Explorer
Class Explorer
Properties
are all in one long vertical tool window on the side. Now matter how I move them around, undock, unhide, hide, dock them, I can't get them back to how they were.
What do I have to do so that:
Sol...
Hi,
I know there is a way to enable code completion for hibernate-mapping files.
But I can't remember how I have to do this.
Can someone help me out pls?
Kind Regards,
Sem
...
In previous versions of VS.NET or the .NET framework, you got english exception messages by default.
If you installed a 'language pack', you received exception messages in the language of that language pack.
Now, I'm working with an English VS.NET 2008 (no language packs have been installed) on a dutch Windows Vista.
When I'm developin...
Hi everyone!
My Visual Studio at work is not detecting errors on the fly... I just can see errors when I build my solution.
Does anyone know how can I configure this? Intellisense is working just fine, but this error detection on the fly isn't.
Thanks!!
...
I've got a bit of a problem. I'm moving my source repository from one machine to another, and in the process I'm doing some culling of what's stored as I've learned more about creating/managing a repository since I started.
The problem is that we're using dxperience tools from devexpress and it uses the .net license system (licenses.lic...
I have a working WinForm that handles the search functionality in my customer database. It contains the following controls:
A textBox where you type your search string (A)
A "search" button (B)
A DataGridView (C) that returns the result of the search
An "OK" button (D) and a "Cancel" button (E)
What I am trying to accieve next is thi...
I created a "Service-Based Database" (.MDF) in Visual Studio and now want to import a SQL script into it, but cannot find any way to do this:
I can right-click on the .mdf file and choose "New Query" but there is no place to copy in query text as in Management Studio
Does the Visual Studio 2008 Database Explorer have a way to enter o...
I'm aware of this thread, in which the question restricts to source control issues.
In my case, it's more general. From time to time, Visual Studio will just crash randomly, even without user input.
I usually close all my files and clean my project to avoid further crashes, and I eventually crash again, without really knowing why.
Do ...
Running visual studio 2008 sp1. When I go to run without debugging a web app, it open 2 IE browser windows? There is nothing in my code that is doing this! I cant seem to find anything on how to fix this. Has anyone run into this? Is there a fix?
...
Hi there,
I am working on porting our C++ code from eVC 4.0 to Visual Studio 2008. Our target is Windows Mobile 6.1 and we are using the Windows Mobile 6.0 SDK for our app.
Our code used stl port when compiled in eVC 4 and we would like to continue to use stl port if at all possible.
Does anyone know what steps are necessary to inc...
Our environment uses the ODP.Net oracle database driver.
So logically we are using Oracle on the backend.
We have files that include scripts of our stored procedures in TFS.
My oracle developer would like to deprecate a file to keep other oracle developers from using it in the future but also of course he would like to keep it in sourc...
I am currently setting up a CI Build Server (using CI Factory) for a .NET application that relies on a set of licensed third-party controls. Once I have this working, several other projects will also be set up to build on the same server: these may also be dependent on various third party libraries (possibly different versions of the sam...
For a personal project of mine, I'm writing up a small class to compress to and decompress from a rather obscure format. I've got the full spec, but that's not where the problem is.
First, this 'format' uses a set of 6 different compression types as well as uncompressed blocks of byte data. The formats are RLE, an offshoot of RLE wher...
I'm working with ExtJs framework and so have to code a lot of JS in vs2008, however, VS2008 keeps removing my indentation and its driving me nuts.
How do I remove the "auto-indent" feature? Thanks
...
I'm learning Entity Framework and have noticed that its Designer looks a lot like the Visual Studio Class Designer but doesn't seem to use it in any way, in fact these seem to be two approaches which solve a similar problem in different ways.
Am I missing something here or can these two tools be used together in some way?
...
I have this function that utilizes jQuery's post feature to send an ajax request to my logout handler, which destroys the session (set by asp.net) and redirects to the login page:
<script type="text/javascript">
//<![CDATA[
function doLogout() {
var conf = false;
conf = confirm("Really log out?");
if (con...