Answer Questions
Yi Chen Will someone please respond!!!System.NullReferenceException
I installed and compiled the source on my server at work and everything works fine if I install the downloadable client msi and change the cfg file to point to my server . If however I compile the client source into a client setup&nb ...Show All
Kev Matthews Deleting a record
I found a pretty good tutorial on bindingcontext at http://www.alanddave.com/daveroom/presentations/default.asp I've been able to add a record using bindingcontext.AddNew() , but deleting escapes me. The sample code is in vb and I cant change the first line to C# Dim ...Show All
jcwc888 Binding Comboboxes to custom lists
I am running .NET Framework 2.0 B2 I am missing something when it comes to implementing databinding in custom classes. I have a view class that acts as my main data source. The view class basically just loads up the data and returns via properties and BindingLists of NameValuePairs (which is just a replacement for KeyValuePair so that databinding will work) The view class also maintains current properties that tell me what the current selected i ...Show All
yi peng The best way to communicate with a windows service
I have an Idea of creating an application. The application sould be a windows service. But what is I whant a windows forms application to comunicate with the Windows Service, what is the best way to do that <hr>quote <strong>jfuent ...Show All
Jim Svoboda Noob Question
Hi folks, new here - glad to find the forum! I have a basic question regarding debug output. I was reading the FAQ and it states that I can use the Console::WriteLine and ::Write methods to get output when I launch my application in debug mode. Now, in MS Visual C++ .NET, the Debug menu lists F5 to "Start" and CTRL+F5 to "Start without Debugging", so I assumed that by pressing F5 I'm launching my app in debug mode. However ...Show All
Vince Stone DataGridView has no CaptionText or Title property
In VS 2003, I used CaptionText in DataGrid control. I have migrated my form in VS 2005 using DataGridView. Does DataGridView has CaptionText property. How do I accomplish this task if the property does not exist Any alternate way of setting CaptionText or Title of the DataGridView Help appreciated. Thanks CaptionText property is not present for DataGridView. You can accomplish this task by creating a UserCont ...Show All
ejaz DataGridViewComboBoxColumn binding to an Object
I have a DataGridViewComboBoxColumn in a DataGridView that I'd like to bind to an object in the grid's datasource. The combo's datasource is a collection those objects. I've been unable to get this to work without having an ID field in t ...Show All
Prashant jain HTML in controls
I haven't done Windows programming for a while, and am just getting back to speed, in the mean time reading about the features in .NET, Longhorn, and Whidbey. I see the Whidbey release supports a .NET based WebBrowser control, which should be good.& ...Show All
MaTT_17 How to add a launch condition based on whether a task is running
I want to add a launch condition, so that the install will not continue if my program is already running. I have seen lots of documentation on how to search for a file and use that for a condition. Is there a way to get a files state, or to check for a process. I am using VS 2005 to create my setup. Is it possible to create an install that acts like a bootstrapper, in that it would only launch a custom action ...Show All
tballx How to capture the event (minimize)
When user click on minimize icon on the upper right hand corner of the form. Which form event get fired Thanks Private Sub Form1_Resize(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Resize If Me.WindowState = FormWindowState.Minimized Then MessageBox.Show("Iconized") End Sub Resize and SizeChanged ...Show All
juan carlos ceresola Getting Label.Text from the resource file
In a VB.Net Project in VS 2005 I have a form with several labels. I found out that, depending on the amount of the text I enter in the text property via designer the behaviour assigning this text is different. When I enter just a small text, the text is assigned directly to the text property in the Form.Designer.vb file like Me.label1.text = "Test" If I enter more text, the text is stored in the form resource file and is assig ...Show All
SpaceGuy Managing Chart's Labels & Legend in Cristal Reports
Hi everyone, I am programming in vbnet and Cr and I need some Chart in my application but when I put the legend in the Chart the name of these cannot be modified, the labels like this: Sum of total prices And the Chart's labels also c ...Show All
Erin Text alignment in the DatagridviewColumns
Hi , I Stuck with a problem Is ther is any way to align the text under the datagridview cells(Columns) like I have a Amount Column in my datagridview I want to rightALign it. I check the dgv.Columns("ColAmt"). But I found Nothing Thanks in advance. Thanks a lot It Works for my Problem. Thanks again for this kind help First instantiate a new DataGridViewCellStyle instance and set its Al ...Show All
Simfool why my animal is so easy to die!
why the asgard is so smart i'm beginner,help me! i find my animal just attack, never eat! why I had added the code for eating in my dll. if prey's CamouflagePoints is high my animal do never eat; if prey's CamouflagePoints is low my animal can& ...Show All
Oliver77 How to do a discrete update of a dataset
I'm sure there are MANY ways of doing a "behind-the-scenes" update of the data in dataset, you know an update that happens to the data in the dataset but the user doesn't see he/her datagrid change much if any. I have an idea about how I CAN do it but I am wondering how I SHOULD do it. I'm sure there is a best-practices article out there somewhere but I can't find it. Has anyone found a a really great way that has worked for them, for multiple u ...Show All
