microsoft

Is there a clean way to prevent windows.h from creating a near & far macro?

Deep down in WinDef.h there's this relic from the segmented memory era: #define far #define near This obviously causes problems if you attempt to use near or near as variable names. Any clean workarounds? Other then renaming my variables? ...

Exporting tab-delimited files in SSRS 2005

In this MSDN article, MS explains how to specify other delimiters besides commas for csv-type exports from SSRS 2005: http://msdn.microsoft.com/en-us/library/ms155365%28SQL.90%29.aspx ...however, literal tab characters are stripped by the config file parser, and it doesn't appear that MS has provided a workaround. This entry on Micros...

How does the .doc format work?

I recently learned about the basic structure of the .docx file (it's a specially structured zip archive). However, docx is not formated like a doc. How does a doc file work? What is the file format, structure, etc? ...

Use custom objects as the source for Microsoft Reports (.rdlc)

In some instances, I prefer working with custom objects instead of strongly typed datasets and data rows. However, it seems like Microsoft Reporting (included with VS2005) requires strongly typed datasets. Is there a way to use my custom objects to design and populate reports? ...

Future of the Component Object Model?

Folks, Please has anyone heard anything about Microsoft [not] supporting COM on future version of Windows? I imagine that Microsofts engineers are stuck with it (even if they would prefer to only develop and support the .NET framework) simply because of the enourmous backlash from there huge customer vase. There must be literally bill...

What's the difference between JavaScript and JScript?

I have always wondered what the heck is the difference between JScript and JavaScript. ...

Is MEF about UI? If not, why are all examples about GUI composition?

The MEF team keep saying it is about plug-in model. So, are we talking about UI plugins? How can we use this stuff in non-UI code? I downloaded the code and the examples are all about GUI. Am I guessing it wrong? ...

Advice for someone who wants to start in Business Intelligence?

What advice would you have for someone who wants to start in the BI (Business Intelligence) domain? I where and what I should start with: Books, Blogs, WebCasts... What I should pay attention to and what I should stay away from. Are the Microsoft technologies worth while ? ...

How do I rename an entire project in VC++ 2005

I've got a really large project I made for myself and rece3ntly a client asked for their own version of it with some modifications. The project name was rather silly and my client wants the source so I figured it'd be best if I renamed all my files from sillyname.h sillyname.cpp sillyname.dsp etc.. Unfortunatly after I added everythi...

Where do you check to if a hotfix from Microsoft have been applied to any service packs?

I have a interest in a reported bug which Microsoft have made available a hotfix for. When looking on the site, I'm not able to figure out if this fix is included in a service pack or not. Do anyone know where I can find this out? ...

Why is the fact that Microsoft decided to support jQuery such a big deal ?

I don't see what all this fuss is about Microsoft's decision to support JQuery within ASP.NET MVC. There were signs that open-minded people are starting to have some say in the matters of marketing for a while now. And even the way MS does business has started to change. But at it's core it's still acting in response to customers' reque...

Which is correct? catch (_com_error e) or catch (_com_error& e)?

Which one should I use? catch (_com_error e) or catch (_com_error& e) ...

How can I read MS Office files in a server without installing MS Office and without using Interop Library?

Interop library are slow, and need MS Office installed. Many times you don't want to install office on servers. I'd like to use Apache POI, but I'm on .NET. I need only to extract the text portion of the files, not creating nor "storing information" in office files. I need to tell you that I've got a very large document library, and ...

Using Microsoft SMS Sender to send out smses in batch?

I understand that we can use SMS Sender in command line mode. But i been getting this error same as this article http://www.oreillynet.com/pub/a/wireless/2003/10/10/sms.html The smssender.exe will use the last device that was successfully used to send messages in the Windows version of SMS Sender. But I tried it many times, and smssende...

Do you think Microsoft will port the .NET Framework to O.S.'s other than Windows?

I mean Microsoft by his will. ...

iCalendar Format (Outlook 2007)

I've got a little problem, I need to be able to have a reoccurring event (forever) that marks the day after the second Tuesday of each month. Your probably thinking, why not just Wednesday of each month. October 2008 is an example, it starts on a Wednesday. :( Really I just need it in Outlook, probably (but not limited to) some iCalend...

Creating Project Fails in Visual Studio 2005 and VS2008

Every time I try to create a new project or solution in visual studio (2005 and 2008), I get an error saying, "Project Creation failed." I even tried running vs in administrative mode, but I still get the same answer. Anyone have any suggestions, in short of uninstalling all of VS and reinstalling it? ...

Apache POI HWPF - Output a table to Microsoft Word

I've been Googling for quite awhile and haven't found a definitive answer. Is it possible to output a table using Apache POI? It looks like it hasn't been implemented, since the main developer stopped working on it like 5 years ago. Is there an open source alternative to POI that can do this? ...

Can I change the Visual Studio text editor's cursor?

The tiny text entry cursor in the Visual Studio 2005's editor is driving me nuts. I'd ideally like to be able to highlight (say in yellow) the entire line that I'm currently on, but I'll settle for just making the cursor bigger and/or a different colour. Any help gratefully received! ...

linker out of memory LNK1102

My colleagues and I have tried to build a project containing several thousand classes , but we're getting a LNK1102 error ( Linker out of memory ) . I've seen several tips on the internet , such as increasing the virtual memory . We tried but this didn't help . We've also seen some as enabling different warning levels when compiling the ...