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

AppStudio iFrames - Would like to add (Twitch) streaming channel to my app...

$
0
0

Hello all!

Now I am aware of the general limitations around HTML in AppStudio; text only support. So I went ahead and downloaded the source, added the project to Visual Studio, found the HTML file located in the shared resources folder and added the following iframe HTML code:

<iframe src="http://www.twitch.tv/theattack/embed" frameborder="0" scrolling="no" height="378" width="620"></iframe><a href="http://www.twitch.tv/theattack?tt_medium=live_embed&tt_content=text_link" style="padding:2px 0px 4px; display:block; width:345px; font-weight:normal; font-size:10px;text-decoration:underline;">Watch live video from TheAttack on www.twitch.tv</a>


As well as the iframe embed for the chat channel:

<iframe src="http://www.twitch.tv/theattack/chat?popout=" frameborder="0" scrolling="no" height="500" width="350"></iframe>

When I build/compile/run the app, nothing on my HTML page shows, at all. I really would appreciate any insight into embedding videos, streams or general iFrames (in VS using the source of my app), as it would be crucial for what I am trying to achieve.

Any input/feed would be greatly appreciated.


exception language in windows 8.1 and visual studio 2013

$
0
0

Since I got a new computer with windows 8.1 on it, debugging in visual studio is frustrating: system errors (exceptions) are received in Hebrew instead of English. I live in Israel but that does not mean that the professional language for development should be Hebrew!

Everything I tried in changing region and language has not helped.

Please help me to set up the system so that I will get system errors and exceptions in English likeI used to in windows 7

.csproj project type

$
0
0
I am trying to open a file that was written in VS-2008 and I am getting the .cs proj type not supported by this application ?

Visual Studio doesn't respond to mouse input

$
0
0

Hello,

I have Visual Studio 2013 Premium installed on both this and another laptop, and both laptops have the same issue: Visual Studio occasionally doesn't process my mouse inputs. During this time, Visual Studio will still respond to keyboard commands, but the application is completely irresponsive regarding mouse input: it won't scroll, it won't accept clicks, it won't press buttons, it won't show the value of variables when you're hovering over the variable while debugging, nothing.

Then, after a period of 10-20 seconds, it's as if the application wakes up and processes all buffered mouse inputs. I don't know what triggers it and I don't know what makes it go away. It doesn't seem to be isolated to a single solution nor is it computer specific. I don't have anything installed that isn't installed after a default VS2013 installation. I use a Wacom tablet as a mouse, but the problem also occurs with a simple USB mouse or with the laptop's touchpad.

Does anyone here know how to solve this? I simply can't work with it like this.

Yours sincerely,

Robbert

How to add user to the VB6 project in VSS6.0

$
0
0

I want to make my my VB6 project for 2 programmer(Jimmy & Mark) to be involved.

I already created two users(Jimmy & Mark) in the VSS Administrator.

If I open project, only Jimmy is involved, not Mark.

Jummy can check in/check out files to modify it.

However I can't get Mark join to our project.

How could I add Mark to my project?

How to update GUI

$
0
0

Hello, I'm new at programming and probably asking some very stupid questions so please bare with me.

I made a CPU Monitor that runs in a console window. 

I know want to create a GUI for an extremely similar program. I just don't know how to do it. I've been looking at the toolbar in VS and don't know which tool to use. All I want to do is print the CPU Load and available RAM to the screen and have it update every second. If someone could please point me in the right direction that would be greatly appreciated. 

Thank you,

Matthew

Visual Studio 2013 C++ watch window: arrays copy incorrectly to clipboard

$
0
0

This is a copy of a question I initially posed on stackoverflow. After the investigations now folded into question below it became fairly apparent that the likely cause is a bug in Visual Studio. Can it be fixed?

In Visual Studio 2013 it is possible to view multiple elements of a C array using a watch like p,10000 (where p is a double * for example).

In the example below I show a screenshot of part of such an array as seen in the watch window and the same part of the array as CTRL-C copied and CTRL-V pasted into a text editor. Note that from element 25 onwards the copy/pasted values are not in line with those in the watch window (which are correct).



        [20]    1.0945579725021715    double
        [21]    0.99979213435791758    double
        [22]    1.0971002689671798    double
        [23]    0.99977802981060826    double
        [24]    1.1002739126009620    double
        [25]    0.99964664435140704    double
        [26]    1.1054689877466559    double
        [27]    0.99963245464284955    double
        [28]    1.1002149405804762    double
        [29]    0.99961125488418856    double
        [30]    1.0956742333763470    double

So far in my experiments I tend to see the first few values and the last few values are copied correctly leaving a middle section of the array which is incorrect. It does not always go wrong. Often it works for the first array inspected but goes wrong for the subsequent ones. Also when it goes wrong it seems that copy/pasting the values a second time sometimes leads to a correct result. It appears that the incorrect numbers are generally the previous values of some of the elements of the array - what is copied to clipboard is a mixture of the array's current and previous contents. The arrays I'm seeing this with are 2000-plus elements long.

This is suggestive of an incorrectly-invalidated (i.e. sometimes only partially updated) copy of the data being used in Visual Studio's implementation of the copying to clipboard. My experiments strongly suggest that elements in the copy of the data rendered to clipboard are updated if and only if those elements (or sufficiently "nearby" elements - it appears there could be a "paging block size" involved), have been shown on screen. In particular scrolling through the array a page at a time seems to cause copying to work correctly while flicking from the top of the array to the bottom of it using HOME and END keys does not lead to the the middle section of the array being updated in the copy which then gets rendered to clipboard.

Indeed if one sets up multiple watches on the same array one can get multiple answers, for example this is the data copied to clipboard after hitting the same breakpoint three times. The first time the breakpoint is hit I copy all the data and it all gets copied to clipboard correctly. The second time is patchy. Crucially I then scrolled down about 25% of the way through the watch window, enough to inject the yellow data into what ends up on the clipboard. I then returned to the start of the watch window and continued execution until the third time the breakpoint is hit. I then selected all the data in the watch window and copied it using CTRL-A CTRL-C. The result is that the data in pink is from the first time the breakpoint was hit. The data in yellow is from the second time and the unhighlighted data is actually correct. Note that elements 0 and 1 of the pink data are even out of line with the summary of the array just above them! I have omitted elements 2-497 and 503-997 for brevity.



Having used various VC++ versions from 6 onwards I have not previously seen such behaviour and have not immediately been able to find a reference to it on the web.

If one is relying on this functionality when debugging something complex one can scratch one's head wondering about the strange numbers for ages before realising one is being misled.

I am using Microsoft Visual Studio Professional 2013, Version 12.0.31101.00 Update 4.

Has anyone else seen this and does anyone know more about it or know of a fix or workaround for it?

problem

$
0
0

how do i solve this

<Error Condition="$(MDAInstallErrorCode) != '0' And $(MDAInstallErrorCode) != '-17'" Text="Error installing local npm package.

 in visual studio 2015 rc


Microsoft Visual Studio Community 2015 RC - license terms

$
0
0

Dear Microsoft Community Team

I have just downloaded / installed the Microsoft Visual Studio Community 2015 RC product and I am amazed with the host of features it offers.

However I was surprised to find that my license would expire in just 14 days, though I had logged in with my Microsoft account. Then I noticed the link to "check for an updated license" which I naturally pounced upon, and now I see that my license will expire in 131 days.

So I wonder, do we not get a perpetual license for this excellent community product ?

Is this limitation in the validity of the license only because this is a pre-release version and a more permanent version would be available free on expiry of this ?

Thank you again for making available such an excellent product for use by keen individuals like me.

Ananda

Got an error getting into VS 2013

$
0
0

I was just trying to get into VS 2013, when I got the following error.

Wasn't doing anything fancy - just trying to get into it. What "Command" is it that VS 2013 is complaining "... already exists"?
 
Of course I got out and then got back in again, but still I wonder what's going on and whether I should be concerned about it.


Rod

Unable to open JSON file as it exceeds the 5 MB limit for the JSON editor

$
0
0

For my Windows 8.1 universal app, my source data stored in JSon file exceeds the 5MB limit for the JSON editor and therefore my app fails to initialize. Now I cannot run both my Windows phone 8.1 and Windows 8.1 app. Also, now when I open my JSON file for editing, the VS 2013 JSON editor does not allow me to add more data to it.

I am not sure if this is a Visual Studio issue. Does Visual Studio have limitation on Json file?

Anyone encountered this issue before? Any idea on how to increase the 5MB limit? I really don't want to lose the data that I have added to the JSON file and it is really painful to move it to other format.

How to remove the particular item from IEnumerable ?

$
0
0

Hi,

I have one ObservableCollection and i have the some values in this like below.

ObervableCollection<Model> myCollection = new ObservableCollection<Model>();

The above mentioned model contains the complex property.

Model class definition:

Public class Model

{

public int Number;

//complex property

Public Employee Name;

}

Public class Employee

{

public string FirstName;

}

Model m = new Model();

m.Number = 12;

m.Name = new Employee();

m.Name.FirstName = "Name1;

myCollection.Add(m);

m= new Model();

m.Number = 15;

// here i am not set the value to complex properties.

myCollection.Add(m);

IEnumerable records = (myCollection as IEnumerable).OfQueryable();

 

Now i need to remove the item from above IEnumerable records and the condition to remove the items If the complex property having null. ( In the above, i am not set the value to second record). so in my case i need to remove one record from the records.

I will not use the temporary collection to remove this.

I will not remove that record from ObservableCollection itself.

 

Thanks in Advance, Please help me.

Thanks,

Elavarasan M

 

 

 

Does Visual Studio 2013 still support WPF Designer Extensibility?

$
0
0

I found some documentation on WPF Designer Extensibility for .NET Framework 3.5 and I tried out the "How To" here:

https://msdn.microsoft.com/en-us/library/bb907313%28v=vs.90%29.aspx

I tried it in Visual Studio 2013, but I wasn't ever able to get the design extension to work.  Does Visual Studio 2013 still support WPF Extensibility?  If so, what might be different between when the "How To" was written and now that would cause the instructions to fail?  Or is there another way to control WPF controls at design time?

Thanks!

How To Move An Entire Solution From a Thumb Drive To a Hard Drive (C#)

$
0
0

I have a solution that is on a thumb drive (drive I).

I want to move the solution to a hard drive (drive H), but each time I try to do this the copy moved to the H drive continues to point to the I drive.

Can one of you please describe the method for doing the above, so that the solution does not point to the I drive?

I feel OK about modifying the files in the solution to point to the H drive, but I want to make sure I do it right.

Thank you.

 

Tom Childers, Radio Amateur N5GE, Licensed since 1976, QCWA Member 35102, ARRL Life Member

How to stop Visual Studio Express 2013 auto incrementing project?

$
0
0

I am using VS Express 2013. Each time I created a new website (TestSite for example), for any reason if I delete it and re-create it later, vs increments it such TestSite(1), TestSite(2), .... TestSite(n). How should I do to stop this incremental situation? Regards, Max


object reference not set to an instance of an object in running Python application

$
0
0

Good Day.

Am new to Python. And watched some tutorials on how to use/code it. Recently, I installed VS2013 with Update 4 aswell as PTVS 2.1 VS 2013 and CPython interpreter, python-3.4.5. Knowing that I've installed all the prerequisites, I'm now ready to test my a print sample of "Hello World" through print(''Hello World"). But as soon as I hit the Start button, an error suddenly (and keeps on) pop-up stating, "object reference not set to an instance of an object." and I was not able to run the output.

I wanna know what was wrong or did I missed something? Please just let me know. I want to start building projects in Python.

Unable to open JSON file as it exceeds the 5 MB limit for the JSON editor

$
0
0
For my Windows 8.1 universal app, my source data stored in JSon file exceeds the 5MB limit for the JSON editor and therefore my app fails to initialize. Now I cannot run both my Windows phone 8.1 and Windows 8.1 app. Also, now when I open my JSON file for editing, the VS 2013 JSON editor does not allow me to add more data to it. Anyone encountered this issue before? Any idea on how to increase the 5MB limit, or split the file into multiple files, and yet let the application use it as one big JSon file?

How to enable feature in my Visual studio 2013 texteditor feature to underline if file not found

$
0
0

How to have my text editor in visual studio 2013 show error or warning when my file path for referencing a file is not found

(for example ~/Scripts/jquery-1.10.2.js"> ... if there is no Scripts folder the the above line should be underlined with warning

This does not happen in my Visual studio Ultimate (2013)

Unable to Create a C++ Projekt in VisualStudio 2010

$
0
0

Hi,

my Visual Studio does not create new C++ Projecs, in older Projects it doesen't find my C++-Compiler, that is installed with Visual Studio.

I have a fresh Windows 7 Installation, installed 3 days ago as well a new Visual Studio Professional Installation (complete), I only modified the pathes to my projects. When I try to create a new C++ project the wizard flickers and the same window reapears without a project created. Projects in the other languages (c#, F#,...) are created without any trouble. My older C++ projects compile with Visual Studio 2010 on different machines, so I'm fairly sure the projects aren't corrupt.

I have the same problems in safe mode (Windows and/or VS) and new account, already tried reseting the Default Settings as well as repairing the VS Installation with the wizard and a new Installation. None did work, so I still cannot work with C++ in VS.

Regards

Patricia

VS 2013 ToolBox taking many seconds to drag/drop?!?

$
0
0

Does anyone know why VS would take a number of seconds to drag a control from the ToolBox to the designer? If I type the Xaml it's instant, however... The exact opposite is true in Blend for VS. typing tags out is very slow, but drag/drop from Assets is instant.

Also as my solution has grown, Blend has become a non-option. If I add something to a gui object in Blend, if I try to move it the whole window freezes.

Steve


Viewing all 21115 articles
Browse latest View live


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