Answer Questions
martind2112 Where to report errors?
I just found a reproducible error that probably could easy be fixed in the next release of Visual Studio (probably just a constant that needs to be changed). The problem is in autogenerated code and leads to an error that is difficult and time consuming to find, because one does not expect an error there. However, I could not find any information about where to report errors. If you know, please, let me know, the correct way to report errors, so ...Show All
DanPortugal Simple question abt inheritance tree and generic type
The code below doesnt compile (Error 1 Cannot implicitly convert type 'A' to 'BaseString<T>') Although the idea is simple but it doesnt work with generic type. What is the "proper" way to implement that Thank you! class Base <T1, T2>{ } class BaseString <T>: Base <T, string >{ } class A : BaseString < Int16 >{ } class B : BaseString < Int32 >{ } class M ...Show All
Cliff Ophalvens ConfigurationManager is not recognized.
Hi All, I am using VS2005 Beta 2. According to the document, the ConfigurationManager.AppSettings replaces the ConfigurationSettings.AppSettings. In fact, I got the compile warning that ConfigurationSettings is obsoleted and will be removed on the next release. I changed my source to use ConfigurationManager instead. But the compiler does not recognize ConfigurationManager and gives me the complier error. What is going on &n ...Show All
The Fluffster How can I prevent others using my assembly?
How to trust the calling assembly that loads my assembly. I don't want anyother client load my assembly except specific assembly Friend assemblies ( http://blogs.msdn.com/junfeng/archive/2004/07/23/192268.aspx ) are meant to help with this scenario. Depending on your exact needs, they may or may not prove flexible enough. If not, a licensing model may be the way to go. However, before putting ...Show All
menardgi Form inheritance - newbie question
Hi All, I have a base form, on which I have two buttons and a textbox. I have set the properties of these to "Protected" so that they can be modified on an inherited form. The inherited form runs as expected and allows me to modify the controls. However, I also want to be able to override the Button2 click event in the inherited form. To do this I have set the Button2_Click event to protected virtual on the bas form. Now on the inherited form ...Show All
John Fiala How to download an video and audio?
Good Day! Im a newbie in using c#. I have a problem regarding how to download an video or audio. can any body help me or give some ideas how to make it God Bless....and thanx Hello u can do this by using the WebRequest and WebResponse Classes. // Create a request for the URL. WebRequest request = WebRequest.Create (" any video/audio link"); Good day.. i have to try to link it automatically... ...Show All
JA 'Exclude Files From Project' - Beta 2
How do I 'Exclude Files From Project' in VS 2005 I have a solution that requires files to exists in the directory structure but not be compiled. Where has this functionality moved to Also, what happened to the 'Show All Files' option Regards, C4702 wrote: Actually the DLL goes into the BIN folder... Of course, I got mixed up. I won't pretend that I can solve your architec ...Show All
nafi Thread | Invoke Issue
I am stumped on this. Here is my scenerio. >> = creates >: = event kicked off Class A >> Class B >> Class C Class A >> Class D When Class C creates a graphic object , alert Class A to tell Class D to reset all its data. Class C >: Class B >: Class A Class A has this code: private void Feature_DataChanged( object sender, EventArgs e) { ImageHandler image = ( ImageHandler ) ...Show All
R W How can I create a report from password protected database in C#?
I want to create an application where is one Access database. In this database there is table called customers. I've made Crystal Report called CrystalReport1. When I start the program it asks me for user name and password, server name and database name. How can I create a report from password protected database in C# I've done all that you wrote. But, every time I start creating report, it opens a di ...Show All
coreyw2000 problem with XmlWriter and MemoryStream
hello friends i am able to write a xml file on the disc. but when i use MemoryStream in the XmlWriter.Create() method. I m not able to read back data from the stream ...please correct the code that i have written. private string GetContentMessage( object o) { string str; int size; byte [] myBuffer; TestClass test=( TestClass )o; MemoryStream objMemoryStream = new MemoryStream (); XmlWriterSettings ob ...Show All
SENTAK Any Problem in C# & SQL Server 2000 !
I'm a new C# & SQL Server 2000 user. I want to make an MCQ(Multiple Choice Question) type database application with C#(Visual Studio 2003), SQL Server 2000 in Windows XP. I will distribute this software through a Multimedia CD. When the client will use it what softwares they will have to install in their machine They may use Win98, Millenium, 2000 and XP. Please help & encourage me. hi, ...Show All
Gibril Getting Started Page not loading C# express beta 2
I just installed Visual C# 2005 Express Beta 2 and upon starting it I am told that the page cannot be displayed. The page it is trying to load is D:\Program%20Files\Microsoft%20Visual%20Studio%208\Common7\IDE\VCSExpress\HTML\GettingStarted.htm I installed the software to my D partition by the way so thats not why it can't find it. The page used to work on the first beta. I followed the instructions for unistalling the old Express be ...Show All
margemoosh How to create a base class windows Form?
Hi All, I wanted to created a windows form with functions that are reusable. For example, creating a function to connect to the SQL server and validate user's name and password or insert record to SQL Server just by calling the AddRecord function. TIA You would create a new windows form yourself, let's say "Form1". That form will automatically inherit from the Form class. Add your methods to Form1 for connecting to the databas ...Show All
lalon MSDN Library for VS.NET 2003 download
Is it possible to download or buy MSDN Library for VS.NET 2003 separately Thanks, and I have 1 other question: Visual C#.Net Standard 2003 is only estimated $109. It is cheaper than MSDN Library itself ($199). I can't understand, Visual C#.Net Standard 2003 includes the MSDN Library isn't it Thanx again for your help. Ok I'll contact the Microsoft . As far as I know, the MSDN Library subscription will give you ALL ...Show All
alfredd 3 word command in C#
Hi everyone, Happy to participate in this forum. Can anyone tell me how to define a 3 word command. Example like if we type GIVE BREAD DWARF or something like that. Thankyou. Thanks for your immediate response. Yes, I am writing a text adventure and want help with parser. Actually I want to extend parser to recognise such three word commands. Also can u please tell me what parser is Thanks a lot. Are you wanting to write a text adve ...Show All
