Chris_Botha's Q&A profile
Visual C++ To increase memory size for my program
I am a student currently working on large datasets. I am reading data records from a text file and storing them in arrays. I am unable to store more than 450 records. I am working on visual c++ win32 console application. If I increase the size of array its giving me an error ' stack overflow' . I tried even by changing stack size & heap size to MAX value : 2147483647 in the projects properties - ...Show All
Windows Forms Record Begin Edit Event
I want to enable a "Cancel Update/Add" button and Save button when a user makes any change to a record. Is there anyway to know when a user begins editing a record besides TextChanged and similiar events I have tried the RowChanged/ing of the Datatable and other events with no luck. Thanks Simmy http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=324160&SiteID=1 ...Show All
Windows Forms directory browsing
I've created a form with a textbox and a button. When the button is clicked i want a dialog box to open(like a opendialog) and withing this dialog, i would like my users to be able to select a directory, not a file, how do ...Show All
Windows Forms Display Windows form with call to dll?
Hello all, I'm in a bit of a bind here. I've been tasked to write a dll (not an exe) that will display a Windows form when a particular method on that dll is called. Any suggestions Thanks in advance. Thanks for the&n ...Show All
.NET Development Web.config parts depending on hosting machine
I have a asp.net web site that is deployed on different machines (test server, pre-production server, production web farm) and some of the web.config entries vary, depending on the machine/configuration/database used. For the connection strings I have found that I can put it in a separate file this way : < connectionStrings configSource = " Servers.config " ></ connectionStrings > But, here is my question, how can I do the same fo ...Show All
Visual Studio Express Editions how to backup .mdb file in vc#2005?
hi.. i want to back up a .mdb file in vc#2005,there is a |datadiretory| in database connectting string,but i can not find the path of .mdb in vc#2005, so i can not use File.copy; How should i do thanks for your help! Normally the mdf is located in your VC# project folder if you created the database in VC# ...Show All
Visual Studio Team System GUI Change requires checkout of licenses.licx
We are using a couple of 3rd party components that have information stored in the licenses.licx file. We have noticed that anytime you edit a GUI that has one of these 3rd party components, the IDE requires us to check out the licenses.licx file. The problem is that there is one licenses.licx file per project. If I want to edit GUI-A, I have to check GUI-A and the licenses.licx file out. If another develper wants to work on GUI-B in ...Show All
Visual Studio Express Editions How to you Abort a "Delete"
I'm trying to figure out how to abort "Delete" in the BindingNavigator Delete Event Have spent hours getting nowhere. Please help! Here's some code I've been working with: Private Sub BindingNavigatorDeleteItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BindingNavigatorDeleteItem.Click Dim ruSure As DialogResult ruSure = MessageBox.Show( "Are you sure you want to delete t ...Show All
Visual Studio 2008 (Pre-release) TreeView + HierarchicalDataTemplate
I'd like to bind an Object form the following class to a TreeView class MyObject { private string name; private List<MyObject> childs; public string Name { get { return this.name; } } public List<MyObject> Childs { get { return this.childs; } } } My Treeview looks like: <UserControl> <UserControl.Resources> <HierarchicalDataTemplate DataType="{x:Type local:MyO ...Show All
Visual C# .NET Framework
Ok. I dont know if this is the right forum to post this question in, but this is the forum I am used to using so I will just ask, and if its not, could someone kindly redirect me in the right direction. I was just wondering if a user would have to have the .NET Framework installed on his/her computer for him/her to be able to run my program on his/her computer. Also, I would like to know if a person would have to have a SQL Server to access a SQ ...Show All
Visual Studio Internet Connection in VS 2005
Hi, I just installed VS 2005 on my machine, but my online help cannot be accessed. I keep getting the message: "The request failed with Http Status 407. Proxy authentication required". IE on my machine does have proxy authentication. Is there a fix for this Thanks, Arshad Hmmm... not really. We're using HTTP POSTs to make our web service calls. Are you able to do HTTP POSTs (not ...Show All
SQL Server sql install as default ..new registration
Our network guy here installed sql with the default settings...so now when i bring up SQL EM i get local but i need to delete this and add a new registration. Its says use windows login account or sa...........If i use sa...will the SERVER be in mixed mode authenticaion....or i set that afterwards.. Also i want the SQL to start with DOMAIN/SQL account how to change. I know if i installed the SQL i can select all this during installat ...Show All
.NET Development Best Practice on two applications talking to each other
What is the best way to expose a local application feature to other applications I want to expose a static class over multiple applications: ApplicationA.exe consumes StaticClass ApplicationB.exe consumes StaticClass StaticClass is unique in the user machine. Should I have a .Net remoting implementation over a Windows Service or a .Net executable Should I move into AppDomains How can I do that Thanks To my und ...Show All
Windows Forms Overriding default windows look on TreeView control??
I'm wondering if anyone thinks it's possible to modify the look of the TreeView control in Visual Studio 2005 with C# ... Specifically I'm referring to the rudimentary windows look of the plus (+) and minus (-) signs that expand and contract the tree nodes. I'd like to replace those "icons" with my own icons ... among other things. I'm wondering if this is possible by overriding the paint method and If I should start digging into this, or ...Show All
.NET Development Taking Values
Hi Ive been trying to figure out how to take a value from a cell in a datagrid that imports data from excel so that i can take the value perform a calculation and move it to another cell on another datagrid but i cant find a way to remove the value or move it can anyone help plz its urgent! thx The purpose of the datagrid control is primairly for display purposes. If you want to manipulate the data ...Show All
