Go Premium for a chance to win a PS4. Enter to Win

x

Microsoft Visual Studio

416

Solutions

484

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

Hello,

Since 2 weeks I am facing a problem while generating crystal report. It is giving error.

Error:

Error in File C:\Windows\TEMP\Report1 {906DF369-197B-4021-81E4-EBE3DB5275FF}.rpt:
Failed to create the Crystal Query Engine.


Exception Details: System.Runtime.InteropServices.COMException: Error in File C:\Windows\TEMP\Report1 {906DF369-197B-4021-81E4-EBE3DB5275FF}.rpt:
Failed to create the Crystal Query Engine.


Note that, my application is in Visual Studio 2008 and windows server is 2008 R2.

Please advise how to solve this issue. It will be highly appreciate if can suggest the solution in step by step.

Thanks in Advance
0
Prepare for your VMware VCP6-DCV exam.
LVL 1
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Hi Experts,

Today when I turned on my computer it started some update. After it is done I can not run my web app from Visual studio 2013.  I am using the localhost. and getting the attached error. Please help.

Thanks in advance.
Error1.png
0
how can I design a software that looks like quick books in visual studio
0
Could anybody help?
In Visual Studio 2013
In a body of html page I put following code:
 
<script>

    var tdElm = document.getElementsByTagName('td');
       console.log(tdElm);
       console.log(tdElm[0].children);
       console.WriteLine(tdElm);

    </script>

Open in new window

and got a following error:

0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'WriteLine'

What sould I do to fix it?
0
I'm trying to create a simple workflow for a SharePoint add-in using Visual Studio 2015. The attached MS Word document shows the design. The workflow is supposed to add an item to the list Deviations automatically when an item is added to the list DevInfo manually. Based on the DevInfo list, WorkflowHistoryList, and WorkflowTaskList (see screenshots in the attached), it appears the workflow does not fire at all.

I noticed the workflow.xaml file is not automatically added to a feature, although WorkflowHistoryList and WorkflowTaskList are. Is that something I need to add manually?

Also if I try to open the workflow after deploying the app on a dev site, I get an error and have to close/reopen the project. See screenshot in the attached.
MV-Results-2017-11-13.docx
0
I'm using Visual Studio 2017 and I'm looking for a tool/extension/utility that can add exception handlers to my code. I've been using MZ Tools, but it recently started to crash VS every time I try to do that. I've uninstalled/reinstalled both VS and MZ-Tools, contacted the creator of MZ Tools, but no joy so far.

Any suggestions?
0
I have a vb.net Windows Forms application compiled in Visual Studio 2013 using .NET 4.0 (not client profile), x86 target cpu.  The application has been running on multiple machines across dozens of networks for several years.  Suddenly a couple of weeks ago it stopped running on 64 bit machines on 1 network. 32 bit machines still run it from the same server. 64 bit machines are running .NET 4.6. Windows updates were rolled back, firewalls turned off, running as administrator, anti virus turned off, user network permissions are good. Any tips would be greatly appreciated.
0
Hello,
I’m facing a problem in Crystal Reports for Visual Studio 2015.
After installing, when I open a new or existing .rpt file, the tab is blank.
My operating system is Windows 10 Enterprise 64-bit, x64 based processor.
Download link: https://www.sap.com/products/crystal-visual-studio.html
0
I just upgraded to TFS 2017 and deployed an agent and created a new build. I am getting the following error when building:


No agent found in pool Default which satisfies the specified demands:
msbuild
visualstudio
vstest
Agent.Version -gtVersion 1.98.1


I have tried install Visual Studio 2017 Pro, updating the agent, installing build tools, restarting the Agent service, restarting the service, unregistered and registered the Agent. None of these steps have helped.
0
I already set the navigation bar background color to Cyan, when i run it to emulator it is showing correctly but after creating apk file and install it to my android phone then navigation bar background color is showing white.so what is wrong with this? how is it possible?and how to solve this?

I am using visual studio 2015 14.0 and xamarin version is 4.7.10

my code is
<ResourceDictionary>
                <!-- Pallete -->
            <Color x:Key="primary-back-title-color">#2bcbff</Color>
            <Color x:Key="primary-title-color">Black</Color>
                <!-- Pallete-end -->
                <Style ApplyToDerivedTypes="true" TargetType="NavigationPage">
                    <Setter Property="BarBackgroundColor" Value="{StaticResource Key=primary-back-title-color}"/>
                    <Setter Property="BarTextColor" Value="{StaticResource Key=primary-title-color}"/> 
                </Style>
            </ResourceDictionary>

Open in new window

Screenshot_2017-11-08-12-48-50.pngScreenshot_2017-11-08-12-48-50.png
0
Veeam Disaster Recovery in Microsoft Azure
LVL 1
Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

When I hover over a cell can it display information from a hidden cell inside of the datagridview?
0
We moved a asp.net project from Visual Studio 2013 to Visual Studio 2017. The issue is that when you make changes to the JavaScript file, the changes are not effected on the min file. Also, when you checkout JavaScript file for edit, the min and map files are not checked out. We are using VSS for code control. How do we fix this issue?
0
Hello
i am not able to debug my xamarin.ios project using iphone simulator on mac using Visual Studio Community for MAC
i am sure i was able to debug  perfectly without any issues.
but now i am getting below error:
"cannot execute ".../myproj/bin/iphonesimulator/debug/myapp.exe"

i am able to run app on iphonesimulator without any issues
( run -->start without debugging).

But i need to debug my app ( run--> start debugging) to debug my code.
i am using :
Apple Developer Tools
Xcode 8.3.3 (12175.1)
Build 8E3004b

Xamarin.iOS
Version: 11.4.0.93 (Visual Studio Community)
Hash: 1b460cb9
Branch: d15-5
Build date: 2017-10-13 18:49:56-0400

Xamarin.Mac
Version: 4.0.0.93 (Visual Studio Community)

Xamarin.Android
Not Installed

Xamarin Inspector
Version: 1.3.2
Hash: 461f09a
Branch: 1.3-release
Build date: Tue, 03 Oct 2017 18:26:57 GMT
Client compatibility: 1



Operating System
Mac OS X 10.12.6
0
We have just upgraded to VS2017 Pro

however, when trying to publish, i get the above error
I've tried editing the project file with stuff i've found online, the current settings are: (and still not working)
  
 <PropertyGroup>
    <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
    <!--<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>-->
    <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildProgramFiles32)\MSBuild\Microsoft\VisualStudio\v14.0</VSToolsPath>
  </PropertyGroup>
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
  <Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
  <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />

Open in new window


before this error, i got another error,
webapplication-targets-was-not-found
which i fixed by following this article
https://alastaircrabtree.com/microsoft-webapplication-targets-was-not-found-again/

I'm not sure if they are connected

I've followed some other articles which has a microsoft hotfix, but i think it applies to an old version of visual studio as i get an error when running "not applicable for you" or words to that affect

There is a hack to write gatherallfiles=true in project config, but that basically published all the aspx and aspx.cs files, which i cannot have

Does anyone have inner knowledge of this? I spent 7 hours going through all the various examples online, so chances are if you just put the above into google, i've already tried it.
0
Just switched to a new computer and WebMatrix is not available any longer so I am playing around with this product.  How do I get my pages and changes to the server?

Thank you!
0
I am setting up a build definition on my MS Team Service in the cloud that includes a unit test. The unit test actually makes a database call to our test database.  I am using Visual Studio Build, copy files, Visual Studio Test Tasks. I am confused as to how to set up a connection to my test database which s not on the cloud but on an in-house virtual server. Any suggestions will be welcome.
0
Help Request:
Hello
I have a asp.net webform project in visual studio 2017 enterprise, this project build on .net framework 4 and visual basic language.
I hired 2 programmers to develop this project, They also installed Visual Studio 2017 on their system.
I want to put the project on a Gitlab or Team Foundation Server (TFS).
But my question is here :
1- How can I give them permission to programmers  for debug and run the project , but they can not view all webforms and classes and limited to modify some of the webform and classes that I allow to them ?
2- for this project what is better and quest and easiest Gitlab or Team Foundation Server (TFS) ?

Thank you
0
I am using crystal report with visual studio 2015. I have my reports working but now i can not open them in visual studio they are in hex decmail. the problem is that the database name is not showing when i publich the program and need to see why.

Some open and some do not.

i reinstalled the ctrysat report for visual studio.
0
Android SDK failed while installing Xamarin Visual Studio 2017 Professional.After Manually install it and giving the path,it also failed to taking SDK install path.How to solve this?
0
Fill in the form and get your FREE NFR key NOW!
LVL 1
Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Hi all of you ^^. I am building a browser. But i am got stuck when i attach a splash screen to an event in my browser.
a,
Link: Project Simple Browser
After open my sln file. you will see that my project have 2 part.
part 1 is main project (Form1)
part 2 is a splash screen (StartFormSplash)

b, On Form1.cs line 52-57 you will see
private void geckoWebBrowser1_DocumentCompleted(object sender, Gecko.Events.GeckoDocumentCompletedEventArgs e)
        {
            // CSS Logo google
            GeckoHtmlElement logo = geckoWebBrowser1.Document.GetHtmlElementById("hplogo");
            logo.SetAttribute("style", "display:none");
         }

Now debug, you will see with code above
logo has been removed after 1 seconds google webpage have completed loaded // we focus on this thing //
Because code running on DocumentCompleted_Event only excute when a webpage load completed

c, I need your help to use a Splash Screen when DocumentCompleted_event code has not been finished/running.
-> i dont want see google logo in my browser a bit.

Thank all of you (Y)!!!
0
i want to do indirect addressing rather than using indexed addressing by using visual studio 2010.
this code i want to do it

.data
source BYTE "This is the source string",0
target BYTE SIZEOF source DUP(0)
.code
mov esi,0 ; index register
mov ecx,SIZEOF source ; loop counter
L1:
mov al,source[esi] ; get char from source
mov target[esi],al ; store it in the target
inc esi ; move to next character
loop L1 ; repeat for entire string
0
Hi All,

I create windows app.

I try below :

   oSheet.getCellByPosition(ColTitle.Debet, intRow).NumberFormat = mdlOpenOffice.getNumberFormat(oCalcDoc, strNumberFormatDecimal)

  Public Function getNumberFormat(ByVal iDoc As Object, _
                                    ByVal iFormat As String) As Integer

        Dim nFormatId As Integer = 0

        Dim sCharLocale As Object = iDoc.getPropertyValue("CharLocale")

        iFormat = Set_Format_Number(iDoc, iFormat)

        nFormatId = iDoc.getNumberFormats.queryKey(iFormat, sCharLocale, False)

        If nFormatId = -1 Then 'Not yet defined
            nFormatId = iDoc.getNumberFormats.addNew(iFormat, sCharLocale)
        End If

        If ERV_Global.Get_Decimal_Char() = "," Then
            nFormatId = 5004
        Else
            nFormatId = 5003
        End If

        Return nFormatId

    End Function

  Public Shared Function Get_Decimal_Char() As String
        Dim curNilai As Decimal
        curNilai = 1.5

        Get_Decimal_Char = Format(curNilai, "#.0")
        Get_Decimal_Char = Mid(Get_Decimal_Char, 2, 1)
    End Function

It just not formatting, just plain number.

What's wrong ?

Thank you.
0
Background: i work in a red hat and Windows 10 environment. We have models written in Matlab and Simulink that the developers will convert to C++ in order to get higher speed simulations. We do not like the C++ code that can be generated from these two products. We have a simulation proprietary framework which provides us with many math APIs for C++.

We currently use C++03 with Visual Studio 2010 and g++. Lead developer has no experience with C++11 but he would like to convince a large community of divisions to upgrade to C++11 . I asked him what skill levels of developers would he be bringing in . He said his group cannot afford the best, and he believes that C++ 11 is more complicated than C++ 03. Recently I've been doing this survey of multithreading capabilities in C++11, boost, Pthreads, WIN APIs , and while I can see that C++11 features are rich , they are also complicated to use correctly . For example if you want to squeeze performance out of a program that uses many cores , then you have to learn about the C++11 memory model, and be aware of all the tricky race conditions that can occur when the high-level code is done out of order as result of compiler optimization .

 Could someone give me a list of C++11 features that an average C++ developer could use and explain how it is beneficial with a strong argument that we convince a large community of divisions to agree to upgrade to C++11 .

 Two items that come to mind are multithreading and dimensional …
0
Thank you fo spending time read my post!
This is project with .sln file https://drive.google.com/open?id=0BwnB8SavOtQPZndIdjJUZExpNXM
I tried many times and ask so many help to solve this. But after publish application-> setup -> run application (issue at this step)
Nothing happend when i run application.
I see on task manager: my app appear but immediate suspended.
Please help. I got stuck it a month :( :( :(
0
I have a large (14 000 lines) aspx file, every time I click, type or save my visual studio 2017 completely freezes for a few seconds.

I have looked on google and can't seem to find an answer.
All extensions have been disabled.
All code analysis tools have been disabled.

I have then used Process Monitor to investigate and I can see devenv.exe hammering my computer with "NAME NOT FOUND" for both files, folders and registry entries. I am not sure what it is trying to find, but its not succeeding.

Is there anything I am missing? Maybe a feature somewhere I can disable?

Attached the procmon output.
Logfile.zip
0

Microsoft Visual Studio

416

Solutions

484

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.