Hi Whenever I get a latest version from the VSS I end up problem in opening the solution. The following are the part of the message I get. Deleted or missing solution options file (.suo). Opening a project from the local disk without its solution. Adding a project controlled by a different source control database. Opening the solution when source control is not available. There is no .suo file on my local machine where I am getting the latest version. 1. Am I supposed to have one ( I don't think so) 2. If I need to build a .suo file so that .sln work's fine, How to do it. Thanks for your help. Sat
SatyaDY
Posts
-
VSS .suo problem -
Finding Info about a dll using ReflectionIt works only with mscorlib.dll, if you try with some other dlls it fails... I am trying to build an application which needs the full deatils of the dll and it uses this information to generate a binding file.
-
Finding Info about a dll using ReflectionYes, you are correct. Not aware of this point... But how to find out the info about the dll which are in GAC, (only know the dll name)? I am really struck here, Thanks for your help. Satya
-
Finding Info about a dll using ReflectionYes it throws exception.. Assembly LoadedAssembly = Assembly.LoadFile(@"c:\WINDOWS\assembly\mscorlib.dll"); Exception Occured: The system cannot find the file specified. (Exception from HR ESULT: 0x80070002) I tried both Load and LoadFile, getting the similar exception. Any clues? Thanks Satya
-
Finding Info about a dll using ReflectionHi, For pulling information about a dll, I have tried Assembly.Load("dll name"), it doesn't work and I understand that I need to pass a full name. My requirement doesn't provide the full name, only the name of the dll should be passed and I should get full name with version, culture inforamtion etc. Can some one tell how to fetch the version, culture etc information when given a dll name which is there in GAC.. Thanks for your help. Satya :-D
-
Multiple instances of FileSystemWatcherSorry forgot the declaration of fw. It's an arraylist. ArrayList fw = new ArrayList(); Satya
-
Multiple instances of FileSystemWatcherHi You can do it creating Multiple FileSystemWatcher Objects. Here is a code snippet of it. //Folder to be monitered are placed in Appconfig seperated with ; char[] delimiterChars = { ';' }; string FoldersNames = ConfigurationSettings.AppSettings["FoldersToMonitor"]; string[] fileNames = FoldersNames.Split(delimiterChars, System.StringSplitOptions.None); foreach (string s in fileNames) { FileSystemWatcher Clientwatcher = new FileSystemWatcher(); Clientwatcher.Path = s; Clientwatcher.Filter = "*"; Clientwatcher.NotifyFilter = NotifyFilters.LastAccess; // Clientwatcher.Created += new FileSystemEventHandler(OnChanged); Clientwatcher.Changed += new FileSystemEventHandler(OnChanged); // Clientwatcher.Renamed += new RenamedEventHandler(OnRenamed); Clientwatcher.EnableRaisingEvents = true; fw.Add(Clientwatcher); } Enjoy. Satya
-
HttpWebRequest TimeOut On an Https channel while posting dataHi All, I am using HttpWebRequest and HttpWebResponse object to upload a file over HTTPS Channel. My code works fine when I upload a small size file (Less than 2K). When I try to upload a bigger file, HttpWebRequest is Timing Out.(The operation has timed-out.) Here is the snippet of the code I am using HttpWebResponse Resp = (HttpWebResponse) Req.GetResponse(); Stream responseStream = Resp.GetResponseStream(); Encoding enc = Encoding.GetEncoding(1252); // Windows default Code Page StreamReader loResponseStream = new StreamReader(responseStream,enc); string stringResponse = loResponseStream.ReadToEnd(); LogFileStream.WriteLine("Http Response: " + Resp.StatusCode + " " + DateTime.Now.ToString().Trim()+"\n"); responseStream.Close(); oResponseStream.Close(); Does any body having clue what to do in such kind of scenario?? Thanks in advance. Satya Satya
-
Remote Task managerThanks Guys :))
-
Remote Task managerHi All, I would like to develop a Remote Task Manager utility, which reads the Tasks running on a remote machine(s). Does anybody give me a hint, how it can be done in C++/MFC. Thanks in Advance :) Regards, Satya
-
Assertion in ctlreg.cpp (OLE Registration)Hello people, I am trying to setup an VC++ and VB application on my machine, which is visual stuido.net 2003 enterprise edition. When I install the application I am getting the following error. Debug Assertion Failed "File: Ctlreg.cpp Line:520". Anybody have idea about this kind of error and how to resolve this? I just searched this file on my machine and found two versions. Is this related to this?? If anybody having clue suggest some solution. Regards, Satya :)
-
DataView Find ProblemHi, I am trying to develop one ASP.NET application. I am trying to populate a datagrid with a table content. I want one of the fields Read only in the page when I display the content. If I write like this
MyView.Table.Columns[0].ReadOnly=false; intIndexToEdit = MyView.Find(((TextBox) e.Item.Cells[1].Controls[0]).Text);
I am getting error index out of range. If I remove the ReadOnly then there is no error. I couldn't get what's the error. Can anybody help??? Regards, Satya. -
Question on PortingHi, I want to use C# features and port it to Sun Platform, is this possible?? Regards, Satya
-
Question on PortingHi, Is it possible to port the code developed in C# on to a Solaris machine?? Is there any cross platform product that makes it possible?? If somebody has idea how to do it, please reply. Regards, Satya
-
Starting service from anotherHi, I want to debug my service, from Onstart() and in MSDN says we need to create another service (dummy) to call the main service, which I need to debug. How to call a service from another service?? Regards, Satya
-
Prob with serviceHi, This a doubt regarding a service written in C#. I have a service, (developed by some one else), and I modified the dll of the service. Now, the service starts and stops. Is it correct to do the modifications directly in the dll code. Mean to say, will it be any problem with registration kind of thing. Please clarify my doubt. Regards, Satya
-
Question abt serviceHi, I am using service written by somebody else. I want to do some modifications in that. When I did modifications, I am seeing that service is stopping immediately. Do any body this kind of exp?? I am not getting any compile time or run time errors... What is the reason for this. Regards, Satya
-
How to find path of an exeHi, Do you have any code snippet for finding the exe using Registry method. If you have please give me, it's very urgent and I can't make much trails now. Regards, satya
-
How to find path of an exeHi guys, How can we find a path of an exe using it's name?? The exe is some third party exe and can be anywhere in the system. How can I find the path?? MY requirement is to start this exe from my Service. Can any body help me with some code snippet? It's very urgent. Regards, Satya.
-
FTP ClassHi, I want to do some file transfer using FTP. I couldn't find any FTP Class in C#. Is C# is having a class for supporting ftp. Regards, Satya