I need the same document to be printed twice, but with one single different word when the user does one click. I have tried everything i could come up with but i can't find a way to do it. Any recommendations?
...
In my old job I used to use the navigation bar in visual studio 2008 to select a control and then the event from the members drop-down to automatically create the event in the code for me to implement. Now at my new job, in my visual studio 2008 I no longer see page controls in the navigation bar. I only see the page class and associat...
I recently started working in VS2010 and noticed right away that the font I use, Consolas, doesn't pop like it does in VS2008. First I thought my settings didn't get imported, but I checked and Consolas was the default text!
It's a really minor detail, the sort of stuff that Mac users are known for, but on the left is the slightly blurr...
I am using VC 2008.
I call into an MFC regular DLL from a console app in C++. I want to show a top-level window (a form I created that is an IDD_FORMVIEW)
Right now I have no window showing. I am not sure what is wrong.
What do I have to do (starting from scratch) to create a main window in an MFC DLL? This is a regular DLL and ...
I have solution A which defines public class Foo, and solution B which references A and uses Foo. I rename Foo to Bar in A and use the "Update References" feature, but that only updates the references in the current solution. How do I go about updating them in solution B as well (automatically)?
(note that search&replace isn't an option...
Hi,
I'm trying to get a one-time costly target to run only when building a certain top-level project (that has many dependencies).
I have no problem on getting this working from plain msbuild / command line build.
I do this with setting and InitialTargets on the project, or alternatively with
< BeforeBuild />.
The tricky part is ...
I want to use "_test_and_set lock" assembly language implementation with atomic swap assembly instruction in my C/C++ program.
class LockImpl
{
public:
static void lockResource(DWORD resourceLock )
{
__asm
{
InUseLoop: mov eax, 0;0=In Use
xchg eax, resourceLock
cmp ea...
Event Viewer:
Activation context generation failed
for
"C:\OpenCV2.0\VS2008\bin\Release\convert_cascade.exe".
Dependent Assembly
Microsoft.VC90.OpenMP,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.30729.1"
could not be found. Please use
sxstrace.exe for detailed diagnosis.
My C:...
I have a Windows Mobile application that was written in Visual Studio 2005 and uses the .NET 2.0 compact framework. This application, when installed on windows Mobile 5 or 6 devices looks the same. However, since I have upgraded to Visual Studio 2008, the application looks fine on Windows Mobile 5 devices, but on 6 devices the interfac...
I've installed a complete SharePoint Server (MOSS) 2007 on my dev box + the latest Visual Studio (SP1) + the latest full Windows SDK. According to the Windows Workflow Foundation page http://msdn.microsoft.com/en-us/netframework/dd980558.aspx, that is all I should need to do to be able program against the .NET Workflow APIs.
And yet, a...
I created an SDI MFC app without the doc/view support. The MFC template gives me an app with a blank window (And a menu, etc)
I want to show my CFormView object on that main window. (Based on a dlg made in the gui editor)
How do I do that? CreateWindow and showwindow don't seem to be all that is needed. All the web pages I find see...
In visual studio 2008 when open the design for a VB.Net windows form, i am getting the error " '.ctor' is not a valid identifier". I can see the form designer if I press the "Ignore and Continue" link.
All other forms are loading fine.
The callstack with the error message:
at Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom....
hi,
how to replace a hypen (-) with a slash (\) in javascript?
for example, i need to replace
C-MyDocuments-VisualStudio2008-MyProjects
with
C\MyDocuments\VisualStudio2008\MyProjects
i tried replace function such as variable.replace("-","\") but it showed me error of unterminated string constant
i am working in VS 2008
...
hi,
i am passing a path as an argument in a javascript.
for example i am passing a path as c:\my documents\user\aa.jpg when registering javascript in client side.
but when calling this in a function say, function js(d) then the slash goes missing..hence the value of 'd' becomes c:mydocumentsuseraa.jpg
what to do?
thanks
...
I can not create ADO.NET Entity data model. The following error occurs:
An error occured Loading the entity
data model tool package. Failed to
load entity data model tools package.
The result is -2147024891.
I don't know why this happened.But i noticed this problem occurred after installing the asp.net ajax control tool kit b...
I am using VC 2008 express, and tried to compile my own PHP extension with that. Any idea about the following error?
------ Rebuild All started: Project: xsplit, Configuration: Debug Win32 ------
Deleting intermediate and output files for project 'xsplit', configuration 'Debug|Win32'
Compiling...
xsplit.cpp
c:\x\php-5.3.1\zend\zend_exec...
Hi all,
I am looking for a contol either listbox or listview to support my requirements.
Basically how my application looks is:
The background should be black
when the user clicks any 'row' the
row should get highlighted witgh
grey.
The user will have the ability to
search items in this control.
For example , if one of the row
...
I find myself in the annoying situation where the visual studio debugger does not cleanly release itself once the debugging session is finished. Hence, devenv.exe retains a lock on the executable file and I cannot rebuild the project due to the dreaded error:
Error 1 Unable to copy file "obj\Debug\program.exe" to "bin\Debug\program.ex...
Is it possible to create ADO.NET Entity data model with oracle in VS 2008? If not what should i use?
...
I have a dialog box based application (MFC - VS 2008). I have a list control on it. I pop up other dialog boxes, but I also want to be able to get back to the parent app dialog. I can get back to the parent app dilaog box, but the problem is that even if I click on it with the mouse it remains hidden behind the "child" windows.
I wan...