mspence's Q&A profile
.NET Development security for files in web folder
Hi Everybody Am working in asp.net , i have some file in the web folder it should not download by giving the direct path , how can restrict , the web users from directly accessing my files for example the folder having files like this folder documents 1. doc1 2. doc2 it should not accessed or downloaded by giving direct path how can restrict or prevent thank you ...Show All
Visual Studio Is there a place to find Help error codes and what they mean?
I am suddenly getting a HHC3003 error... The errors all seem to have something to do with this information at the top of the HTML page. These pages all deal with attributes for Help 2 files. Seems like an opening slash is missing from the beginning of each statement (before the “MSHelp…”) Invariably the <TITLE> field is corrupted, so that there is no closin ...Show All
Smart Device Development Best way to make LABEL's clickable in CF 1.0?
Hi, There's no working Label.Click() event in CF 1.0 at this time. I can't use read-only textbox in this situation, because I need to use a label appearance rather than a textbox appearance. What is the best workaround to make a label clickable in CF 1.0 I have multiple Label's inside a Panel control, each of which requires a separate click event. How about this one: http://www.intelliprog.com ...Show All
Visual Studio 2008 (Pre-release) Go live for LINQ/DLINQ before Orcas?
There seems to be a lot of activity on this forum and it has me wondering...are all these questions coming from applications that aren't going to launch until after Orcas ships OR is it "OK" to create apps today that are targetting .NET 2.0 using LINQ/DLINQ :) Is there any chance there will be a Go Live license for LINQ/DLINQ before Orcas ships Whats the latest on when Orcas is expected to ship Basi ...Show All
Smart Device Development passing objects
Hi. I understand that the smartphone/.NET CF (1.1/2.0) does not have a way to send objects using TCPClient/listener (in other words, from PC to phone) but can send strings. I know you could use a web service, and pass objects to and from :) I am wondering if there is any way I can pass an object from the PC (not using webservice but a C# winform app) to the smartphone and back Objects are not actually going through t ...Show All
Visual Basic Filter data from text
I have an error log that is saved by some software as a text file. Currently my program allows you to open a text file and it shows the information in a text box. I want to sort through the text box for key words so I can filter out what I want for data, for example here is some data in the text file error log: Data on me this is just filler data; blah blah 21:06:14 Copying BOM from Part:123212 Part revision for sub assembly was not found. Reque ...Show All
.NET Development MODI not working with Windows 2003 Server
Hi, We are developing an application which uses MODI 11.0 type library, which ships with the MS Office 2003, for OCR functionalities. Everything seems to be working fine with the development machines which are having Windows XP SP2. Now we want to install the application in our server machine which runs Windows 2003 Server OS (with SP1). But the MODI doesnt seem to be working in the server machine. Everytime we try running the OCR on a docume ...Show All
Visual C# Using fields as parameters in a method
I have a requirement in a project to build a history. No biggie, but there are dozens of bool fields and processing each one is very time consuming. My approach is to add a field name to an arraylist when the property is changed. OnSave() or Dispose() I look into the object and check to see if the field list is empty or not. If not, I process the list looking at each item comparing it to a clone of the original object so that only true change ...Show All
Visual Studio Team System Override check in
How does an admin on team foundation server override a check in We have a developer who has left for a few days and he has files checked out We need to force a check in on those files A developer having files checked out should not prevent other users from also checking out those files unless he has them locked (for instance, if you disabled multiple checkout for that team project, or some o ...Show All
SQL Server Dynamically change the servername
Hi all, I've created 1 solution and added all my packages in different projects (like DIMENSIONS, SOURCES_SAP, ...). For each project I have a Data Source that connects to the server. The problem is that when I want to deploy a package to the server that I always need to change the Data Source before deployment. Before SQL Server 2005 we used a connection file (which was located as well on the server as on the development pc's in the sa ...Show All
Visual Studio Express Editions Structure in a list(of "Structure Name")
Hi folks, I am having an issue with using a Structure object that I have contained in an list(of object. The issue is using the indexof feature of the list(of object. I need to query the list array for a field that is contained in the structure, once found then i will be able to use the index to gain access to the other fields. Hope this makes sense. Here is the test code I am tiring to make work, the code in the button1 is where the issue i ...Show All
Windows Forms giving a panel focus
I am sure its simple, but I have searched about and can't seem to et something working. Simple window, i created a panel in. Here is what I have and have tried: The commented portions are what I have tried. [code] private : System::Void IrrlichtPanel_Paint_1(System::Object^ sender, System::Windows::Forms::PaintEventArgs^ e) { ObjDisplay->init((s32) this ->MyPanel->Handle.ToPointer()); //this ->MyPanel ...Show All
Visual Studio Team System Unit test on web method
Hi All, I have the following method to be tested, Private Shared Sub performAfterRequest( ByRef lHttpContext As HttpContext, ByVal lRequest As Request) invokeResponseHanlder(lHttpContext, lRequest, "after" ) End Sub how to perform unit test on the above method Public Sub performAfterRequestTest() Dim lHttpContext As HttpContext = Nothing 'TODO: Initialize to an appropriate value ...Show All
Visual Studio Team System Errors with all reports on Project Portal page
I just created a new team project. From the context menu of the new team project, I chose "Show Project Portal". All three of the report panes contain error messages similar to: An error has occurred during report processing. (rsProcessingAborted) Cannot impersonate user for data source 'TfsReportDS'. (rsErrorImpersonatingUser) Logon failed. (rsLogonFailed) &n ...Show All
Visual Studio Unspecified error when doing Get Latest Version
When I do Get Latest Version from within Visual Studio on a complete solution or project I get the following error: Unexpected error encountered. Error: Unspecified error. File: vsee\lib\path\cvapipath.cpp Line number: 2459 When I do Get Latest Version on an individual source file, it works correctly. When I do Get Latest Version on a project from within the VSS client, it also works correctly. I got the following setup: Visual Studio ...Show All
