[Solved] Which Visual Studio project types support Shift+Alt+D to open the Data Sources window?

I believe you are looking for this page: http://msdn.microsoft.com/en-us/library/yft2c9ad.aspx To quote msdn: “You can add a data source to a project only if it supports creating and working with data sources. For example, you can’t open the Data Sources window in a project for a Windows Store app.” Basically, if using a database seems logical … Read more

[Solved] how to add value from one combo box to another combo box

If I have understand you correctly, this code will help you private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) { //If you need, clear second combo box from old values before you copy //comboBox2.Items.Clear(); foreach (var item in comboBox1.Items) { if (item != comboBox1.SelectedItem) { comboBox2.Items.Add(item); //If you need to remove item that were copied to second … Read more

[Solved] How to cut up a string from an input file with Regex or String Split, C#?

Description This regex will: capture the fields values for subject, from, to, and read the fields can be listed in the source string in any order capture the date on the second line what starts with a single # ^\#(?!\#)([^\r\n]*)(?=.*?^Subject=([^\r\n]*))(?=.*?^From=([^\r\n]*))(?=.*?^To=([^\r\n]*))(?=.*?^Read=([^\r\n]*)) Expanded ^\#(?!\#) match the first line which only has a single # ([^\r\n]*) capture all … Read more

[Solved] Visual Studio Linker Error while linking SFML-2.1

You should add your file names of *.lib files to vs’ linker. Instruction: 1.Open your project Property pages.(Press Alt+F7 in vs). 2.Expand “Configuration Properties”. 3.Expand “Linker”. 4.You will find item “Input” under “Linker” and click the “Input”. 5.On the right side,you will find a item “Additional Dependencies”. 6.Add your lib file names here.(for example lib1.lib;lib2.lib…,separate … Read more