hey thanks for the info. Please just guide me to learn how to do DB design and webservice architecture, I appreciate your help. Any good books, or links which can help. I understand it can't be learnt overnight, but at-least i will make it a point to learn faster. thanks
DavJes
Posts
-
Help on designing DB/ Web Service -
Help on designing DB/ Web ServiceHi, I have good development experience, have been in developing projects more than 8 years. But I had been asked to design complete end to end software for a project. It involves designing DB, WCF Server, communication protocols(like xml formats, schema ..etc) . As I am new to design the software, need help on quickly learning on designing the product like DB design and system design. Please help me to learn those aspects quickly to do build software. Please suggest me how to start with , like good books/links/tutorials. Especially on designing DB and web service protocols and communications. I don't have much time to learn though. So your suggestions/guidance will be great help. Thanks in advance.
-
Image control not getting resized while resizing windowXmal Part missed : ..
-
Image control not getting resized while resizing windowHi , I have a WPF - window, contains a StackPanel (designed in xmal, where height and width are Auto = 0). In code reading an image folder and adding the files to stackPanel. While adding files to image control, created a border object and intern created the image object and fina tlly adding the border to stackpanel. Now when i try to resize the window, the stackpanel stays same size , as the image control width and hight are fixed thou the stackpanel is auto size. below is the code snip , //after reading the image files, add it to stack panel foreach (string strFile in ArrStrFiles) { // display the file names here BitmapImage bi = new BitmapImage(); bi.BeginInit(); bi.CacheOption = BitmapCacheOption.OnLoad; bi.UriSource = new Uri(strFile); bi.EndInit(); Image img = new Image(); img.Source = bi; img.Width = 170; img.Height = stkPanl.ActualHeight; img.Stretch = Stretch.Fill; img.HorizontalAlignment = HorizontalAlignment.Stretch; img.VerticalAlignment = VerticalAlignment.Stretch; Border border = new Border(); border.Background = new SolidColorBrush(Colors.Black); border.BorderThickness = new Thickness(5); border.BorderBrush = new SolidColorBrush(Colors.Black); border.Child = img; stkPanl.Children.Add(border); } xmal : Plz let me know how we can resize the stackPanel when the image is added thru code. thanks
-
WPF Pan limitationHi, I did a application (WPF) which has ImageContrl inside a Border, and using mouse we can Zoom and Pan the control. It works fine except that while Panning the image after zoom, it moves out of the viewport of the Border. Can any one throw me light on hw to solve this
-
WPF : What event will be triggered after window_loadedHi,, I want to invoke a method immediately after loading the Window, but I see that Constructor of the window class is called before load event. So how do i call my method once the window is loaded ? even I tried initialized method too. thanks
-
Hittest on mouse leaveHi , I have a wpf app , which has Custom UserCtrl(name it as CustomCursor) for mouse(looks like Hand symbol), so by moving the CustomCursor with feed of x,y points , CustomCursor wil be rendered in the Main window(which has a stackPanel loaded with Border and intern with Image control). I have written mouseEnter/mouseLeave handlers for border . So when CustomCursor moves on Border, thru hittest i call the MouseEnter handler for border. But I couldnt able to identify mouseLeave for border. As I need to select and deselect each border when the cursor is on/off of the border. Can someone throw some lights on how to find mouseLeave using hittest in case of border. Thanks
-
C++ - how to refer a header file which is used in a dll while loading thru loadlibrary methodHi I m trying to load the dll using LoadLibrary which works fine. But for one of the method paramter is an object of class which is refered inside the dll . So in this case in my client app how do i refer the .h file which is already refered in the dll inside ? As i m trying to link dynamically how does header file references are dealt with ? Thanks
-
C++ - how to refer any header file from a dll while loading throu loadLibrary ?Hi I m trying to load the dll using LoadLibrary which works fine. But for one of the method paramter is an object of class which is refered inside the dll . So in this case in my client app how do i refer the .h file which is already refered in the dll inside ? As i m trying to link dynamically how does header file references are dealt with ? Thanks
-
How to bind the ComboBox which is in a ListView using collectionThanks for the info, It worked after I use FindResource. But I have one more trouble, I have a button called ResetAll, Onclick of it, should reset all the Combo indexs to 0 or -1 in the listview. As the combo is built added part of datatemplate in each listview item. Can u throw me a way to do this. pl find the reference code below Xmal : Code : Namespace N { public class NameList : List { public NameList() { } } public class Window1 { Window1() { ObjectDataProvider objectDataProvider = this.TryFindResource("myList") as ObjectDataProvider; NameList nameList = objectDataProvider.Data as NameList; AddItemsToCombo(ref nameList );//this adds items to combo from webserivce } On_ResetButtonClick() { //How do I reset the comboItems of each listview item. } } Thanks in adavance
-
How to bind the ComboBox which is in a ListView using collectionHi, I have listView, which has a GridView Column ,having DataTemplate which has ComboBox, I m binding the listview's Colums using a collection , but this combo alone with another collection . But its not working . //resource ... code : namespace N { public class NameList : List { public NameList() { //this.Add("Name"); //this.Add("Name1"); } } public partial class Window5 : Window { public NameList pp { get;set; } public Window5() { this.InitializeComponent(); pp = new NameList(); pp.Add("dfgdf"); pp.Add("ggf"); } } } Here if i hard code values inside consturctor its working , if i create object of this class and add items to it. its not binding. pl let me know how to bind the object of the colletion to combo thanks
-
How to bind the Stackpanel object into ListViewHi, thanks. Can u pl help me here giving me example for this ? thanks
-
How to bind the Stackpanel object into ListViewHi , In WPF, am trying to create ListView, Which binds with list of class KPI objects. Where the KPI class contains Name(string), StackPanel(which contains TextBlock + Image). I want to show only the StackPanel into the list , not the Name property. How do we bind the stack panel object alone .
-
how to convert to COM server from C++ lib moduleHi I have a C++ project as exe , I want to export some of the methods of the classes to use them in .net (C#) . I think better idea would be to create a ATL project and create interfaces and implement the methods by calling the C++ lib methods. Is there any other way to do this , which would be fessible and efficient ? thanks
-
Internal working of Try/CatchHi, Can any tell me the internal working of the try/catch block in C++. Thanks.