Fil_NZ's Q&A profile
Visual Studio Team System CSV Datasource can't be read after converting to C#
Hello, When I add a csv datasource to a prerecorded test and use it to populate a form field everything works great. When I convert to C# code I get the following message... RequestFailed: Exception occurred: The given key was not present in the dictionary. at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at Microsoft.VisualStudio.TestTools.WebTesting.WebTestContext.get_Item(String key) at NonSequential.NonSequentialBuyTicketCoded.<GetRequestEnumerator>d__0.MoveNext() in C:\Documents and Settings\ja9991\My Documents\Visual Studio 2005\Projects\NonSequent ...Show All
Windows Forms [C#]DataGridView howto sum cells
For example, in my grid cells, i write some numeric value: col1 col2 col3 col4 Total 1.5 5.5 6 7 How can i obtain the sum of that values in column "Total" considering that my rows and my column are generated at runtime Works perfectly :) Only need to use an array (for my scope) of decimal: private decimal[] d; ........ d = new decimal[31]; for(int count = 0; count < myVariable; cou ...Show All
Visual Studio Team System Unable to connect to BIS service
Hi When I try to connect to Team Foundation Server I receive an error message: Unable to connect to BIS service Cannot connect to domain <domain name>. Projects for <domain name> not retrieved. Can You help me Thanks Arthooix Thank you Buck for your answer. yes I am running as TFSSETUP account and i still cant find a solution to this problem. I was able to connect to the server before but not to the default website. now i cant connect to the server, i can access the default website but not the team foundation server website which is http://localhost:8080 because when i try to access th ...Show All
Smart Device Development pocket pc emulator 2003 issue
hi, I got the following error, when i connect the emulator from Visual studio .net 2003 from "tools" menu then "connect to device". The Error is " Emulator device installation failed,most common cause:user does not have administrator permissions" can you help me, how to resolve this. i have installed pocket pc 2003 sdk , visual studio .net 2003 and emulator images for pocket pc 2003. thanks and regards, Naga.S Sorry, but this forum is for questions related to the DeviceEmulator, which is the new emulator that first shipped in Visual Studio 2005. You might want to ...Show All
Software Development for Windows Vista InfTee example code
Hi everybody, I have a project example of a filter called inftee. I can build it normally. How can I use that filter in the GraphEdit. I think I need to Registry the class, but I don’t no how. Anyone could help me Thanks. register a COM dll with regsvr32. Also VC6 has a tools/register control option, and VS.net 2003/2005 both have "register output" property (in project properties/linker/general). G ...Show All
Visual Studio Team System MSTest deployment
I am trying to introduce MsTest into an automated build which involves running the tests on a remote box. Is it possible to drop mstest onto this remote box like we aready do with nunit, what are the licence implications I see that there is a controller-agent model which looks promising however it seems I need "Team Edition for Testers" to get this little featurette - again what are the licence implications if we get a copy of the this. Please advise as to how I can run mstest remotely on a box that does not have Visual Studio .NET 2005. Shaun There is no MSTest-only installer -- it's ...Show All
Windows Forms hDC -> graphics object
Hi, I have a hDC which i use to create a graphics object , like this: Graphics g=Graphics.FromHDC(hDC); this works fine , and i can use both the graphics object AND the hdc to draw on. (the hdc is not mine , its owned by another control) so far so good. the problem is that when i use the graphics object to draw text the hdc seems to be a ...Show All
Visual C++ 'static binding' with C++/CLI?
After asking this question in the VC++ Express forum and not receiving a single answer I gather this forum section might be a better place to search for answers. I have a C++/CLI solution I created in VS2005 Express consisting of a windows forms project (the main programm) and a few libraries - now I'd like to create a single executable instead of an executable and a bunch of dll files. As I can't create static C++/CLI libraries (or can I ) how else can I compile them into a single executable Simply moving the header and cpp files from one project to the other didn't do me any good. Any ideas what I should look for when trying to combi ...Show All
SQL Server SQLDUMPER_ERRORLOG.log file is huge
My SQLDUMPER_ERRORLOG.log file is over 1.5 GB. What is this file all about, and what can I do to reduce its size Regards, Rick ...Show All
Visual C# VS IDE do not release the lock to the image file.
Is this a reported issue or not. VS IDE do not release the lock to the image file. I am creating a skin file with Photoshop, i saved the file as filename.bmp, set this background of my form. when i tried to overrite the file. It says that it was locked by another application. Even if i cliked Clear under import resource dialog, still i cannot overrite the file. I ended up with multiple filenames or worst close the IDE to release the lock. thanks in advance! If you use Image.Load, the file is locked until you dispose of the image. I'd say the issue is with resource management in your code, and not a bug. ...Show All
SQL Server How to change the storage location of templates
Hi, I am looking for a way (if there's one at all) to change the location where the templates do come from in SSMS. I would like to have the template explorer pointing to a common resource (sharepoint or shared folder) for our department. But right now the location of these templates is always my personal profile folder. Unfortunately I did not find settings in the "Tools" > "Options..." to adjust the location. Does anyone know Thanks in advance, Frank Hi Frank, That's a good suggestion. It's not currently possible, but I'll log the suggestion. Cheers, Dan ...Show All
Software Development for Windows Vista How can I screened out the checkbox has ben clicked on my List Control (List View?)
Hi, I'm using unmangaged C++ in VS2005 and only win libraray. There is no notification for Checkbox state changing or changed in the notification area for listView control. I need to save some data from the Dialog form when the listview control is changing it's selection and if the checkbox for that item is selected. Should I use the ( LVN_ITEMCHANGING) But in this I dno't think it tells me the original checkbox state and what it's changing to, does it If not then, is there any other way to find these information Thanks. Hi, I'm working in VS2005 but using only the std win32 library. This is a COM server proejct. I need to ...Show All
Visual Studio 2008 (Pre-release) Building custom lookless control
Hi, I'm trying WPF and I want to create a custom control but I'm kinda lost with how to add inner control to my control. What I'm trying to do is to have a control which have a UIElementCollection. These UIElement will be added to a Grid (which will have custom event handler etc... and cannot be styled) which will be the content of my control. The ControlTemplate will be around my inner grid. Anyone has resources on how to do this Thanks, Guillaume This is just a theory. Why not try overriding Control.OnTemplateChanged (receiving the old template and the new template) and resetting Template back to ol ...Show All
Windows Forms WebBrowser control hangs on Window.Close()
At first, I enjoyed the new webbrowser control but then I noticed that the args provided by the events NewWindow3 and BeforeNavigate of the axWebBrowser had not been implemented in the new control. Arg. Good news, the guys from Microsoft gave us the a workaround recently in C# and said they will publish a sample soon on MSDN. In the mean time, here is some VB.net code inspired from Microsoft's C# that will give you 2 new events and the args people like me were crying for. NavigatingExtended gives you the following args: - Url as string - Frame as string - Headers as string - Postdata as string - PostdataByte () as byte - Ca ...Show All
SQL Server variables in sql command
Hello I have an existing DTS package and I convert this to Integration Services but now I have a problem: i have in my dataflow an OLE DB SOURCE and an OLE DB DESTINATION In the source I have the following sql command: IF '<<FullLoad>>' = 'Y' BEGIN SELECT * FROM Maintenance_Departments END ELSE BEGIN SELECT * FROM Maintenance_Departments WHERE Last_Updator_Date_Time BETWEEN '<<StartDate>>' AND '<<EndDate>>' END The <<FullLoad>>, <<StartDate>> and <<EndDate>> are variables, these variables must be replaced with a value ...Show All
