m0nkeyforce's Q&A profile
SQL Server Save to XML file
i'm trying to save data to an XML file from an OLE DB source using the "For XML" clause in the SQL command. Do I need to use a flat file connection manager or a raw file connection manager And what destination do I use jschroeder wrote: i'm trying to save data to an XML file from an OLE DB source using the "For XML" clause in the SQL command. Do I need to use a flat file connection manager or a raw file connection manager And what destination do I use There are no built in components to allow you to output as XML but Donald Farmer's book contains code showing you how to do it in a script component. If you don't want to buy the book (although i recommend you do - its very cheap) then read thi ...Show All
SQL Server execute package task can't continue when the child package failed?
I use a execute package task to run a child package in which I run some sql task. as the error handle I insert a script task and link a line from execute package task to script task of course the line is red, but I found when the child package failed, the execute package task turns red,it stopped the script task can't be run, I don't konw why I found the prpperty "LogicalAnd" of the failure precedence constraint from execute package task to script task(error handle) I change the value of property "LogicalAnd" from "True" to "False", it works well, but I still don't know the reason. ...Show All
SQL Server open and shortcuts for management studio at the same place
Hi im pretty new to sql server management studio. I want to know if its possible to create shortcuts to certain database or even tables. I connect to a sql server hosting company that hundreds of databases which take mins to load the list and i need to scroll down and find my database. Filter doesnt work for database names. Is it possible to create a shortcut for the same db same view same login. Thanks That shortcut opens the query window against that database for that server. There is no direct way to achieve but you can set SSMS to 'open in empty environment' and then you can select the object explorer to connect to desired server. ...Show All
SQL Server Asp.net session has expired
Hi I have designed reports using SQL Server Business Intelligence Development Studio tool (Sql Server reporting service). I have uploaded these reports to report manager. I am displaying list of reports in tree view control, in my application. I am viewing report in Report Viewer control as per the report selection in tree view control, in same page. I am getting Server Error in '/Application_name' Application or ASP.NET session has expired error frequently while switching between various reports. Kindly provide me solution . Regards Sagayaraj Rayappan Daniel Reib wrote: Since the error occurs on the entire page, this points to an issue in your app. If it was the report server sessio ...Show All
Visual Studio MsBuild bug when project files are in v2.0.50727 or subfolder
I believe I found a bug in MsBuild when the project source files are in the .NET Framework 2.0 folder or any subfolder. The build works with no errors and warnings. However, and ProjectReference libraries are not copied to the output folder as expected. See my original post here : http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=902911&SiteID=1 Can some from Microsoft confirm this and provide a suitable solution My goal is to build a web application that automates our builds, and naturally I chose the Temporary ASP.NET Files subfolder to checkout my source code and build by projects. Thanks, Perry I found the problem. It appears the MsBuild will not copy any dlls if they are within ...Show All
Smart Device Development Connect To GPRS
Hello Experts, How can I establish an internet connection using GPRS from my Pocket Pc application I want my application to check if GPRS connection is active, else automatically activate it. Can this be done using OpenNetCF If yes, how I tried, but it simply checks if the connection is live, but doesnt connect automatically. Please help. Regards, Suman Ghosh U Can check for a gprs connection using the following code: Use OpenNETCF.Net AdapterCollection adapters = Networking.GetAdapters(); foreach (Adapter adapter in adapters) { int ras = adapter.Name.IndexOf("RAS VPN"); int activeSync = adapter.Name.IndexOf("Serial on USB"); // Check if this is a GPRS/GSM/CDMA adapter ...Show All
Visual Studio VS 2005 Team Suite Install Failure
I've been trying all day to get VS Team 2005 beta 2 on my XP Pro SP2 box. "The following component failed to install: Microsoft Windows Installer 3.0" Any help would be appreciated. Here's the log: [07/22/05,21:03:11] Microsoft Windows Installer 3.0: [2] Error code 1603 for this component means "Fatal error during installation. " [07/22/05,21:03:11] Microsoft Windows Installer 3.0: [2] Setup Failed on component Microsoft Windows Installer 3.0 [07/22/05,21:03:17] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InstallManagerHelper() with HRESULT -2147023293. [07/22/05,21:03:17] setup.exe: [2] Component error string not specified in ISetupManager::AddToActionResultCollection() [07/22/05,21:03:33] VS70pgui: [2] ...Show All
Internet Explorer Development Internet Explorer (ALL Versions) - OnLoad = Old
I was just wondering if it occured to you that Internet Explorer, when going to a page it just visited a few minutes ago, reloads page information that was the same as it was when you first viewed that page. Is this problem fixable Because sometimes I can go for an hour or two, and it still shows the same content as it did when I first visited that page. ...Show All
Visual Basic How to install old vb6 activex controls ?
Hi, My old app depends on some activex controls shipped with vb6 enterprise edition. How to install these controls on my system I have vs 2005 installed, so afraid to break something installing old stuff. How to get these activex controls thanks Vilius If you know they shipped with VB6, you could just install VB6 and get the controls that way. -Scott Wisniewski ...Show All
Software Development for Windows Vista Vista Home Premium Help
Does microsoft vista have Connection limit like windows xp i am recently having probleming streaming television programs from the net and i suspect that the connection limit are causing all this... If so... are there any patch to disable this feature Hello Stanley007, There are many variables that can effect streaming media (source media can be damaged, bandwidth could be bottle necked, etc) As far as I know there is no limit cap on network devices in Vista Home editions. However I would suggest posting your question on the TechNet Vista Networking forums located here http://forums.microsoft.com/TechNet/ShowForum.aspx ForumID=716&SiteID=17 as the MSDN forums are geared more towards developers. ...Show All
Visual Studio Tools for Office Visual Studio 2005, display in secondary monitor help.
Hi all, I have a form that is a playlist control for powerpoint slides that I would like to run as a control panel on the primary display monitor, but have the form display and run the powerpoint slides on the secondary display monitor. I am using a dual monitor video card. Could someone be kind enough to point me in the right direction as to how to accomplish this. Thanks in advance. Thase Thase, this is mostly a PowerPoint issue- not a VSTO 2005 SE one, and those of us hanging out on this forum are mostly experts in the latter rather than the former. However, you are in luck! I know some of the PowerPoint programmability MVPs, and I know that they are monitoring the ng's for PowerPoint dev. You can fin ...Show All
.NET Development sending a custom object to a web service
hello, i have a web service that containts a method which takes a custom object (say of type food) now i want to to consume this web service from a c# windows app. so when i call this method an error occurs ... knowing that i included a dll class library in both ends(win app and web service) so what can i do Hi, maybe you forgotten to set the [Serializable] - Attribute for the object you transfer. Then you have to [XmlInclude(typeof(your_object))] before the [WebMethod] and also in the proxy. ...Show All
Visual Studio 2008 (Pre-release) Access to an panel inside a ItemsPanelTemplate
I have the following code: < Grid Name = " GlobalGrid " > < Grid.Resources > < ItemsPanelTemplate x:Key = " AnimatedItemsPanelTemplate " > < AnimatedPanel:AniTilePanel ItemWidth = " 110 " ItemHeight = " 100 " x:Name = " ListBoxAniTilePanel " /> </ ItemsPanelTemplate > </ Grid.Resources > < ListBox x:Name = " MasterList " ItemsPanel = " {StaticResource AnimatedItemsPanelTemplate} " IsSynchronizedWithCurrentItem = " True " /> </ Grid > In my code, I want to access to my AnimatedPanel so I've try the following: ItemsPanelTemplate template = this .GlobalGrid.FindResource( "AnimatedItemsPanelTemplate" ) ...Show All
Visual Basic Passing Pointer to an Array in VB
I have an array i have to pass the array as a pointer. WIllfin Arrays are reference types which are marshalled differently between managed and unmanaged code. (see ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_fxinterop/html/049b1c1b-228f-4445-88ec-91bc7fd4b1e8.htm) Since you specify you are doing this in VB, it shouldn't be a problem but could get tricky if dealing with interfacing with API's. To pass a parameter to a method, you can either pass it ByVal or ByRef. The other trick is being aware of what you are passing. In the case of a simple Integer, passing it ByVal means passing a copy of it where-as passing it ByRef means passing a pointer to the memory containing the integer. Thu ...Show All
Visual C++ Visual Studio 2005 can't find the standard include directories for C++ project
I have just installed Visual Studio 2005 Team Edition for Software Developers and imported a project that was created in Visual C++ 6. Building the project gave hundreds of errors (C2039 'name' is not in std namespace). After a lot of hair tearing (which I just can't afford being a bit thin on top) I found that VS 2005 couldn't find the standard include files. After I added C:\Program Files\Microsoft Visual Studio 8\VC\include and C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\Include in the VC++ Directories under options it built correctly. So why can't VS 2005 resolve the directories $(VCInstallDir)include etc. I still have VC++6 installed as well as Visual C# 2005 Express Edition. My Windows version is Microsoft ...Show All
