No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
13 Posted Topics
Hello, I need to get the IP adress from a machine on the local network by knowing only it's name. Is there any way to do that? Thank you.
Hello, I have a WPF/C# ListBox with one column with several items loaded from an SQL Sever Compact Edition database. I'm trying to delete a selected item from the database, but I'm having difficulties getting the value of the selected item, and because of this it is always returned null …
Hello, I have the following code: [CODE] if (cboxCategory.SelectedIndex == 1) { cboxSubcategory.IsEnabled = true; XmlDataProvider agriculture = new XmlDataProvider(); agriculture.Source = new Uri(@"Data\Lists\agriculture.xml", UriKind.Relative); agriculture.XPath = "/AGRICULTURE"; System.Windows.Data.Binding binding = new Binding(); binding.Source = agriculture; binding.XPath = "Category"; cboxSubcategory.SetBinding(ItemsControl.ItemsSourceProperty, binding); cboxSubcategory.SelectedIndex = 0; } [/CODE] basically, I have two …
Hi, I've started building this wpf app in C# and XAML, but halfway through the coding I realized that it should have been a browser application... :( is there any way to convert it now? I've tried creating a new WPF browser app and then import the xaml and cs …
Hello, I'm trying to create a Button Class that will be used to create buttons on a form. This is the class I've created: [CODE] public class CreateButton : Button { public Button newButton; private string _buttonName; private Point _buttonLocation; private Size _buttonSize; public string ButtonName { get { return …
Hello, I've enountered a problem whith saving to an XML file. My app receives user input in several text boxes and when the user hits the OK button it checks if the text boxes are empty. If they are not empty it saves the input to an XML file and …
Hello, When I open my app an XML doc is created with several elements giving to each of them the value 0. After the XML is created I want that several labels on the form to change their text to spcific elements' values (in this case 0). Is there any …
You can use the MouseHover event to increase the button's size when the cursor goes over the button, and the MouseLeave event to decrease the size when the cursor leaves the button's area. yourButton.Height and yourButton.Width can be used to increase/decrease the size.
Hello, I'm receiving an error message (ArgumentException was unhandled - Parameter is not valid) when I'm trying to capture a portion of the screen with a rectangle. It works great when drawing the rectangle with clickPoint.X < lastPoint.X and clickPoint.Y < lastPoint.Y, but when lastPoint.X or/and lastPoint.Y is lower than …
Hello, I'm using a form with a 0.01 opacity and I want to draw a rectangle on it... but of course, the rectangle is also invisible when drawn. Is there a way to make the form invisible, but not the rectangle I want to draw on it? thank you
hi, see if this helps [url]http://www.geekpedia.com/tutorial151_Run-the-application-at-Windows-startup.html[/url] thanks
Hello, I am trying to create an app that allows the user take a screenshot of a portion of the screen that he selects with a rectangle. I've tried following several tutorials but I did not managed to make the rectangle appear. The best I could do was to take …
Hello, I have started to create an app that through some other things needs to take the text from two text boxes on a form and then post the text on list box that's located on another form. Following is the code with which I've tried doing this... and of …
The End.
drake10k