Kim Pallister's Q&A profile
Visual Basic System.IO.Directory.GetFiles
Hello, I'm writing code for a directory read (see below) and as of now I want to make sure it can read from a UNC path (i.e. \\SERVER ) opposed to the local machie (i.e. C:\). I've used the code below which works with "C:\" for a location of the files, however when I change the path to a UNC path I get an error saying that the UNC path should be a shared folder. Why is there a difference I have to use a UNC Path because the files being processed won't be on the local machine. Any help is greatly appreciated! Thanks, Matt 'This code works with the"C:\", but not " \\SERVERNAME\CDRIVE\ " ...Show All
Visual J# Visual J# 1.1 not loaded after installing .NET Framework 2.0
Hi, I have a Microsoft Office Excel 2003 addin developed on .NET Framework 1.1 which uses Visual J# package. It works fine when Framework 1.1 and J# Redistributable 1.1 are installed. However, when I install Framework 2.0 along with Framework 1.1 , it gives me the following error: Could not load file or assembly "vjslib Version=1.0.3300.0, Culture=neutral,PublicKey Token=b03f5f7f11d50a3a" or one of its dependencies. The same error occurs even if I install Visual J# Redistributable Package 2.0 . Please reply asap. Regards, sameerbhise sameerbhise wrote: Hi, ...Show All
Visual Studio Express Editions People trying to install my program get an xml file
Hi I'm building some basic programs at the moment and some people want to install it but they can't because they just get an xml in there browser. Anyone know what is causing the problem *XML code generated on the browser* < xml version="1.0" encoding="utf-8" > <asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns:asmv2="urn:schemas-microsoft-com:asm.v ...Show All
Visual Studio Emailing from PDF emails webpage.aspx not the pdf!
Hi, I have a webproject with a Crystal Reports report which I created in VS2005. This report works fine. My problem is that if a user prints to a PDF (this works fine) and then clicks the email button in adpbe PDF viewer, it attaches the webpage.aspx file and not the actuall PDF you are viewing. Can anyone give me any assistance on what I should be looking at many thanks ...Show All
Visual C# Does Visual C# 2002/2003 work with .NET 2.0?
hi all i have visual C# 2002 STD; i dont know the price of visual C# 2005 but i dont want to get it cause am saving for longhorn(yep am broke) will visual C# 2002 work with .Net 2.0. if(true) with generics support You can view a list of pricing here: http://www.microsoft.com/presspass/press/2005/mar05/03-21VS2005PR.asp ...Show All
Visual Studio Team System Error when using New Team Project
Hi All, The installation said everything went ok but when trying to create a new project I got: 06-01-2005 12:18:23.540 | Module: ELeadServiceMediator | URL for eLead web service retrieved as " http://wombat:8080/bisserver/EleadWebService.asmx " from the registration service | Completion time: 0 seconds 06-01-2005 12:18:23.540 | Module: ELeadServiceMediator | eLead web service proxy constructed | Completion time: 0 seconds 06-01-2005 12:18:28.509 | Module: ELeadServiceMediator | Template Information for domain "wombat" retrieved from eLead web service | Completion time: 4,9688454 seconds 06-01-2005 12:18:42.728 | Module: Engine | Retrieved I ...Show All
SQL Server Inserting long string cuts of at 150 chars
Hi there, I'm having a problem when I insert a string (from C#) which is 167 characters long. The field in SQL Server Express is a varchar(250), but the string gets cut of somehow at 150 characters. Why does this happen The table and stored proc I use are defined like this: USE [Test] GO /****** Object: Table [dbo].[tblImage] Script Date: 05/18/2006 10:42:27 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE [dbo].[tblImage]( [imgID] [bigint] IDENTITY(1,1) NOT NULL, [persID] [bigint] NOT NULL, [imgPad] [varchar](250) COLLATE Latin1_General_CI_AS NOT NULL ) ON [PRIMARY] GO SET ANSI_P ...Show All
Visual C# start process as system user.. c#
Hi i was wondering how other make possible to start a process as a system user.. you know that in task manager when it shows what user started that process it also showes by what user.. i see many apps doing that... anybody knowes how to do that zapacila89 wrote: what password did you used for the System user Don't know, the user entered this in install time. There isn't a global password that works all time and you should be glad it isn't because this will be a great security hole! ...Show All
Visual Studio Team System "Compound Words Should Be Cased Correctly" exceptions.
On one specific machine (Windows 2003 Server) my FxCop test unexpectedly/surprisingly generates thousands of "Compound Words Should Be Cased Correctly" messages. All those exceptions are actually wrong. Example: The compound word 'InvalidParameter' in class 'InvalidParameterException' exists as a discrete term. If your usage is intended to be single word, case it as 'Invalidparameter'. "InvalidParameter" does not exist as a discrete term, so this message (and 4 thousand others) is not correct. I am using FxCop 1.32. I have 10 other machines (some of them Win2003 Server) running the same project against the same code without any prob ...Show All
SQL Server Adventure Works DB Samples with Express 2005 SQL Server
Downloaded the file for the Adventure Works DB Sample. Which folder do I need to install it in to have show up in SQL Server Express 2005 You can put it in any folder you want to (normally in the usual data folder you are using, by default this is located somehwere in the programe files , microsoft SQL Server directory. But you have to attach the database using the sp_attachdb procedure or use the GUI to attach the database, right click on the server --> attach database and you are done. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual C++ running executable from different locations
Hi, The executable file of my c++ project (Version .net 2003) runs fine and does not give any errors. However, the results (output files generated by the project) vary, depending on the location on the computer where the executable is stored and on whether or not other files are included in the directory where the executable is stored. Running the executable from another pc also leads to different results. I do not make use of any time-based random number initialisation and as far as I can see, no memory overwriting occurs. Does anybody know what's going on here Please, let me know. Thank you, Annemarie ...Show All
Visual Studio Tools for Office Newbie Develop Office App using .Net
Hi everybody, I like to study on developing office applications like excel and word using C#, what do I need to install and study materials to study Can you provide me a list I am using VS 2002 and Visual C# 2005 Express Edition. Thanks in advanced. den2005 Hi Dennis Let's take this to the more appropriate group, then we can go into things in some detail :-) I won't feel I have to keep my answers short in order to not "clutter" this list. What's more, we may find there are a number of others interested in the same topic, here http://msdn.microsoft.com/newsgroups/default.aspx d ...Show All
Visual Studio Can't install VS Team beta 2
After downloading this file for 30 hours and getting it to a DVD, I immedialty get an error returned when starting setup.exe: 'Setup was unable to copy the file E:\VS\setup\DeleteTemp.exe to your temporary directory. Please make sure that the file exists and rerun setup.' In checking for this file I found that in does not exist. There is a DELETETE.exe file. I went back to my hard drive and renamed this file to DeleteTemp.exe and ran the setup.exe from there. I get to the splash screen and select install VS Studio and I now get the message: 'A problem has been encountered while loading the setup components. Canceling setup.' I have not insta ...Show All
Visual Studio Name of EventHandler called when Compartment item is selected?
Hi all, I've been playing with the tool for a while. I'm trying to override the event handler which is called when an item in a compartment is clicked. I've searched and searched to no avail. I've digged around classes like ContainerShape, CompartmentItem...etc. Here is what I'm trying to achieve. The item in the compartment of a container has some property that points to some other compartment item (possibly in other shape). When the item is selected on the compartment (i.e. highlighted), I want to read the value in the property in order to make some changes to the compartment item which the selected item is pointing at. ...Show All
SQL Server Adding custom property to custom component
What I want to accomplish is that at design time the designer can enter a value for some custom property on my custom task and that this value is accessed at executing time. I thought this would involve adding a IDTSCustomProperty to the ComponentMetaData.CustomPropertyCollection and the right place to do this to mee seemed be in the ProvideComponentProperties() method: IDTSCustomProperty90 property = ComponentMetaData.CustomPropertyCollection.New(); property.Name = "MyLittleProperty" ; However, after compiling and redeploying the custom component and adding it to a package, the property does not show up in the editor. Would an ...Show All
