I've been developing a small in house application in C++ to access data from a vendor through a windows only API. I've developed this application in visual studio 2008 on windows XP (actually in a windows XP VM but whatever) and in testing on this system it runs fine.
Now I'm deploying to a windows server 2008 standard system, and if I r...
In MVC 1 in VS2008, you could right click the Default.aspx page and set as default page, then hit debug and land on the home view (even though Default.aspx was something else). In MVC2, Default.aspx isn't there, so how do you set the default document to be the home index default view?
I know it is set this way by default, but if you ar...
Code
#include <OOLua/oolua.h>
class foo
{
public:
int bar();
};
OOLUA_CLASS_NO_BASES(foo)//class has no bases
OOLUA_NO_TYPEDEFS
OOLUA_MEM_FUNC_0(int,bar)
OOLUA_CLASS_END
void test()
{
OOLUA::Script s;
s.register_class<foo>();
}
Compiler output
1>main.obj : error LNK2001: unresolved external symbol "public: static...
Hi
I have a Web Application Project and a Web Setup Project in my Solution.
When I run the MSI created by the Web Setup Project it only gives me the option to use an already existing website in the IIS on the local machine.
How can I get the installer to give me the option to create a new website in IIS?
Thanks
...
I have written a class for managing GPU memory buffers.
I've got one method for building a buffer initialized with a chunk of CPU memory (if pData is null, then allocated block of GPU memory is not initialized, remaining with indeterminate values) and an overload for building it initialized with the same byte value:
IBuffer* CreateBuff...
I have a game playing engine written in C++. I have my own "development" GUI. The program is for sale in Japan and I have a Japanese publisher that has written an commercial GUI to join up with my game playing engine. We have had this arrangement for many years. Both my engine and his GUI are large, complex and undergo regular changes be...
I'm trying to set up a .NET 3.5 web service project in Visual Studio. My goal is to include a namespace in this web service that I can expose to web applications that references this web service.
As you can see below, I have added the namespace "MyWebservices", but I am not able to find it after referencing the web service.
Service1.a...
How can breakpoints be enabled or disabled at runtime? I'm writing a test workbench application that can run other .net code for the purposes of debugging plugins. The workbench app itself is not debuggable (DebuggableNonUserCodeAttribute) but the user code that it calls should be. But then, under certain circumstances at runtime, the...
Hi,
I have a table named "data_buckets" and a column in that table named "data_bucket".
When I buid the activerecord.cs, subsonic created a class name "data_bucket" (extending IActiveRecord) for the table and obviously a conflict will arise when you try to access the field "data_bucket". Is it a known issue? Is there any workaround with...
When I try to select the following "File > Open > Web Site" or use the shortcut key "Shift + Alt + O" (which does the same), Visual Studio 2008 hangs with the loading mouse icon for about 8-10 seconds then the file.
But if I do "File > Open > Project/Solution.." or "File > Open > File..." the explorer window comes up in under a second, ...
Every time I try to save a file in VS 9 that belongs to an MVC WebSite, I get the following error dialog:
---------------------------
Microsoft Visual Studio
---------------------------
Object reference not set to an instance of an object.
---------------------------
OK
---------------------------
The file then gets into a weird mod...
I wish to be able to write entries to a console application which will describe when actions have been completed, possibly writing them to a .txt file at one point.
I would like it to be used with a separate GUI application running at the same time so i can use the application and monitor the log simultaneously.
I only assume the Diagn...
I just upgraded a project to 3.5 SP1
and trying to add a LINQ to SQL class item to the project and can't as it doesn't appear in the Add Item list.
Though if i create a new project in the same solution and try adding it the item (LINQ to SQL classes) is available and I can add it to the project.
What do i have to do to be able to add L...
Hi folks,
I heard somewhere that passing of wchar_t across VS2005 and VC6 is quite dangerous.
I tried to delete memory which was allocated from VC6 dll from VS2008 exe, and it raised assertion. After referring http://stackoverflow.com/questions/1175330/bad-pointer-or-link-issue-when-creating-wstring-from-vc6-dll, i added one func in VC6...
Visual Studio 2008 tries to load the libraries and I have one that is x64 only. I get the usual invalid format message because VS2008 is 32bit. In as ASP.NET MVC project that means no intellisense in the views. Is there any way to fix it? It's not very important if that library is not loaded at all for intellisense purposes.
...
The process of converting from Visual Studio .NET 2003 to Visual Studio 2008 is satisfyingly start forward.
I thought it would be worth asking a couple of questions though:
1) Are there any 'gotchas' with this conversion process that we should be aware of?
2) Same question goes for upgrading the .NET Framework from 1.1 to 3.5?
Thanks...
Running VS2008 Pro on Windows 7, all SP and hotfixes installed.
When I click F1 on a (valid) keyword in VS2008, I only receive the "Information Not Found" page. I know I didn't install the full msdn as I just wanted to use online help. I can't recall if I clicked or unclicked anything during the install process (installed a couple of ...
This is something that has been bugging me for a while as it is easily fixed but not desirable.
I have a DataGridView that has 5 columns. The first is called ID.
In vb.net the following line gives an error "Object reference not set to an instance of an object":
dgvJobs.Columns("ID").Visible = False ' ERROR
dgvJobs.Columns(0).Visible ...
I would like to explicitly set the order of compilation of C# files in VS2008. Order in the project file, file naming seems to have no effect.
Situation: I have dozens of partial classes, each split over two files: 1) The file containing the auto-generated parts and 2) the file containing the manually written parts. The code generator ...
I and another developer are working on the same VS 2008 project using Source Safe. If one of us needs to add a new item, the person who doesn't have the csproj file checked out gets a message that they can't add because csproj and vspscc files are checked out.
Is this the normal behavior of Source Safe? What's the workaround beside ask...