dtlinker's Q&A profile
Visual C# What is with all of the files for a simple program?
I posted this in the IDE section but got no reply so I am trying it here. I am just learning C# and made a solution for a command line program. I would like to know what the heck all of these output files are for and can I somehow force them not to make subdirectories. I was able to remove the bin directory but not the obj\Debug etc. directory. Also don't understand the Test.vshost.exe file and the duplicated Test.exe and Test.pdb files. \---Test | Test.sln | \---Test | Program.cs - Main Program | Test.csproj - Project | +---bin | \---Debug | Test.exe - Executable | Test.pdb - program database for debugging | Test.vshost.exe - WHAT IS THIS FOR | +---obj | | Test. ...Show All
SQL Server Microsoft Participation in this forum
The VSTS team have posted a really useful manifesto for their participation in MSDN forums which I have read here: https://forums.microsoft.com/MSDN/ShowPost.aspx PostID=885414&SiteID=1 I'd like to politely suggest that the SSIS team do something similar on here. People have different expectations of what involvement Microsoft do/should have on this forum and it would help if Microsoft could clarify their position on this. -Jamie Jamie Thomson wrote: The VSTS team have posted a really useful manifesto for their participation in MSDN forums which I have read here: https://forums.microsoft.com/MSDN/ShowPost.aspx PostID=885414&SiteID=1 I'd like to politely suggest that the SSIS team do something similar on ...Show All
Visual Studio 2008 (Pre-release) ListView with ContextMenu
Hello, I have a Problem to determine the ColumnHeader over which a Contextmenu opened : I have a ListView and the View is set to a Grid View. To the GridViewHeader a ContextMenu is attached: ... < Grid Name = " gv " > < ListView Name = " lv " Margin = " 0,0,0,0 " HorizontalAlignment = " Stretch " VerticalAlignment = " Stretch " GridViewColumnHeader.ContextMenuOpening = " OnContextMenuOpening " > < ListView.View > < GridView ColumnHeaderContextMenu = " {StaticResource GridContextMenu} " > ... In the Codebehind I have the following Handler: void OnContextMenuOpening( object sender, ContextMenuEventArgs e ...Show All
SQL Server SSIS logic for storedprocedures
Hi, Do you have any suggestions of how to transform the below code in SSIS I guess we should use foreach loop container...... also i would appreciate if you can post some related articles. Praveen Dayanithi wrote: Hi, Sorry i thought the exact code can make you understand my problem easily.....neways this is wat happens in that code.... 1) Field1,field2,.. are fetched into a cursor from table1. 2) For each and every row in the cursor all the corresponding(may be severals records) records ar pulled out from a merge join resultser of table2 and table3. This is wat code does.... can you tell me ...Show All
Visual C# Creating a line in the registration database in Windows, and the Using/changing this value?
Ok. First of I am creating an application which does a lot of communication with a database. Several databases actually, and what I would like to do is have a couple of lines in the registry which contains the IP of these databases. Say, key Production=10.10.10.10 key Report=10.10.10.11 key Distributing=10.10.10.12 How do I create these using the windows installer How do I use this information in a connection from the program to a server How can I change this if the IP changes of one of these servers I don't know if this is the best solution, but I think the information is good to know stuff anyhow. Different ideas are welcome, but I think this is the way I want to do it. Sune Se ...Show All
SQL Server Wildcard characters in MDX?
Is it possible to use wildcards in MDX I am getting null values when I use the syntex [Product].[%Cola%] in an attempt to bring back all products that have the word 'cola' in the name. I can't find any reference to wildcard characters for mdx in Books on Line, any help is greatly appreciated. Wino MDX does not have the concept of wildcard characters in the same way that SQL does. You either have to use the filter() function in combination with the instr() function to search the name property of a set of members. eg. FILTER([Product].Members,Instr([Product].CurrentMember.Name,"Cola",1) >= 1)) (If you are using AS2k, this is your only real option.) Or, if you are using SSAS 2 ...Show All
.NET Development Winsock2 Corruption extremely prevalent on customers' machines?
We make use of the WebRequest to do quite a few asynchronous downloads. On a fair number of customer machines, they are seeing the following error: (The attempted operation is not supported for the type of object referenced) Exception Information Details: ====================================== Exception Type: System.Net.Sockets.SocketException ErrorCode: 10045 SocketErrorCode: OperationNotSupported NativeErrorCode: 10045 Message: The attempted operation is not supported for the type of object referenced Data: System.Collections.ListDictionaryInternal TargetSite: ConnectExDelegate get_ConnectEx() HelpLink: NULL Source: System StackTrace Information Details: ====================================== at System.Net.Sockets.Socket.get_Conne ...Show All
.NET Development Client Authentication using X 509 certificates
I am a WSE newbie and am trying to authenticate a client application (written in .NET) to a web service (written in .NET) using WSE 3.0. All I care about is authenticating the client and do not care about encryption or mutual authentication. When I am using the WSE 3.0 wizard to generate the client side policy file, it forces me to enter the name of a server certificate (which does not seem right) along with the client cert (which is right). My understanding is that the server cert (only the public key is needed on the client) is needed to authenticate the server, as in a mutual authentication scenario. Now if my use-case is only to authenticate the client, and not care to authenticate the server, how do I do that in WSE 3.0. If ...Show All
Visual Basic Voice Recognition
I've been reading a lot of web pages that tell you how to do voice recogntion things, and all of them say to select the Microsoft Speech Recogntion component thing, but I can't find it! Where is it, and can someone point me in the direction of a good article on how to do voice recogntion things in Visual Basic (Unless someone wants to list the code here, but I doubt that. ) Thanks! hmmm.... I don't have 2005 Express nstalle don my computer, so I can't play arount with it to see how. Consult the help file is my next suggestion. You might also try the Add... option. Are you sure you're in the Windows Forms container ...Show All
Visual C# System.Web.HttpException: Request timed out.
The following program is to strip the string of its HTML tags. After running for several minutes, anyway, which is much longer than other normal program, then the error was complained finally. Why Thanks. <%@ Import Namespace="System"%> <%@ Import Namespace="System.Text.RegularExpressions"%> <script language="C#" runat="server"> void Page_Load(object sender, EventArgs e) { string temp = "<NOSCRIPT><IMG height=0 alt= src=HTMLfiles/s9.gif"; Response.Write(StripHTML(temp)); } public static string StripHTML(string strHtml) { string [] aryReg ={ @"<script[^&g ...Show All
SQL Server Problem with Analysis Services Provider
Hi, For some reason I cannot execute reports using the provider "Microsoft SQL Server Analysis Services (AdomdClient)". I can see my cube through the Query Builder and execute the queries with it too, but when I run the query I get an error... An error has occurred during report processing. Cannot create a connection to data source 'SalesMartCube'. A connection cannot be made. Ensure that the server is running. No connection could be made because the target machine actively refused it When I change the provider to "Microsoft OLE DB Provider for Analysis Services 9.0" I can execute the report, but I lose the ability to use the MDX query builder with this provider! Can someone tell me how I can get the analysi ...Show All
Microsoft ISV Community Center Forums Attaching Contents of a Folder
Hi all, Using a macro running on excel, I am trying to attach the contents of a folder in Outlook. The files contained in the folder change, so it is not as simple as writing the code to attach a specific file. I need it to attach all the files regardless of the file name. Is this possible Thanks in advance Hi Catherine, Not 100% why you should get that message. I assume you have Outlook and not another email client. You could try a modification to this line. Set OutApp = CreateObject ("Outlook.Application", "localhost") ...Show All
Visual Studio how to properly check in solution to VSS 2005!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
This is driving me nuts. I'm tyring to upload my solution folder (which contains everything from the .sln, the project folders, the root files such as web.config...everything!) for the first time in our VSS 2005 database that contains other projects...it's a 3rd party forum app. The solution contains multople projects. I am not sure the proper way to upload to VSS because every time I test VSS by redownloading it into a test folder or something, I open the .sln only to find it cannot find the projects. When I go back to VSS, sure enough, myupload did not upload the damn projects or files. what the hell am I doing wrong. Should I just manually drag the entire folder form my C drive which contains mul ...Show All
.NET Development Problem to run aspx for the first time live
I have started learning ASP.NET 2.0 and managed to try out a few stuff like masterpages and sitemap navigation. All this I can do it locally but when I upload my code to my web hosting provider, I got this error mesg Server Error in '/' Application. -------------------------------------------------------------------------------- Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a ...Show All
SQL Server DTS Packages Unspecified Error
WE have dts packages created with ftp component in Sql 2000 dts designer. At the same time client where we are developing the package has sql 2005 components. When we move this package to sql 2000 production server - we can execute nor we can open the package it will give unspecified error. if we recreate the package on client which does not have sql 2005 component than only it works. So for any mistake the packge once opened in sql 2000 designer also with client having sql 2005 components it does not work. Only criteria this error happens when you have ftp component used in dts package. Did anyone has seen this problem Any fixes or patches available to be applied Thanks for the help. Manoj Hi Microsoft already kn ...Show All
