55 Discussion / Question Topics
Remove Filter Hi All, Any suggestions on how could we attach the NLog.config to a docker-compose.yml file so that it generates an “NLog_Internal.txt” on the host machine and we can see all the application logs in that file? In other words, is there a way we could extract the logs of an … | |
Hi, I am an absolute beginner to Xamarin and just started to develop a small application wherein, I am not getting any idea about why the BindableProperty changes are not getting reflected inside the view model. Presently, I have written my BindableProperty in a separate Class and the code is … | |
Hello All, I have experienced a very strange problem in my application. When I launch my WPF application, it loads fine with a window and button, upon clicking the button, it launches another form which is also fine but in this second form, when I click some button, it launches … | |
Hi, I am developing my own designer and got stuck at a point where I need to establish or implement some business logic whenever any UI Element is dragged and determine if that falls withing the boundaries of another parent control (specifically TabControl or GroupBox), so that the next time … | |
Hi All, Could anyone please suggest on how to apply multiple styles to multiple elements at runtime and that too the styles should be applied at the same time on all elements. For instance, I want to animate two buttons but their styles are different. Now if I apply the … | |
Hello All, I need to develope an application to receive POP3 emails automatically at regular intervals. I am totally a newbie to this one and need your kind help. The application should fetch emails using some service that would run in the background. So basically I need 2 things (I … | |
Hi All, I have a collection of huge records (6000+) wherein the object in the collections has got 50+ properties, so ideally it is not a good idea to run a "For-Each" loop here. What I want is a "GroupBy" clause which would get me a Dictionary (Of String, String) … | |
Hi Everyone, I started creating a new WPF project wherein, I have just added a style to all the elements of type "Window" and "Grid" but none of these are working (rather a wierd black box is apprearing - Screenshot attached). **NOTE:** I do not want to use "x:Key" for … | |
Hi All, I would appreciate if someone could please answer to the following queries. 1. Difference between "new" and "new virtual" when deriving classes from other classes. 2. Difference between Abstarction and Encapsulation (with example, if possible). 3. Types of constructors and their implementations (when and how to use). 4. … | |
Hi, I am developing a WPF application in which I need to call `MouseLeftButtonDown` event in a single `DataGridTextColumn`. For that I wrote some xaml code as :- <DataGridTextColumn x:Name="myAge" Header="Age" Binding="{Binding Age, Mode=TwoWay}" IsReadOnly="True" Width="*"> <DataGridTextColumn.CellStyle> <Style TargetType="DataGridCell"> <EventSetter Event="MouseLeftButtonDown" Handler="{Binding MyAgeCommand}" /> </Style> </DataGridTextColumn.CellStyle> </DataGridTextColumn> But I am … | |
Hi, I have a WPF Grid with multiple controls like TextBox, ComboBox, CheckBox etc. and their properties like Text, SelectedItem, IsChecked etc. are present inside the view model bound to the view perfectly. I want to copy the values of all the controls to the Clipboard (may be) and want … | |
Hello All, I am just a newbie trying to explore areas into game developement using .Net (may be XNA studio) though I am not familier with the same. Could you please suggest some tutorials, ebooks for this so that I can start as a beginner and then later on, may … | |
Hello All, I am developing an application in WPF in which I need to set a generic input bindings for TAB key for every field present in the view. I somehow managed to create a common method but now I wnat to retrieve on which field the TAB key has … | |
Hi All, Just wanted to know on how to dynamically set the focus on a TabItem of a TabControl in WPF at runtime using bindings etc. Thanks | |
Hi All, I am starting this article so that we may share various motivational thoughts (your own creation will be great), poetry, short stories and all. This goes my own created poetry for all you guys... "Behind the great mountains, a Sun shines everyday, making us to beleive there's still … | |
Hello All, I have one webbrowser control and I took a dependency source property from the Internet and binded the same to my string Url. I took this dependency property because .Net doesn't lets you bind the Source property to a string datatype and only Uri datatype. Now I am … | |
Hi All, I am facing some issues when writing a xaml and my code goes as follows :- <Grid> <Grid.Resources> <!-- Shared Storyboard across the system --> <!-- This storyboard will make the image (button) grow to double its size in 0.2 seconds --> <Storyboard x:Key="expandStoryboard"> <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" To="2.5" Duration="0:0:0.2" … | |
Hello All, I want to design a DataGrid similar to the one in the design picture attached with this article (Please see the pic attached). I want the following bindings and features :- 1. The first column of every Item (Item1,...Item5) for (LineNo=1....LineNo=?) will get bind to "Unit" which is … | |
Hi All, I have got one scenario here in which I need to bind a DataGrid to a collection (array, ObservableCollection etc.). My Collection name is "WarningList" and the code is as follows :- **ViewModel :-** WarningList = {({result.WarningMsgCode, result.WarningColor})} **xaml :-** <data:DataGrid x:Name="gridSystemWarnings" Grid.Row="2" Grid.Column="1" Grid.ColumnSpan="3" Grid.RowSpan="2" DataContext="{Binding}" IsReadOnly="True" … | |
Hello, I have a scenario where I fetch all the records from a database table using ADO.Net and I want to convert one of the column values which has either "0" or "1". If 0, then "No" should be replaced with 0 and if 1, then it should be "Yes". … | |
Hi, I want to create a dependency property for both Command and CommandParameter so that I can use these in controls that don't support Command and CommandParameter like textblock etc. I have written and taken help from someone to create DP(dependency property) for Command and its working fine but for … | |
Hello All, I went through many websites and did not find any converter that could purely convert C# syntax to VB syntax. However there are many converters available on the Internet but personally I don't think they are pure converters. Requesting all to please suggest some online tools/converters to achieve … | |
Hi all, I have a resource dictionary which is already added to the App.xaml however when I add the particular style to my Grid, it doesn't gets reflected while debugging. Can anyone please help me on this ? My codes are as follow :- MainPage.xaml <Grid x:Name="myGrid_MainPage" Style="{StaticResource myGridStyle}"> myRD_Main.xaml … | |
Hi All, I started developing an application in WPF but I think the generic syntax for Relay Command and Delegate Command cannot be found very easily over the web and hence alogwith asking this question, I intend to start a thread for both Relay Command and Delegate Command. So, I … | |
Hi All, I have been wondering about several ways to quickly gain reputation points. I tried commenting and giving an "Up" to some of the posts, also tried paying forward my endorsements points to many people but somehow (don't know the reasons), my 8 reputation points became -2. Also, I … | |
Hi all, I am a naive programmer to VB and VB.Net, I have mostly used C# and now I am stuck at a simple point as follows :- CollectionView.CollectionChanged += Function(sender, e) RebuildSearchIndex() I don't have any idea how to replace "+=" as its showing some error. Requesting you all … | |
Hello All, I am populating my frame from different pages and showing the output as a grid. Following is my xaml code :- <Frame x:Name="mainFrame" Grid.Row="1" JournalOwnership="UsesParentJournal" /> and xaml.cs :- mainFrame.Source = New Uri("Views/ProductsPage.xaml", UriKind.Relative); But I want to change the selected/unselected (focused/non-focused) row colors in this frame and … | |
Hello All, I just wrote some code in C# and tried converting to VB.Net. I am getting 3 kinds of errors in my code :- 1. Class 'XXX' must implement 'Function XXX(abc,pqr,...)' for interface 'XX.XX.XX'. 2. 'RaiseEvent' definition missing for event 'XXX'. 3. 'XXX(abc,pqr,...)' is an event and cannot be … | |
Hi All, I am working on a page that creates a dynamic MySql query with the selected fields at the run time and for this I want to take a combobox with few checkboxes so that based on their selection I can fetch the query result and populate them into … | |
Hi All, I am creating a dynamic GroupBox through C# and want to change only the header font and not all the fonts in that. GroupBox myGroupBox = new GroupBox(); myGroupBox.Header = mychk.Content.ToString(); myGroupBox.Content = myStack; Here, *myGroupBox.FontWeight* changes all the contents inside the *myGroupBox* but how to change only … | |
Dear All, I am using Visual Studio 2012 and created a WPF application. I just want to know that how to include pre-requisites like set up files of .Net framework etc. in my setup project so that if anyone installing my setup has not got the framework installed on his/her … | |
Hello All, I want to create a combobox of Countries with 3 Group Headers as "Favourites", "Frequently Used" and "Rest of the world". I am not sure how to achieve the favourites and frequently used functionality. I have written some sample code that runs fine but the real functionality for … | |
Hello All, I want to add a functionality to my WPF usercontrol in the Head section like the image below :-  Could someone please suggest some approach on how to achieve the same ? | |
Hi all, I have searched different websites about data binding in Silverlight however could anyone please tell me **what exactly is Binding and why we use it** and if we don't use binding, is there any alternative to that ? Thanks in advance. | |
Dear All, I have written some logic using MVVM pattern and tried to show a sub-datagrid in each row of a datagrid however there are some issues that I am currently facing and they are as follows (screenshot attached) :- 1. In each row I have an expander in which … | |
Hello All, I intend to develope a console application in C# in which there should be 3 functionalities :- 1. Open Wordpad.exe and automatically type something. 2. Save the updated document. 3. Close the Wordpad with changes saved. Kindly guide me if anyone has some ideas. I have managed to … | |
Hi all, I want to develop a pie chart with functionality of dragging and resizing but not like a fixed size. Initially it should come as a quater sized and **should be ressizable to any angle** just like done with the MS power point. Any idea to kick start this … | |
Hello all, I have an application in which I have put a datagrid with update and delete buttons. What I want is when I change the contents of the columns and click on update button, it should update that particular cell value into the database. My xaml code is as … | |
Hi all, I want to know the way of maintaining sessions in a WPF application. I did the same in ASP.Net but that was a web application. I'm not sure how to do the same task in WPF. Any help is appreciated. Thanks. | |
Hello everyone, I am developing a WPF application in which there is a **header (user control)** with some buttons as "Home", "Upload", "Log Off" etc. What I want is to add this header user control in a page and when I **click the "Upload" button** of this header user control, … | |
Hi all, I have recently designed a WPF application with some user controls and I want to code behind a user control to redirect to another window or invoke another user control however I am unable to do the same. The problems I am facing presently are as follows:- 1.When … | |
Hello everyone !!! I recently designed a web application using VB.Net and tried to copy a folder (containing multiple files) from one disk drive to another but unfortunately I didn't succeed. I tried using a file upload but that is only for single/multiple file selection however I want to select … | |
Hello All, I have come up with a social networking website which should support chat functionality like Facebook. My intentions are as follows :- 1.It should be dynamic that is the chat window should appear only when any friend is online else it should remain hidden somewhere. 2.Could it be … | |
Hello to all, I've designed a website to provide Software and all the data is coming into the gridview.The entries in database are...... [B]SoftName : [/B] Name of the software [B]SoftType : [/B] Type of the software (like windows,mac etc.) [B]SoftUrl : [/B] Path of the software file in the … | |
Hi guys, I've recently developed a gridview with edit,delete and update panel..... All is working fine except the Update button.....the error shown is...... [CODE] [B]Object reference not set to an instance of an object.[/B] Source Error: Line 48: GridView1.EditIndex = -1; Line 49: conn.Open(); Line 50: SqlCommand cmd = new … | |
Hello, I don't know anything about C# and want to learn it. If anyone could please tell me the quickest way to learn C# in few days, I'll really appreciate. Thanks and Regards. | |
Hello everyone, I have learned ASP.Net with some little C# and developed various applications using that however I have been assigned tasks of Mainframes with those old COBOL's,JCL's and other stuffs which I don't even know however I will be provided training on Mainframes. So, I am just confused where … | |
Hello, I developed a website in which I added a master page,header and footer. In the header, I added a code but its not working fine because the pages that I am adding are in another folders as shown below... [CODE]<li><a href="Home.aspx">Home</a></li> <li><a href="KMApps/KMAppsHome.aspx">Applications</a></li> [/CODE] As you can see that … | |
Hello to all, I am using Windows 7 x64 and I require an immediate help on how to set hardware acceleration to full in this operating system. I've tried google but no result was appropriate and I came to know that I need to go to the "Change Settings" under … | |
Hello, I just wanted to know that does a KPO experience counts in an IT industry of developers and programmers. I was placed in my college in HCL BPO and I worked there for 4 months just to learn some new things and communication standards but I left that company … |
The End.