Sek360's Q&A profile
SQL Server Books Online July 2006 issue
The SQL Server Books Online was working installed on my workstation fine until this morning. Now when I open it up it does not show me T-SQL reference with all the commands and functions. Yesterday I was on the MSDN website using the Books Online. Could some pointers in the program been corrupted I have uninstalled and reinstalled Books Online to no avail. Please help. Thanks, Fred Hi Fred, When you open Books Online on your local machine, do you see a Contents tab (typically located on the left-hand side of the page) If no, click the Contents option on the top tool bar. This should reopen the Contents tab that has been closed or hidden. 2. If that doesn't resolve your problem, can you pl ...Show All
Visual Studio 2008 (Pre-release) Changing the value/content of a property/control in a DataTemplate doesn't update UI
In my application, I've got this XAML code: < Page.Resources > < SharepointListItemsViewer:NodeTemplateSelector x:Key = " nodeTemplateSelector " /> </ Page.Resources > < Graph:Graph Name = " theGraph " NodesBindingPath = " ChildNodes " CoefficientOfDampening = " 0.7 " FrameRate = " 0.5 " NodeTemplateSelector = " {StaticResource nodeTemplateSelector} " > < Graph:Graph.Resources > < Style TargetType = " {x:Type Button} " > < Setter Property = " Template " > < Setter.Value > < ControlTemplate TargetType = " {x:Type Button} " > < Border ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Measure String using BitmapFont
I used the BitmapFont i got from Gary Kacmarcik's blog and it's very useful to write font on my application. but the thing is i need to do a word wrap and i need to use the MeasureString method, which i still haven't got a clue on how to use it. public int MeasureString(string format, params object[] args) anybody know what is the format used for the MeasureString It's basically the same as Console.Write: int width = font.MeasureString("This {0} is a {1} {2}",arg1,arg2,arg3); ...Show All
Visual Studio 2008 (Pre-release) Cost of Binding?
Can anyone comment on the expense for large number (thousands) of data binds Fundamentally, what does it cost me to do a bind I already understand the benefits :-) thanks, Kiel Your performance hit isn't due to binding as much as it is due to the number of elements in your tree. Like I said if you're using a DataTemplate to do the binding then you definitely want to look into virtualizing the creation of those elements. Your processor will thank you for it! ...Show All
SQL Server how stored procedures return multiple result sets?
hi i read that stored procedures can return multiple result sets how is that thanks in advance. Returning multiple result sets You can have multiple queries inside a single sproc, as shown in the following sproc code: ALTER PROCEDURE MultipleResultSets AS Select * from Products; Select * from Customers; hth Barry Andrew ...Show All
Visual Studio Tools for Office Help! 0x800a16c1 - Object has been deleted
Hi I'm working with VSTO 2005, Word Document, C#. I've done a word document where you can add lists with items inside a table. So everytime i want to a add a new list,, the C# code gets the range of a bookmark where i want to work, then it insert a row in the table, then add the xmlnodes and then add the info written by the user in an Actions Pane. the document works fine when i build it from VSTO. so i created the installer and the security policies and all that stuff. When i open the document for the first time, it works great! i create new lists with the actions pane, and everything is ok. So i save the document with another name. Then i open the new document, and when i try to insert a new list through the actions ...Show All
Visual Basic ug i can't save my array
ok heres my problem: when the user clicks button1 some strings are assigned to an array. well i need that array outside of that subroutine. i tried changing it from private sub to public sub but that did nothing. it still says the array was never declared. does anyone know how i could save that array It all depends ono where you declare your array. As a member of the class of local to a sub. Eg. Public Class Fileopen Dim myArray(10) As String Private Sub Fileopen_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load '...... Access in this sub MessageBox.Show(myArray.Length) End Sub Private Sub Button1_Click( ByVal sender ...Show All
SQL Server OMG: an Oracle Question :)
Hello... I have a small Oracle question... * ducks * In SQL-Server I can return more then one resultset in a single stored Procedure (Get Parents and all child Objects for that/those parent(s))... Is the same possible in Oracle I think I remember that Oracle cant do that due to the different handling of Selects in SPs Thats it... Also I want to know if there is a reverse Copy of the Book " "SQL Server 2000 for the Oracle DBA" Oracle allows you to return one or more results via REF CURSOR parameters from functions/procedures. These are more powerful than just returning results. For example, you can pass REF CURSOR parameter from one procedure to another. ...Show All
Visual Studio Express Editions Having problems registering my express c# edition
I keep having problems registering my express edition - it keep saying invalid email even though all email addresses I input are valid. Any ideas I've tried addresses with and without a . before the @ and have now got 2 hotmail accounts at least to try and avoid any problems I could think of! I just need a registration key! Jenny your not the only one. I have tryed it on multiple browser platfomrs (IE, Mozzila, and Opera) and multiple OS's (XP, Linux, Windows Mobile) and from several diffrent internet connections, and several diffrent email addresses and it does not work. It appears someone at Microsoft pushed a wrong key somewhere. So lets get this fixed already, its been messed up for atleast 3 days ...Show All
Software Development for Windows Vista I want to stop processing a Sequential workflow if an activity fails....
I want to stop processing a Sequential workflow if a single activity fails.... How do I force it to stop processing everything else Any help would be appreciated. Thanks I'm new to this whole Workflow foundation. Can you tell me where to go to find information on how to set up a FaultHandler I see it the designer, I just want to make sure I set it all correctly. Thanks. ...Show All
Visual Studio Express Editions Datagrid View Remove the Row Selection field
The answer to this is probably quite simple but I can't actually seem to find an answer. I wish to display data from database in a datagrid type view but do not wish to have the row select tool that is created automatically as I just wish to display and be able to print the data. Is it possible to remove that from the automatically created data grid The DataGridView is a complex control. I recommend you play with it to see what you can do, and perhaps download some samples that demonstrate various features. Here's a post hich has a couple of links in it: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=152467&SiteID=1 ...Show All
Visual C# Static Controls Disappear
In VS2005, I have a static method that is calling a non-static control on the form. I get the error: "Error 22 An object reference is required for the nonstatic field, method, or property." BUT, if I make the control static, then it disappears off the form and off the form.Designer.cs code! What is the way to deal with this Here is a method where the control "splitContainer1" is causing the error: public static void loadEstimateProcForm() { if (checkForSelection() == true) { frmEstimateInfo f = new frmEstimateInfo(getEstimateID()); splitContainer1 .Panel2.Controls.Clear(); f.TopLevel = false; f.ShowInTaskbar = false; f.FormBorderStyle = FormBorderStyl ...Show All
SQL Server Data load: want to redirect extant rows in table to a file
We are working on a DataWarehouse app. The DW has been loaded wiith transactional data from the start of September. and we want refresh the DW with a full load from the original source. This full load wil consist largely of the same records that we loaded initially in the DW but some records will be new and others will have changed. During the load I want to direct input records NOT already in the DW to a "mods" table and ignore those input records that alreayd exist in the DW. Can SSIS help out with this task TIA, Barkingdog Use a lookup task to compare the input with the existing table. Redirect errors to the "mods" table and ignore all records where the lookup succeeds. ...Show All
SQL Server Unable to install SQl Server 2005 SP2 - Unexpected error
I am trying to install SQl Server 2005 SP2 but it was throwing an unexpected error when trying to install "setup support files". O/s: Windows Server 2003 SP1 Product: SQL Server 2005 Standard Edition Log file shows: +++++++++++++++++++ === Verbose logging started: 2/20/2007 16:05:42 Build type: SHIP UNICODE 3.01.4000.2435 Calling process: F:\SQL2005sp2\hotfix.exe === MSI (c) (74:68) [16:05:42:635]: Resetting cached policy values MSI (c) (74:68) [16:05:42:635]: Machine policy value 'Debug' is 0 MSI (c) (74:68) [16:05:42:635]: ******* RunEngine: ******* Product: C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\Cache\SQLSupport\x86\1033\SqlSupport.msi ******* Action: ******* CommandLine: ********** MSI ...Show All
Windows Forms bending edges
hi, i am trying to recreate the progressbar shape but have encountered a problem, making the rectangle is easy but how do i bend the corners here is my code so far using System.Drawing.Drawing2D; namespace Remake { public partial class Form1 : Form { public Form1() { InitializeComponent(); } protected override void OnPaint( PaintEventArgs e) { Graphics g = e.Graphics; Pen p = new Pen ( Color .Black, 1); SolidBrush sb = new SolidBrush ( Color .WhiteSmoke); g.FillRectangle(sb, 10, 10, 100, 50); g.DrawRectangle(p, 10, 10, 100, 50); } } } take a look at this article in CodeProject : Extended Graphics - An implementation of Rounded Rectangle in C ...Show All
