Krista's Q&A profile
Visual C# Progromatically Get Server Name for Connection String
We are developing a database application running on three different servers, BERMUDADEV01, NEWYORKDEV01, CHICAGODEV01. Eventually, we will put the application into production on three identically configured servers with the same names as above but without the "DEV." Currently, the connection string is hardcoded into a web services module for each server: public SqlConnection connection = new SqlConnection("Data Source=" + " BERMUDADEV01 " + "; Initial Catalog=Workbench; Integrated Security = True"); This means that we have to hand-code the connection string for each server and that we can't si ...Show All
Visual J# System.InvalidOperationException Every Time I try a particular Web Reference
Greetings Fellow J# Developers! I am currently working on a project which requires me to make references to the Autodesk Vault Web API. This API apparantly at some point passes in an array of INTS or LONGS. Although I cannot post the code from their end (on account it is closed source), I can post my code that is generating the error (though I don't feel it will be of any help). I posted this to the Autodesk Vault user group, and this is the reply that I got: Reply From: Doug Redmond \(Autodesk\) Date: Jul/25/05 - 12:27 (GMT) Re: GetLatestFileAssociationsByMasterIds can not be reflected ...Show All
Architecture Microsoft Certifications- Good, Bad, or Ugly?
I would like your opinions on Microsoft Certifications. My opinion is posted here: http://realworldsa.dotnetdevelopersjournal.com/microsoftcertifications.htm If you go, please take the poll to the right. I am interested because of the situation I am finding with the resume story I have in the blog. I want to know how off base or on base the architecture community feels my opinion is. Blair - you are talking sense here. It doesnt matter how many Cisco, Microsoft and other company qualifications you have - if you are going into an industry that is based around technologies that have a m ...Show All
Visual Studio Team System No user identity info returned from GSS
Can anybody explain this exception to me 04.21.2005 12:14:57.029 | Module: ELeadServiceMediator | URL for eLead web service retrieved as " http://193.5.41.175:8080/bisserver/EleadWebService.asmx " from the registration service | Completion time: 0 seconds 04.21.2005 12:14:57.029 | Module: ELeadServiceMediator | eLead web service proxy constructed | Completion time: 0 seconds 04.21.2005 12:14:57.519 | Module: ELeadServiceMediator | Template Information for domain "193.5.41.175" retrieved from eLead web service | Completion time: 0,4907056 seconds 04.21.2005 12:15:02.266 | Module: Engine | Retrieved IAuthorizationService proxy | Completion ti ...Show All
Software Development for Windows Vista ports
How do i find the modem type that connected to my serial port This forum is dedicated to questions relating to the System.Net namespace - moving this to a more suitable forum. System.IO.Ports may be of use to you. ...Show All
Windows Forms ComboBox bug?
ComboBox control’s TextChanged event does not fire if selected item is changed using keyboard. Its DropDownStyle is set to DropDownList. Is this a bug or it’s supposed to work this way Any workaround to capture this event Note: This event is fired if selected item is changed using mouse. This event is fired (by keyboard changes) if its DropDownStyle is not DropDownList. You shouldn't be using the TextChanged event if the DropDownStyle is set to DropDownList anyway. Use the SelectedIndexChanged event. ...Show All
Visual Studio Tools for Office Is it possible to implement this button?
In Outlook I'm attempting to implement a split dropdown button on an explorer command bar. An example of this is when you open Outlook and you hover the mouse over the "New" button at the top left, clicking it provides a default action, but clicking the little arrow, provides a pop up menu that shows other options that can be chosen. To be clear, this is one component, not a button and a popup menu side by side. Can someone point me in the right direction Thanks, mitch tsoft, You are limited to whatever objects the Office PIAs allow you to create on the CommandBar object. From the MsoControlTy ...Show All
SQL Server SQL 2005 woes
I installed VS 2005 & SQL Server 2005. When I use SQL Server Management Sudio, I can create a new database in SQL Server 2005, but when I try to create a new table in that database, I get the following error: "Class does not support aggregation. Microsoft.Sqlserver.Sqltools.VsIntegration" any help would be appreciated. Thanks I DID follow these instructions - are there are several similar but not identical uninstallers from Microsoft. I thought they worked - apparently they did not. Having to reformat my hard disk because the beta software didn't quite uninstall seems Draconian. ...Show All
.NET Development XMLSchemaValidator rejects what it expects.. what could it be?
Hi I'm having troubles validating my XML against an XSD using XMLSchemaValidator (see below). Any help gratefully received, as I can't find anywhere how to find out why it thinks it's invalid. Thanks in advance. I get this message: "Error: The element 'DrmImport' in namespace 'http://www.ewan.co.uk/drm' has invalid child element 'Network' in namespace 'http://www.ewan.co.uk/drm'. Expected 'Network'." This is the XML (a noddy file for initial testing): < xml version="1.0" encoding="UTF-8" > <DrmImport xmlns=" http://www.ewan.co.uk/drm "> <Network> <WaterQuality ...Show All
Windows Forms SQL SELECT statement
SELECT * FROM POSTCODE WHERE STR='THE CRESCENT' AND PTN='' AND CNT='' AND LOC='' I have this statement which I generate from the values of four textboxes. It works fine if all the boxes are completed, however in this case the user has filled in only Street. So here I want to return all the str='the crescent' regardless of whats in the ptn/cnt/loc columns. How can I do it Tweak to make use of generics: List< string > parameters = new List< string >(); // add paramaters string sqlCondition = string.Join(" AND ", parameters.ToArray()); ...Show All
Game Technologies: DirectX, XNA, XACT, etc. HLSL shader: texture lookup with "indirect addressing"
Hi all, I wrote an HLSL shader which reads one texture and uses the result as the texture coordinates of a second texture lookup (some sort of "indirect addressing"). However, the second texture lookup always returns 0; when I use constant values everything works fine. Can anyone explain this behavior I tested everything else, the problem must be due to the shader itself. I can reproduce the problem with any shader version from ps_2_0 to ps_3_0.. Thanks for your help! void F_indirect( in float4 wpos : POSITION, in float2 inCoord : TEXCOORD0, out float4 color0 : COLOR0, uniform sampler2D FPE0, uniform ...Show All
SQL Server What does TimeStart and TimeEnd signify in the ExecutionLog table
I'm trying to determine where my performance issues are and need some definitions of these fields and what they are indicating in the Execution log file.. I have an applicaiton web server that connects to the reporting servcices web server that generates a pdf. It takes 5-10 seconds to get the download pdf screen on the application but when i look at the log the difference between start and end time it is 3 seconds. In addition if you add up the time it takes to Process, Render, and Get data that is sub second. What does TimeStart and TimeEnd signify thank you ...Show All
.NET Development Is there any tool equivalent to JALOPY which is avaliable for JAVA?
Hi, Can anybody tell whether there is any equivalent tool for dotnet which does checklist on the code written (other than FxCop) For java there is a tool called JALOPY which does the checklist as well as formats the code by itself. So need a tool which is compatible for dotnet. Thanks in advance, Rajesh. Code formatting is integrated in Visual Studio ( Edit -> Advanced -> Format Document ), which is highly customizable ( Tools -> Options -> Text Editor -> (language) -> Formatting ). For even more control over the style, you can get Polystyle (formerly Trita), which supports a ...Show All
Visual Studio Setup restarts EVERY TIME After installing framework.
The setup process runs normally until the framework is installed. However, then the installher has to restart. After restarting, it goes back through the framework install again, and then... it restarts. So, as you can see, im stuck. We did have a problem with the WinSxS assemblies for the c runtimes which caused some behavior similar to this. Can you uninstall your build and try the beta 2 .net framework that has been posted http://www.microsoft.com/downloads/details.aspx FamilyId=7ABD8C8F-287E-4C7E-9A4A-A4ECFF40FC8E&displaylang=en (for x86) Thanks. -Bret ...Show All
Windows Forms Pop Up Window
Dear all: I am thinking of creating a windows service that I can run locally on my machine to work as a reminder. I just though of having that service, pop up a small window down the task bar. Can that be done in Windows forms My experience is humble in windows forms, I mainly develop in Web forms. Thanks a lot. Regards Hello guys, I was able to develop such a popup window notification in ASP.NET web application if anyone is interested: http://aspalliance.com/1306 Regards ...Show All
