So, I recently added a header file (and corresponding source file) to a project, along with a header file that file required, and an object file that the file required.
Everything compiles fine, unless I actually make a call to one of the functions declared in the newly added header file.
This is all using Visual Studio Express 2008.
...
Hi every one,
i am looking for a way, how i can integrate a c++ code with fortran code (i want simply call some C/C++ functions in the fortran code).
I have found some proposals for gcc or console compilers, but i have not any idea how to translate this approach to solve integrationproblem within the visual studio.
At the time I am thi...
Hey all,
I am trying to work on this website and I am a bit new to Visual Studio and whatnot. I would like to have a step through action whenever I click on certain icons on the website. Basically it is a lot of code, most of which I am learning, and I need to know where I am sending control when I click certian icons.
Any tips?
...
We have three servers for each mode:
Development
Testing
Production
Each one of them has different settings for connecting to the database, different base paths for resource accessing etc.
How do I create different debug and release modes for each of those server types and how do I force them to use a different configuration file?
...
I'm using some F# types (Matrix et al) from C# and so I need to reference the FSharp.Core assembly in my C# project. So far, so good.
However, there are apparently some types defined in mscorlib.dll (v4) which are "duplicated" in FSharp.Core (v2), like System.Tuple and System.IObservable. I can't understand why this is in .Net 4. Matt E...
SO I am just getting started with this. New to .NET, SQL Server, C#, VB.NET, etc and the closest thing I have to related to this is some experience with MS Access and the VBA that relates to that and MS Office automation.
So I do have Visual VB.NET 2008 Express installed, SQL Server 2005 express installed, and I do know how to start a b...
#define CANCEL_COMMON_DIALOG_HOOK(name) \
void __declspec(naked) ##name##CancelCommonDialogHook(void) \
{ \
__asm \
{ \
add esp, [k##name##CancelCommonDialogStackOffset] \
jz RESTORE \
jmp [k##name##CancelCommonDialogNewFileRetnAddr] \
RESTORE: \
pushad \
call ...
Hello folks, I have used the SiteLock 1.15 template to restrict domain access to my ActiveX control so that only a list of pre-approved domain can use it.
Everything compiles ok, and even the SiteList.exe application that is supplied with the SiteLock template correctly shows the list of domains that I defined inside the ActiveX Control...
if i try to write below codes : error return to me: The query results cannot be enumerated more than once
public void StartTransaction()
{
using (var stockMovementCtx = new StockMovementCtxDataContext())
using (var scope = new TransactionScope())
{
var stockMovementItems = f...
I am trying to deploy an application using ClickOnce. The problem is, I am saving user generated files in the application's working directory. Now when the user installs the next version of the application, his old files will no longer be available to him. What is the best workaround for this problem - or does this mean I have to roll my...
I have used the following code to load an animated cursor on my applicaiton.
class Animated
{
[DllImport("User32.dll")]
private static extern IntPtr LoadCursorFromFile(String str);
public static Cursor WaitCursor()
{
IntPtr hCursor = LoadCursorFromFile("C:\\WINDOWS\\Cursors\\appstar3.ani")...
Hi,
I am curious what the preferred way to structure an application with an executable client program, an executable server program and a shared model in solutions and projects (using visual studio and C#). Being used to Java development I initially regarded projects as packages and defined a project for each package I designed.
This r...
I am using vsvim and I think that it is a great tool.
But I have a problem. It seems the "A" doesn't work when I type 'A' to append at the end of line. Is there any extra configuration required? Or it is just a bug of VSVIM.
...
Hi,
I have a couple of XML files that are used to control unattended installations of sharepoint. I need to create a simple desktop application that will create / modify these xml files.
Before i go through and create a load of stuff manually is there any way i can automate some of the process. I.E. can i generate my objects from an XM...
I am debugging a client-server application. Client is in .NET and the server is in Java. I am using VS for for the client, Eclipse for the Server.
What do I do about the key bindings? Do I wait to get my fingers used to typing the right key on the right monitor? Or do I change one of the two to behave like the other? I am interested in ...
if writing below codes: Error returns.i do like advise : http://stackoverflow.com/questions/794364/how-do-i-use-transactionscope-in-c
But only error change:The partner transaction manager has disabled its support for remote/network transactions Exception from HRESULT: 0x8004D025
i am using windows server 2003.
using (var stockMov...
Have you ever experienced controls that are defined in the .aspx not being visible in the .aspx.cs? i.e. when you compile, it says your label or literal etc. has not been declared.
Is this a bug in vs.net?
Here is what I did, I created a new folder with the same file, and copied the .aspx content and codebehind, and then changed the re...
Visual Studio debugger automatically recognizes the types of pointers and shows the value of the variable or object pointed to by the pointer. Example screenshot for Ruby debugger here: http://www.rubyinside.com/wp-content/uploads/2008/03/jruby-debugger.jpg This applies to debugger tooltips, watch windows, etc. I never have to see t...
Hi,
Is it possible using windows 7 or windows server 2008 to create 5 VMWare virtual machines
so that 5 developers can use them using thin clients to work with
Visual Studio 2008/2010 with all components (sql server express, IIS etc).
what can be the options and the hardware specs for server and clients?
I am looking forward for all ...
I've been switching back and forth between Visual Studio and Eclipse and I got used to couple things in Eclipse:
CTRL+1 to autocast variable
CTRL+o to filter memebers in class and autojump
CTRL+3 to get list of all commands
Do you guys have any suggestion how I could get similar functionality in Visual Studio? Any add-in?
...