Answer Questions
vsone Decode URL string in C# (not ASP.Net)
Hi, I'm writing a program in C# 2.0 and I enable people to drag and drop a file link from the browser to my program and my program downloads the file. The problem is that the file URL string is encoded (ie some characters are encoded to %num). I want to decode this chars to normal chars. In ASP I saw there is an option to do it, but on regular program I couldn't find how to do it. Thanks for this answer!! If w ...Show All
Allan Kor textbox test always highlighted on window open
I have a help non-modal dialog that just displays a text message in a textbox. The textbox is the only component in the form. The problem is that when the dialog is displayed, all the text in the textbox is selected / highlighted. I have tried calling deselectAll on the textbox in the constructor and in the load and visible changed methods with no change. How do I get rid of the selection That prevents ...Show All
SeaBreeze Exchange 2003 Workflow
Hi All Can any one help me,how to configure the workflow in exchange 2003 If any one have step by step guide or Webcasts kindly provide it. FYI I searched in microsoft MSDN i didn't get the document what i need Thanks In Advance Many Thanks Hameed hi stathis Thanks for you reply. I need to implement the workflow application in Exchange 2003 for that i had found some doucument in microsoft.which is not quite usefu ...Show All
mtobin ADO.net
System.Data.OleDb.OleDbException: The Microsoft Jet database engine cannot open the file 'C:\Inetpub\wwwroot\DataBase\login.mdb'. It is already opened exclusively by another user, or you need permission to view its data. at System.Data.OleDb.OleDbConnection.ProcessResults(Int32 hr) at System.Data.OleDb.OleDbConnection.InitializeProvider() at System.Data.OleDb.OleDbConnection.Open() at DataBase.Login.OnInit(EventArgs e) in c:\inetpub\wwwroot\ ...Show All
decyclone [Regarding Event Handling]
If I wanted to create an event that watches if the mouse has been clicked on a picturebox, how would I go about doing that differently from what I did (see link below) It works if I click on the 'frame' itself, but not anything else. // Put Within InitializeComponents() {} this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Form_MouseDown); // Put within the project private void Form_MouseDown(object sender, System.Windows.Forms. ...Show All
Kelly Ethridge DoDragDrop causes COMException
Using Microsoft Visual C# 2005 Express Edition Beta, the following code ====================================================== .... label1.Text = "Please Drag Me"; .... private void label1_MouseDown( object sender, MouseEventArgs e) { label1.DoDragDrop(label1.Text, DragDropEffects .Copy); } ====================================================== sometimes causes ------------------------------------------------------ ...Show All
scotcurry Modfying Part of a String
Hi, I am trying to change only part of a string with a new value. I have a string with the value "Hello". I want to change it to "Heslo". I am trying to do this: string sal = "Hello"; sal.substring(2, 1) = "s"; This keeps giving me an error "The left hand side of the assigner should be a variable, property, or indexer" How can I accomplish this in C# thanks ...Show All
Gary_H COM+
Hi you all, Well I was I VB6 developper and I am now trying to build a COM+ component using C#, but till now I had no luck. Can anyone help me in this matter. Any help is welcome, MeTitus http://support.microsoft.com/kb/q306296 This is exactly what I have done before. I used this help to build my first COM+... Still I am having this problem, I will try to use the impersonatio ...Show All
JakobH Missing project file in a solution
Currently, we are adding a c# project to a solution that was formely code in visual basic. However it seems that every time we tried to load the solution file, all of our c# project is missing and we have to manually add the c sharp project one by one. Does anyone have an idea how to overcome this problem It's not a fatal problem but it's quite annoying after some time. nope the problem is pretty persistent :P ...Show All
wkb Question About Threads
i want to creat form using thread but the form disappear i write this private void button1_Click(object sender, EventArgs e) { Thread T = new Thread(CreateForm); T.Start(); } void CreateForm() { Form2 f = new Form2(); f.Show(); } Did any of my other suggestions help Making it a member may just solve the problem, but I doubt it, because the thread will still end. ...Show All
Andrew lazo Problem with StreamReader and HttpWebRequest
Hi all. I'm having a very sporadic issue that I can't reproduce. I have some code that posts some data and retrieves a response using the HttpWebRequest, StreamWriter, and StreamReader objects. The problem I'm having is that occasionally, the data I receive is cut short. I know there is more data to be returned (it is very obvious what is missing). No exceptions are thrown so there is no error encountered. Has anyone experienced this Am I doi ...Show All
Taliska hashtable question
hello, i want to update a value in a hashtable (ht) so i wrote- ht["key1"]=Convert.ToInt32(ht["key1"])+1 but the value is remaining the same what im missing thanks in advanced The initial value could be zero. Check initial value of (dr["id"]). nevermind...i get that Hi, I just pasted your code and tried and it is working as expected. The value is getting increme ...Show All
CScs Declarative Security Puzzling
Hi! I am trying to use declarative security from Visual Studio 2005 (see bottom). I am getting a Security Exception Unhandled error. First of all, since I am logged in as an Adminstrator, I don't understand why I am getting the exception at all. Second, since I have the try-catch, I--again--don't understand why I am getting the exception. [PrincipalPermissionAttribute ( SecurityAction.Demand, Role = "Administrators" )] ...Show All
jk1000 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
Karry Qs About the Planner v.2006
Hi, I have the following questions: - Does this tool replace Exch_Calc.XLS that was only for Exchange 2000 (see the link below) http://www.microsoft.com/exchange/techinfo/planning/2000/Exch_Calc.xls - Can you elaborate how the Storage Groups and the Information Stores population is done That is what assumptions it uses, things like: What is the maximum size of the IS that the Planner assumes Maximum number of mailboxes pe ...Show All
