IanThomas's Q&A profile
SQL Server Adding Parameters to drop down list
Hello, I am fairly new to Reporting Services Report. >> I have one Parameter to be entered in the report which is Invoice # >> I have the second parameter Box which shows a list of numbers, which is related to that particular invoice number entered. >> I put a default invoice number (I don't know if it is the right thing to do though) >> For the first time I view the report and type in the parameter. The second parameter drop down list gets populated. (That is what I want) >> Then when I try to enter another invoice number, it does'nt work, seems like the application hangs or something Pleas ...Show All
Visual Studio Express Editions Create project templates with a directory structure
Hello! I would like to create custom project templates for my needs. Currently I have this project structure: \project\ \project\bin\ - for output exe, dll etc \project\res\ - for icons, bitmaps, rc files etc \project\src\ - for source files and projects \project\temp\ - for obj, pdb, res files for all configuration etc. After googling, I found some examples and articles, how to create VS C++ templates. I have created .vsdir, .vsz file, but have troubles with create default.js file. All examples, I found, have a huge count of source files in a same directory. So I dont understand, how to create a directory structure correct ...Show All
Windows Forms Please help with "Not a member of" error
I recently upgraded from Visual Basic Express 2005 to Visual Studio 2005 beta2 and the project I'm working on, which had no errors in VB Express2005, now has all sorts of errors in VS2005. Not sure why, but the one error that keeps coming up is that somethings are not a member of "Forms". In this case it's "AuthenticationMode" that's not a member of "Forms". I'm not sure what this error means, or how to correct it (or why it happend after I started using VS2005). Any help is greatly appreciated, thanks! Here's the code, which was "auto generated" <System.Diagnostics.DebuggerStepThrough()> _ Public Sub New () ...Show All
Visual Studio Team System How do I get TestInitialize() to run before each test?
I tried to verify if TestInitialize is run before each test. Based on my code below when I run both tests together the statusvalue should be different for each test. putting a break point and tracing appears to only hit the TestInitialize() method once. using System; using System.Text; using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace TestProjectbase { [TestClass] public class UnitTest1 { private int statusvalue = 0; public UnitTest1(){} [TestInitialize()] public void MyTestInitialize() { statusvalue++; } [TestCleanup()] public void MyTestCleanup() { statusvalue++; } [TestMethod] public void Te ...Show All
.NET Development catching an exception from an unmanged DLL
Hi, within one of my DLL (using unmanged C++) I throw an exception of a user defined type (altenatively std::string - this caused the same result). In my .net solution that uses this DLL I've put everything into a try-catch block. The exception seems to be thrown correctly by the DLL, but the only thing my .net application receives is an exception of type System::Runtime::InteropServices::SEHException, accompanied by the message: "External component has thrown an exception." Does anyone know how this is done right Will it work at all Thanks, these blogs were really interessting - I think I should have a loo ...Show All
Visual Studio Tools for Office VSTO EXCEL deployment Issue
I'm including a customized excel document in the development of the software suite that my company is delivering to a client. Our software is a webportal to database information, and the excel document is called from there. Here in the office, I can navigate to the URL, log in, open up the excel document, and have it work fully and correctly. All I have to do is input the appropriate caspol string to give the url permission. In the client's office, however, we are having issues. We've installed their version of office(they have 2003 basic, we have 2003 pro), ensuring that the appropriate .NET support elements were included in the in ...Show All
Windows Forms date column in webdeveloper VB, how do I only show date?
Hi, I'm creating a webform in webdeveloper 2005 express. There is a column in a gridview item that is suppose to show the date. However, for some reason it also shows 12:00:00a.m. after the date by default. How can I show only date (mm/dd/yyyy) This is bound to an access 2003 mdb file. In the data access table that it is reading from, there is only a date (mm/dd/yyyy) in the column. I found similar threads where users were pointed to here http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpguide/html/cpcondatetimeformatstrings.asp Thing is I don't know what to do with the code and where to put it. I've been trying ...Show All
SQL Server Is there any way to decrypt the login info?
Hi all. The new feature of login encryption still tortured me and my company's fellow :( We can't use the server's profile nor server's login audit functionality. The reason is.. they do not want any additional feature to the server even if it's just a small task. So.. I know that self signed certi generated whenever the MSSQL server started. My question is.. 1. Where is that self-signed certification. Is it loaded to memory or physical hard disk. 2. Is there any special 'store' for this self-signed certification I tried to find this certi from all of my store using the certutil.exe but couldn't find this certi. 3. Is th ...Show All
Visual C++ Templates and LNK2005
In a header file, I have a template with some inline methods: template <class BASE> class ServiceTmpl : public BASE { virtual string const& name() const { return name_; } ... }; Another file has an abstract base: class IInstrumentFactory { virtual void variousMethods() = 0; }; Then I have two classes: class NullInstrumentFactory : public ServiceTmpl<IInstrumentFactory>; class G3InstrumentFactory : public ServiceTmpl<IInstrumentFactory>; Now I'm getting LNK2005 errors, because apparently ServiceTmpl<IInstrumentFactory> is being instantiated twice. How can I avoid this problem ...Show All
Microsoft ISV Community Center Forums Help with Run-time error 1004
When I try to activate a cell, or paste to a destination, I get a run time error 1004. Both shaded lines below cause the error. The below code is from Access which is updating an open Excel file. The activate line before the shaded lines works fine For ColNo = 3 To 10 If .Cells(57, ColNo).Value > 1 Then .Range(.Cells(5, ColNo), .Cells(138, ColNo)).Copy MyXL.Application.Worksheets("Tracker").Activate ' MyXL.Application.Worksheets("Tracker").Range(MyXL.Application.Worksheets("Tracker").Cells(5, MondayCol)).Activate MyXL.Application.ActiveSheet.Pas ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Directx SDK January 2006?
hello everyone, can anyone tell me if there is any possibility of a January version of the SDK 2006 planned to be released Thank You dxfoo wrote: I agree somewhat, although I'd rather see quarter-based releases than two-months. As David Weller indicated - if you want 4-6 month releases, skip a couple of updates. I have every update for the last year downloaded - but I never installed Feb/April/June 2005 SDK's. I went from December '04 to August '05 as it suited me best. dxfoo wrote: Does this mean bigger runtime downloads for our users Not that I've noticed. The SDK keeps changing on a ...Show All
Windows Forms Form that carries loads of data - looking for the best practice?
Hi all, This is quite a general question. I have a form where you can manage a persons details. This person has quite a bit of data from loads of different tables that is relevent to them such as orders, orderdetails, address, preferences, courses attended, profile etc... I am looking for the best practice and below is what I have been doing... 1) Creating& ...Show All
Visual Studio Team System Unable to access Team Foundation Source Control
Hi, I m using Team Foundation server Beta 3 Refresh and new to this.My project Manager created a Team Project "<TeamProj1> " who is a member of [server]Team Foundation Server administrator Group.He added me as project administrator in ,[TeamProj1] Project administrator group. I m unable to open Sourec conrtol explorer when i double click Source control in Team Explorer, getting follwing error Either source control has not been configured for this team project or you dont have permission access it.Would you like to create create the source control folder, $/<TeamProj1> When i click Yes button getting this ...Show All
Visual Studio Team System File System??
I installed TFS server on a system which had FAT32 as its file system and ultimately landed with the error 32000 which asked me either to change the file system or place the virtual server directory in an ntfs sytem. So do I now need to reinstall the OS, configure it as ntfs and again install tfs or convert the existing file system without reinstalling the OS or removing TFS . The latter is a time saving solution but would it lead to authentication problems(which windows takes of) later Thankx in advance, Bharath If you convert the filesystem in-place, you can specify the /nosecurity switch. (eg convert c ...Show All
Visual Studio Team System Development Database Version Control within distributed teams
Dear members, We are using TFS as version control tool for our distributed teams located at different geographics locations, they are connedted to same TFS server so the source control is synchronized wihtout any issue but ofcourse every team have thier own database server to continue their development work, so now the issue comes of database version control. So heres the scenario - Database consists of Tables, Constraints, Stored Procedures,Diagrams, default data in various tables (esp the app permissions data) - any team can do change in their database but it shuld be sync to the main database so the other teams can syn the changes in thie ...Show All
