EZ1976's Q&A profile
Visual Studio 2008 (Pre-release) Problem with MEX WSDL
Hello, I was trying to use an WCF web service from SQL Server Integration Services (SSIS). This web service returns an array of int and an array of a data contract. The WSDL is provided by MEX. There are 4 schemas xsd0-xsd3. xsd1 imports xsd2 and xsd3. And the WSDL imports all xsd files. The problem is that SSIS doesn't like the double imported schemas. So It doesn't work. After manually editing the wsdl and removing xsd2 and xsd3 it works. Are the twice imported schemas a bug Or is this standard conform Thanks, Uwe A Web Service is used by SSIS with a WebService Task: Define HTTP connection to URL for the Mex-WSDL: ... wsdl. Use HTTP connection and specify file for storing the wsdl loca ...Show All
Visual C# Delete Access Denied!!
I'm using the codes below trying to delete files and I got an error that say I'm trying to delete a file that still being used by another process. Please help me how to check which files are being use and skip over that and delete everything else. Here is my code so far, thanks in advance. foreach (DirectoryInfo Dinfo in dirInfo.GetDirectories( "*" )) { foreach (FileInfo file in Dinfo.GetFiles( "*.*" )) { try { file.Delete(); } catch (FileNotFoundException e) { Console .Write(e.FileName.ToString()); } } } Thanks Jason i ...Show All
Visual C# Storing Font data for use on other PC
Hi all In my application special user fonts are used and have to be stored in a document. Later this document is printed on another PC, where those fonts are not installed. So I have to serialize not only the font description, but also the font data. How can this be done I tried it with the FontFamily object, but this class is not serializable. Reiner Obrecht A bigger problem is that it might not be LEGAL to copy a font file from one system to another. For instance we use a mapping program that has various symbols stored as custom TrueType fonts. We cannot legally copy those font files to a system that does not have a licensed copy of that software on it. In our case we are forced to create an image file of some sort ...Show All
.NET Development using XSLT in SSIS XML Task
I develop SSIS (SQL Server Integration Services) solutions in Visual Studio, so I think this is the right place to ask this question. (I posted something to the SSIS forum on Friday, but no one has replied yet; see http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=648868&SiteID=1 ) SSIS has an XML Task that I use to specify an XSLT "operation", which is basically an XML document and an XSLT stylesheet. The stylesheet's job is simply to copy the XML document and add a single attribute (ihs_cats_seq) to one element type (kw); the value of the attribute should be its position within the content of its parent element (keywords). I have some XSLT experience, and my simple stylesheet works under the Saxon XSLT processor, ...Show All
Windows Forms set the background color for a row in a datagridview
Given; With Me.PropertiesGrid.Rows .Item(i).Cells.Item(0).Value = "Value" I would like to set the background color for that whole row. How do I do that Thank you, -Greg For Each c As DataGridViewCell In Me .PropertiesGrid.Rows.Item(3).Cells c.Style.BackColor = Color.Azure Next Regards, Kit kitg[at]microsoft[dot][-do-not.spam]com ...Show All
.NET Development difference bet. kernels.. of XP n vista?
help me ya i got tht from a frnd.. it is No. Both kernels are preemptible, monolithic kernels with drivers loaded as modules in the common address space mapped in all processes. Both use the same concept of thread and process and the same concept of VM. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. A problem with SpaceWar Starter Kit
I have installed XNA Game Studio Express to my Visual C# Express, i have started a new project, but I got problem. I successful compiled it, but I don't see a cursor in the game so i can't select choice in menu and keyboard also doesn't work. What's wrong i don't have the IDE in front of me right now, but i swore it was on that page, but you had to scroll down to see it. player 1 V = A B = B (i think) asdw - directions player 2 number pad for directions (caps lock off) 7 = A if you don't find your answer in the next 45 min, i'll post when i get home. ...Show All
Visual Studio Express Editions How to add Help Balloons to the application
Hi, I have set the Help Button Property on a form to true. This adds a question button to the form. If I then run the project and click the qustion mark button the move the mouse the question mark follows the mouse pointer to allow me to click on a control to then display help on the control. My question is how do I code this so when I click on a control it displays help either in the form of a balloon or dialog. Can not seem to find any help on this subject. Ron Never mind, Help Workshop is probably solid as rock by now, I was talking about my "Oops, there's something else brewing" post. ...Show All
SQL Server How to define a Left Outer Join in report using ReportModel as DataSource
Dear ppl, I got a Report Model Project, in which i have created a model of my Database and deployed it on the server... Then I have a Report Server project for my reports. The reports are using Report Model as the DataSource... Now in the Report Designer, inside a report, when I define query for Dataset using Report Model , I can't find a way to write a left Outer Join query... It always performs Inner Joins... was wondering ether Report model supports Outer Joins ... I might achive this using two different datasets but then i'll end up using two data regions e.g. 2 tables, but i don't want to do that... instead I want all of my data to appear in a single table which can reference to single dataset. Is there a way to define ...Show All
SQL Server For new in SSIS. To send data from operational d/base to data warehouse
Hi Dear All! I am Crystal Reports Developer and I am new in SSIS environment. I have started to read Professional SQL Server 2005 IS book. I am really confused by many tasks to choose. I need to develop reports from data warehouse. But before I have to send the data from operational database (SQL Server 2000) to warehouse (SQL Server 2005) monthly - I have a script for retrieving the data. For my package, I chose Data Flow Task, Execute SQL Task, and OLE DB Destination, and it does not work. Please help me if I can look similar packages performing Thank you!! Thanks Jamie for your suggestion. Moreover, I will try to use SQL command in Data Access mode for OLE DB Source. C ...Show All
SQL Server Distinct and grouping problem
can someone look at the statement for me, it's not giving me distinct names, SELECT DISTINCT TOP 10 leaderboard.name, Last(leaderboard.date_cr) AS date_cr, Last(leaderboard.handicap) AS handicap, Max(leaderboard.total) AS total, Last(leaderboard.cpsa) AS cpsa, Last(leaderboard.rbss) AS rbss, Max(leaderboard.visible) AS visible, Last(leaderboard.score) AS score FROM leaderboard WHERE (((leaderboard.visible)=True) AND ((leaderboard.rbss)=True)) GROUP BY leaderboard.name, leaderboard.total ORDER BY Max(leaderboard.total) DESC , Last(leaderboard.date_cr); if I take the second grouping off, I get distinct names, but the information isn't correct. i.e. the date, handicap, score, is from different record than the total field. any help mu ...Show All
Visual C++ PLUG-INS Programming HELP!!
I am coding for a program.. which i have to make extensible without changing the main code.. sort of like plug ins do as a add-on functinalities.. but i don't have any experience with plug-in development , so i need any good tutorials on how to write one. and i am working on .net 2003 vc++. any articles or suggestions will be good.. thanks in advance!! If your application need to be used as plug-in better to write it as DLL or COM componenent It's hard to describe them in words So better to start with MSDN. Inside COM is a good book in the area of COM ...Show All
Visual C# displaying form as image
Hello everybody i want to display a form as thumbnail in the listview for that i am using DrawToBitmap() but it is not working for richtextbox and any com components if i use CopyFromScreen() it is also capturing any contextmenus and filedialogs please help me regards Ramana kumar Ramana, Take a look at this article from Ken Getz: http://www.mcwtech.com/CS/blogs/keng/archive/2005/12/16/137.aspx It has code that uses the bitblt API method to copy the screen bit by bit. I tested it and it works on the richtextbox, but I'm not sure about com components (I tried with a vb6 listview, but that works even with drawtobitmap, so that's no reference). The code in the article is in ...Show All
Visual Studio Express Editions Clng or + or? addition problems.
Hi, just came over a problem. I have 2 text boxes and want one of them to add the other text box. Penger.Tag = Penger.Tag + Skudd.Text That only resulted in adding the numbers at the end of the other numbers. So, im wondering is the right way to do it like this Penger.Tag = CLng(Skudd.Text) + CLng(Penger.Tag) Or is there a other way thats more safe ahmedilyas wrote: to add values, you need to convert them to the correct numeric format type. So what you done should be ok but you need to make sure that the values you are trying to add are actually numeric values. How ...Show All
Visual Studio Team System Problems when moving from Beta3 refresh to RTM version
Hi all, I've now worked with the source control part for quite a while in the Beta 3 refresh version of TFS. Now we're upgrading to a released version and want to restore our work on new HW. Both the Beta installation and the new released version are single-server installations that belongs to the same domain. I've followed the instructions 'How to: Move Your TFS from one HW configuration to another'. Here's the link: http://msdn2.microsoft.com/en-us/library/ms404869.aspx 1. The first problem I get into is when I move the service accounts using command: tfsadminutil ChangeAccount domain\tfsservice domain\tfsservice I'll get messages that changes were made to application pools 'TFS AppPool', 'TFSWSS' and 'TFSWSSADMIN', b ...Show All
