Given a specific DateTime value, how do I display relative time, like 2 hours ago 3 days ago a month ago etc...? ...
My visual studio on my desktop (windows 7 enterprise). What is the bare minimum I need to install in order to make sure I can reference sharepoint object? Following is my justification. http://www.bizsupportonline.net/browserforms/how-to-use-sharepoint-object-model-submit-data-infopath-browser-form-sharepoint-list.htm ...
"Find in Files" dialog options: Find what - for eg. "string" Match Case - unchecked Match whole word - unchecked Use Regular expressions - unchecked Look in subfolders - unchecked Files types - . Look in - Entire Solution / Current Project (not working), Open files (working) Look in Entire Solution or Current Project was working fine ...
In my previous C# work referencing other assemblies was either done by adding the project for the assembly to your own solution, or referencing .dlls directly in a common build output folder if you didn't want to make your solution too big. Assemblies were written to this output folder by ...
How does one write code to make drawings in the Windows main client area of a Win32 C++ app? I found an example online that uses the "eclipse" API but when I put it in my program, the IDE complained so it would not compile. ...
Please help me to generate python binding and wrappers of C++ code on windows using swig. I have to write a .h and a .cpp file say example.h and example.cpp. And then an interface file example.i for swig to generate wrappers and python binding. I have to create a project in visual ...
I created a small simple Windows program in Visual Studio, the i added a Setup project to the solution. Now i can install my program, and when i update something in the Windows program i can quickly build a new installer, however i got 1 problem. My windows program contains ...
for eg. my code is void abc(usercontrolclass ucc) { this.panel.Controls.Add(ucc); } void def() { usercontrolclass ucc1 = this.panel.Controls.GetChildUserControl(ucc); } Note "GetChildUserControl" is not a valid function what i require is a method or function which i can use to get ucc. ...
When I'm trying to debug a web application, in visual studio 2008, its not working, and page is not displaying in the browser window. I am getting following output from OUTPUT Window. 'WebDev.WebServer.EXE' (Managed): Loaded 'C:\Windows\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll', Skipped loading symbols. Module is optimized and the debugger option ...
Possible Duplicate: How do I open links in Visual Studio in my web browser and not in Visual Studio? If I click control-click a hyperlink in the Visual Studio editor, it opens the URL in a new Visual Studio tab. I would rather the link ...
I have been working on an ASP.net project, and earlier, I had no clue about a 'Web site project' and a 'Web application project'. I thought both were the same, so I selected Web Site, and now I wish I had done elsewise to be able to use namespaces. Anyway. now, ...
I am new to C# and Visual Studio, and this may be a silly question but I do have to find an answer. My question is is it possible to differentiate debug and release builds in such a way the certain lines of code(in my case MessageBox.Show(...)) are compiled if ...
I have an lightswitch application that is used for value mapping. i have my target table and a view for source values, which i want to map together in target. I define two relations in LS to have my lookup fields (Value1, Value2) and do the rest of data manipulation ...
I often do a search using Ctrl-Shift-F to see all the results appear in the Find Results window. (in this case, look in would span the entire solution) Is there a way to navigate each of the results using a hotkey? I know that if you press F3 on the current ...
I've recently uninstalled the Visual Studio 2013 (I think) developer preview and now Visual Studio 2010 has started giving me the following error: Error 1 Task could not find "sgen.exe" using the SdkToolsPath "" or the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v8.0A". Make sure the SdkToolsPath is ...
I have a couple active x controls referenced in my .NET 3.5 application that we use with reg free COM. When I build the solution builds successfully but with a bunch of warnings stating "Problem isolating COM reference 'ActiveXControl': Registry key: 'path' was not imported" and so the manifest generated ...
I would like to create a multi-project template for Visual Studio 2008 which contains two projects that access the same source files (single source for mobile and desktop development). The following multi-project template: <TemplateContent> <ProjectCollection> <ProjectTemplateLink ProjectName="Client.CF">Client\Template.CF.vstemplate</ProjectTemplateLink> ...
I developed a Windows 8 C# application using Visual Studio Express 2012 RC. I can run it on my pc. However, I want to create an executable so that my friends can also try the application. When I click the .exe file under bin/Release folder it says: This ...
. I found sample called "Creating a COM Server Using a Text Editor" in MSDN. http://msdn.microsoft.com/en-us/library/2wad1c0e(v=vs.71).aspx It compiles fine from command promt, but not from Visual Studio IDE. I decided to move this project to Visual Studio. I have created new project (File>>New>>Project>>Empty project) and add MyServer.cpp file ...