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

Read and Submit Data from Active Application

$
0
0

I do have window application that accept the user and password.

I would like to write an application using C# to write the user and password then hit submit to this active screen.

how can we do this?


hussain


Can not signin to VS 2013 after Update 3

$
0
0

Hi,

I just installed Update 3 for VS 2013, but now I can not sign in into VS.

On the right top corner is showing yellow triangle and when I click on Sign in, nothing happen.

I also discovered when I have selected TFS as Source Code, I can not open Environment settings. It showing only "An error occurred loading this property page".

Where can be problem please?

Thanks for help!

Need advice w/ debug scenario

$
0
0
Hi,

I'm developing an ASP.NET MVC 5 app that uses Facebook authentication which means I register my app's URL with Facebook while the app is in development/sandbox mode.

When I debug the app locally, it just goes to localhost:{SomePortNumber} as usual. I also have a staging server where I'm testing the app in an identical environment as the production server.

Currently, I need to keep updating the app's URL on Facebook back and forth as I test my app locally or on staging. I remember reading some creative workaround somewhere about using hosts files and telling VS to use a fake domain during local debugging.

Anyone familiar with this technique? Or can anyone suggest a good solution so that I and others in my dev team don't have to keep updating the sandbox URL on Facebook while we're debugging it?

Thanks, Sam


Visual Studio 2013 stopped working

$
0
0

Salam

I am getting the error "an unhandled microsoft .net framework exception occurred in devenv.exe" while opening Visual Studio 2013. I am facing this problem after upgrading my operating system to Windows 8.1. I have visited many sites but didn't get any appropriate answer. Can anyone please help me to get rid of this error. 

Thank You

How to write text and Submit Data from any Active window Application

$
0
0

I do have window application that accept the user and password.

I would like to write an application using C# to write the user and password then hit submit to this active screen.

how can we do this?


hussain

Can't find schemas.microsoft.com/sharepoint/v3/contenttype/forms/url

$
0
0

Help --

I just installed VS2012 on my server 2008R2 machine and I am having problems:

I am creating a SharePoint 2010 Farm Solution with a content type Element file.  In this file is a XmlDocument tag with an attribute NamespaceURI=http://schemas.microsoft.com/sharepoint/v3/contenttype/forms/url.  It fails to find the schemas file.

The following is the entire element tag for the content type:

<?xml version="1.0" encoding="utf-8"?><Elements xmlns="http://schemas.microsoft.com/sharepoint/"><!-- Parent ContentType: Item (0x01) --><ContentType ID="0x0100B4F1E630065C4B17AE898DBBE157FCE2" Name="MyContentType" Group="Custom Content Types" Description="My Content Type" Inherits="TRUE" Version="0"><FieldRefs><FieldRef ID="{7efd0ac4-a880-47ae-a08a-609ff8250afc}" DisplayName="Requestor" Required="FALSE" Name="Requestor" /><FieldRef ID="{132b9323-00d6-442f-a6d1-1bb3855be1c5}" DisplayName="Site URL" Required="FALSE" Name="Site URL" /><FieldRef ID="{0c820fba-a6da-47a4-94b5-7b70ef229460}" DisplayName="My Status" Required="FALSE" Name="My Status" /><FieldRef ID="{f98d41a1-a4db-4daa-93de-4d6ec6180f59}" DisplayName="Requestor Comments" Required="FALSE" Name="Requestor Comments" /><FieldRef ID="{9011bfd4-85c9-4da4-a093-d2362d16afd7}" DisplayName="Submit Date" Required="FALSE" Name="Submit Date" /></FieldRefs><XmlDocuments><XmlDocument NamespaceURI="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms/url"><FormUrls xmlns="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms/url"><New>_layouts/SpDevPipelinePractice1/MyForm.aspx</New><Edit>_layouts/SpDevPipelinePractice1/MyForm.aspx</Edit></FormUrls></XmlDocument></XmlDocuments></ContentType></Elements>


I also notice that I had .Net 3.5.1 installed before I installed VS2012 and not I only have .Net 4.5 installed and .Net 3.5.1 is not there.

Any help would be appreciated.

Thanks

Jack



Snippet removes code after $

$
0
0

Hi,

I wanted to create a snippet to add a piece of jquery code but my snippet which validates ok, has everything after a $ removed. 

eg

$(document).ready(function){ - this line is removed

more code........

});

anything placed before the $ still remains intact.

To me it feels like some over like an over zealous regular expression is removing my code.

Update:

I have got round issue by expanding $ to jQuery but I still think this is a bug

Feature Request: Source Control Feedback in Output Window

$
0
0
When getting latest (recursive) of my solution, I always wonder what might have been changed.  It would be nice to show the changes in the Output window so I know what files were added, removed from and changed in my project.

Todd Haehn


WCF Rest Api definition for a specific request

$
0
0

Hi GUys,

Need help at earliest....

I have a situation to build a service based on the request. This is the first time i had to work like this.....

Request that client system sends me:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns1:dataset xmlns:ns1="http://www.mysol.com/entity">
<ns1:Report Name="SalesOctober08" Description="Monthly Sales Analysis Rpt 1" Created="01/01/2008" FileName="Sales_rpt_2008" />
<ns1:Report Name="SalesOctober09" Description="Monthly Sales Analysis Rpt 2" Created="01/01/2009" FileName="Sales_rpt_2009" />

<</ns1:dataset>


I have created an object SalesReport that has parameters Name, Description, Created, FileName

Can someone please show me how to expose a wcf rest api service that accepts the above request..and then deserialise to objec of SalesReport...



Anyone else finding their posts mysteriously deleted when speaking out against the direction of Microsofts software?

$
0
0

It seems Microsoft doesn't allow valid concerns to be addressed in their forums anymore. I voiced my concerns about the direction they're taking Visual Studio and I find the thread has now been deleted, in true gangsta fashion. You don't like what your customers are saying? Just silence them.

Does "VS2013.3.ISO" file also allow you to install from scratch with the latest updates?

$
0
0

I just downloaded "VS2013.3.ISO" for the "Professional" version to update my Visual Studio software to the latest version. The .ISO file is at least a gigabyte larger than the original release .ISO file I still have on my computer.

I wonder if it's possible to delete the original Visual Studio 2013 Professional .ISO image file and just use this behemoth if I ever decide to reformat my system and install from scratch. Is that possible?

Convert VS 2003 solution-project files to VS 2008 version?

$
0
0

Hello is there and/or what's the best way to convert an existing VS 2003 source files (VB) to VS 2008 version in aiming to have a compiled .EXE network executable file?

Thanks in advance.

What is needed to run SQL Static Code Analysis on SQL Server DB Project?

$
0
0

I am trying to run Static Code Analysis against a SQL Server database project using VS 2010 Premium.  

When I try to run the analysis, I see the message 'Code analysis failed' at the bottom on the screen and nothing happens.  I cannot find this message anywhere in any posting to determine what it means.

Does anyone know what is going on?  Do I need TFS?  The examples and walk-throughs for running Static Code Analysis online all seem to refer a step that involves using TFS.

Thanks in advance

vs2013 indentation incorrect when omit some brackets

$
0
0

vs2013 C++.

The indentation is incorrect when I omit some brackets, e.g.:

if (1)
        if (2)
            if (3)
            {
                int a = 0;
            }

But vs2013 format this into below:

if (1)
    if (2)
        if (3)
        {
    int a = 0;
        }

The line 'int a = 0;' is indented incorrectly, unless I add brackets for the 'if(1)' and 'if(2)'. This does not happen in vs2010 or vs2012.

Coded-UI (Visual studio 2013 Premium) issue with IE 10 / IE 11 browsers

$
0
0
I written coded-UI automation test in Visual studio 2013 (Premium) against a very simple application. (refer the code below). It launches IE browser and maximizes it. and then it needs to click on a Login button (simple HTML control), it clicks ( I can see focus and button is being pressed) but page keeps on loading i.e. there is a progress-spin icon which keep spinning indefinitely and subsequent page doesn't load at all. Whereas with CHROME browser the script works fine i.e. it clicks on Login button and goes to next page. THIS IS HAPPENING ONLY ON IE BROWSER AND IT GOES VERY WELL WITH CHROME BROWSER.

Coded-UI script:

AppWindow = BrowserWindow.Launch(new System.Uri(string_url));        
waitTillThisHeaderAppears("Username"); // custom function
//Keyboard.SendKeys("{ESCAPE}");
//AppWindow.Refresh();            
AppWindow.Maximized = true;
AppWindow.WaitForControlReady();
HtmlControl btnLogin= new HtmlButton(AppWindow);
btnLogin= CreateControl(btnLogin, "control_ID", null, null, null, null, null, null);            
 //-- tried commenting & uncommenting but did not work 
 //Playback.PlaybackSettings.SmartMatchOptions = SmartMatchOptions.None; 
 //Playback.PlaybackSettings.MatchExactHierarchy = true;
 //control.WaitForControlReady();
 control.SetFocus();
 Mouse.Click(btnLogin);


Tried on Windows 7 (IE10 browser), Win 12 Server R2 (IE11) but no luck.

// IE 10 version is 10.0.9200.17028

// Visual Studio 2013 Premium

Microsoft Visual Studio Premium 2013

Version 12.0.21005.1 REL

Microsoft .NET Framework

Version 4.5.50938

Installed Version: Premium

I want to get this work with VS 2013 premium only!!

Just FYI : There is another thread in msdn but that is not this issue:

http://social.msdn.microsoft.com/Forums/en-US/17a4cbe3-b62d-4e21-8049-c161d622742e/microsoft-visual-studio-2013-premium-coded-ui-test-does-not-work-with-microsoft-internet-explorer-11?forum=vsmantest

Please help!

Thank you

Chandra


VB 2012 Windows 8 | Click Button for "PopUp" Tool to show!

$
0
0

I would like to click a Button and then the Pop Up will show Untill I Use a code to exit it!

Im using the Built In PopUp System and wondering what the code was to make it show in an If Statement.

Such as If Button_Tapped, PopUp Open? You know

Any Help is Greatfull thanks!

Folder

$
0
0
This seems like a dumb question, but I coded things in a folder in visual studio and i was wondering if I could take the files out of it. The reason being is because when I downloaded my workspace, I noticed all my files were project\ (project being the name of my folder).

Painfully slow starting a web application in visual studio

$
0
0

In Visual Studio, if I go Debug > start debugging or Debug > Start without debugging, the browser appears after a few seconds, but then is sits there with the connecting message for about 30 secs before the page loads (i.e. to http://localhost:51350/).

I have created a brand new empty MVC4 internet application to check it is not breakpoints or something.

It is the same on Firefox and Internet Explorer.

Subsequent clicks on the links on the browser page (or pressing F5 in the browser) are very fast - it is just the initial load after compliation that is slow.

The only uncomented line in my hosts file is: 127.0.0.1       localhost

If I load webpages with Apache it is very quick (of course I have apache switched off when I'm running the VS tests).

I have applied all updates to Visual Studio.

I'm on Visual Studio 2012, Windows 7 64-bit, 8GB RAM


Difference between VSExpress 2013 and VS2013 professionnal

$
0
0

We currently use VS2010Pro.  But need to upgrade to a more recent version(2013).   My company is a manufacturer and needs tools to mostly help in the production process.   We only develop applications for internal use only, that connect to SQL server database server,  we are not selling outside.

We sould like to know what are the limitations of using VSExpress compared to the paid PRO version.   Is there any features not available?   Can you point me to any documentation that would support this question.

Thanks

Pierre

Output window closes immediately after finishing

$
0
0

I just moved from VS C++ 2010 to VS C++ 2013. After successfully compiling a code (desktop, console), when I start the executable (w or w/o debugging), VS 2010 opens the black cmd.exe window, runs the code, and at the end keeps the cmd.exe window open - which is what I want. VS 2013 runs the code and closes the cmd.exe window immediately. What do I do if I want the window to stay open? Thanks.

Viewing all 21115 articles
Browse latest View live


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