Questions tagged [visual-studio-2012]
Visual Studio 2012 is a version of Microsoft's Visual Studio. Do not use this tag unless you have a specific question about Visual Studio -- not just a coding issue.
22,947
questions
0
votes
0
answers
54
views
Is there a way to fix broken syntax highlighting in Visual Studio 2012?
I am currently working on a project that is based in Visual Studio 2012 and as soon as I start editing any source file, even if the syntax is correct and compiles, I still get broken highlighting.
...
0
votes
0
answers
42
views
Visual Studio Ultimate
My computer has Windows 7, 32-bit installed
I have a problem: When you start Visual Studio Ultimate 2010 or 2012 and then click on the toolbox, the tools appear colored and grayed out as if they are ...
1
vote
2
answers
60
views
Can __uuidof be used as a C-string const?
If I have a UUID defined somewhere in the source code:
class DECLSPEC_UUID("31A0884B-2B2F-4243-B4A0-2AEFE11FDD68") MyGuidClass;
Is there a way to use it for a static const C-string ...
0
votes
1
answer
267
views
How to connect MS Access database to Visual Basic
I already put the access file in Desktop \data software\Data Software \bin\Debug, I want to connect to the database.
I try:
Tools-->connect to database-->Microsoft Access Database File -->...
0
votes
1
answer
120
views
Cannot drag and drop items from toolbox in Visual studio
The problem that I cannot drag and drop items from toolbox in Visual Studio in C# project .
When I am trying to drag from the toolbox, this error shows up:
And when I am trying to move any component ...
0
votes
0
answers
22
views
Invalid operation. Could not find default endpoint element
I have been given the following end point:
https://itd.dx-track.com/DespatchManager.API.Service.DM6Lite_Test/DM6LiteService.svc
I have added in Visual studio as a Service reference.
And my code to ...
0
votes
1
answer
39
views
I keep on receiving a "bash permission denied" notification every time I try to execute a program on VS Code
No matter what program I try to execute, VS code won't allow me to. It was working great before.
I tried $ ./name of my programs (I tried with various, of course)
and I receive a bash: permission ...
0
votes
1
answer
211
views
Wix Toolset v4 Shortcut & installation directory per login user
Using WiX Toolset v4 & Heatwave plugin from Visual Studio, I just try to add shortcut to current user Desktop but have a hard time doing it. My install directory is Id="ProgramFilesFolder&...
0
votes
0
answers
170
views
Migrating from VS2012: Opening in VS2022 does not prompt for upgrade
I've been tasked with going through our codebase and migrating a bunch of internally developed applications from VS2012 to VS2022. (Early last year, I did the same to take VS2008 & VS2010 ...
0
votes
0
answers
27
views
visual studio compile error with GAC_MSIL folder
I am doing an App in Visual Studio 2012. I installed Crystal Report 13.0.4 and when I run the application throws this error
Error 2 the type
'CrystalDecisions.Shared.ParameterFields' exists in '
...
0
votes
0
answers
65
views
my project in Visual studio doesn't load (load failed)
.csproj file in Visual studio crashed
when I open it in VS in solution explorer
shows to me that:
load failed
the project requires user input reload the project for more information
I reload the ...
0
votes
1
answer
140
views
QML debugging in visual studio
I use visual studio to build and run my Qt based application. I can keep breakpoints in my c++ files but QML no way I am able to keep breakpoints. The way I debug QML is keeping console.log() ...
0
votes
0
answers
179
views
error C2146: syntax error : missing ';' before identifier 'DrawString' [DirectXTK]
I am starting with an old project in VC++ using Visual Studio Express 2012. It was after some while of search that I finally got to this.
The Context :
I had an error with the Platform Toolset to ...
0
votes
0
answers
12
views
How can I correct error in Web Site Configuration Tool?
I am attempting to implement the Asp.net Login controls on my web application. I have run the aspnet_sqlreg and successfully installed the tables in my SQL Server Express development database. Now, ...
0
votes
0
answers
299
views
SSRS report just hangs when upgrading from VS 2012 32-bit to VS 2022 64-bit
I am trying to upgrade our companies SSRS reports to the latest version of Visual Studio to ensure continuity. When I try to open a report it just hangs.
Old Visual studio version
Microsoft Visual ...
1
vote
0
answers
26
views
Visual Studio keeps running the old build and doesn't update my project
Even if I made changes and rebuilt the project, it woould not update he debugged project. Also, I have searched for possible solutions but they did not work for me.
Here are the possible solutions I'...
0
votes
0
answers
62
views
Nuget package in Visual Studio 2012
Nuget online packages in Visual Studio 2012 [manage nuget packages] are not loaded.
I try use command line for install packages but the
add-package Other commands
is not working and I think the ...
0
votes
0
answers
34
views
Linking error while porting VS-2012 project in VS-2019
I am trying to build VS-2012(msvc-110) solution in VS-2019(msvc-142). It also used Boost library v1.51. I simply started by opening solution file in VS-2019 where it asked to change Windows SDK and ...
0
votes
0
answers
29
views
Unable to login Visual Studio 2017 Community
I'm not able to login Visual Studio 2017 Community edition. Whenever I tries to login these script error occurs and If I click on OK button then Login page is blank.Already Uninstalled and installed ...
0
votes
1
answer
106
views
Can I connect VScode and Intellij to the same gitlab account?
I am using two of them recently from my local computer.
my Gitlab is currently connected to the intellij
but I am also using Visual Studio Code and I wonder if it is possible to connect the visual ...
-1
votes
2
answers
361
views
C2061 syntax error: identifier 'LPWNDCLASSEXA'
I am getting below error
C2061 syntax error: identifier 'LPWNDCLASSEXA' in file
c:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\WinUser.h
I am porting a VS-2012 code to VS-2019. ...
0
votes
0
answers
25
views
Error 'Gestion_Article.AjoutFamille.Dispose(bool)' : no suitable method was found for Visual Studio 2012 override
error dispose
I checked the code and the problem and "Dispose" wasn't even colored so I doubted if something is missing in the level of references or in library
namespace Gestion_Article
{
...
0
votes
0
answers
44
views
how the change the containing folder of .sqlproj file in vs code
how the change the containing folder of .sqlproj file in vs code
enter image description here
.sqlproj file is created in test2 folder, instead it should be created below test2 folder.
how the change ...
0
votes
1
answer
49
views
Pop up an alert when someone tries to check out a project that is already checked out by someone else
I want to pop up an alert when someone tries to check out a project/file that is already checked out by someone else on TFS, Visual Studio 2012.
Let's say I checked out a file and let others to check ...
-1
votes
1
answer
51
views
Write a method GetAverage() to read 3 numbers from keyboard and return their average
I have tried to write the code, for this task, but I am getting an error with my 'ReadLine'.
class Program
{
static void Main(string[] args)
{
double average = GetAverage();
...
0
votes
2
answers
245
views
MicroPython Visual Studio Code "import *.py" in Pico
I have the Sensor.py file in the same folder as my Main.py
I get this message: ImportError: no module named 'Sensor'
How can I import .py files?
I've tried all import options.
-1
votes
1
answer
481
views
'"node"' is not recognized as an internal or external command,
I updated Node.js earlier bc a project I was working on wasn't working correctly so thought maybe I needed to update. The second I updated to node.js 19 everything went to crap. I cant do anything in ...
0
votes
1
answer
191
views
Argument not specified for parameter in VB.NET
Dear All Programmer,
I tried in the project in vb.net there is an Error but if I run it in the c# project there is no error. Is there a problem with my vb.net code?.is there another solution so that ...
0
votes
0
answers
36
views
ListViewItem is Null for some reason
This is the error I got whenever I tried to populate my ListView with "users" collection using DataTable returned from a repository function that communicates with MySQL database. Note that ...
1
vote
0
answers
23
views
Refactor -> Extract Interface does nothing
I'm using Visual Studio 2022
I'm trying to extract an interface
Under
Edit , Refactor , Extract Interface
But no Interface is generated nothing happens. I've tried it on multiple boxes.
Any ideas?
thx
0
votes
0
answers
37
views
No "Add New Table" option in Microsoft Visual Studio Ultimate 2012 Version
I can not able to add a new table in visual studio 2012.
I also try this Video from youtube https://www.youtube.com/watch?v=LaxjGixX9kU&t=117s
install SSDT from this site https://www.microsoft.com/...
1
vote
0
answers
167
views
how to get the accessible folder names from a drive with vb.net (Visual Studio 2012 Express)
I am trying to create a program for a friend that allows him to "sort out" and locate his files.
He has a couple of drives and many folders. What I would like to do for him is:
Have code ...
0
votes
1
answer
55
views
Error: System.NullReferenceException at combo_company.SelectedIndexChanged event
VS 2012, VB.net, Winforms (Desktop App)
When I change item of combobox (combo_company. SelectedIndexChanged event), I m getting error System.NullReferenceException.
I am trying to get value of ...
0
votes
1
answer
78
views
The “Navigtionmenu” control is not showing up in the Toolbox in a .NET project VS2010 and 2012
Why The “Navigtionmenu” control is not showing up in the Toolbox in a .NET project VS2010 and 2012?
but why did the screenshot I got from google below appear toolbox "NavigtionMenu"?
Thanks
...
0
votes
1
answer
195
views
My main .cs file is now blank after crash
I've just had a visual studio crash (2012 - Using Monogame) and now my main.cs file in my project shows up as a blank text file when opened in Visual studio.
The file itself still shows as 134kb so it ...
0
votes
4
answers
228
views
how to use it to add in-lined values or multiline strings in vb.net
I don't know create a multi line string please the best solution. The code below does not all use multi line strings. You can see the code I commented out was because I didn't know how to create a ...
-1
votes
1
answer
186
views
after converting c# to vb.net there is an error Syntax error ,Identifier expected,etc
is there a best code solution so that there is no error in the vb.net?.
is there a possibility of an error in the conversion?
I provide a share link because I failed continuously to post the code c #.
...
0
votes
0
answers
1k
views
Webbrowser Control Replacement now that IE 11 has expired
I've been using the WebBrowser control for many years in VB Studio 2012 and 2015.
Now that IE 11 has been retired (which I assume was the engine behind the WebBrowser control), I understand that the ...
0
votes
2
answers
169
views
Import deployed 2012 into VS 2017 while keeping target 2012
I have a SSIS project that is deployed on SQL 2012. Since 2012 is EOL, I need to convert to 2019. However, the previous owner used a 3rd party task that does not seem to work in the newer version of ...
1
vote
1
answer
165
views
after converting c# to vb.net there is an error "properties" is not member
I tried to open in the original project built-in c# there is no error but after I convert to vb.net then there is an error "'Properties' is not a member of" even though the png file is still ...
0
votes
1
answer
192
views
How to get wxWidgets working in Visual Studio 2012
I've got a problem for which I would very much like a solution please:
All I'm trying to do is use wxWidgets in Visual Studio 2012 (in C++), and make it accessible to my code project. That shouldn't ...
0
votes
1
answer
827
views
Running 32 bit in Visual Studio and interacting with Oracle
I am using Visual Studio, Test Complete and C#. I am basing it off another project which also uses the same. This other project uses Oracle to query and works fine.
I based all my settings on the ...
1
vote
1
answer
3k
views
Git merge in visual studio
I am using Visual studio 2022 for Git.
I have a 'master' branch and, from master branch, I created another 'feature' branch.
Then I added 2 commits in feature branch
Question 1: When I merge the 2 ...
0
votes
2
answers
217
views
what to change in my visual basic code to display the sum in decimal with comma format
I was trying to display the sum with comma and a decimal but using this code I am only able to display the first 2 digits of the sum, kindly help me fix it. Thanks.
Private Sub btnsum_Click(sender As ...
-1
votes
1
answer
229
views
why live server to view "css" result in "vscode" wont work?
I installed go "go live" for live server in "vscode" , but I cant see the result of my "css" code in live server. why live server to view "css" result in "...
1
vote
1
answer
4k
views
Installing R for VSCode issues (R LSP)
I am trying to use Visual Studio for R for the first time, and am having a hard time starting.
I have installed VSCode as a binary on my Windows machine (needed because of corporate machine).
My R ...
2
votes
3
answers
1k
views
Visual Studio 2019/C++ bug?
I'm using native C++ with Visual Studio 2019 16.11.8.
I don't understand this: whis can the false keyword be used as NULL (or nullptr)? Below the test code:
bool test(bool* pb)
{
if (NULL != pb)
...
1
vote
0
answers
360
views
What can cause an MFC OpenInventor program to freeze inside nvwgf2umx.dll
I am currently facing the hardest bug chase of my young developer career. The software we provide is used only in the company internally having several hundred users / computers, but only on one the ...
0
votes
1
answer
1k
views
How to open a text file with 'open with' option by the software , created by visual basic?
In Windows we can open a text file by right clicking on a it, and selecting 'open with' option by any software like notepad, notepad++ etc. I want to create a notepad type software using visual basic ,...
2
votes
5
answers
2k
views
Could not install microsoft.netcore.hostpath 2019
I am trying to install Visual Studio 2019 but unfortunately every time I get this error
could not install Microsoft.NetCore.HostPath
Here is an image of the same: