Answer Questions
Brahma adding KEYS to App.Config in VS 2005
Just got VS2005, and I am trying to use the included methods for adding keys to the app.config file. Here is my code: System.Configuration. Configuration config = ConfigurationManager .OpenExeConfiguration( ConfigurationUserLevel .None); AppSection.Settings.Add ( new KeyValueConfigurationElement ( "NEW" , "Something" )); config.AppSettings.Settings.Add( new KeyValueConfigurationElement ( ""NEW" ...Show All
Aaron77 big file storage in sql
Hi i want to store a file lets ley 100 Mb in my sql Database.. how is the best way to do it Thanks!! yes but if i use it store it as a string for example an exe .. when converting to string .. data will be lost.. how about the bit type of sql how much data can be stored as type bit I suggested actually storing the file in SQL Server (and not the file system) as this ensures the integrity of the data, e.g., support for transact ...Show All
Franck EMSALLEM Cannot install/re-install MS DeskTop Search (nor toolbar): "cannot remove older version"
I get a message that says #msntb_toolbar_full_name# is unable to load its config file. if you have recently upgraded to a newer version of the # msntb_toolbar_full_name# and have not restarted your computer since the upgrade, please try restarting your computer , if the problem persits, please reinstall the # msntb_toolbar_full _name# I tryed it all and still it doesn't work. Please help Me. Sincerly Marilyn Batman - - , where i ...Show All
Nigel Rivett Not Freeing Memory
Hi, I don't know if anyone can help me. I am working with large png files, and finding the memory is not being freed after the object is disposed. Are there any know bugs on this issue Many thanks, Bruce Can you post a snippet of how you are disposing Try calling GC.Collect() and see if that changes anything. Regards, Vikram You might want to verify that it is in fact the Bitmap image that is taking up the memory and not some other ...Show All
Mr. Mort program exit????
i trying to learn c# but when i try start/debug it. i say The program '[3864] WhatDay1.exe' has exited with code 0 (0x0). it does whit all the labs so fair help me plz what does this means and how to fix it He already has that, that code should ask you for a number, once you enter it and press enter it will just close as the rest of the code is commented out, if you enter anything else than a numbe ...Show All
dadomingues How can I give percentage values to the columns of a listview?
Hello, I think the title says it. I want to give percentage values to the columns of a listview. How can I do that Your help would be greatly appreciated. i didn't understand your question what do you mean percentage values to the columns best regards I don't want to use fixed value sizes in the listview columns because the program may be used on diffrent screen resolutions and the user may ...Show All
SergeyKokorin Another event handling question
I have the same issue as this guy does: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=127763&SiteID=1 I have searched my local 2005 MSDN here: ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_csref/html/804cecb7-62db-4f97-a99f-60975bd59fa1.htm but there was never any usable answer to the question of splitting event handlers into other classes. I have a default Windows App that has a button and text box. ...Show All
Rani Baki Using C++ Interop in C#...... Help....
Using 2005 Express of C++ and C# I want to use the STL and STD in VC++ in C# by Interop. I develop a uncompleted commercial app in C++ because I want the flexablity of C# on developing custom components, but I want to use the power of C++ to pass variable to and from C++. Does anyone know of an example using C++ as the interop in C# I am new to interop and if I had an example that would speed up the learning curve. Thanks for you help! ...Show All
DanTanzer Direct X
How to translate files created in 3ds max in a format X I have found that there are problems using the panda exporter with version 7 of 3ds max. BTW: We have a list of exporters on www.ircomm.net that might help, but most of them you will have to pay for. Mykre www.ircomm.net - Managed DirectX Game Programming Hi, You may also want to take a look in this... http://www.andytather.co.uk/Panda/directxmax.aspx Many exporting features ...Show All
rbanke Connecting Web Application to Database Wired/Wirelessly
Hi good day too all. I am currently designing a program that should allow users to access to database wired/wirelessly on a different location from the web application. Compared to connecting a web application that has database on the same PC is a much difficult task. Can anyone kindly enlighten by giving some suggestions on coding or methods to solve this problem I need to sovle this problem asap as submission for my program will due i ...Show All
hafez Refactoring: Encapsulate field.
Hi All, Just started to look at VS2005 beta 2 - I don't seem to be able to use the encapsulate field refactoring function. I select a private class level variable and click encapsulate field. The IDE then prompts for the property name and displays a code preview window which has the original field renamed to that of the property (highlighted) and no get/set type code. Am I doing something wrong here Cheers, JW. ...Show All
pilchieMS C# equivalent to C "union"?
Is there a C# equivalent to the C union typedef I have a 64 byte array that can either be byte or int (USB data packet). I would like to be able to access these bytes as either type. In C I would declare: typedef union byte_array { struct { byte byte1; byte byte2; byte byte3; byte byte4;}; struct { int int1; int int2;}; };byte_array ...and access them by: byte_array myarray; mybyte = myarray.byte1; myint = myarray.int1; ...Show All
Fang Wang - MSFT Creating a Service
I know this isnt a "C#" question, but I can't think of anywhere else to ask it. I currently have a program that is basically a front end to a database with things added on. I would like this to be available to other apps I will write, and pretty much act like a service on my computer that others applications can use. I presume I should make it into a windows service (is this correct). I have plenty of tutorials in how to convert the ...Show All
vid83 Best practices of handling user controls
Hello, I am using VS 2003. I have a question on how to best handle a large amount of user controls on a single form. I have a single form, which on it, I have upwards to 30 different user controls. These controls are mini-forms, they have labels and text fields on them. When a user is on one form the other 29 are hidden behind it, so when navigating the program the shell of the program never changes, just the user control on the mai ...Show All
djnilm Visual C# 2005 Express: OpenTextFileReader Method
Is there something similar to VB's OpenTextFileReader Method in C# 2005 Thanks, J.S. Thanks, Vikram! I appreciate your response and the URL. J.S. Hi J.S, You would mostly use the Stream Reader class from the System.IO namespace for reading TextFiles in .NET. Here is a link to a sample: http://www.dotnetspider.com/technology/kbpages/795.aspx Regards, Vikram ...Show All
