Quantcast
Channel: Visual Studio General Questions forum
Viewing all 21115 articles
Browse latest View live

I need to add a new report to the application that is done using visual studio and SSRS and SQL Server 2008

$
0
0
I have an application that is done using SSRS on visual studio and it connects to the report server on SQL server 2008 environment. I've been changing the existing reports using visual studio 2008 and modifying the reports on the report server. How do I add a new report to the application ? I created a new report and deployed it on the report server but it didn't show up in the application. I can access the application source code on visual studio 2010 and TFS (Team Foundation). Thanks. 

Error encountered when debugging application in Visual Studio 2013 in all browsers except IE

$
0
0

I am currently experiencing this unusual thing when running/ debugging web applications in Visual Studio 2013 which the message is below:

"Unable to attach to application 'chrome.exe' using 'computer name'. The 32-bit version of the Visual Studio Remote Debugging Monitor (MSVSMON.EXE) cannot be used to debug 64-bit processes or 64-bit dumps. Please use the 64-bit version."

Then it has yes and no buttons.

When I clicked on "Yes", the windows just persists popping-in, otherwise when I click "No", the process stops. I have researched about what might be causing it and found no solution. I'm pretty sure I'm not the only one who have experienced and/or experiencing it.

The issue occurs when choosing one among all other browsers when launching an application but not for IE.

Kindly share your thoughts and inputs which will be valuable and highly appreciated!

Thank you very much!


tool GPU Usage ---- failed to enable system trace session

$
0
0

Hello everyone ,

when I use the tool GPU Usage of Performance and Diagnostics, there is an error pop up

"

Diagnostics session failed to start.

Failed to enable system trace session.

"

I use window 7 , vs2013 ultimate with update 4, video card Geforce GTX670 with driver version 347.25, 

both directx 11 and dirctx 10 with same error message.

can you please tell me why, i am very thankful

Trial by fire newbie

$
0
0
I got thrown into maintaining a VS10 project. I have no knowledge of this but I am expected to fix it with no documentation from the person who developed it. The project is a XXXXX.exe but how do I start? How do you see what is inside the .exe to maintain it? I really need guidance with this.

Visual Studio Ultimate 2015 CTP complaines about an Invalid License at startup.

$
0
0

Hi,

Just installed the latest version of Visual Studio Ultimate 2015 CTP but cannot use it beacause it complaines of an Invalid License during startup. I have an MSDN Subscription that allows me to downlod it from subscriber downloads. Anyone know why a License is required to try it out? The only other Version installed on my box is VS 2012.

Paul

Error when trying to extract MP3 picture tags

$
0
0

Hei, I am using vb.2010 and the TagLib Library in order to extract the MP3 Picture tags - but get an error in the "TagLib.File.Create(fi)" telling me the 'Create' can not be called With these arguments?.

The Source code are as below:

Private Sub cmdLoadAllFiles_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdLoadAllFiles.Click
        Dim strName As String, strFirst As String
        Dim intLine As Integer = -1
        Dim intRecNo As Integer = 0

        Try
            If Len(txtAudioLocation.Text) = 0 Then Exit Sub
            strFirst = Microsoft.VisualBasic.Strings.Right$(txtAudioLocation.Text, 1)
            If strFirst <> "\" Then
                txtAudioLocation.Text = txtAudioLocation.Text & "\"
            End If

            Dim strFileSize As String = ""
            Dim di As New IO.DirectoryInfo(txtAudioLocation.Text)
            Dim aryFi As IO.FileInfo() = di.GetFiles("*.*")
            Dim fi As IO.FileInfo

            GridPlayList.Rows.Clear()

            For Each fi In aryFi
                intLine = intLine + 1
                intRecNo = intRecNo + 1
                strFileSize = (Math.Round(fi.Length / 1024)).ToString()
                strName = Replace(fi.Name, fi.Extension, "")

                If fi.Extension = ".mp3" _
                Or fi.Extension = ".wma" _
                Or fi.Extension = ".wav" _
                Or fi.Extension = ".m4a" Then

                    GridPlayList.Rows.Add()
                    GridPlayList.Rows.Item(intLine).Cells(0).Value = intRecNo
                    GridPlayList.Rows.Item(intLine).Cells(1).Value = strName
                    GridPlayList.Rows.Item(intLine).Cells(2).Value = txtArtist.Text
                    GridPlayList.Rows.Item(intLine).Cells(3).Value = fi.Extension
                    GridPlayList.Rows.Item(intLine).Cells(4).Value = cboMusicStyle1.Text
                    GridPlayList.Rows.Item(intLine).Cells(5).Value = strFileSize
                    GridPlayList.Rows.Item(intLine).Cells(6).Value = fi.FullName
                    GridPlayList.Rows.Item(intLine).Cells(7).Value = 0
                    GridPlayList.Rows.Item(intLine).Cells(8).Value = 0

                    Try
                        If fi.Extension = ".mp3" Then
                            Dim file As TagLib.File = TagLib.File.Create(fi)
                            If file.Tag.Pictures.Length >= 1 Then
                                Dim bin As Byte() = DirectCast(file.Tag.Pictures(0).Data.Data, Byte())
                                picCover.Image = Image.FromStream(New MemoryStream(bin)).GetThumbnailImage(100, 100, Nothing, System.IntPtr.Zero)
                                picFrontCover.Image = Image.FromStream(New MemoryStream(bin)).GetThumbnailImage(100, 100, Nothing, System.IntPtr.Zero)
                            End If
                        End If
                    Catch ex As Exception
                        Debug.Print(ex.Message & vbCrLf & ex.StackTrace)
                    End Try
                    Application.DoEvents()
                End If
            Next

        Catch ex As Exception
            Debug.Print(ex.Message & vbCrLf & ex.StackTrace)
        End Try
    End Sub

It is only the section where I try to get the MP3 Picture which gives an error, the rest of the code Works perfectly.

I would be very pleased if somebody could show me my error(s), I supose it is a very simple solution ?

Kind Regards


levesen


unable to inspect variables in the watch window

$
0
0

In a MFC project in VS2013 when executing this code:

int li_count_deep = m_selection.GetCountDeep();
if (li_count_deep == 0)
{
return TRUE;
}

in the Watch window, I see 

identifier "li_count_deep" is undefined


Vaclav

Convert VS2008 to VS2013

$
0
0

I'm in the process of converting VS2008 Windows Forms from VS2008 to VS2013 and having problems which are:

  1. The VS2008 apps are in folder_2008.  I want the converted apps to be placed in folder_2013 instead of leaving them in folder_2008. How can I move them without screwing up VS2013?  And can I tell the converter to place them in folder_VS2013 rather than convert in place?
  2. My other problem deals with a class library, MCL, which is used by most of my applications.  How do I make VS2013 apps refer to the VS2013 MCL and not the VS2008 MCL?

Terry 01


Cant load designer in c++ and Winforms in Visual Studio Community.

$
0
0

I have found in Visual Studio Ultimate that when a C++ winforms project loads that I get an error saying the designer cant be loaded. However if I change the source code slightly and save it the designer can then load in the form to edit it.

If I go into Visual Studio Community again the form designer wont load and not even if I change the source code and save it.

The form designer says it cant load because none of the classes within it can be designed.


n.Wright

need a c-code to stream h264 frames to vlc player using librtmp

$
0
0

Hi,

I would like to develop a C- code  to send h264 frames (captured from webcam ) to vlc player and nginx server , using librtmp . in this regard can any one please help me to proceed further. Thanks in advance.

Login required to access the help content?!

$
0
0

I'm not wondering anymore about much that happens on Microsoft's websites. It never worked fine and it probably never will. Just think of that disastrous security warning about the insecure SSL-to-non-SSL POST forward on most Microsoft websites every now and then that should actually make me leave immediately. (The problem is in the forums somewhere, and at least one Microsoft employee is repeatedly aware of it and promised a fix. Of course, nothing happened. Why should it.)

But this is the latest annoying bug: To access the online help, accessed from within Visual Studio 2013 (update: and now 2010 as well, it's getting worse), I need to log into my Microsoft account. Here's the text:

“Sign in

Because you're accessing sensitive info, you need to verify your password.”

What sensitive information is the help content?! I can access it just fine if I delete my cookies and never log in again. As an anonymous guest! But as soon as I have logged in anywhere, like it's understandably required to post in this forum, I get this strange message after just quickly pressing F1 somewhere in my code.

Can somebody please fix that?

Oh, also, when starting the online help from Visual Studio 2010, the web page opens in a new tab in Firefox, just like it should. In VS 2013, however, it opens in anew window in Firefox. What the heck happened here again? Can't Visual Studio simply open a regular URL and let the OS and standard apps handle things like every other application on this planet can do? Why does Visual Studio always have to be different? And then worse, too...

You guys advertise IIS and ASP.NET as the best web environment in the world. (Then why is msdn.microsoft.com by far one of the slowest sites I have to deal with every day?) With these major issues, it clearly can't be! (Think of Codeplex vs. GitHub...)

– A fan of .NET who is deterred by the poor web performance of the entire company.


Turn off or disable QuickInfo

$
0
0
Hi, Is there any way to turn off or disable the QuickInfo popup which happens when my mouse hovers over a piece of code? I find this highly distracting and irritating. I have Intellisense disabled but it's still poping up. It's 2013 Ultimate and I'm writing in C#. Thanks very much! Robert



How to set the printdocument tool text, for print by the thermal printer?

$
0
0
Hello, is that be the same as the A4 paper printer?. I used for-loop-condition for print series of the pages, but the A4 printer printed for me 1 page only, but I asked it, for print more than 50 papers, by the thermal printer, by I used for-loop within the printdocument tool text, but I not the now tested it by the thermal printer, is that the for-loop succeed when I use it by the thermal printer? where the A4 printer printed 1 paper only for me. where I want series of the pages where I used for-loop-condition, and I want that succeed by the thermal printer, and is that be true? and what the true if that was wrong?

VS2013 Update 4: Refactor Encapsulate Field fails

$
0
0

When I use VS 2013 Update 4 Refactor-Encapsulate Field fials with the message "Failed to create preview changes"

Here is the Preview Window screenshot.

Note the title "Encapsulate unitOfMeasure as UnitOfMeasure"

BUT the code preview is to change the NAME of the field to UnitOfMeasure  (upper case first letter)


Incorrect reference version

$
0
0

Hello, please help me,

I have project for exchange server in visual studio 2013 Professional. It's transport agent that should parse mail massages and add corporate signature. For creating Transport Agent me need two assembly: Microsoft.Exchange.Data.Common and Microsoft.Exchange.Data.Transport, all they has. But there is trouble with assembly version. In project has reference to *.dll with 14.3.178.0 but when added to project Property of reference appears as 14.3.214.0 it's very strange. I can't find where Visual Studio takes this version number. Please help me find out it. I have guess but not sure, yestoday was installed MimieKit via NuGet Package Manager Console (Install-Package MimeKit) but after detect issue has uninstalled it but not help.


trying to register MS Visual Studio Express 2013 for Windows Desktop (Update 4)

$
0
0

When I installed the free version I was not asked to register. I have tried now for several days, but always get an error message.

First I get a pop-up that asks me to sign in to Visual Studio or update the license (which now will expire in 23 days).

No matter what I choose, I get a pop-up that says "getting things ready... " or something to that effect.

Which is followed by "Sorry, we ran into a problem. The online service is not available. Please try again later. " I now have tried for several days. This window also provides a link "See our current service status"  which so far has not yielded any activity that I could see.

How can I register the product and keep alive through the C++ class I am currently taking?

Thanks.

"Activation follows Mouse" without "Autoraise" VisualStudio 2012 / win 7

$
0
0

Hello,

i'm using windows 7 trying to achieve the following behavior:

Activate a Window by hovering them with the mouse, but do not raise them.

I have set the "Activate a window by hovering over it with the mouse" flag in the "Ease of Access Center"

and changed the reg-key  HKEY_CURRENT_USER\Control Panel\Desktop\UserPreferencesMask to "91 ...."

Now all windows show the wanted behavior, except the Devstudio 2012!

it gets active, but then raises over the other windows. this is very annoying. E.g if you move the mouse away from

a small window which is on top of the dev studio (calc.exe) - it disappears (gets hidden by the dev-studio window).

Is there a possibility to get the Dev-Studio window behave like all other windows?

greets ds.jg

Is that possible to make print screen in web apllication ?

$
0
0

it is possible to make a print screen from published link of Client pc to save At A particular location on server . I want print screen  of Client pc , if is that possible please provide some link or example .i have already wasted two days

thanks

 

CodedUUI Tests not appearing in Test Explorer After Upgrading from Visual Studio 2012 to Visual Studio 2013

$
0
0

Can anyone help us understand what needs to be done to get our coded UI tests to appear in the test explorer after upgrading from Visual Studio 2012 Update 4 to Visual Studio 2013?

Thanks in advance

Problem loading a dll

$
0
0

I have an application needing IALoader.dll to make ink analysis. I use IACore.dll, IAWinFX.dll, Microsoft.Ink.Analysis.dll.  This application is lunched automatically. I have IALoader.dll added as reference with Copy local=true. In the config i have:

<startup useLegacyV2RuntimeActivationPolicy="true"><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" /></startup><runtime><assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" appliesTo="v1.0.3705"><dependentAssembly><assemblyIdentity name="IALoader" publicKeyToken="31bf3856ad364e35" culture="neutral" /></dependentAssembly><dependentAssembly><assemblyIdentity name="IACore" publicKeyToken="31bf3856ad364e35" culture="neutral" /></dependentAssembly><dependentAssembly><assemblyIdentity name="IAWinFX" publicKeyToken="31bf3856ad364e35" culture="neutral" /></dependentAssembly><dependentAssembly><assemblyIdentity name="Microsoft.Ink.Analysis" publicKeyToken="31bf3856ad364e35" culture="neutral" /></dependentAssembly></assemblyBinding></runtime>

While i debug on visual studio 2010.... it works very well but once i used it outside it (even adding all those dll in the same directory)it doesnt work.. cause IT DOESNOT LOAD IALoader.dll, and an error is thrown:

The assembly mix mode is compiled against runtime V 1.0.3705  and is not possible to load in runtime V4.0 without additional configuration

Any one can help???

Thanksss

Viewing all 21115 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>