Questions tagged [Visual C#] (37)

1
answer

How to open a file from a VS project using C#?

There is a small program. In it button. By clicking on the button should open the file 1.txt which initially will already be in the project's resources. That is, the file should not be opened from a specific location on disk, and already in the program from its resources.
Roel.Feen asked March 14th 20 at 15:30
0
answer

How to work with the Vcalendar in C#?

Have code that sends the email and Vcalendar event which requires negotiation. However, the application comes regular mail and not notification. How to make a notification about the event is displayed adequately in Outlook ?using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Th...
jena_Bahringe asked September 18th 19 at 18:21
2
answers

How to install and where to find the template mvc4 asp.net visual studio community 2013?

How to install and where to find the template mvc4 asp.net visual studio community?
colten51 asked September 15th 19 at 04:36
2
answers

Not running the debug in visual studio enterprise 2015. The code is not run. What to do? how to fix?

Can't start the project! Debugging is not working. Re-installed the program, did not help
Jacques_Bailey33 asked September 9th 19 at 17:43
4
answers

Is it possible to create a graphical program in C# using HTML?

In fact the whole question in the title. Namely I feel closer to HTML and CSS than XAML or whatever it is called. Well adminm word I want to write all the GUI in HTML. Is this even possible?
Hildegard26 asked September 9th 19 at 14:43
3
answers

As in C#, to run another form and close the previous one?

The crux of the matter: How to open second form and close first? I tried to run the second form and close first, so:form.Show(); this.Close(); but after opening the second form, the application crashes. If to make so:form.Show(); this.Hide(); the first form seems to be hiding, but if you close the second form, the program c...
Hildegard26 asked September 9th 19 at 14:01
3
answers

How in C# to pass parameters when you run the application?

There is a program, for example, how do I pass parameters with it. Well, for example there is a program example.exe. If promises to launch it by clicking on ispolnjaemyj file it will start in normal mode without data transmission. And if you create a shortcut, and in properties of this shortcut to use the Object "example.ex...
Hildegard26 asked September 9th 19 at 11:29
0
answer

How to emulate press and hold the LMB in C#?

I need to simulate pressing and holding the left mouse button.[DllImport("user32.dll", SetLastError = true)] public static extern void keybd_event(byte bVk, byte introspection data, uint dwFlags, UIntPtr dwExtraInfo); mouse_event(0x00008000 | 0x00000002 | 0x00000004, 0, 0, 0, 0); So I mulinuu clicking. How to make sure tha...
Hildegard26 asked September 4th 19 at 15:23
1
answer

How to number rows in a DataTable as the source for the DataGridView?

Hello. Need to number the rows in DataGridView , but because to store data in a control -- not a good idea, it was decided to use a DataTable to the DataGridView as a data source (the DataSource property).private DataTable table; //....... table = new DataTable(); DataGridView.DataSource = table; But if the numbering of the...
isabelle.Goodwin asked September 4th 19 at 00:06
2
answers

How do I output the result to a form in C#?

I'm new to C#. You should print the result of the Program class.cs in a TextBox, I have 2 chapters. Please tell me. THIS PROGRAM.CS using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace WindowsFormsApplication6 { static class Program { /// /// The main entry point for ...
Torrey11 asked September 3rd 19 at 18:49