Hi I'm looking for an implementation of ToObservable and ToEnumerable can you pls help with this thx
kaminem
Posts
-
convert from IObservable to IEnumerable -
search vectorssolution use of std::search
-
search vectorsI want to search vect_2 into Vect_1 for example Vect_1 < "JAVA", "ADA", "C", "C++", "C#"> Vect_2 < "C++", "C#"> here vect_1 contain all vect_2 elemnts and in the some order but if I don't find the entire sequence I should look for a subsequence too (and this is my big pb) I'm trying to avoid the use of for loop
-
search vectorsit's a little bit more complicated I'm looking for a way to search a vector into an other vector std::set_intersection can do it, but in my case I have to respect the order of the sequence :doh:
-
search vectorsHi guys, I have two vectors of string and I'm looking for an easy way to find the first vector sequence or sub-sequence into the first one for example: Vect_1 < "JAVA", "ADA", "C", "C++", "C#"> Vect_2 < "C++", "C#"> search vect_2 sequence in vect_1 will return vect_1 position 3 and match length 2 Vect_1 < "JAVA", "ADA", "C", "C++", "C#"> Vect_2 < "JAVA", "C#"> search vect_2 sequence in vect_1 will return vect_1 position 0 and match length 1 thanks for any idea, suggestion
-
STL vector, search for a sequenceHi guys, I have two vectors of string and I'm looking for an easy way to find the first vector sequence or sub-sequence into the first one for example: Vect_1 < "JAVA", "ADA", "C", "C++", "C#"> Vect_2 < "C++", "C#"> search vect_2 sequence in vect_1 will return vect_1 position 3 and match length 2 Vect_1 < "JAVA", "ADA", "C", "C++", "C#"> Vect_2 < "JAVA", "C#"> search vect_2 sequence in vect_1 will return vect_1 position 0 and match length 1 thanks for any idea, suggestion
-
Optimize this codeUse Convert.ToDouble and Convert.ToDateTime
-
using local namespace in XAMLas it's a local namespace I don't add assembly but I get a runtime exception An unhandled exception of type 'System.Windows.Markup.XamlParseException' occurred in PresentationFramework.dll Additional information: Unable to load the file or assembly 'MyProjectd, Version = 1.0.3167.27532, Culture = neutral, PublicKeyToken = 799442e4f418bb07' or one of its dependencies. The definition found in the manifest of the assembly does not correspond to the reference of the assembly. (Exception HRESULT: 0x80131040) Error in the file tagging "MyProjectd; component / dialog.xaml" 29 line position 18. in Line 29 I use my namespace, I check that the assembly is loaded ??
-
using local namespace in XAMLthanks for reply the namespace is local to my project, (it's not an external reference) and when I add the assembly name, I get a compilation error :doh:
-
using local namespace in XAMLHi all, I add my project namespace at the begining of my xaml usercontrol
xmlns:local="clr-namespace:myproject.xaml.usercontrol"
and I use this namespace to call a method I implemented in my project<ObjectDataProvider x:Key="Models" ObjectType="{x:Type local:Adpaters}" MethodName="GetModels"/>
when I execute my program I get an exception: could not load assembly "Myproject.dll Version=1.0.3167 ...." I'm using VS2005 have you please any ideas how to fix this ? -
Prompt to rebuild in Visual Studio2005Hi all, in visual studio 2005 is it possible to prompt when you click the rebuild menu ? thx for help
-
C++ Newbie questionHi STL seems more familar for me but does it mean, it's impossible to add a structure at the end of a pointer of pointer ? hope you see my pb thx for help
-
C++ Newbie questionHi it's a pointer of pointer (NameAndCode **list)
-
C++ Newbie questionhi all Can you please help me with this basic pb I have a structure struct NameAndCode { char fName[10] ; long fCode ; } ; after an sql query I get a list of NameAndCode NameAndCode **list How can I add a new NameAndCode in the end of the list ? :doh: :doh: Thanks for help
-
Looking for a C# libraryyes I try google but I can't find the feature I need :(( I want to have a TreeList (hierarchy + multicolumn) and I want to have two fields of information in one column ------------------------------- | column1 | column2 | |---------|---------|- |c11 |c12 | c21|c22 | ---------|----|----|----|----|- +Node1 | 0 | 10| 15| x | -Node2 | x | x | x | x | +Node21| | | | | Thanks for any help
-
Looking for a C# libraryHi all, I'm looking for a C# library to create a grid (multi column) with hirarchy view (Treelist) waiting for your suggestion Thanks
-
System.Windows.Forms.Control Vs System.Windows.ControlsHi all, is there a way to cast a System.Windows.Controls.UserControl (.Net 3) to a System.Windows.Forms.Control (.Net2) ? I have a Plugins system and I'm trying to plug some .Net3 components Assembly l_assembly = Assembly.LoadFrom(AssemblyName); Type l_type = l_assembly.GetType(TypeName, true); Control l_itemControl = Activator.CreateInstance(l_type) as Control; here I catch an Exception when I load a "Custom Control Library (WPF)" Thanks
-
Dynamic ToolTip: update the shown valueHi all, I'm trying to show a tooltip for a button. I have a StopWatch, the purpose is to show the elapsed Time into the tooltip string. and to get the refreshed value each time the mouse is under the button I'm doing like that this.toolTip1.SetToolTip(button1, Stopwatch.Elapsed.ToString()); but the tooltip shown have always the same value How can I update this value ? Thanks for help
-
Relative Date Format (DateTimePicker Control)I can't enter (-2D) because the Date format is fixed ("MM dd yyyy" for example) is there a way to enable editing the Date value without checking the format or is there a way to create a relative format :doh: sure when I get -2D in the Value property I can achieve thru code thanks
modified on Thursday, January 03, 2008 7:13:19 AM
-
Relative Date Format (DateTimePicker Control)Hi all, I'm using a DateTimePicker Control to select a day (01/01/2008 for example) is there a way to customise the Date Format so that I can use Relative Date ? for example today is 03/01/2008 and I want to select 01/01/2008 so I just write -2d (relative date from today) thanks for any ideas