SpurryMoses's Q&A profile
SQL Server Triggering SSIS Packages
I am currently building an ASP.Net web app and implementing SQL Server 2005 for a project. I was relying somewhat on kicking off SSIS packages from the web app, but I am not really sure how to do this. If anyone could help me out, I would really appreciate it. See this link: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=257798&SiteID=1 ...Show All
Windows Forms Custom Paint MDI Window Background
How can i paint simple gradient on MDI Window Background You don't say if .NET 1.x o 2.0 (and I don't know if there's a difference), but if you refer to the area of your main window behind MDI children, see this article on The CodeProject: http://www.codeproject.com/cs/miscctrl/mdiclientcontroller.asp I hope it helps! Luis Alonso Ramos ...Show All
SQL Server changing SQL server service account
Guys, I have got WINDOWS 2000 Advanced Server and MS SQL SERVER 7.0 running on my live server. Now when we are planning for replication, we have found that SQL server will require to run under a domain account. At the moment there are so many ASP pages running on our server accesses different databases created using SQL server 7.0. Most of them are DSN connections to the database. Now if i create a domain account and restart the server and MS SQL services with the domain account, how is it going to effect the current web pages running on it Any help will be greatly appreciated. Thanks A connection to a database has no bearing on what ...Show All
Smart Device Development Further details on WebException? How can I get them?
If a web service I'm using throws a web exception, how can I get the details on what caused it IE: Authentication failure etc. Thanks! .NETCF does not implement configuration classes so the approach given above will not work for compact framework. To get more details of your exception do something like the following try { // Call your WebService here } catch ( WebException wex) { StringBuilder sb = new StringBuilder (); sb.Append( String .Format( "Messsage: {0}" , wex.Message)); sb.Append( "\n" ); sb.Append( "Status: " + w ...Show All
Visual Studio Quality of images in reports
Hi, I have put on my report my logo image. Regardless of the format of my image .bmp or .tif it is always converted to .jpg on ASP.NET page or when exported to PDF. It has a bad quality, but originally was good. Even when I put my image as a high quality .jpg it seems it is converted to bad quality .jpg. 1. Is it possible to have a .bmp or .tif on rendered report 2. Is it possible to have a .gif 3. How can I control quality of automatic converting of images to .jpg Thanks, Przemo I have found solution for point No. 3: http://support.businessobjects.com/library/kbase/articles/c20161 ...Show All
Visual C++ menu item grayed out
I am usin VC++ 2003. I have added to items into my menu drop down, the ID of these two items are ID_ITEM1 and ID_ITEM2, then in my code i have this line ON_COMMAND_RANGE (ID_ITEM1,ID_ITEM2, mymethod ) My method exists and works fine. The problem i have is when i load my application the two menu items are grayed out and not selectable. I checked the properties of them and they are enabled and not grayed so i what have i done wrong here Thanks Were do you placed the handler! Maybe the command routing never finds the handler. Is this menu you want to show a context menu Hint: Don't us ...Show All
Windows Live Developer Forums Worlds Best App Contest Winners
It’s time to announce the winning applications for MSNR Messenger’s Worlds Best App Contest , which MSN ran from September through December 31 st , 2005. There were a lot of great entries, hard work and interesting new ideas for building new applications and games within Messenger. Submitted applications were judged based on the official rules and judging criteria which included creativity, launches during the contest, suitability for the medium and best use of other MSN services. The following identified winning applications still subject to verification and acceptance of their winning prizes : Grand Pri ...Show All
Visual Studio Team System What is IP Switch mean?
Hi all, In the WebStress.ScenarioUI property window, you can see that IP Switch flag can be (true or false) value. How is this flag can be used Thanks, Vui IP switching is configured on the Agent Properties dialog. From the main menu choose Test->Administor Test Controllers. Choose a controller, then select an agent from the agents list. Click the properties button to configure the selected agent's properties. An agent's IP-switching configuration is setup here. Set IP switching to false on the scenario to disable configured IP-switching for that scenario. Thanks, Rick ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How can I get a part of Device's final rendering Image to save as like Bitmap?
How can I get a part of Device's final rendering Image to save as like Bitmap Exsample,if Device's final rendering Image is 800*600 pixel.But I only want the 300*200 pixel In the center And save it as a Bitmap. Hi, check the code and the comments, it should explain how to do it: // Get the back buffer (content that the device will show when you call present) IDirect3DSurface9* backBuffer = renderDevice->GetBackBuffer(0); // or GetRenderTarget if it makes more sense in your code. // use stretchrect to copy a rectangle of the back buffer surface to another surface that you'll write in the file renderDevice->StretchR ...Show All
Visual C# TabControls and dynamic tabs
I have an application that will dynamically add a tabbed page when the user clicks on certain objects in the application. I am successful at adding the tab but I cannot figure out how to call or access the new tabpage. the IDE does not seem to "intelli-type" it. I assume that this is because I dynamically created it. so how can I access and change the properties on the new tabpage Thanks for any assistance. From there how do I access the properites of a specific tab. I need to be able to access them individually. ...Show All
Windows Forms How to get all the attributes of an HtmlElement?
System.Windows.Forms.HtmlElement.GetAttribute can be used to get value of an atribute by its name, How can I get the name of all attributes for an HTMLElement Thanks i guess that would be one way to look at it---of course, if your html is well formed, then you just load it in an xmlreader, there you have it...no shortcoming ...Show All
Visual Studio Team System Reporting Services failure
I am on TFS Beta 3, and haven't used the reporting stuff much (I did get it up and running after install). Just went to run a report and got the following: An error has occurred during report processing. (rsProcessingAborted) Could not load file or assembly 'Microsoft.ReportingServices.Modeling' or one of its dependencies. Strong name signature could not be verified. The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045) Any idea what it could be I'm the administrator on the machine (ran it on the TFS server machine in order to get the ...Show All
.NET Development Error in adding generated items biztalk 2004
Hi all, When i try to add generated items -> add adapter to a biztalk 2004 project. I get an error message saying:- An error occurred during wizard execution. Type initializer for "System.Management.ManagementPath" threw an exception. Could u plz suggest possible solutions for the same Expecting a quick response Thanx a lot Charmy Charmy, Please list more details about what tools you are using, and what you are trying to accomplish. Are you trying to do this from the Administration console or from a Visual Studio project As far as I know, BizTalk 2004 doesn't ship an Adapter Wizard. In the future, ...Show All
Smart Device Development RichInk Control Changing the Font
Sorry if this post is a little long. Any help would be appriciated. I am currently using a rich ink control in an application I am working on. I wanted to change the font to courier new but there is no message to change the font for the control. So I grabbed the handle to the child window which contains the text. The problem is that when I write the text to the control initially it is written using the standard system font and the scroll bars of the control automatically ajust to the appropriate width for the size of the default font. In order to change the font of the control I have to grab a handle to a child wi ...Show All
Visual Studio Problem with List type value property
I'm having a problem getting a value property with a non-standard type to work as expected. I want to add a value property with a list type to one of the classes, so what I have done is created a trivial subclass of System.Collections.Generic.List whose type parameter is a trivial class with a few properties: public class ViewCollection : System.Collections.Generic. List < ViewItem > { } public class ViewItem { private string channel; private ViewBaseType viewbase; private string viewparameter; public string Channel { get { return channel; } set { channel = value ; } } publi ...Show All
