Álvaro Peñarrubia's Q&A profile
SQL Server Archive & Restore design question
Hi, I have a design question. So, I am designing an web application that will store lots of data. Because of that we need to allow administrator users to archive some of the data. However, the user needs the ability to view the archive data (just to know that it is there) The administrator user can restore the data by using the web application. My design includes 2 databases, one for the actual data, and the second for the archive data, and I manipulate it by moving data from one database to the other. What do you think about that Another thing is the fact that every month administrator will want to empty the archive database and save it on a disk. What is the best way of doing so and lets say i want to take one of the ...Show All
Visual Studio Team System TF26212 - work item type definition problem
I've changed a work item type using witexport and importing it using: witimport /f <file name> /t <team foundation server> /p <project name> After importing, the work item type displays correctly, but when I try to save it, I get the following error: TF26212: Team Foundation Server could not save your changes. There may be problems with the work item type definition. Try again or contact your Team Foundation Server administrator. Unfortunately, the other items I found in the forums about this were unhelpful. My problem is slightly unique - Logging in as myself, I get the error above. However, a coworker logged in and did not get the error when saving. Any suggestions on how to correct this ...Show All
Visual Studio 2008 (Pre-release) Filters without a Message?
I would like to keep the implementation as simple as possible. I would rather not implement an "All messages" interface where I have to deal with the raw Message class. But at the same time I would like the control of filters. Can I have both Can I keep the interface at the object serialization level and then behind the scenes implement some sort of filter I am guessing this would be inserted into a custom channel of some sort. Any ideas Better yet any examples Thank you. To start with I would like to just log the Xml message that is sent. So I guess I would like a behavior that will be called on each message. I would like to know how to specify the object that is called and what its argu ...Show All
SQL Server Running SMO inside a SCRIPT TASK
Dear folks, I'm trying to call SMO classes from SSIS package but I don't know which reference to use.. Mighn't be Imports Microsoft.SqlServer.Management But Intellisense don't give me such info. Let me know where I'm failing. TIA http://www.google.co.uk/search hl=en&q=smo+namespace&meta = -Jamie ...Show All
Software Development for Windows Vista How do you declare EventHandlers outside of code?
Dear WF Gurus, We are developing XOML only state workflows with OrderLocalServices library (i.e., similar to the examples provided by Microsoft). The problem is that we may not always know all the event names that need to be declared in the OrderLocalServices library. We need to create a generic xoml builder. The main hurdle is the inability to seperate EventHandler declarations from the code (i.e., to avoid recompiling the OrderLocalServices library) when creating new XOML workflows. Any ideas how to make eventname declaration outside of code (i.e., outside of OrderLocalServices) and still be able to use the Microsoft state workflow examples with xoml only workflow connected to a backed assembly with OrderLocalServices library Th ...Show All
Visual Studio 2008 (Pre-release) Setting the source of an Image control from the code behind file
Hi! I am trying to set the Source property of an Image control in the C# code behind file. (Pretty simple operation you would think... :). Below is a simplified example that reproduces the problem... I have the following XAML: <Window x:Class="imagesourcecheck.Window1" xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " Title="imagesourcecheck" Height="300" Width="300" > <Grid> <Image x:Name="sImage12" Width="30" Height="20" Source="{x:Null}" /> </Grid> </Window> and the following C#: namespace imagesourcecheck { public partial class Window1 : System.Windows.Window { public Window1() { Init ...Show All
Game Technologies: DirectX, XNA, XACT, etc. flicker in 1280x800
Hello guys! I'm writing a simple game using xna game studio express and in 1280x800 resolution I have a flicker effect :( My graphics card is an ATI Radeon Xpress 200M with 128mb what's happen tks! Shinji hi try this as it maybe the refresh rate which I found as an issue but this fixed it in windowd and full screen!!!! '//Lock Frame rate to vertical sync on monitor graphics.SynchronizeWithVerticalRetrace = True ' //Commits the changes to the graphics Device graphics.ApplyChanges() ...Show All
Windows Forms Combo box and Datasource
HI I have generated Combo box by assigning a DataTable, contains the display member and value member, to its DataSource. When I inserted a an entry to the combo box manualy I am getting the following error. Items Collection cannot be modified when the Datasource Property is set. How do I add an item manually. Also I am really curious to know how to add Value member and Display member to Combo box by loop. Thank you. thats correct, when the combobox/UI control has been databound, you cannot modify it but select values. To modify it, you would have to update the datasource itself, then rebind the control to the datasource displaymember is used to tell the combobox what column/field it should show from th ...Show All
Windows Forms Installing click once published application programmatically
Hi, I am trying to install the ClickOnce published application programmatically. My code is exactly the same which is done here http://msdn2.microsoft.com/en-us/library/system.deployment.application.inplacehostingmanager.assertapplicationrequirements.aspx . While I running the application I am getting error saying "Not a valid number of matching trust were given an application version" .Could some one help me in solving this Regards, Santha Hi, To be more specific regarding the problem, I published the site using the visual studio 2005 and the url is http://localhost/SampleDeploy/SampleDeploy.application , with giving full trust I tried to deploy that application using the u ...Show All
.NET Development How to find the last occurence of <p> within a textblock tiltled <h2>??
I have html files with the following structure: <h2>article title</h2> <p>paragraph 1 - bladiblah di blahblah</p> <p>paragraph 2 - bladiblah di blahblah</p> <p>paragraph 3 - bladiblah di blahblah</p> <p>paragraph 4 - bladiblah di blahblah</p> <p>paragraph 5 - bladiblah di blahblah</p> <h2>article title</h2> <p>paragraph 1 - bladiblah di blahblah</p> <p>paragraph 2 - bladiblah di blahblah</p> <h2>article title</h2> <p>paragraph 1 - bladiblah di blahblah</p> <p>paragraph 2 - bladiblah di blahblah</p> <p>paragraph 3 - bladiblah di blahblah& ...Show All
Visual Studio ctc compilation error
Hi, I want to add a new command to my existing package. I made the following changes in my code. Changes in Pkgicmd.h #define cmdidexistingCmd 0x0550 #define cmdidNewCommand 0x0551// new command Changes in pkg.ctc BUTTONS_BEGIN GUID_Commands:cmdidexistingCmd SEE_CMDPLACEMENT guidOfficeIcon:msotcidNoIcon, BUTTON, , "ExistingCommand"; GUID_Commands:cmdidNewCommand SEE_CMDPLACEMENT guidOfficeIcon:msotcidNoIcon, BUTTON, , "NewCommand"; BUTTONS_END CMDPLACEMENT_BEGIN GUID_Commands:cmdidexistingCmd, GUID_Menus:IDG_CTX_DATASTORENODE, 0x0009; GUID_Commands:cmdidNewCommand, GUID_Menus:IDG_CTX_DATASTORENODE, 0x000A; ...Show All
Visual Studio Team System TF31002: Unable to connect to this Team Foundation Server
We are getting the following error when trying to connect to TFS from a developer machine: TF31002: Unable to connect to this Team Foundation Server: tfsserver. Team Foundation Server Url: http://tfsserver:8080 . Possible reasons for failure include: - The Team Foundation Server name, port number or protocol is incorrect. - The Team Foundation Server is offline. - Password is expired or incorrect. For further information, contact the Team Foundation Server administrator. It works fine when connecting from the server. Jason One other suggestion that should hopefully get you a more precise error message- From a Visual Studio Command Prompt, run &quo ...Show All
Visual Studio Barcode 128 font not displayed in running mode
Hello, I'm working with Visual Basic.net in VS 2005. I built a Crystal Report showing a TextField with a code 128 font. I used the free font Code128.ttf and the function available at http://grandzebu.net/informatique/codbar-en/code128.htm I design mode, the font is properly shown in my report but if I build and run the projet, the Textfield appears as Arial instead of Code128! I designed a simple Winforms using this font and all is properly shown, both in design and in running mode. I tried to put the font in the ressources of my projet --> nok I tried to put the font in the application path of my projet --> nok Does anyone have an idea Thanks, C. Does nobody have troubles with a code128 or anothe ...Show All
Microsoft ISV Community Center Forums How to change line within one statement?
Hello, all. I am new to VBA and have a simple question. How to change line in VBA The code looks like this: Private Sub SLICC_MALIGNANCY_AfterUpdate() Me!TOTALSCORE = Me!item1+Me!item2+......+Me!item200 End Sub I want to add up many values. But they are too long to be shown in one line. How can I change line while maintain the statement Thank you vary much! Qian Hello, all, Thank you very much for your reply! Actually I want to know how to break the limit of the length of one line in VBA. I am using MS Access. Me!item is the name of my fields. :) Now I know how to do it. Thank you all! Qian ...Show All
SQL Server why job can't start automatically
hello,everyone,i meet a problem that the job can't start automatically while i set the schedule,the job can start manual,so i don't know why somebody can help me,thank you Hello, A few questions: 1. What version of MSSQL are you running 2. What is the error you receive in the job run history 3. If you receive no errors in task history, are you sure you've created and enabled a valid job schedule Cheers, Rob ...Show All
