Microsoft Visual Studio

438

Solutions

509

Contributors

Microsoft Visual Studio is an integrated development environment (IDE) from Microsoft. It is used to develop computer programs for Microsoft Windows, as well as web sites, web applications and web services. Visual Studio uses Microsoft software development platforms such as Windows API, Windows Forms, Windows Presentation Foundation, Windows Store and Microsoft Silverlight. It can produce both native code and managed code.

Share tech news, updates, or what's on your mind.

Sign up to Post

We have a web application designed on Visual Studio 2008.
Can we move everything to VS2016?
Will there be any issues? Are they compatible?

Thanks in advance.
0
What is SQL Server and how does it work?
LVL 1
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

I upgraded my VS2005 to VS2013 and I'm now unable to access my Database schema (.XSD File).
When I double click it I get the following Screen Shot...how do I fix this?

Thanks,
Mark
Error.jpg
0
I'm looking into Visual Studio Community to get a start in Visual Studio programming (and to see if I like it). I believe I can create a standalone executable app in this free version. Am I correct?
My app will require database tables. Does Visual Studio come with a database server? What is the default in Visual Studio?
Do I need to obtain a separate data server like MySQL or MariaDB or something?
0
Hi.
We want to start building our own chromium browser for use in our Digital signage solution.

We have set up an environment on a Windows PC, and have successfully build a default chromium browser.

We do, however have some trouble finding our way around in the code.

Therefor, maybe som waypoints could help us.

Can anyone tell me, where I could find some code regarding:
The address bar
Tabs
Forward/backwards arrows

A code snippet is enough, or maybe even better in which  files are they.

Also, hints on how to find elements, without having to guess our way through and making searches in Visual Studio, without knowing the name of what we're actually looking for

/BR
Rene
0
I have several ComboBoxes in my program, and the ones that have text already in the box end up highlighted.  This is true even looking at the form in Visual Studio (see attached).  Is there a way to keep the text from being highlighted?  The text in these boxes are highlighted when the program is launched.
ComboBox.jpg
0
TITLE Program Template          (RevStr.asm)

; This program reverses a string.

.model flat, stdcall
.stack 4096
ExitProcess PROTO, dwExitCode:DWORD
Writestring PROTO
INCLUDE (where you have it stored)\Irvine32.inc

.data
aName BYTE "Abraham Lincoln",0
nameSize = ($ - aName) - 1

.code
main PROC

; Push the name on the stack.
      mov ecx,nameSize
      mov esi,0

L1:      movzx eax, aName[esi]      ; get character
      push eax                  ; push on stack
      inc esi
      Loop L1

; Pop the name from the stack, in reverse,
; and store in the aName array.
      mov ecx, nameSize
      mov esi, 0

L2:      pop eax                  ; get character
      mov aName[esi],  al            ; store in string
      inc esi
      Loop L2

; Display the name.
      mov edx,  OFFSET aName
      call Writestring
      call Crlf
INVOKE ExitProcess, 0
main ENDP
END main
0
In the Visual Studio 2017 Community edition - is there a way to control where tabs open?

I have 2 screens that I use while developing.

When debugging I like to have all source code window tabs on the extended monitor where I have it oriented vertically so I can scroll and see more code at a time.

On the laptop, I like to put all the other window tabs, like:

Watch windows
Find / Find results
Solution explorer
Call Stack
Properties
Toolbox (during design time)

Is there a way to have more control over this?  Like when windows get closed, the open again in the wrong place or floating.  I want to be able to say "this window always opens up over here" or in a group with other window tabs that I specify.

I am open to free third party tools that help wrangle the various windows at development or runtime / debugging.

Thank you for your help.

Tom
0
I'm migrating from a VBA/EXCEL app that connects to SQL Server and runs reports, to SSIS.  I use Visual Studio 2015, and connecting to Sql Server 2012.

I work at a large corporation that is pretty locked down.  I have been able to use an ADODB (2.8) connection using windows authentication.  

It is weird because the connection was working fine, and now it isn't.  I do need to move from windows authentication to SQL Server... I did that with the connection string (many variations attempted) but can't get it to work on my environment (VDI), but a co-worker can get it to work.

This is a lot of background, but I'm looking for a solution, because I can't do anything until I get a connection.

I'm wondering if I can use the data connection in Server Explorer, which does work fine.  I don't know if or how to make the connection in code to an ado object using the data connection in server explorer.  My attempt is in the last line of code below with DirectCast.

Below is my code, with all the attempts remmed out.  I was trying to open the connection, but then tried the direcast using sqlconnection instead.  I don't know if that will work, but I can't move forward because it says "dts" isn't declared.  

Imports System
Imports System.Collections.Generic
Imports System.ComponentModel
Imports System.Data
Imports System.Drawing
Imports System.Linq
Imports System.Text
Imports System.Threading.Tasks
Imports System.Windows.Forms
Imports System.Data.SqlClient
Imports 

Open in new window

0
What has to be changed to make this work in a razer .net view.


<!DOCTYPE html>
<html>

<head>
  <script data-require="jquery@*" data-semver="3.1.1" src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
  <script data-require="datatables@*" data-semver="1.10.12" src="//cdn.datatables.net/1.10.12/js/jquery.dataTables.min.js"></script>
  <script src="dataTables.rowReorder.js"></script>
  <link data-require="datatables@*" data-semver="1.10.12" rel="stylesheet" href="//cdn.datatables.net/1.10.12/css/jquery.dataTables.min.css" />
  <link rel="stylesheet" href="//cdn.datatables.net/rowreorder/1.2.0/css/rowReorder.dataTables.min.css" />
  <link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">


<style>
div.addRow{
      line-height: 45px;
    background-color: #fff;
    padding-left: 10px;
    border-bottom: 1px solid;
    border-top: 1px solid #e5e5e5;}
</style>
</head>

<body>
  <table id="example" class="display" width="100%" cellspacing="0">
    <thead>
      <tr>
        <th>order</th>
        <th>name</th>
        <th>country</th>
        <th>action</th>
      </tr>
    </thead>
  </table>

  
  <table id="newRow" style="display:none">
    <tbody>
      <tr>
        <td>
          <select id="selectbasic" name="selectbasic" class="form-control">
            <option value="1">option 1</option>
            <option value="2">option 2</option>
            <option 

Open in new window

0
in visual studio, i can't create new project since "OK" button is in disable mode..what to do?
0
Restore individual SQL databases with ease
LVL 1
Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

After packaging Visual Studio 2012 using configuration manager 2012. I distribute and deploy VS 2012 with DotNet 4.6.1 dependency, it downloads to the client, and then fails to deploy, but the DotNet installs fine. The error I get in the AppEnforce.log file is +++ Application not discovered. I have tried it Packaging it as a Application and a Package and I still get the same error. I have run the command that I use in the config manager configuration from a command line on the local computer and it installs fine. the command in config manager is "vs_professional.exe" /q /AdminFile AdminDeployment /norestart. I have a local admin account on both the server and the client for authorized install.
0
Hello EE,

Our VPN firewall prevents ipV6 (blocks) so our Visual Studio debugger is failing to connect.
I wonder if anyone knows of a way in Visual Studio to turn off ipV6 and only use IPv4.
0
On our web we are using Telerik RadGrids from WAY back... version is several years old.

In production and on the web itself the Grids appear correctly and function correctly.  No issues.
However...

When on the server (Amazon EC2 instance - MIcrosoft Windows Server 2012 R2)

And running web in debug mode

The grids all appear with no columns organized... its like the data is just dumped in the grid.

Please see the image below.


SP
0
I have a project with a TON of DLL's in the Bin Directory.

One of the DLL's used is NewtonSoft JSon

several of the other DLL's reference it but one or more require a (lower) version of the NewtonSoft

Is there a way to determine which ones are dependent on NewtonSoft AND what version they are requireing?
0
I am using Visual Studio 2015 with the XrmToolKit and have 20+ unit tests that I need to run on my current code.  The unit tests were appearing in the Test Explorer at first but then stopped appearing.  Not exactly sure what happened but seemed to occur around a time when I accidently clicked Run All Tests.

This is what appears now:

Test Explorer
0
0
Backing up Access Linked table to separate Access Db using VB.net and Visual Studio 2012.
I have tried code I found on Expert Exchange published 2010-03-30 by DDB. It uses ADODB which does not work well with Visual Studio 2012.
0
Hi,

I hope that someone is able to help. The web development team have changed the current website that we are using. We have an order download application that integrated into mageno.

The issue is that I try to change the endpoint address to the following and I receive an error:

https://old.filofax.co.uk/index.php/api/v2_soap/index/?wsdl=1

Error message is attached(error1)

I have also tried to generate a proxy class using the same error message.

My issue is that I can browse to this URL ok.

I would appreciate any help. I have contacted the hosting company and they don't have any iea.

Best Regards,

Ross
error1.png
0
I'm an MS Access Developer using SQL Server 2008 as a back end. I use SQL Stored procedures quite a lot, but i'm always slowed down by the fact that you cant step into Stored Procedures in SQL Server Management studio. This makes it quite tedious to debug a stored procedure and get it working.

I read a while back that is possible to use Visual Studio to debug stored procedures. I've installed Visual Studio 2017 community. So can i edit/debug stored procedures now? i can't immediately work out how to do it.
0
Get quick recovery of individual SharePoint items
LVL 1
Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

Hi All,

One of my application is developed on visual studio 2008. In it some classes uses LINQ to SQL (.dbml files) and some are using ADO.Net logic.

Till now my application is running fine without any problems by using SQL Server 2012. Recently our client suggested to migrate the SQL Server 2012 to 2016.

By using SQL Server 2016 connection, all ADO.Net classes are running fine. But when I tried to work with LINQ to SQL (.dbml files) and I am getting "This Server Version is not Supported. Only Servers up to Microsoft SQL Server 2005 are Supported".

Is LINQ to SQL concept is compatible in SQL Server 2016 or not? Please help me how to fix this issue.
0
In Visual Studio 2015/VB project, in project properties I specify the certificate to sign the build with. I expect that when I build, the resulting exe will be signed. But it's not. Detailed output from the build process does not show any attempt to do it, and no errors - it successfully builds, but the exe is not signed. Am I doing something wrong, or I misunderstand how it works?

screenshot
0
I am making a student planner/grade report app for
Android Studio class in college. I was just wondering if anyone is experienced with using android Studio?
0
Hello,

I am getting this error when I try to install/update my ClickOnce application:
The file, Focus Studio Acc.exe.config, has a different calculated hash than the hash specified in the manifest.
I already tried adding a new config, remade the whole project, but nothing has fixed the error.

Some more info:
- I signed the application with a test certificate (.pfx)
- I did not sign the assemblies
- I did enable the security settings (full trust)
- I did select the option that adds .deploy to the files
- I am working with Visual Studio 2015

Does anyone here knows what other solutions I can try?

Thanks!
0
Due to account restrictions I have my own local account, and we have an "admin" account that we use to run specific applications, for example Visual Studio. We simply login with our regular account then Run as administrator the shortcut. TFS then used this admin account for our mappings etc.

Unfortunately due to a password change this no longer seems to be working, and all my mappings are not available! In Team Explorer if I hold the mouse cursor over the Team Project it says Connected as: MyLocalAccount, however when I've checked a colleagues it says their admin account.  So now in Team Explorer it's looking for me to configure my mappings, and when I try and use the existing project it says it's already mapped (presumably under my other account).

I've tried clearing the TFS cache on the C drive, I've added & removed the details under Credential Manager in Windows (several sources suggested this online) but nothing has worked. Using the Credential Manager various blogs suggested I'd be presented with a dialog box to login when I next tried connecting to TFS, however this has never appeared!

I've been working on a piece of code and I'd ideally like to not have to create a new mapping and start / copy over code.
0
I want to make a program that encrypts and decrypts a file selected from a directory but i am getting an exception error
An unhandled exception of type 'System.IO.IOException' occurred in mscorlib.dll

Additional information: The process cannot access the file 'C:\Users\HP\Desktop\AI Practical\AI_P4.txt' because it is being used by another process.
here is my code for encrypting the file
 private void EncryptFile(string sourceFile, string targetFile, string key)
        {
           
                AesManaged AES = new AesManaged();
                using (MD5CryptoServiceProvider MD5 = new MD5CryptoServiceProvider())
                {
                    AES.KeySize = MD5.HashSize;
                    AES.BlockSize = MD5.HashSize;
                    AES.IV = MD5.ComputeHash(ASCIIEncoding.ASCII.GetBytes(_IV));
                    AES.Key = MD5.ComputeHash(ASCIIEncoding.ASCII.GetBytes(key));
                }
                using (FileStream reader = new FileStream(sourceFile, FileMode.Open, FileAccess.Read))
                {
                    using (FileStream writer = new FileStream(targetFile, FileMode.OpenOrCreate, FileAccess.Write))
                    {
                        using (CryptoStream cs = new CryptoStream(writer, AES.CreateEncryptor(), CryptoStreamMode.Write))
                        {
                            int bufferSize = 4096;
                            byte[] buffer = new byte[bufferSize];
                            …
0

Microsoft Visual Studio

438

Solutions

509

Contributors

Microsoft Visual Studio is an integrated development environment (IDE) from Microsoft. It is used to develop computer programs for Microsoft Windows, as well as web sites, web applications and web services. Visual Studio uses Microsoft software development platforms such as Windows API, Windows Forms, Windows Presentation Foundation, Windows Store and Microsoft Silverlight. It can produce both native code and managed code.