Answer Questions
Oliver Michalski Problems with my Visual Studio .NET 2003 IDE
Every time I start my Visual Studio.NET 2003 IDE, it starts up in a tiny little box that I have to re-expand every time. Supposedly, when I shut it down, it's supposed to save the layout. However, it doesn't, and every time I run the thing again, it starts up in this little square that I have to re-expand. I have tried uninstalling and reinstalling. I have tried deleting my devenv.xml file in my application settings. Anyone have any ...Show All
Pittsburgh Getting a File's size on disk
After a few hours of wondering why a FileStream read was failing on a parse I found that the length I was getting wasn't the length to expect. On right-click of an image file in Windows Explorer you can see 'Size' and 'Size on disk:' The value I need to get from my C# application is the 'Size on disk:' - I have done a dozen tests and sure enough this is the crux of my problem -- so how do I get the 'Size on disk:' from .NET Thanx, ...Show All
KiriTheKid WebClient,... Can't get files using ".php?" types of links...
Greetings Folks ! We have a web crawler that searches the net for specific images... When the link is a simple href, we can easily get the file using : WebClient myWebClient = new WebClient(); myWebClient.DownloadFile(m_remoteUri, sDestination); But when the link is PHP based, the code above will not work. Using the example below, how could we get the image in the page that this link will produce. http://img120.imagevenue.com/img.php ...Show All
Joe Lee I NEED HELP! ITS AN EMERGENCY!
I just wanted to install updates on my windos live care program which protects from viruses and such. the thing is, it won't let me update since it said something was wrong, so then it told me to remove my .net framework version 2.0 and i did. now, the program won't even work or whenever i click on it, it just won't come up and its saying theres some kind of error and that now i have to re-install it. i just want to know, where or how can i get ...Show All
hullracing Create p7m envelope
Hi all, this is my first attempt at using pkcs classes to create a p7m envelope.I am trying to accomplish the following 1. sign a document with a certificate 2. envelope the signed document in a p7m file that is viewable using p7mViewer or SignoReader What I want is a valid p7m file with NO recipients, that is I do not intend to send the file to anyone, but only store the signed file in a DB. I create a SignedCms, pass my document by ...Show All
George Stein How to suppress the designer from generating initial values for properties of user-defined components inside a form?
Hi, I'm developing a business application using VB.NET. Now I have some business objects ready to be used to in our application. They are based on component model as inheriting from System.ComponentModel.Component. The problem is every time I place my component in any form, the form designer always generates initialization code in the InitializeComponent, like this :- (AppointmentBookingArrivedBlockColor and AppointmentBookingBille ...Show All
naffets Using .NET Assemblies with a C++ .dll
Using Visual Studio 2005, I have a C++ dll that needs message queueing and would like to use the System.Messaging Assembly in .NET. I am having a problem just getting off of the ground. When incorporating any .NET assembly into my .cpp file in the C++ Win32 project (dll), I get the compile errors that indicate the the Assembly is not being imported. For example, I get the following error when trying to import the System.Drawing assemb ...Show All
ueoctudorprice Getting Users info from active directory using asp.net
Hi all I am trying to connect to the active directory and display the user info in a web application. I have given the following code. Error keeps on coming when I run the program. I need to know, 1. What else is required in the code 2. If some permission is to be given in IIS 3. Any other thing which I am missing and is required to apply before runnig the code I am getting error at this line:- foreach(string key in entry.Properties.PropertyN ...Show All
Marek Mergl Using .Net Framework 1.1 & 2 in the same assembly.
Let's assume that you have a control developed by VS2003 (.Net Framework 1.1) and you want to use it in a VS2005 project (.Net Framework 2.0 beta 2). What would happen (the default behavior) is that control would be executed by .Net Framework 2.0 along the other controls. Now the question is how to redirect the execution of that control to .Net Framework 1.1 Bijan Bijan wrote: Actually the probl ...Show All
dvsvs JScript / JScriptEvaluate issue
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim overhead As String = "10" Dim a As Integer Dim b As Integer Dim c As Integer c = 20 & ...Show All
YnottonY Where is my dll?
I wrote a web service with VS2005RTM, and after published it, I cannot find the dll from the bin folder, Where is it Anybody can do me a favor I have the same problem. I think these binary files are in the directory of cache. It's a sample of path: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ Thank you . Actually, I need the pdb files the same. Thanks ...Show All
Phantsy Deleting lines from Text File.
Hello, i am reading a text file outside the program. however it is too large and must be cut down. Can I please have a code to delete the first 57 lines of the text file and either save it to the same file or save it to a file of a different name. Jason, Have a look at the StreamReader/StreamWriter classes. I suggest you first write it out to a temporary file first (use Path.GetTempFileName()), and then copy it across over the top of t ...Show All
jesusislove333333 webservice response prompts me to download .smi file
Hi all, I'm having a problem with being prompted to download an smi file, when I'm expecting a standard SOAP response, displayed in IE, from a webservice call. This has only just started happening. I have not added any new software or anything. I need to go back to the original Soap response as it's also affecting the addition of webservice references in Visual studio 2005...a bit of a problem! My platform is win xp pro, using .NET framewo ...Show All
Jiangang Wu fatal error C1190 in VC++ .NET
Hello, I am gettin a fatal error C1190 when I try to compile the code and run it. Could anyone provide a solution for that I guess I need to set the /clr switch. Here is the error: fatal error C1190: managed targeted code requires '#using <mscorlib.dll>' and '/clr' option It points to the syntax on code: #using <mscorlib.dll> <Yeah the third line of my code!!!!> ;-) Would appreciate if anyone cud provide a solution for ...Show All
Phil Winstanley ASP.NET MVP Getting a version of a file using managed code in .Net 1.1
Hi Is there a way in .Net 1.1 to get a version of a given file using managed code Thanks Rakesh. Hi Rakesh, Look at the System.Diagnostics.FileVersionInfo class: FileVersionInfo info = FileVersionInfo.GetVersionInfo("C:\myFile.exe") hope that helps, Imran. Thanks Imran ...Show All
