mnavkum's Q&A profile
SQL Server Transactions - Back to Basics
Hi all, I am having no end of trouble with transactions in the package which i am building. I now just want to go back to basics and see if someone can tell me where i should set specific transaction options. Firstly, my package runs a for each loop which loops through a directory of directories. In each of the sub directories there are 2 files. The first steps in the loop are to check if a folder has been processed previously, if so then it moves it to a specified directory. The reason that this is done first is that i cannot move the directory whilst it is being read in the foreach loop, so i pass the path to the next iteration of the loop. There is another file system move directory task outwith the foreach loop to deal with the last di ...Show All
SharePoint Products and Technologies Developing ASP.net applications (within sharepoint)
Hi, I would like to develop a (custom) ASP.net application and host it within Sharepoint, of course with the masterpage provided by sharepoint. Now it's quite easy to create a ASPX page within sharepoint (via sharepoint designer). It's also easy to just copy and paste ASP code in that file. Works fine. Serge van Oever has a nice blog posting ( http://weblogs.asp.net/soever/archive/2006/11/09/SharePoint-2007-_2D00_-_2F005F00_layouts-and-how-to-create-pages-that-run-in-site-context.aspx ) about ASPX and code behind files within the sharepoint content. This works, but of course you don't get the great masterpage system provided by Sharepoint and SharePoint designer. VSeWSS CTP is out, tried that, works but only once (still ctp, so... ...Show All
SQL Server using an apostrophe (') in building a query
I run an intranet for our small company so I am not worried about SQL injection attacks. I have a search form where and end user can enter somebody's name into a textbox and sometimes the name will contain an apostrophe such as O'Malley. This is sent to a class that I have tied to an Object Data Source. How can I "force" SQL to accept this character Is there a way to do this Thanks for the information. Guy: Maybe something like this: -- ---------------------------------------------------------------------------------------- -- Note the use of the REPLACE function to properly establish the quotes within the -- target name. -- -------------------------------------------------------- ...Show All
Windows Forms How to change ToolTip fading in ToolStrip?
I have create a ToolStrip . Inside the tool strip there is a toolstripbutton which is use to show and hide the calendarpicker under the toolstripbutton . The calendarpicker will auto hide if mouse cursor leave the calendarpicker control. The problem is if the tooltip's text for the button is show with in the calendarpicker area, When the cursor is inside the the monthcalendar and accidentally move to the tooltip text the monthcalendar will be hide even the cursor still inside the monthcalendar area. So i plan to disable fading effect in for tooltip in toolstrip control. Please advise. Thanks in advance. I've try already but still not working. Here i post up my code for reference. The tooltips under the but ...Show All
Visual Studio Express Editions How can I gather a string of items selected in a CheckedListBox to print?
How can I gather a string of items selected in a CheckedListBox to print When I print the CheckedListBox.text it only shows the currently selected item, and it doesn't even have to be checked. I wan't a string consisting of the item name selected (ie; item1, item2, item4) etc. can anyone help ok, I've just actually experimented with it for you, try this: for each currentItem as string in Me.theCheckedListBox. CheckedItems 'print currentItem MessageBox.Show(currentItem) next does this work for you ...Show All
Visual Studio Tools for Office ComponentID of VSTO 2005 SE --> vstor
Can someone pls provide the GUID for the VSTOR runtime that is associated with VSTO 2005 SE or explain how to determine it once installed tx Hi Tadwick, yes it is is, but there is also a new registry key HKLM\Software\Microsoft\VSTO Runtime setup\v2.0.50727 Update=1 Thanks and regards, Darryn Lavery [MSFT] ...Show All
SQL Server updating central database over the internet
Hi, I've spend quite a bit of time on this but no luck. so any help is really appreciated. I'm writing a class library dll that would pull data from a central db to offsite comps, manipulated then updated it back to the central db, much like systems salemen would use. Please keep in mind that i'm talk about LARGE amount of data. I want downloaded data to be manipulated on the client computer(without direction connection to db server) with EXCEL or something of the likes then upload changes back to the central DB. Is there anything in SQL Integration Services that would help me please keep in mind that data are distributed to computers over the internet, not on the same LAN. Please be as specific as possible i'd really appreciat ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Questions about using xbox 360 controller on my pc.
I have a few questions about using the xbox 360 controller on my computer. first of all, on the "how to test the xbox controller for windows" help page, it says when you run "joy.cpl" it should give you a game controllers window that says "xna gamepad", mine just says gamepad (controller), does that matter i want to set my controls so that x = button1 instead of 3, a = button2 instead of 1 and b = button 3 instead of 2. is there a way to do this i've been playing madden 2003 with the gamepad and some issues i've had is that the controls keep resetting and won't stay the way i want them to. it also won't let me configure the right trigger and left trigger in the game, it doesn't respond when i press them. are t ...Show All
Visual Studio 2008 (Pre-release) How do you change SelectedItem in a ListBox?
I'm trying to accomplish what I thought was a simple task. I would like items in my ListBox to select automatically when I hover over them. I tried to set up a Style and use a Trigger on the IsMouseOver property of my ListBoxItem and change the IsSelected property, but that doesn't appear to update the SelectedItem property of my ListBox. What is the best way to select an item just by hovering over it Thanks! can you try < Style TargetType = " {x:Type ListBoxItem} " > < Style.Triggers > < Trigger Property = " IsMouseOver " Value = " True " > < Setter Property = " IsSelected " Value = " True " ></ Setter &g ...Show All
.NET Development deploying my app with custom component without deploying the dll ??
hello everyone, i have question, i would like to deploy my application with some custom(3rdparty) component (opensource / commercial), but after i compiled my application, i found the .dll component copied in release folder. so that case i have to deploy all the .dll with exe to my client let's say i have mass of client/public download, in that case someone can just easily stole my .dll component because they found it in my deploy app folder, and use it for their application freely is there any techinque or tools to prevent this like embed all custom component in master application.exe thank you. I moved to .NET Framework Setup and hope you can get satisfying answers. Thank you ...Show All
Visual Studio Team System Profiling on WinMobile with VS2005?
Does the Team System upgrade support profiling memory and/or performance on WindowsMobile devices Or is this desktop only profiling support If not supporting mobile devices, does anyone know when there will be a released profiler for winmobile Unfortunately, I am still using the Embedded VC profiler from like 2002 and I'd love to upgrade if possible. Thanks! check out the following post... http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=843872&SiteID=1 Hope this helps. Thanks, Kathir ...Show All
Visual Studio Express Editions Listbox drag drop & reorder
Hi, I have 2 listboxes on my form. List1 is filled with alphasorted items from my access database. I need List2 to be filled with items dragged & dropped from List1 Users should be able to reorder List2 using dragdrop. I know this used to be a limitation in VB6. Can someone please point me to a .net/vb2005e solution for this I'm sure it will benefit others as well. Thanks ! Hi Ultrawhack, to solve the new problem, you can use the following sample code: this example uses 2 listboxes on a form, Listbox1 and Listbox2, note that the property "AllowDrop" of Listbox2 is set to true.now use the following code to drag data from listbox1 and drop it in listbox2 AND DRAG/DR ...Show All
Visual Studio 2008 (Pre-release) Zoom using mouse co-ordinates
i'm currently building a basic graph package whereby lines (and bar charts/histograms etc) are drawn. the line's are drawn via the polyline element i am just wondering if it is possible for the user to select an area using the mouse (left clicking then dragging), and then the canvas will only display this area, then left clicking and the original screen is shown i know it is possible in other languages but i'm not sure how to do it using xaml and c#. any help would be really appreciated :-) an example of my code is: <TabControl x:Name="graphCanvas" Margin="5"> <TabControl.Items> <TabItem Header ="Line"> <Canvas x:Name="LineCanvas" PreviewMouseMove=" ...Show All
Visual Basic Comment Marker in a String
Hi: I want to include a comment Marker (') in a string. Does anyone know how Thanks. Hi, something like this Dim myString As String = "This is 'my string'" Andrej ...Show All
SQL Server SQL2005 SP2 Dec CTP Sharepoint AddIn install problem
Hi, I've installed the Dec CTP of SP2 on a Windows Server 2003 SP1 virtual machine. Sharepoint and SQL2005 are running on the same machine. It currently has 1GbRAM allocated. I configured the Report Server to use a Sharepoint integrated report server database. (Missed this first time round). Then I installed the SharepointRS.msi. I see no sign of the Reporting Services section in Central Administration, Application Management, and in Central Administration>Site Settings>SiteFeatures, I see no sign of Reporting Services either. Below is the log file from SharepointRS.msi /l* Any help much appreciated. Thanks Martin === Logging started: 22/01/2007 14:54:20 === Action 14:54:20: INSTALL. Action start 14:54: ...Show All
