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

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


How should i do this?

$
0
0

hi there!

i have a main form that have a section in it called "display section"which is a part that it's content most be changed thorough cretin functions, much like a Tab Controller, actually it is a Tab controller! BUT i can't use Tab Controller such as using too much unnecessary memory, lacking some function when changing tab, and etc.

i was wondering how i can create an alternative to the tab controller, so far i come with the idea of creating a group box and when changing tabs, app destroy the old group box and spawn a new group box with new content, in so many ways this is good option for me, but then again i found out if i do it, it will be almost impossible for me to edit or make the tabs now :D

also i tried using HTML pages but it has the same result of using a normal tab controller.

what do you think i should do here?

Automate VS?

$
0
0

I would like to automatically open a solution and start debugging using the startup project set for the solution. I see alot of solutions that have addins that do various tasks. I want to automate the actual devenv.exe process. I can open a solution automatically using the file association with .sln. But I cannot automatically start the debugger and then leave control to the user.

Ideas?


Kevin Burton

Side by Side error eventid 59

$
0
0

Hello,

I am trying to compile my Visual Studio MVC project but a licenses.licx file is present in my project (which I need) I am getting the below error. Once the licenses file is deleted, the project builds. Please assist with any steps I should take to reconcile this. Thank you.

=================
Begin Activation Context Generation.
Input Parameter:
Flags = 0
ProcessorArchitecture = Wow32
CultureFallBacks = en-US;en
ManifestPath = C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\LC.exe
AssemblyDirectory = C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\
Application Config File = C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\LC.exe.Config
-----------------
INFO: Parsing Application Config File C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\LC.exe.Config.
ERROR: Line 0: XML Syntax error.
ERROR: Activation Context generation failed.
End Activation Context Generation.

What tools do I need

$
0
0

Hi,

I would like to build the following Outlook (2007) functionality:

- With an E-mail open I would like to save the body text to a MySQL Database.

- Within Outlook, search a MySQL database and present the user with a selection list.

- Search through the inbox, outbox or a local folder from my application (Powerbuilder).

My question is can I achieve this with Visual Studio Express (community?) or do I have to purchase a full-blown Visual Studio (overkill)? Also, not being a VS developer, where would be the best place to find resources (examples). I can find my way around VB.

Thanks for any help.

Gerry.

service reference files auto-generating with my computer name

$
0
0

Hello,

I need some help understand how service references work.

I'm working in Visual Studios 2012 and I have a web application and a service that it references. Every time I compile or update the

service reference, it auto-generates code with references to my local computer by name. So if I do a global search for "my_computer_name"

it comes up with at least 4 files:

configuration.svcinfo
configuration91.svcinfo
Security.wsdl <-- My service contains a class called Security, which implements the interface ISecurity, which is what the application

uses to interface with the service.
Web.config

This isn't doing any harm sitting on my local machine, but we use Team Foundation Server and I don't want to check in files with

references to my own machine.

Also, I don't want to publish and deploy the app with references to my local machine either.

I'd much rather reference "localhost"--that way, I don't force other developers or end users to have to deal with an application that

wants to reference my local machine.

Is there a way to set the service reference and the web.config to auto-generate code with references to "localhost" rather than my actual

computer name?

How do I get relationship diagrams in VS 2013 Express for Web

$
0
0

I am trying to get a relationship diagram to manage my foreign keys in my sql database and see the over all schema. Is there some way I can accomplish this:

1) in visual studios (preferred)
2)Or do I need to install SQL Server Express 2012
3) Just learn to live with it

It seems to be an easy question but boy is it hard to find an answer to this.

Thanks

How to Merge C/C++ Compile in Visual Studio 2008?

$
0
0
in the name of allah

hi everyone

i work on a project that contains the C and C++ Codes together.
the project source is in visual sutdio2008 and when i add the C++ files and codes side of C Files, the projects errors like below.
i need the both , please help me.

i don't <b>#include <windows.h></b>
i even use

<pre lang="c++">
#ifdef _windows_
#undef _windows_
#endif</pre>

<b>C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxv_w32.h(20) : fatal error C1189: #error :  WINDOWS.H already included.  MFC apps must not #include <windows.h></b>

is it cause of #include <afxwin.h>?
i use the some codes and functions that need the afxwin.h.

the properties of project is : /MD use standard library
and i tried the /MT and shared dll library.

whats the problem?
thank you

Error when creating Office App projects: "Invalid capability expression at position 29 in the expression "CPS Projects | Test | VisualC"."

$
0
0

Whenever I try creating a new Office app project (regardless of its a Office or Mail app), I'm encountering the following error:

Invalid capability expression at position 29 in the expression "CPS Projects | Test | VisualC".

Also, the project doesn't seem to completely finish creating the Office App template. Only the Scripts folder got created. I've done a search and I can't find any solution. I'm using VS2013, Update 5 CTP.

Help please!

Lace

How to prevent Visual Studio 2012 from restarting itself after crash

$
0
0
My team uses a build system that requires VS to be started from a command prompt with certain environment variables, etc. and when VS crashes and attempts to restart itself and reload the solution, bypassing this process, tens of minutes are wasted. Is there a way to prevent the auto-restart? I'd rather just re-launch the solution myself from the command line. Thanks!

Jason

Printer Preferences options reset

$
0
0

Hi everyone,

I have delivered an application through Citrix to users. When I run the application on the server and I print, the label printer takes the settings of the default printer including paper size. When I run the application through Citrix, the printer settings especially the paper size are reset. This means every time the application is run the settings have to be reset. I have noticed that visual studio C# can be fairly limited when it comes to printing. I am using the crystalReportViewer's print option to print my label reports. The pages are 4x6 but when I go through Citrix the pages become 3x2. Is there a way to force a page size through my code? Any suggestions would be appreciated.


M.N.

Download VS 2012

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

Open popup box within template field

$
0
0

I am new to Visual studio. I am just now picking up HTML5 and so on.I have a webpage that I am working on an ran into several problems. So I converted an asp:BoundField to a asp:Templatefield.My first issue is I want to create a hyperlink that opens up a popup box that can edit and save info. The TemplateField is bound to a back server.

<asp:TemplateField HeaderText="Effect" SortExpression="Effect"><EditItemTemplate><asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("Effect") %>'></asp:TextBox></EditItemTemplate><ItemTemplate><asp:Label ID="Label1" runat="server" Text='<%# Bind("Effect") %>' Width="100px" CssClass="shorter" ></asp:Label></ItemTemplate></asp:TemplateField>
This is my code so far for the field I want to work with. I'm not sure If I am suppose to use the ItemTemplate or the EditItemTemplate. I'm guessing that:
Text='<%# Bind("Effect") %>'
is the actual code todisplay the code. If that is so then I want to click on the text in the cell and it open a popup box that shows all of the text. As of now it will show partial text (i.e. This is an...). So I want to click on that open a pop up menu that will show the full text (i.e. This is an example and I need help). Then I could edit and save that info. Thank you for any help.

VS2013 Update 3 and Azure SDK 2.4 started opening localhost instead of local IP address

$
0
0

I submitted a bug report about this bug in August of last year, but I'm tired of waiting for an actual response from MS. Can anyone help with this bug here?

https://connect.microsoft.com/VisualStudio/feedback/details/956300/vs2013-update-3-and-azure-sdk-2-4-started-opening-localhost-instead-of-local-ip-address

Here is the meat of the bug:

We just updated Visual Studio 2013 to Update 3 and updated Azure SDK to version 2.4. We select "Use IIS Web Server" and "Use Full Emulator" for the WebRole.

Previously, when we debugged our solutions, they would start up the Azure Emulators, then open the browser with the correct local IP address and port number (e.g. 127.0.0.1:81). If we open another solution and debug it, it would then open the browser with an incremented IP address and new port number (e.g. 127.0.0.2:83).

Now, out of nowhere, after doing these updates, when my coworker and I (two separate computers) try to debug any of our solutions, it opens the browser with "localhost:81". This works fine for the first solution we run (since localhost binds to 127.0.0.1, which is where the site is actually running), but when we run a second solution, it opens with "localhost:83". This obviously doesn't work, because it's mapping to "127.0.0.1:83", when that site actually maps to "127.0.0.2:83".

I checked in the Azure Compute Emulator and see some errors appearing, but not sure what they mean or if they are causing this issue:

[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:09.136Z
[MonAgentHost] Error:     2
[MonAgentHost] Error:     9136
[MonAgentHost] Error:     9016
[MonAgentHost] Error:     SystemEventsListener.dll
[MonAgentHost] Error:     0
[MonAgentHost] Error:     f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error:     systemeventslistener.cpp
[MonAgentHost] Error:     SystemEventsListener::GetEventMetaData
[MonAgentHost] Error:     1312
[MonAgentHost] Error:     0
[MonAgentHost] Error:     2
[MonAgentHost] Error:     The system cannot find the file specified.
[MonAgentHost] Error:     EvtOpenPublisherMetadata failed
[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:09.136Z
[MonAgentHost] Error:     2
[MonAgentHost] Error:     9136
[MonAgentHost] Error:     9016
[MonAgentHost] Error:     SystemEventsListener.dll
[MonAgentHost] Error:     0
[MonAgentHost] Error:     f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error:     systemeventslistener.cpp
[MonAgentHost] Error:     SystemEventsListener::AnalyzeEvent
[MonAgentHost] Error:     1197
[MonAgentHost] Error:     ffffffff80010008
[MonAgentHost] Error:     0
[MonAgentHost] Error:    
[MonAgentHost] Error:     Error: Cannot get event message meta data
[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:09.197Z
[MonAgentHost] Error:     2
[MonAgentHost] Error:     9136
[MonAgentHost] Error:     9016
[MonAgentHost] Error:     SystemEventsListener.dll
[MonAgentHost] Error:     0
[MonAgentHost] Error:     f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error:     systemeventslistener.cpp
[MonAgentHost] Error:     SystemEventsListener::GetEventMetaData
[MonAgentHost] Error:     1312
[MonAgentHost] Error:     0
[MonAgentHost] Error:     2
[MonAgentHost] Error:     The system cannot find the file specified.
[MonAgentHost] Error:     EvtOpenPublisherMetadata failed
[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:09.197Z
[MonAgentHost] Error:     2
[MonAgentHost] Error:     9136
[MonAgentHost] Error:     9016
[MonAgentHost] Error:     SystemEventsListener.dll
[MonAgentHost] Error:     0
[MonAgentHost] Error:     f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error:     systemeventslistener.cpp
[MonAgentHost] Error:     SystemEventsListener::AnalyzeEvent
[MonAgentHost] Error:     1197
[MonAgentHost] Error:     ffffffff80010008
[MonAgentHost] Error:     0
[MonAgentHost] Error:    
[MonAgentHost] Error:     Error: Cannot get event message meta data
[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:13.267Z
[MonAgentHost] Error:     2
[MonAgentHost] Error:     9136
[MonAgentHost] Error:     9016
[MonAgentHost] Error:     SystemEventsListener.dll
[MonAgentHost] Error:     0
[MonAgentHost] Error:     f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error:     systemeventslistener.cpp
[MonAgentHost] Error:     SystemEventsListener::GetEventMetaData
[MonAgentHost] Error:     1312
[MonAgentHost] Error:     0
[MonAgentHost] Error:     2
[MonAgentHost] Error:     The system cannot find the file specified.
[MonAgentHost] Error:     EvtOpenPublisherMetadata failed
[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:13.267Z
[MonAgentHost] Error:     2
[MonAgentHost] Error:     9136
[MonAgentHost] Error:     9016
[MonAgentHost] Error:     SystemEventsListener.dll
[MonAgentHost] Error:     0
[MonAgentHost] Error:     f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error:     systemeventslistener.cpp
[MonAgentHost] Error:     SystemEventsListener::AnalyzeEvent
[MonAgentHost] Error:     1197
[MonAgentHost] Error:     ffffffff80010008
[MonAgentHost] Error:     0
[MonAgentHost] Error:    
[MonAgentHost] Error:     Error: Cannot get event message meta data
[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:13.296Z
[MonAgentHost] Error:     2
[MonAgentHost] Error:     9136
[MonAgentHost] Error:     9016
[MonAgentHost] Error:     SystemEventsListener.dll
[MonAgentHost] Error:     0
[MonAgentHost] Error:     f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error:     systemeventslistener.cpp
[MonAgentHost] Error:     SystemEventsListener::GetEventMetaData
[MonAgentHost] Error:     1312
[MonAgentHost] Error:     0
[MonAgentHost] Error:     2
[MonAgentHost] Error:     The system cannot find the file specified.
[MonAgentHost] Error:     EvtOpenPublisherMetadata failed
[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:13.296Z
[MonAgentHost] Error:     2
[MonAgentHost] Error:     9136
[MonAgentHost] Error:     9016
[MonAgentHost] Error:     SystemEventsListener.dll
[MonAgentHost] Error:     0
[MonAgentHost] Error:     f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error:     systemeventslistener.cpp
[MonAgentHost] Error:     SystemEventsListener::AnalyzeEvent
[MonAgentHost] Error:     1197
[MonAgentHost] Error:     ffffffff80010008
[MonAgentHost] Error:     0
[MonAgentHost] Error:    
[MonAgentHost] Error:     Error: Cannot get event message meta data
[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:16.087Z
[MonAgentHost] Error:     2
[MonAgentHost] Error:     9136
[MonAgentHost] Error:     9016
[MonAgentHost] Error:     SystemEventsListener.dll
[MonAgentHost] Error:     0
[MonAgentHost] Error:     f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error:     systemeventslistener.cpp
[MonAgentHost] Error:     SystemEventsListener::GetEventMetaData
[MonAgentHost] Error:     1312
[MonAgentHost] Error:     0
[MonAgentHost] Error:     2
[MonAgentHost] Error:     The system cannot find the file specified.
[MonAgentHost] Error:     EvtOpenPublisherMetadata failed
[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:16.087Z
[MonAgentHost] Error:     2
[MonAgentHost] Error:     9136
[MonAgentHost] Error:     9016
[MonAgentHost] Error:     SystemEventsListener.dll
[MonAgentHost] Error:     0
[MonAgentHost] Error:     f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error:     systemeventslistener.cpp
[MonAgentHost] Error:     SystemEventsListener::AnalyzeEvent
[MonAgentHost] Error:     1197
[MonAgentHost] Error:     ffffffff80010008
[MonAgentHost] Error:     0
[MonAgentHost] Error:    
[MonAgentHost] Error:     Error: Cannot get event message meta data
[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:16.119Z
[MonAgentHost] Error:     2
[MonAgentHost] Error:     9136
[MonAgentHost] Error:     9016
[MonAgentHost] Error:     SystemEventsListener.dll
[MonAgentHost] Error:     0
[MonAgentHost] Error:     f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error:     systemeventslistener.cpp
[MonAgentHost] Error:     SystemEventsListener::GetEventMetaData
[MonAgentHost] Error:     1312
[MonAgentHost] Error:     0
[MonAgentHost] Error:     2
[MonAgentHost] Error:     The system cannot find the file specified.
[MonAgentHost] Error:     EvtOpenPublisherMetadata failed
[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:16.119Z
[MonAgentHost] Error:     2
[MonAgentHost] Error:     9136
[MonAgentHost] Error:     9016
[MonAgentHost] Error:     SystemEventsListener.dll
[MonAgentHost] Error:     0
[MonAgentHost] Error:     f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error:     systemeventslistener.cpp
[MonAgentHost] Error:     SystemEventsListener::AnalyzeEvent
[MonAgentHost] Error:     1197
[MonAgentHost] Error:     ffffffff80010008
[MonAgentHost] Error:     0
[MonAgentHost] Error:    
[MonAgentHost] Error:     Error: Cannot get event message meta data
[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:18.820Z
[MonAgentHost] Error:     2
[MonAgentHost] Error:     9136
[MonAgentHost] Error:     9016
[MonAgentHost] Error:     SystemEventsListener.dll
[MonAgentHost] Error:     0
[MonAgentHost] Error:     f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error:     systemeventslistener.cpp
[MonAgentHost] Error:     SystemEventsListener::GetEventMetaData
[MonAgentHost] Error:     1312
[MonAgentHost] Error:     0
[MonAgentHost] Error:     2
[MonAgentHost] Error:     The system cannot find the file specified.
[MonAgentHost] Error:     EvtOpenPublisherMetadata failed
[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:18.820Z
[MonAgentHost] Error:     2
[MonAgentHost] Error:     9136
[MonAgentHost] Error:     9016
[MonAgentHost] Error:     SystemEventsListener.dll
[MonAgentHost] Error:     0
[MonAgentHost] Error:     f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error:     systemeventslistener.cpp
[MonAgentHost] Error:     SystemEventsListener::AnalyzeEvent
[MonAgentHost] Error:     1197
[MonAgentHost] Error:     ffffffff80010008
[MonAgentHost] Error:     0
[MonAgentHost] Error:    
[MonAgentHost] Error:     Error: Cannot get event message meta data
[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:18.856Z
[MonAgentHost] Error:     2
[MonAgentHost] Error:     9136
[MonAgentHost] Error:     9016
[MonAgentHost] Error:     SystemEventsListener.dll
[MonAgentHost] Error:     0
[MonAgentHost] Error:     f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error:     systemeventslistener.cpp
[MonAgentHost] Error:     SystemEventsListener::GetEventMetaData
[MonAgentHost] Error:     1312
[MonAgentHost] Error:     0
[MonAgentHost] Error:     2
[MonAgentHost] Error:     The system cannot find the file specified.
[MonAgentHost] Error:     EvtOpenPublisherMetadata failed
[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:18.856Z
[MonAgentHost] Error:     2
[MonAgentHost] Error:     9136
[MonAgentHost] Error:     9016
[MonAgentHost] Error:     SystemEventsListener.dll
[MonAgentHost] Error:     0
[MonAgentHost] Error:     f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error:     systemeventslistener.cpp
[MonAgentHost] Error:     SystemEventsListener::AnalyzeEvent
[MonAgentHost] Error:     1197
[MonAgentHost] Error:     ffffffff80010008
[MonAgentHost] Error:     0
[MonAgentHost] Error:    
[MonAgentHost] Error:     Error: Cannot get event message meta data
[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:21.636Z
[MonAgentHost] Error:     2
[MonAgentHost] Error:     9136
[MonAgentHost] Error:     9016
[MonAgentHost] Error:     SystemEventsListener.dll
[MonAgentHost] Error:     0
[MonAgentHost] Error:     f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error:     systemeventslistener.cpp
[MonAgentHost] Error:     SystemEventsListener::GetEventMetaData
[MonAgentHost] Error:     1312
[MonAgentHost] Error:     0
[MonAgentHost] Error:     2
[MonAgentHost] Error:     The system cannot find the file specified.
[MonAgentHost] Error:     EvtOpenPublisherMetadata failed
[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:21.636Z
[MonAgentHost] Error:     2
[MonAgentHost] Error:     9136
[MonAgentHost] Error:     9016
[MonAgentHost] Error:     SystemEventsListener.dll
[MonAgentHost] Error:     0
[MonAgentHost] Error:     f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error:     systemeventslistener.cpp
[MonAgentHost] Error:     SystemEventsListener::AnalyzeEvent
[MonAgentHost] Error:     1197
[MonAgentHost] Error:     ffffffff80010008
[fabric] Role state Unhealthy
[fabric] Role state Started
[MonAgentHost] Error:     0
[MonAgentHost] Error:    
[MonAgentHost] Error:     Error: Cannot get event message meta data

I also looked in the Event Viewer under System logs, and I see these three errors appearing every time I debug a solution:

"The application '/' belonging to site '1273337584' has an invalid AppPoolId '099a3c29-93de-4169-8a9d-0a8555c5b926' set.  Therefore, the application will be ignored."

"Site 1273337584 was disabled because the root application defined for the site is invalid. See the previous event log message for information about why the root application is invalid."

"A process serving application pool '099a3c29-93de-4169-8a9d-0a8555c5b926' terminated unexpectedly. The process id was '9396'. The process exit code was '0xfffffffe'."

How can we get our Azure solutions to go back to opening up the browser with the correct local IP addresses instead of localhost?



Visual Studio 2005 and Windows 7

$
0
0
I have a client for whom I developed a number of applications using Visual Studio 2005.  They continue to use that version of VS.  I still have a license for VS2005 as well.  However, I have moved to Windows 7 in the interim.  Now, I need to make a change to one of their applications.  Attempting to install VS2005 on my Windows 7 PC resulted in a message suggesting that VS2005 has "known problems" running under Windows 7.  Does this mean I have to resurrect a WinXP machine (or VM) just to host VS2005, or are the "known problems" trivial?

Add Controls to Window

$
0
0

Hi,

I am creating my first Win32 ATL application. I have found that I'm provided with a main window by default. The window has a menu bar on it. I am trying to figure out how to add Active X controls to this window. I can create a new dialog and add controls to the new dialog via the toolbox, but I'm not able to access the main window during design time at all.

Does anyone have any examples of how this is done?

Also, is there a dedicated C++ board for Win32 ATL? I haven't been able to find one on MSDN.

Thanks!

C# : How to assgin events to a label while creating it?

$
0
0

first:thanks for your attention.

i want my program to create labels when program's forum is been loaded with few event assign to it when clicked.

most of these events are all the same expect one event which open a webpage in the browser. this event most be unique from other created labels of course and i think the way i should do it is to make some sort of a variable for the label, and then have the event to check the clicked label variable for it.

do you know how to add an OnClick event for the created label in my Label Creator script and maybe how to create a custom variable for the label and also maybe how to check what label is clicked for my OnClick function?

Add Existing Item: Window and its partial Class. C#, WPF.

$
0
0
When I import a Window with it's partial class, they appear as 2 separate files rather than one file underneath the other. How can I make the partial class of the Window appear underneath the xaml file while importing an existing file? 

how to create a custom variable for a Label?

$
0
0

i need my label to store a string variable in it, do you know i can create a custom variable for it.

i mean for example if it's name is "StoredString" i can access it in my code by "label1.StoredString" just like "Label1.text" or something like that.

Viewing all 21115 articles
Browse latest View live


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