microsoft

How to publish an application in Visual Studio?

I'm working on a small console application in Visual Studio C++ 2008 and would like to make an installer that I can distribute to a few friends to test the application. I recall a publish option being under the build menu, but it is not there now. Could I somehow have turned this feature off? Is there a simple way to publish such that...

WPF Combobox bug when form allowtransparency=true

I have found the following in WPF: I have a form with AllowTransparency=true. Inside the form I put a Combobox. I add some items to the combobox. I run this application and click on the combobox. At first it does not seem to appear at all. On closer inspection (after adding more items) I see that it is actually appearing behind the for...

How come the message "Table is marked for deletion" keeps appearing?

Using SQL Server 2008 and I'm doing some schema construction in the Management Studio designer. I created a table early in the process called "Animal", but then decided to delete shortly after. I deleted it via the tree view in Management Studio (right-click delete). Now I'm late in the process, I would like to recreate the table "Anim...

Make 16-bit code work in WinXP or Vista (or alternately how to find Win98 retail licenses?)

We have thousands of DOS programs that were all written in the 80s using 16-bit C, comprising over 1,000,000 lines of code. Many of these programs utilize libraries that directly access the screen, drive, etc. (and we don't have the sources for these libraries). Whenever we try to run them in Win2000 or above, even in compatibility mod...

Unable to debug ASP .NET 1.0 Application

When I try to debug a web site in .NET 1.0, I get the following error "Error while trying to run project: Unable to start debugging on the web server. Could not read key from registry" I was not able to find any documentation on this particular error for not not being able to read the key from registry. I did look at Microsoft KB For T...

How do I get input from an XBox 360 controller?

I'm writing a program that needs to take input from an XBox 360 controller. The input will then be sent wirelessly to an RC Helicopter that I am building. So far, I've learned that this can be done using either the XInput library from DirectX, or the Input framework in XNA. I'm wondering if there are any other options available. The ...

Developer events in 2010

I am hoping to attend some sort of developer events, preferably Microsoft technologies, in Southern California in late 2010, but have been unable to find any information for anything that far in advance. The reason I am thinking about it this far in advance is that I would like to see if I can get my company to pay the attendance costs,...

Are there any good resources for microsoft multipoint sdk development?

hi guys, i just manage to get myself in a tight spot, it seems our company is playing with the idea of developing a microsoft multipoint app, and the funny thing is that we're not really much of a .net developer, as we're mostly just LAMP guys with Perl. and to top it off, i need to provide some estimate to my boss about how long develo...

How to search for one value in any column of any table inside one MS-SQL database?

Is there a way to search for one value (in my case it is a UID of the type char(64)) inside any column of any table inside one MS-SQL database? I'm sitting in front of a huge database without any idea how the tables had to be linked together. To find that out I'd like to list all tables and there columns that contain a certain value in ...

How do I get an error report from a "Please tell Microsoft about this problem." dialog?

A program I wrote crashes on startup. (Win XP). A dialog "Please tell Microsoft about this problem." appears. I want to be told about the problem since it's my app. Thing is, clicking through (clicking link: 'View the contents of the error report'), the "Error Report Contents" dialog doesn't let my customers copy its contents to the cl...

Could managed code (specifically .NET) ever become 'unmanaged'?

Recently I was talking with a friend of mine who had started a C++ class a couple months ago (his first exposure to programming). We got onto the topic of C# and .NET generally, and he made the point to me that he felt it was 'doomed' for all of the commonly-cited issues (low speed, breakable bytecode, etc). I agreed with him on all thos...

Value of MCITP: Database developer/administrator

I'm targeting these two certificates. But I don't really know that how they affect my CV, and, of course, my salary. Are they truly valuable? Do they make differences in your work and your position before and after you get it? ...

Unexposing a snapshot in XP (Volume Shadow Copy)

Microsoft provides a way of mounting a read-only snapshot as a volume using their vshadow program. However, it does not provide a way to unmount the snapshot (I wonder what would happen if I deleted the snapshot?). Going through the documentation on MSDN I found UnexposeSnapshot Method, and added the ability to use it in the vshadow. How...

Pics Rule File vs MS Office Outlook Profile Settings

I have file that sets up MS Outlook accounts on computers that is normally a MS Office Profile Settings file but on some computers it shows up as a Pics Rules File with a different icon. The setting can not be changed back to the MS Office type of file. I know that there is some file that is different but so far I cannot find what the ...

Conversion between managed and unmanaged types in C++?

When I use a GUI in C++ the text fields are stored as managed strings, i think. I need a way to convert them to standard ints, floats and strings. Any help? ...

why does SGEN.EXE require write access to referenced assemblies?

i have a project that links with ICSharpCode.SharpZipLib.dll (the dll itself doesn't matter). one of the project outputs is a serialization assembly. this output is generated by sgen.exe, a microsoft tool. all of this works as expected until i check in the SharpZipLib to my source code repository, which makes it read-only. i'm not bu...

Is a Microsoft Office license required to view Excel files?

We currently generate reports in MS Excel format. Our client just called to ask if we could generate those reports in OpenOffice format instead. Their reason is that their entire office is being purged of Microsoft Office, as their license has expired, and they are no longer willing to renew their license. As a consequence, they want ...

Different ways of creating Outlook AddIns

When creating an VSTO Outlook AddIn there are some restrictions which are a bit annoying. For example if you start Outlook due to a click on a mail link, no addins are loaded due to security reasons. Is there a way to override this behaviour? Maybe an alternate way of creating an Addin without using VSTO? If I remember correct there are...

MS Extensions To STL

Hi all, If this is a "Google Is Your Friend" question, I apologize in advance. I've searched but perhaps I've been using the wrong terms for searching. Can anyone point me to any sort of introductory document on the STL extensions which MS provided with Visual Studio 2003? I believe the libraries were licensed from Dinkumware and I'v...

Open Source SPML to LDAP Gateways

I recently ran across Project Keychain and wanted to know if there are any other SPML to LDAP gateways that are open source. Implementation language does not matter. ...