46,406 questions
0
votes
1
answer
306
views
This statement is not recognized in this context when build action is none
I got this script in my database project in Visual Studio
IF EXISTS (SELECT * FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_NAME = 'SystemTableLogs')
BEGIN
UPDATE [SystemTableLogs]
...
0
votes
1
answer
502
views
Flyway spring boot error : Unable to connect to the database. Configure the url, user and password
Good Morning everyone,
I am creating a backend for my application and I want to migrate my database using Flayway.
I added the required dependancies to my pom.xml
<dependency>
...
0
votes
0
answers
30
views
How can I replace VC2010 default runtime calloc with my own implementation of calloc?
I am trying to replace VC2010 default runtime calloc with my own implementation of calloc
I tried this code but my program still uses the default VC2010 calloc
void* calloc(size_t num, size_t size) {
/...
-1
votes
1
answer
54
views
Visual Studio 2010 Resource Editor Dialogs in Quotes [closed]
I need to create a new dialog with some tabs out of some existing dialogs. I hand edited the resource file as I've done in the past and created some new dialogs with new IDD_ tags.
The new dialogs ...
0
votes
1
answer
92
views
Winforms window loses focus when called from WPF
I have a WPF .Net Framework application, which calls a Winforms window (DLL).
When this new Winforms window is shown, it is then sent to the back of the WPF application.
As if the new window loses ...
0
votes
1
answer
43
views
Time labels in Y Axis in C# chart
I'm trying to show accumulated time in a serie of a column chart. This "time" is given in seconds (int), but for a better understanding, I need to show it in "hh:mm:ss" format.
Is ...
1
vote
1
answer
107
views
trying to work with MPI but it outputs 'The batch file cannot be found' in cmd when I debug the file in Visual studio 2010
I am trying to install MPI on ms visual studio 2010 (our professor forced us to use 2010 version specifically probably for the privileges it offers that newer version don't idk) and it's driving me ...
0
votes
0
answers
148
views
"Installing" Eigen in VS2010
I cannot seem to get Eigen 3.4.0 running in VS2010.
This is supposed to be so easy, but I cannot manage to do it.
I downloaded the latest Eigen library, version 3.4.0, and unpacked the zip file.
I ...
0
votes
0
answers
135
views
Linking flag exe to dll in c++ mfc
I have two C++ projects: one is an executable (EXE), and the other is a dynamic link library (DLL). In the EXE project, I am using a flag corresponding to a checkbox, and I need to access the value of ...
1
vote
0
answers
23
views
Saving Image In Access 2016
I am trying to save image in database.
Codes run successfully.
But when I retrieve the image it gives error.
Parameter is not valid on this Line:
pbDatbase.Image = Image.FromStream(msImage)
enter code ...
0
votes
1
answer
134
views
Why are my preprocessor-macros slower or faster than manual writing seemingly random?
Yesterday at work, my colleague claimed that preprocessor macros were slower than writing variables and functions manually. The context is that we have a class in which member variables are sometimes ...
0
votes
0
answers
230
views
Visual Studio 2010 Tools for Office Runtime Installation Issue
We have a requirement to install MDS Add in for excel (2019).
URL : https://www.microsoft.com/en-us/download/details.aspx?id=58203
As a pre-requisite it shows that we have to install : "Visual ...
0
votes
0
answers
51
views
Visual Studio 2010 Windows SDK override with latest version
There's default macro with $(WindowsSdkDir) used by Visual Studio. This is Microsoft SDKs with version 7.0A.
I want to use new Window 11 SDK with new API, how can I override $(WindowsSdkDir) in ...
0
votes
1
answer
185
views
What are these grey out import?
I am curious.
Why my .vb files have lots of greyed out import and it doesn't seem like I am the one writing it?
What are those?
Do I import that somewhere from some settings?
For example, I wonder ...
2
votes
1
answer
104
views
Jenkins devenv build not finishing because next command starts
I've been trying to setup a Jenkins build machine that uses Visual Studio 2010 building tool to build a C++ app. The build stops a minute after it started and Jenkins goes ahead with the next command. ...
0
votes
1
answer
77
views
Migrating data into CRM some date values stored with either 4 or 5 hours head
I been migrating data into CRM from SQL server through SSIS(kingswaysoft). Some record's date values stored either 4 or 5 hours ahead .Is it possible to save date as same as source.
how to resolve ...
0
votes
1
answer
474
views
How to Run, Develop and Deploy Legacy ASP.NET Project On New Windows 11?
I have the original source code for the project and am trying to get it up and running locally on Windows 11, but I'm not sure what tools(and versions) I need.
Additional Information:
The project was ...
0
votes
1
answer
716
views
My chrome browser doesn't show up as a device in flutter
I am currently developing a website using Flutter, and Google Chrome was showing me as an option and it was working well about two months ago. I stopped working on the website and now I have returned ...
0
votes
0
answers
101
views
Localization resources with Win10 and Two output file names resolved to the same output path
I have a C# project, which builds fine on Win7. I am now attempting to build the project on Win10, as DigiCert no longer supports Win7 for code signing certificates. The project is complicated enough ...
1
vote
2
answers
165
views
How to pass a data in the modeless dialog window in Windows Desktop App (MFC, C++)?
The situation is quite simple, yet I don't understand in quite well.
I have a WinMFC app, which is also a name of the solution project. I want to pass the data from Main dialog of the app (...
0
votes
1
answer
78
views
how do i stop system stack overflow in visual basic?
I'm working on an application designed to convert between different number systems. Its operation involves users inputting a value in one base number system, after which the remaining three text boxes ...
0
votes
1
answer
138
views
How to remove shortcut/alias to a .cpp and .h file from another project in Visual Studio 2019?
I've inherited a Visual Studio solution that is structured like so (code is proprietary so I can't post original):
Solution1
|_Project1 (WindowsApp)
|_"Header Files"
|_Utility.h
|_&...
0
votes
1
answer
296
views
DevOps 2022 Server not connecting on VS 2012 and VS 2010
We are migrating our TFS server 2017 to DevOps Server 2022 but when we migrate our databases to the devops server our connection from visual studio 2012 and 2010 is not working while on Visual studio ...
0
votes
1
answer
46
views
How can i make a prefab instantiate another prefab?
So basically, lets say i have a cannon, i wanted to make it shoot a cannonball(prefabs) and leave an explosion(prefab) at the place it collided.
example code for projectile:
using UnityEngine;
...
0
votes
1
answer
66
views
I commit from my Microsoft Visual Studio, however, I am now seeing that i now have two versions of two files
I have issues with my commit, two files in my repo are being duplicated. My Logics.cs and Constants.cs were duplicated. I really do not know why that happened, I made the commit from my Microsoft ...
0
votes
1
answer
171
views
Is there a way to make AfxMessageBox() take focus from another program?
I'm not a newbie, but my programming for Windows is weak. I have multiple programs running on a PC. One is an operator interface, so it usually always has focus.
If an error/warning condition ...
0
votes
0
answers
73
views
C++ vector subscript out of range : Monotone Interpolation
#include <iostream>
#include <vector>
#include <algorithm>
// Function declarations
std::vector<double> wiki_mon_spline(const std::vector<double>& x, const std::...
1
vote
1
answer
157
views
c language, When decimal digit of %g in printf equal to 0.5, and length is more than 6, it is not upper ceil, why?
Here is my program:
#include <stdio.h>
int main()
{
printf("%g\n", 100000.5);
printf("%g\n", 100001.5);
printf("%g\n", 100002.5);
printf("%g\n&...
1
vote
0
answers
62
views
IloEnv env ; don't work in the dbug and it can access to it
i run a code in c++ in debug version step by step (F11) using visual studio2010 linked with cplex 12.4, so i obtained this error and message at the line where i declare IloEnv env ; it don't work , ...
1
vote
0
answers
161
views
This AVD's configuration is missing a kernel file! Visual Studio Code
I try to run android emulator in visual studio code, and got an error.
Here is my full error:
[ERR] The Android emulator exited with code 1 during startup
[ERR] Android emulator stderr:
[ERR] ERROR |...
0
votes
1
answer
991
views
Warning: Module "openssl" is already loaded in Unknown on line 0
When I write PHP artisan serve in Laravel 10,
This error always write in console. How to resolve this issue?
PS C:\xampp\htdocs\Laravel\test_proj> php artisan serve
*PHP Warning: Module "...
0
votes
0
answers
272
views
Visual studio 2010 file load error. Some bytes have been replaced with the unicode substitution character while loading file
C:..\x.cs with Unicode (UTF-8) encoding. Saving the file will not preserve the original file contents.
-When I open the project, it takes over the .cs files and gives the above error.
-In the parts of ...
-1
votes
3
answers
196
views
C# and the Unity Engine
I'm trying to complete a tutorial video about some piece of code that should prevent players to jump continuosly after they die at some point(when they collide with an obstacle).We assigned gameOver ...
-1
votes
1
answer
284
views
Can you start a .csproj file using C# [duplicate]
I have 2 wpf projects and one is a console which acts as a server.
If anyone has any solutions or alternatives, I would be grateful.
I need to find a way of running the server or the console app ...
0
votes
1
answer
768
views
In Visual Studio how to remove a class
I am learning C#. I had a class under a namespace and it works fine. After adding another class, it says that there are multiple entry points. So I want to delete the other class. Even after deleting ...
1
vote
0
answers
128
views
curl 8.4.0 source is missing some .h files
I downloaded the 8.4.0 cURL source files (released Oct. 11) and am attempting the compile libcurl.lib using Visual Studio 2010. The source package comes with a solution file for VC10 (thank you!) but ...
-1
votes
1
answer
71
views
Unable to create a Java project in Visual Studio
enter image description here
I want to create a Java Project in Visual Studio but I am not able to find Java language in the list of languages given under Create a project
also I tried creating a java ...
0
votes
0
answers
60
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 ...
0
votes
0
answers
45
views
"Dynamics CRM Destination" does not have a value for the ID property
While using the KingwaySoft tool for data migration from Dynamics CRM to another CRM table, I encountered an error message stating: 'The 'Dynamics CRM Destination.Connections[DynamicsCRM]' in the ...
2
votes
3
answers
3k
views
Visual Studio 2022 Tab Code completion not working
My problem is that my tab key isn't accepted as auto complete for code or inserting tabstops, instead it changes the selection of the window i am in like in any other Windows program.
I know there are ...
-1
votes
1
answer
46
views
play file RM audio c#
How to play an RA audio file in C#
RA audio file
Make WindowsMediaPlayer support the ra file or play a single file in another
files ra not play in WindowsMediaPlayer
code c# play in WindowsMediaPlayer
...
0
votes
1
answer
39
views
How to interact between different panels?
I need to make different TextBoxes interact between each other, even though they are in different panels, identified by different names in a foreach code.
I am making a Wordle game in Windows Forms. I ...
0
votes
0
answers
140
views
I can't install Visual Studio 2010 on Windows 10 these errors appear while installation
When I tried to install VS 2010 on Windows 10, the installation ends with errors as shown in this screenshot:
I tried to download another copy of VS 2010 but the same errors appeared.
I stopped the ...
0
votes
0
answers
34
views
how to get on the value of specific cells after select datagridview row?
i have datagridview contains more than 100 rows: student name, class and code, i want to get on 3 sequences student codes when select any row to show them in 3 textboxes, whatever the position of the ...
1
vote
0
answers
36
views
how to make a CNN so that my program can tell the difference between a photo and a drawing?
i have a folder full of over 12,000 images. i'd like to make a program to redirect drawings to the drawing folder and photos to the photo folder. I'm in my 1st year of engineering school and I don't ...
0
votes
1
answer
212
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
409
views
I am getting an error in django saying it might be an issue with circular import but I am not sure how to fix. I think my code is correct
I am very new to coding so I will explain what I did step by step.
I created a virtual environment in command prompt and then I installed django in that. Then, I opened the project in vs code and ...
0
votes
1
answer
729
views
cpp file of character in unreal not showing in visual studio solution explorer
I created a cpp file for a character class in unreal engine and I'm trying to edit the code in it. It opens up in visual studio but I cannot find it in the solution explorer page and vs does not ...
0
votes
0
answers
205
views
Convert LPSTR to CString
I'm on an old VS2010 project using CString which I'm really not well acquainted with.
I need to retrieve the %TEMP% path so I thought about using GetTempPath() function.
The issue is that I can't make ...
0
votes
1
answer
120
views
How to retrieve an image from database and show it in asp image box with a click of a button?
private void ProcessedImage()
{
try
{
if (FileUpload1.HasFile)
{
int length = 192;
int width = 192;
using (...