Clickmaster's Q&A profile
Windows Forms convert object[] to ArrayList? (C#)
Is there way to convert object[] coll to ArrayList Maybe somebody knows <i>> as far as I know the array doesn't implment System.Collections.ICollection ... </i> Yes, it does. So you can just use: object[] o = ... ArrayList a = new&nb ...Show All
Visual C# Application Settings feature in VS.Net 2005
The docs for Application Settings in VS.Net 2005 only has some things for VB.Net, is it not going to work in c# My real question is how can you get an assembly to read a settings file that is not in the application config of the application referencing it My need is to perhaps have a file stored where the assembly is that will allow me to set debugging information for the component, rather than in the config file of the other application (Notif ...Show All
Windows Forms buttons in a tablelayoutpanel in a inherited form
Hi there I cant work out if this is a bug, or I'm doing something wrong. I have a base form with some buttons in a tablelayoutpanel and when I inherit the form, all the buttons are locked. I've made sure both the buttons and the tablelayoutpanel access modifiers are protected, but the IDE still won't let me edit the properties of any of the inherited buttons. Interestingly, if I put a button on the form directly (not in a tablelayoutp ...Show All
Visual C++ Print Preview Issue
Hey, Heres the problem. I use the OnFilePrintPreview and OnEndPrintPreview methods of the various views. I have overridden these methods just for some appilication specific calls, but at the end of that i still call the base class for these methods. That all works well but when I preview a document and then open another document it fails, basically i want to be able to call the OnEndPrintPreview method when i op ...Show All
Visual Studio 2008 (Pre-release) InfoCard sample configuration problem (WinFx Dec CTP)
Hello, I have the following certificate configuration: < clientCertificate findValue = " client.com " storeLocation = " CurrentUser " storeName = " My " x509FindType = " FindBySubjectName " /> < serviceCertificate findValue = " localhost " storeLocation = " CurrentUser " storeName = " TrustedPeople " x509FindType = " FindBySubjectName " /> ...Show All
SQL Server INSERTs given me the BLUES
cstring = cstring + "VALUES('%" + txtWatchID.Text + "%','%" + txtcenter + "%'" & _ cstring = "INSERT INTO tblNEW (watch_id, service_center_num, repair_envelope, store_number" cstring = cstring + "date_purchase, transaction_num, cust_fname, cust_lname, product_code" cstring = cstring + "value_watch, failure_date, service_date, failure_code, repair_code" cstring = cstr ...Show All
Visual Studio Express Editions How can I do reports with my visual Basic Express Edition?
I would like to do charts reports with my visual basic Express edition. I'm seeing a number of issues like this. I wonder if the user community is not forgetting the intent of Visual Basic Express It's intended for hobbyists and people who are learning computing. It is not intended for production use. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Confusing issue for a moderately new DirectX developer
First off, the preliminaries: I'm an actual game developer, though I've worked exclusively on consoles and mostly audio and network coding. I'm wanting to do lightweight home games in my spare time for me and my friends. I'm doing this on a laptop with a GeForceFX Go5200. I have the December DX SDK installed, and I'm using VS 2005 Standard (hooray for launch events). I decided it would be a good idea to follow the Codin ...Show All
Windows Forms Loading a Form that belongs to another Project within the Solution
Hi all, I have a solution that comprises of a couple of projects. There is one core project (The Site Diary) that is the main application, in which there is a main menu where the user can click on a button that will load up a Form/Application that is from another Project within the same Solution (these projects include SmartWaste, CaliBRE and Priority1). Now these applications are/should be completely de-coupled and in no way know about each oth ...Show All
SQL Server RS 2005 - Evaluation Version
Our RS 2005 - Evaluation Version has expired .... does anyone know if it is possible to copy existing RS reports from an evaluation server to another server How is this done Thanks. RS 2005 is already installed on the new server. You can use the reporting services configuration tool to configure the new report server to use the existing report server database. Connect the configuration tool to the report server, then use ...Show All
Visual Studio Team System TFS Install failed!!!
My installation failed and now I can't seem to find a way to remove TFS &/or repair the installation. I am using Server 2003 enterprise, SQL Server 2005 CTP April, latest Sharepoint Services, have the necessary accounts and all required services are running. I installed this on a clean machine. One thing that might provide some insight is that I was unable to exclude SQL Server Reporting Services from Windows SharePoint Services m ...Show All
Visual Basic Questions
I just started using VB 2005 (in VS 2005 Beta2) and have the following questions: 1. Is it possible to enable the Clipboard ring or is there an equivalent replacement 2. Is there any way to prevent task descriptions from using Word Wrap in the TaskList window 3. Does the Solution Configurations menu item exist in VS2005 (i.e., the ComboBox in the Standard menu bar that contains "Debug", "Release" and "Configuration Manager..." items) If ...Show All
.NET Development Unhandled exception when setting Data Source in DataGridView
We have a larger large solution consisting of several projects (thinking about splitting it...) and every time we visually try to set the Data Source of an DataGridView, ComboBox og ListBox control (by using the dropdown in the Tag property or the little arrow in design mode) we get a Unhandled Exception. The error says: Object reference not set to an instance of an object. Probably there is an error in one of the datasets in the ...Show All
Windows Forms what is rating?
hello sometimes i see on the internet the word rating and beside it i see some stars,so my question what is the real meaning of the rating thank you for the help and for the time hello thank you for these details about this&n ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Pass int array to the pixel shader
I want to pass an int array to the pixel shader. I used SetIntArray(name, val)..the problem is that in the shader I do not know the exact size of the array, therefore in declaring it i am trying to use an int *. It seems as if the compiler does not like this. Is is it possible to use pointers in the shader If not how can I pass a variable length array to the shader can someone give me an example of the usage of this function ...Show All
