program that works on my computer but not other computer
this program works on my computer but not no other computers...how do i troubleshootthat ?
View ArticleHow to implement below functionality in C#
Hi All,I need some help to implement below functionality using C# code, 1. I need to convert IPv6 Address to Long 2. Convert Long value to IPv6 Address.3. How to convert IPv6 Address Mask to Long...
View ArticleBeginning form problems
Hello all,I am currently in my first semester of C# programming and just starting the form portion. Our assignment was to turn a rock, paper scissors console game developed earlier in the semester and...
View Articleobject Sender
When dealing with events in windows forms, why is "object Sender" not a part of System.EventArgs?Why is it:private void Button_Click(object Sender, System.EventArgs EventArgument) {...
View ArticleHow to fix the error: “Extender controls may not be registered after...
I have a Admin page. In this page, I have a div, that will contain 2 user controls in it. The Manager.aspx file like that:<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master"...
View ArticleHave no idea how to approach this project.
I do some C# development although I've never actually worked for an IT dept. A recruiter is trying to get me a job interview with a cable company. He said the service personnel go to a home, install...
View ArticleUsing regular expression from Powershell in C#
I have a Powershell script that will parse the content of a txt file, and use regular expression to get rid of things not needed.My issue is that I would like to convert the small script to be in C#. I...
View ArticleHow to use BlockingCollection for image caching
I'm hoping someone may please be able to assist me with a programming question. I currently have an application that acquires a bitmap image of an item. An image is acquired from a camera about every 5...
View Article.NET 4.5 Form Child Window.
The highlighted area is currently a DataGrid control that I dragged out from the toolbox. I would like to replace the control with a different concept. What I am looking to do is in that rectangular...
View ArticleHow to create an instance of my xsd auto generated class
Hello,I've created a class using xsd.exe tool and has multiple public partial classes. I now have to serialise data from a web form using this class but I since there's no a single class from which I...
View ArticleProblem with OleDBConnection and WindowForm
Hello,this is my first post here, so dont get me wrong :p I have 2 diffrents problems with OleDBConnection. First problem is that when i open for example. access database my window from get smaller and...
View ArticleEvertArgs saying it does not take 1 argument, while it works in other...
Hello, I have a simple messenger that i am making, and in the source code that i downloaded, they have this line of code for receiving messages...IMReceivedEventHandler receivedHandler; private void...
View ArticleHow to load combobox using user32.dll
Can someone guide me on how to load the value of a combobox from an array using user32.dll functions in c#. There is no unique name for the control to access directly.
View ArticleQuestion about rotating an image
Hello.I am rotating an image and it works relatively well. My issue is that it is cropping off some of the left and right sides of the image. Does anyone know why this is doing this and how I might...
View ArticleList applications that would go in system tray
I am making my own personal shell replacement and have looked for ways to get a list of applications when explorer(.exe) isn't running.I would like to know, is there a way I would be able to get a list...
View ArticleDatabinding of Count (of a DataGridView) to a Label
I am trying to bind the count of a DataGridView to a Label.The following code results in a runtime error saying that it cannot be bound to the Count property.Binding binding = new Binding("Text",...
View Articleexcludes few special characters in Regex.
ValidationExpression="^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[#?!@$%^&*-]).{8,}$"I want toAt least one upper case english letter At least one lower case english letterAt least one digit At...
View ArticleMouse Scroll Control
I am using VS Express C#. I want to have an event that lets me know when the mouse wheel has been scrolled on a TextBox. How do I do this. Thanks in advance,Gordon
View ArticleTextBox should refresh after clicking on it.
i have some input text Boxes and few output textboxes. i want to refresh the output textboxes everytime when any of the input textBoxes are selected by user to enter through mouse or tab button. help
View ArticleThe Best Place For Loops?
I have a C# program in which it runs a form, and in the form it checks for information constantly to a server. So after the user logs in, I want to close the form, but I don't want the loop to stop. I...
View Article