Wondering how does one take a User Control Form and insert into a Window Form? I can't seem to figure it out or wrap my head around how a company did it with their SDK.
Any help would be really appreciated. Thanks!
Wondering how does one take a User Control Form and insert into a Window Form? I can't seem to figure it out or wrap my head around how a company did it with their SDK.
Any help would be really appreciated. Thanks!
Hi All,
I have downloaded Visual Studio Community 2017, As It's free and I have gone through it's terms and conditions.I am single developer and no organization/no enterprise wants to use as a single developer.I want to make a website socially and get adds through Google Adsense. Can I use this Visual Studio Community for this case. Can you please confirm. Thank you Guys.
I created a Form with a ComboBox on it named comboBox1, and if I load text in the ComboBox at program start, it shows the text being selected:
Notice that the text inside the ComboBox shows as selected. I want to text to not show selection when the program starts, like this:
Here is the code I use. I attempt to set Select() to 0 with 0 length, to no avail:
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace WindowsFormsApp1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); this.comboBox1.Text = "Hi!"; this.comboBox1.Select(0, 0); } } }
He there!
I'd like to know how to embed an image inside source colde like (this code was copied from an c# file with Visual Studio 2017):
new SampleItem( "📏","Accelerometer", typeof(AccelerometerPage),"Retrieve acceleration data of the device in 3D space.", new[] { "accelerometer", "sensors", "hardware", "device" }),
Where can I find this type of image and what's its format?
Thanks in advance.
Ciro
Visual studio restart when close solution.
attach window event log.
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> - <System><Provider Name="Application Error" /> <EventID Qualifiers="0">1000</EventID> <Level>2</Level> <Task>100</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2019-02-20T08:07:31.433624200Z" /> <EventRecordID>30188</EventRecordID> <Channel>Application</Channel> <Computer>PC</Computer> <Security /> </System> - <EventData><Data>devenv.exe</Data> <Data>15.9.28307.423</Data> <Data>5c5b5342</Data> <Data>Qt5CoreNvda.dll</Data> <Data>5.7.0.0</Data> <Data>5811baa1</Data> <Data>c0000005</Data> <Data>001b0cd5</Data> <Data>21cc</Data> <Data>01d4c8eaff77ee7a</Data> <Data>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\devenv.exe</Data> <Data>c:\Program Files (x86)\NVIDIA Corporation\Nsight Visual Studio Edition 5.6\host\common\Qt5CoreNvda.dll</Data> <Data>28256dbb-ae29-406b-a88a-128a7232c086</Data> <Data /> <Data /> </EventData></Event>
how to solve this problem?
Hi,
how can i get content from "find all reference" window in viusal studio 2015, in c#, to manipulate them?
Thank for answer.
Hi.
We are using our own build server connected to Azure DevOps.
On build server I have installed Visual Studio 2017, SSDT.
Build is using command line to build SSIS project, for example : "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\devenv.com" "C:\work\SSISproject\SSIS.sln" /Build Development
I have activated Visual Studio with my MSDN subscription.
Problem is, that after some period - I need to reactivate again Visual Studio (by updating license), otherwise build will fail with error : "The license for Visual Studio has expired."
This is not big issue, if I would have only 1 build server, but if I have 10 or more, then it is problem.
My question - what is solution to this problem on build server ?
Thanks
Mareks
XamlParseException
,
even when I choose the Blank App project. I will list everything I tried.Here is my App.xaml code:
<Application x:Class="App2.App" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:App2"></Application>
Here is the MainPage.xaml code:
<Page x:Class="App2.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:App2" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"><Grid></Grid></Page>
Code to db workflow. Trying to query my db. When I use the below code I get the errors mentioned below?
public class CustomersController : Controller { private ApplicationDbContext _context; public CustomersController() { _context = new ApplicationDbContext(); } protected override void Dispose(bool disposing) { _context.Dispose(); } }
|
|
|
Hi Friends,
Please help me to fix my visual studio.
I have some plugins like (code rush and resharper) on my visual studio 2015 , I disabled them and still my visual studio taking alot of memory.
I have other plugins like productivity tools... I am not sure which plugin should I disable or remove from visual studio 2015.
How can I verify which plugin on visual studio 2015 is killing its memory.
How to identity. .. such problem.. I can how to find memory logs.. for visual studio so that i can post here.. to get help ?
Thank you,
Priya
Is there a way to 'merge' files in Solution Explorer so that I could show a text file under the corresponding .vb file (such as how SE used to expand to include the .Designer.vb as a child node?)
The reason I ask is because I am planning to publish a component library and would like to 'attach' a ReadMe.txt file and any additional related external files that I might code as nodes under each respective .vb file. This would keep all parts of the whole under individual parent nodes and clean up the SE GUI. Perhaps this could be accomplished via XML somewhere?
I am currently using VS2017 Community Version 15.9.4.
(As an aside: is there a switch that can be set somewhere that would cause the Solution Explorer to show the .Designer.vb node expansion as it used to display?)
Thank you!
Hello,
1) I still have uml diagrams, activity diagrams, classdiagrams from VS2015, that I cannot open anymore on VS2017, is there a tool I could use to keep updating such documentation or make new diagrams?
2) Will the source code of VS2015 documentation’s tool become opensource, in such a way that we as a community can keep upgrading it?
Look forward to your reply
Best
Hi Everyone,
I am new to this forum, but have been using Visual Studio express since 2008. I am managing a large number of projects, but now have come up against a problem. I had to add new solution configurations to all my projects, but one of them when I add a new solution configuration the existing project configurations become confused and some appear to have gone missing when viewing them in the configuration manager. Some solution configurations end up connected to the incorrect project configuration. If I remove the new configuration that I have added (both both the solution and the project), the configurations are back to normal again.
This is happening to only one of my solutions. I have successfully modified all my other solutions/projects.
Has anyone come across this before and remembers how that was resolved?
Forgot to say, I am currently using Visual Studio 2015.
Many thanks in advance,
Michael
Hi,
I am building an interop from C++ DLL for the use from a c# solution as reference library.
I am using visual studio 2017.
The solution uses .Net framewrok 4.5.2.
I currently have a working c++ dll with a certain file version and a matching interop I created using tlbimp.exe with no version and this works OK for me.
The thing is - I now want to update the c++ DLL file version and create a new interop but once I do that (whether the Interop is being generated with file version and whether it isn't ) the solution compiles ok using the new interop but when I run the application It cannot reach it.
RONATMOODYLAKE