Answer Questions
prog Show a txt file in a Textbox
How can I show a text file in a textbox I mean for example if I have a textbox in my program and I have a txt file in my computer and in the txt file writes "Hello" . I want a person to see "Hello" in my program's textbox when he/she opens my program. can i use web address like : " http://www.sitename.com/filename.txt " or ftp address like "ftp://userame:password@ www.sitename. ...Show All
LondonSte Not sure if this is appropriate question for here but I have to ask and hope that somone can help me
I have more than 20 machine networked on Win2K3 server with the same as a print server, Those 20 machines are all running Win2k in the environment. I have XP on my laptop, and from it I can print multiple copies of a single doc to an HP color laserjet printer using a PS driver of the same. I cannot however print multiple copies of a document from any of my win2k desktop. I have spoken with HP and they are unable to assist, I am hoping that perha ...Show All
Jehanzeb Naeem Khan Total Newb Question About Forms
I am just starting with windowsforms. I have created a form called frmMain.frm. Also created a class file called myclass.cs. How can I access the properties of a TextBox on frmMain from a method in myClass example (does not work) string s; s =&nb ...Show All
Vela BindingSource Setting current position
Hi, I have a form with a list of employee and a Button to view the detail of that employee. When i click the button to view the detail. I'd like to pass the employeeID to the DetailForm. And with that employeeID, i'd like to set the bindingsource position to point to the correct row in the dataset. How can i achieve that behavior (without passing the bindingsource of the master form). I've tried bindingSource.IndexOf(..) ... but it generates ...Show All
Yulian My Windows Forms Wish List
I've been using windows forms extensively for about a year, and there are several things that have really irritated me. Don't get me wrong, Windows Forms is the best way to program a GUI in the windows environment, but I think there are&n ...Show All
Will Ballard virtual scroll ring
Hi, I'm doing a touchscreen project and i'd like to create control that handles the scrolling wich is obviusly lakking some support on touchscreens (well at least good support) so i touch maybe i can create a control like a virtual scroll ring (the  ...Show All
Omar80 Searching the Database for Records with Specific Criteria
I want to implement a search engine in my application that searches by a text box entry along with drop-down boxes. Similar to software at doctor's offices. They type in the name of the person and that person's record is returned if there  ...Show All
MasonUSA Need practical examples of row validation and error handling on DataGridView
I need a practical example of row validating and error handling for the DataGridView. My DataGridView is bound and some cells are required. None of the examples I've seen on MSDN show 1) how to determine which required fields were not supplied and 2) how to give the user an intelligent message informing them of all the rows they need to enter and 3) keep the user on the row so they don't loose their edits. It seems&nbs ...Show All
Paul Diston [C#]DataGridView howto sum cells
For example, in my grid cells, i write some numeric value: col1 col2 col3 col4 Total 1.5 5.5 6 7 How can i obtain the sum of that values in column "Total" considering that my rows and my column are generated at runtime ...Show All
x21hx DatagridView in virtual mode(Unbound checkbox Column)unable to obtain dictionary key from dictionary
Hi, within my DataGridView which is bound to a dataTable I have added a virtual column of checkboxes. The checkedbox state is stored using the records OrderID in a systems.collections.gereric.Dictionary. What I'am trying to do is for every row(record checked) display its Orderid when I press a button. As the dictionary uses the "OrderId" as its Key value for each checked record it stores, I have tried to access this value but without su ...Show All
ASHAIKH Necessary rights to install Click-Once application
What rights does the user require in order to install a Click-Once application I'm not referring to CAS right, but Windows rights (i.e. file system, registry, etc...). I work in an environment where users have limited privileges on their machines and we’re trying to decide if this is a viable option for our application. I’ve had trouble finding any documentation on this topic. Thanks for the input. Greg ...Show All
more FAQ Forcing a control to lose focus
Hi, What would be a quick way to force a control (more specifically, a ComboBox) to lose focus I tried sending a WM_KILLFOCUS message, but the keyboard focus remains at the control. I guess my question is how can I kill keyboard focus&n ...Show All
mountainmikey Alternative to Java applet hosted in IE
My company has in the past created local browser applications with front end in HTML/JavaScript and backend in the form of a Java applet. The applet code contained the business code and calculations. Benefit of this approach is that we could distrib ...Show All
VenaticalOne How to input like powerbuild in datagridview?
Dear all, I really like the datawindow in powerbuild. If you input somevalue in a column (just like a production id), and this column is binding with datasource (like t_prod), the column right will display the binding data ( here like production description). How to do such a case in datagridview Need to write a new control or override a event of datagridview Thank you very much! ...Show All
JeremyB Visio Drawing control won't load in 2005
When it hits the endInit call, I get a "class not registered" exception. I can see the control on the form. Any ideas I have visio pro 2003 and can do this in 2003 vs just fine Did any of how find a&nb ...Show All
