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

VS2012Pro Won't Open

$
0
0

I had not used VSPro2012 in a couple of weeks and this afternoon click the Icon to start it up and I get the splash screen with an error message "the operation could not be completed".  What could've caused this?  I did uninstall VS2013 but it didn't completely uninstall. 

Not sure what to try next to fix this.  Could it be a Framework issue?

TIA

Harry


The components for communicating with FTP servers are not installed.

$
0
0

I'm running VS 2013 and when I try to publish to ftp site I get the following message. "Unable to create the Web site 'ftp://xx/'. The components for communicating with the FTP servers are not installed."   It has been running fine. I can publish to file system, web sites etc, just not through the ftp settings. I can access the ftp sites from my system, using other programs. It is not trying to connect to the ftp site at all.





nodejs debugger is not working on VS2013 & Win 8.1 64

$
0
0

Hi,

When I press F5 to debug my nodejs application (created from VS2013 template: Express 4), nothing happens.

When I press the Ctrl + F5 (start without debuggin), it works.

Please help,

Thanks,

Janiv.


Janiv Ratson. Technology and Development Expert. | BL: http://blogs.microsoft.co.il/blogs/janiv/ | LI: http://www.linkedin.com/in/janiv | TW: http://twitter.com/janiv http://about.me/janiv

What is the exact format of the extended dialog template in memory?

$
0
0

The document in msdn have two paragraphs that don't keep consistent.

The first description is as follows:

The second description is as follows:

It seems to be a conflict with the two pictures above. The "0xFFFF" is the first or second word in the extended dialog template? please help me with the confusion.

Best wishes to you!

Can't sign in to visual studio?

$
0
0

I have both VS Web express and Desktop express. I get the notification that I have to register the programs or they will stop work soon. However I try to sign in but I can't for some reason. I get the error as in the picture below:

[it turns out I cant have pictures until you verify this account.]Anyway. The error text I get is:

"Sorry, we ran into a problem.
A network connection attempt has timed out. This could be a problem either with our service or your local network connection"

Then there is a link to check your current status. I check it and you are running good. But there is no problem with my network either.

What can I do to fix this? On monday I start a school course that require that I have the two programs. Please help!

I have tried to run the program as Admin, but that don't help. Is there another way to obtain the key for the program?

EDIT:
The text went really small in some places. I put it in bold so it's easier to read. 

EDIT2:
My problem is bigger than the Visual studio problem. For some reason I can't login to: 
visualstudio.com

When I click Sign in the web browser just waits and nothing is happening. This is in Explorer. For some reason my mother is "signed in" when going to that site via chrome. But she can't sign out.

Visual Studio 2013 error - "A task was canceled"

$
0
0

Hello,

I just upgraded to Visual Studio 2013 and a couple times now, I've tried to test a couple simple programs and keep getting the error "A task was canceled"

There is no error code and it does give feedback when there is something wrong with the code, but once i fix the bugs I still can not compile.

I'm sure I cant be the only one with this problem. I'm not sure what I'm missing.

Searching Incoming Serial Data

$
0
0

Greetings!

I was trying to get visual studio to filter through the incoming serial data it is receiving from an Arduino. The program shows the incoming data, so I know the serial port is working, but I'm not sure how to get it to look through that data ( I was thinking I could use StreamReader to do this). My goal is this: When certain data is received, change the background color of a textbox. I am very new at this and any direction would be appreciated! I feel like i'm throwing spaghetti at a wall... 

Here is my current code:

Imports System
Imports System.Threading
Imports System.IO.Ports
Imports System.ComponentModel
Imports System.IO


Public Class Form1

    Dim myPort As Array
    Delegate Sub SetTextCallBack(ByVal [TEXT] As String)

    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        myPort = IO.Ports.SerialPort.GetPortNames()
        portCmbo.Items.AddRange(myPort)




    End Sub

    Private Sub startBtn_Click(sender As Object, e As EventArgs) Handles startBtn.Click

        SerialPort1.PortName = portCmbo.Text
        SerialPort1.BaudRate = baudCmbo.Text
        SerialPort1.Open()

        startBtn.Enabled = False

        closeBtn.Enabled = True



    End Sub


    Private Sub closeBtn_Click(sender As Object, e As EventArgs) Handles closeBtn.Click

        SerialPort1.Close()

        startBtn.Enabled = True

        closeBtn.Enabled = False

    End Sub

    Private Sub SerialPort1_DataReceived(sender As Object, e As SerialDataReceivedEventArgs) Handles SerialPort1.DataReceived

        ReceivedText(SerialPort1.ReadExisting())

    End Sub

    Private Sub ReceivedText(ByVal [text] As String)
        If Me.inputTxtBox.InvokeRequired Then
            Dim x As New SetTextCallBack(AddressOf ReceivedText)
            Me.Invoke(x, New Object() {(text)})
        Else
            Me.inputTxtBox.Text &= [text]

        End If


    End Sub



    Private Sub outputTxtBx_TextChanged(sender As Object, e As EventArgs) Handles outputTxtBx.TextChanged
        Dim myReader As StreamReader = New StreamReader("Me.inputTxtBox")

        Dim line As String = ""






    End Sub
End Class

ps: If there is an easier way of doing this, please let me know!

Javascript Errors

$
0
0

I've just loaded up a js app into visual studio built with ES6 using traceur - visual studio is reporting errors for all non-es5 code (eg. lambdas). I've eliminated web essentials, resharper & node tools for vs from the equation - can anyone tell me where the setting is to compile javascript & report errors in the error list window?

Ideally I'd like a setting to recognise ES6, otherwise I'd like to disable js compilation & error reporting all together. 

It's also underlining folders in the solution explorer with squiggly red lines - very annoying! 



How can I disable the automatic source code modification while typeing? if+tabulator: I can not type the tabulator!

$
0
0
Visual C++ 2013 update 4 Community Edition IDE. While I am typeing the source code, if I type if+tabulator, the editor automatically inserts some lines, and I can not type the tabulator character, even if I try a lot of times, I am moving the cursor, etc. I must type iff+tab, and later delete the letter f. This is very irritating. I disabled a lot of features in the options, but I could not disable this. How can I disable this?

How do you make a CustomUserControl to a movable and resizable one.

$
0
0

I have made an application where i am thinking i can implement a re-sizable and movable Usercontrol(Image) i tried the following codes but the code has to be also in the main form which will make re-sizing in runtime confusing. I just want to implement the codes inside the custom UserControl.

Thanks in advance!

the project file could not be loaded

$
0
0

a new windows 8.1, VS2013 install ... I use skydrive to sync all my source files to a folder named c:\skydrive. When I try to open a .SIN file from the c:\skydrive folder I get an error in visual studio:

C:\Skydrive\c#\AutoCoder\AutoCoder.csproj : error  : The project file could not be loaded. The file cannot be accessed by the system.

  C:\Skydrive\c#\AutoCoder\AutoCoder.csproj

When I right click the .csproj file in windows explorer I do not see a security tab. Not sure if my user is authorized to the file or not.

How to open a project in VS2013 from my skydrive folder?

thanks,

Find and Replace only object?

$
0
0

When I change the name of an object for example A to B, is there any way in visual studio that I could replace all A To B in the project without changing the name A that could also appear in string format like "A"? 

Secondly, is it possible to ignore commented out texts in the search (ctr+f, then F3)? For eg. //A . In another words the letters that are green or red.

Open an old .vsmacros file in VS2013

$
0
0

I have a macros file I created in VS2010 that I only have saved in the .vsmacros format however after moving systems and in the process upgrading to VS2013 I have found I cannot open the file. All I need is to extract the code so I can create a .vsix from the code, I do not need a macros extension to VS2013 they do not do what I need them to.

I need to extract the code from the .vsmacros file.

windows forms application not showing in express 2012 windows 8.

$
0
0
I downloaded Visual Studio Express 2012 for windows 8.  I am trying something in Visual Basic and need to select  Windows Forms Application.   Visual Basic and Windows Store are available on the left side of the window.   Windows Forms Application Template is not  in the New Project dialog box.  How is this?  What can be done?

Inconsistent behavior of windows 7 platform to Gflags debug utility.

$
0
0

I have submitted this question to the wrong forum before . I am sorry, Now I submit it with more info to this Forum.

We have 4 windows 7, 32 bit machine running completely identical application and have completely identical software package installation and formal paches.
Same number of Services, processes, Hardware resources etc.. Machines are members in a 2008 domain.

With full paged heap enabled ( gflags /i myapplication.exe +hpa ) the application runs successfully only on two nodes and launches in the other 2 node but after few minutes it terminates.
, sometime I get a pop up notification that " Application stop working and after that a Mini Dump and a Meta data XML file. The XML data refers to OUT of Memory exception.

The launcher is natuarrly member of  local admin in all 4 nodes.
The nodes qualify themselves in all corresponding tests in the domain, security, dns and network environment- desktop heap settings etc.
I have tried the Gflags for normal heap with the following command" Gflags /p /enable MyApplication.exe ........... and the application, in all 4 nodes launches and functioned as expected.
I have also verified ther appropriate registery entries and Key values are indeed correctly set, the sane in all 4 nodes.

My question is:

what and were is the root cause for difference in the behaviour between these Nodes... what can be unique for the nodes which fails  to run the Full paged heap debugging for my application.

If the reason is the out of memory issue then Why out of 4 fully identical nodes , 2 succeed and 2 others do not !...

Appreciate very much any help.

Thanks


Whale








Good start to a .gitignore file for development using VS2010 and GitHub commits

$
0
0

I apologize if this has already been answered; I searched and did not find any pointers to the information that I am looking for, but my google-fu is not always the best.

After recently getting back into C# development and restarting using Virtual Studio, I've realized that, using the standard GitHub GUI client, I'm committing a huge amount of binary files.  Obviously, being as I'm just committing the top-level project directory and everything including build trees underneath it.

Does anybody know of a good source to find a .gitignore file that will exclude most, if not conclusively all, of these files?  I only want the files essential to develop the project on the repository; I have a free account, I can't handle the amount of space being used.  Basically whatever is the bare minimum source and directory hierarchy required to rebuild the project in a new instance of Virtual Studio.

Thanks for your time and consideration on this matter.  Any pointers to relevant links or direct help appreciated.

-Damon Getsman

How do I convert VS2008 applications to VS2013?

$
0
0

I have a number of VS2008 Pro applications coded with Visual Basic and all use SQL 2008 Express. I want to convert them to VS2013 Pro and run under  SQL 2012 Express.

I can't find anything under Help that addresses this; nor can I find much of anything under help. I downloaded a mass of help topics for VS2013, but all I can find are generalizations. What happened to the "Search Index" and related types of help searches under VS2008?

How do I convert my applications, and how can I make Help work under VS2013?

Terry


Terry 01

Javascript breakpoints not working in modal dialog forms using IE 11 on Windows 8.1

$
0
0

I have an aspx page with an associated javascript file which are loaded using showModalDialog. If I create a breakpoint in the javascript file, in a function called from onload on the aspx page, when debugging the breakpoint is never hit. Instead visual studio breaks and shows the line of code making the showModalDialog call. You can then continue and the form loads but the break point is never hit.  This is happening when using VS 2013 Update 4 with IE 11 in Windows 8.1.

Open XML for Visual Studio 2013

$
0
0
Where can I download Open XML for Visual Studio 2013?

Rune Brattas

Visual studio crashes when report designer loads Dataset properties.

$
0
0

it appears to be a file not found exception, but I have not idea what file.

Log Name:      Application
Source:        .NET Runtime
Date:          2015-01-30 4:32:32 PM
Event ID:      1026
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      Laptop
Description:
Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
Stack:
   at Microsoft.ReportDesigner.Data.Local.Dialogs.Pages.DataSetGeneralPage.LoadDataSources()
   at Microsoft.ReportDesigner.Data.Local.Dialogs.Pages.DataSetGeneralPage.LoadData()
   at Microsoft.ReportDesigner.Data.Local.Dialogs.DataSetDialog.OnLoad(System.EventArgs)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.ScrollableControl.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.ContainerControl.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Form.WmShowWindow(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Form.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr, Int32, IntPtr, IntPtr)
   at System.Windows.Forms.SafeNativeMethods.ShowWindow(System.Runtime.InteropServices.HandleRef, Int32)
   at System.Windows.Forms.Control.SetVisibleCore(Boolean)
   at System.Windows.Forms.Form.SetVisibleCore(Boolean)
   at System.Windows.Forms.Control.set_Visible(Boolean)
   at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
   at System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
   at System.Windows.Forms.Application.RunDialog(System.Windows.Forms.Form)
   at System.Windows.Forms.Form.ShowDialog(System.Windows.Forms.IWin32Window)
   at System.Windows.Forms.Form.ShowDialog()
   at Microsoft.ReportDesigner.Data.Local.Dialogs.DataSetDialog.Show(Microsoft.ReportingServices.RdlObjectModel.DataSet, Microsoft.ReportDesigner.Report)
   at Microsoft.ReportDesigner.RdlcReportManagement.EditDataSet(Microsoft.ReportingServices.RdlObjectModel.DataSet)
   at Microsoft.ReportDesigner.SchemaBrowser+<>c__DisplayClass17.<editButton_Click>b__11(Microsoft.ReportDesigner.UndoGroup)
   at Microsoft.ReportDesigner.UndoManager.DoTopLevelOperation(System.String, System.Action`1<Microsoft.ReportDesigner.UndoGroup>)
   at Microsoft.ReportDesigner.SchemaBrowser.editButton_Click(System.Object, System.EventArgs)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(System.Object, System.EventArgs)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(System.EventArgs)
   at System.Windows.Forms.ToolStripItem.HandleClick(System.EventArgs)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(System.Windows.Forms.MouseEventArgs)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(System.EventArgs, System.Windows.Forms.ToolStripItemEventType)
   at System.Windows.Forms.ToolStripItem.FireEvent(System.EventArgs, System.Windows.Forms.ToolStripItemEventType)
   at System.Windows.Forms.ToolStrip.OnMouseUp(System.Windows.Forms.MouseEventArgs)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(System.Windows.Forms.MouseEventArgs)
   at System.Windows.Forms.Control.WmMouseUp(System.Windows.Forms.Message ByRef, System.Windows.Forms.MouseButtons, Int32)
   at System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.ScrollableControl.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.ToolStrip.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.ToolStripDropDown.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr, Int32, IntPtr, IntPtr)

Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name=".NET Runtime" />
    <EventID Qualifiers="0">1026</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2015-01-30T23:32:32.000000000Z" />
    <EventRecordID>28117</EventRecordID>
    <Channel>Application</Channel>
    <Computer>Laptop</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
Stack:
   at Microsoft.ReportDesigner.Data.Local.Dialogs.Pages.DataSetGeneralPage.LoadDataSources()
   at Microsoft.ReportDesigner.Data.Local.Dialogs.Pages.DataSetGeneralPage.LoadData()
   at Microsoft.ReportDesigner.Data.Local.Dialogs.DataSetDialog.OnLoad(System.EventArgs)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.ScrollableControl.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.ContainerControl.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Form.WmShowWindow(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Form.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr, Int32, IntPtr, IntPtr)
   at System.Windows.Forms.SafeNativeMethods.ShowWindow(System.Runtime.InteropServices.HandleRef, Int32)
   at System.Windows.Forms.Control.SetVisibleCore(Boolean)
   at System.Windows.Forms.Form.SetVisibleCore(Boolean)
   at System.Windows.Forms.Control.set_Visible(Boolean)
   at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
   at System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
   at System.Windows.Forms.Application.RunDialog(System.Windows.Forms.Form)
   at System.Windows.Forms.Form.ShowDialog(System.Windows.Forms.IWin32Window)
   at System.Windows.Forms.Form.ShowDialog()
   at Microsoft.ReportDesigner.Data.Local.Dialogs.DataSetDialog.Show(Microsoft.ReportingServices.RdlObjectModel.DataSet, Microsoft.ReportDesigner.Report)
   at Microsoft.ReportDesigner.RdlcReportManagement.EditDataSet(Microsoft.ReportingServices.RdlObjectModel.DataSet)
   at Microsoft.ReportDesigner.SchemaBrowser+&lt;&gt;c__DisplayClass17.&lt;editButton_Click&gt;b__11(Microsoft.ReportDesigner.UndoGroup)
   at Microsoft.ReportDesigner.UndoManager.DoTopLevelOperation(System.String, System.Action`1&lt;Microsoft.ReportDesigner.UndoGroup&gt;)
   at Microsoft.ReportDesigner.SchemaBrowser.editButton_Click(System.Object, System.EventArgs)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(System.Object, System.EventArgs)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(System.EventArgs)
   at System.Windows.Forms.ToolStripItem.HandleClick(System.EventArgs)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(System.Windows.Forms.MouseEventArgs)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(System.EventArgs, System.Windows.Forms.ToolStripItemEventType)
   at System.Windows.Forms.ToolStripItem.FireEvent(System.EventArgs, System.Windows.Forms.ToolStripItemEventType)
   at System.Windows.Forms.ToolStrip.OnMouseUp(System.Windows.Forms.MouseEventArgs)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(System.Windows.Forms.MouseEventArgs)
   at System.Windows.Forms.Control.WmMouseUp(System.Windows.Forms.Message ByRef, System.Windows.Forms.MouseButtons, Int32)
   at System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.ScrollableControl.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.ToolStrip.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.ToolStripDropDown.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr, Int32, IntPtr, IntPtr)
</Data>
  </EventData>
</Event>

Viewing all 21115 articles
Browse latest View live