mri's Q&A profile
Visual Studio How to Run database Script Through MSBuild?
I want to run the SqL Server's database script through MSBuild. All the resources are on the local machine. I just want to run the script through MSBuild. Please help, its very urgent Thank you. Harshal Bhakta If you know how to run your sql script from the command line, you can use the Exec task - <Exec Command="[sql-script-command-line]"/> i.e., replace the [sql-script-command-line] with the actual command. ...Show All
SQL Server BIDS - Error on design surface of Calculation tab in Cube
Has anyone seen this Within 'Business Intelligence Development Studio' (BIDS) with a cube opened and the calculations tab selected, the design surface displays a message that reads: Unexpected error occurred: 'Error in the application.' This occurs in any project I open and it still occurs when I restart BIDS or the computer itself. Any ideas Can anyone suggest a remedy I wonder if it will help, if Office 2007 Beta TR is uninstalled and Office 2007 beta is installed again.....(No TR) since it was working before ...Show All
Visual Studio Team System CTP7 CPU Very Busy
On several occasions Data Dude has stopped responding while using from 50 to 90% of the cpu. It's happened while performing a data compare, while unloading a project or while trying to close a project. Some times I see the error message " Failed to retrieve msbuild property DBProduct from the project file ." Sometimes it comes back, and others it will run for hours if I let it. Has anyone seen this issue before Some further information. Once I start seeing this problem in a given project it will persist even if I forcibly close VS and reopen the project. However I've noticed that if I delete the .dat file for the project and then reopen it the project is stable again, at least for a while unt ...Show All
SQL Server Automatic failover failure
Hello, we're running a mirrored database with High Availability for Automatic failover including a Witness instance for a web application. When doing a manual failover on the database in Management studio, the roles are switched correctly and the database is in "Principal, Synchronized" and "Mirror, Synchronized/Restoring" mode. The web application has no problems switching servers by using client failover with the jdbc driver. There is no problem accessing the database with Management Studio. However, if we stop the SQL service on the Principal server the role is automatically failed over to the Mirror server by the Witness. The database is then in the mode "Principal, Disconnected" which should be f ...Show All
.NET Development Receiving Data From PDA and Read its data error.. pls help
I am currently creating a project for which my PDA will send its mouse event over to the remote PC and the program at the remote PC will read its data. but i am currently get a "ArgumentException was unhandled" : "Argument Length must be greater or equal to zero" in the function Private Sub SerialPort1_DataReceived( ByVal sender As Object , ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) Handles SerialPort1.DataReceived txtreceive.Invoke( New myDelegate( AddressOf updateTextBox), New Object () {}) End Sub my full program belows: Public Sub updateTextBox() txtreceive.Text = "" With txtreceive .AppendText(SerialPort1.ReadExisting) ' & vbCrLf) ...Show All
Software Development for Windows Vista ICImageCompress and YUV
Dear all, I am using Video Compression Manager to manage the codecs in my project. But when I try to use ICImageCompress to compress a YUV image and video, it is asked to translate YUV into RGB since the input of ICImageCompress is RGB. May I ask you how to use YUV images or videos as the input of ICImageCompress directly Thanks a lot for your time and help. Damon hi DamonPeng , im working on quality checking of yuv images.for that i need some sample yuv images..i searched net for that but didn't found ny sample image.i think u must be having sample yuv images..it will be a great help if you can mail me 3 or 4 images.. thanks for ur time jayant ps: my mail id:jayantwaits@gmail.com ...Show All
Visual C# Method Parameter Naming Style
Sometimes I have a method that initializes a class by passing in a few values. In this situation, I generally want to set the value of a private member from the parameter value passed in. (In other words, I don't want to "Set" the property and trigger code in the Set method.) So my code would look like this (** this obviously won't work.. hence, my question... *) public class MyClass{ int x; int y; public void Init( int x, int y ) { x = x; y = y; } I have read many suggestions on naming styles, but so far I haven't seen an example of the "right" way to handle this. I've played with different prefixes and other tricks to rename the method parameter, and of course any of them work , but I ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Selling Games on Xbox Live Arcade
Hello, I am currently putting a team together to create new Xbox Live Arcade games. They will be using the XNA development tool and the projects will be financed by myself. How long will it be untill Indy developers can sell their games online in order to re-coup some of the money and produce additional games Any help is appreciated. Regards Ian vhold wrote: It kinda smells of how big record labels treat small artists. I know that's being conspiratorially minded, but you have to admit that the lack of information in this department has a somewhat purposeful feeling. Indeed, that is how the game industry has worked in the past. Our vision with XNA Game Studio Express is to help change that. HOWEVER: The infrastructure ...Show All
Visual Basic VBA in excel
Hello, I have developed a macro using VBA in microsoft office 2003 edition. The macro is running perfectly in Windows 2000 professional OS while the same is running partially in Windows XP. The macro is developed in such a way that the data values present in a single sheet is to be categorized in a prescibed way and needs to be placed in four different sheets in a new excel work book. Like wise about 100 excel workbooks are to be created. The creation of 4 sheets happens only with Windows 2000 professional edition. In XP, the same macro is not excuting the line meant for the preparation of 2 worksheets. Kindly assist me in solving the issue. Expecting your steps to solve at the earliest time. Thanks & Regards, Sridhar ...Show All
SQL Server YTD
I need to create a YTD calculated measure that stops computing down the time hierarchy once it gets to todays date. I'm using business scorecard manager and it is looking for the last populated cell to determine what "current" is. The measure definition below calculates the YTD that I need but has no way of knowing when to stop even though the [Measures].[Visit Item Count] is null for every day after today, it just carries the last value forward. I need it to return nulls for everyday past today. SUM ( YTD ([Visit Date].[Calendar Year - Quarter - Month - Date]. CurrentMember ),[Measures].[Visit Item Count]) Well, I have figured out what you were trying to tell me to do, which is write an ...Show All
Software Development for Windows Vista Hosting the WorkflowDesignerControl in ASP.NET
I am trying to run the WorkflowDesignerControl from the beta 2.2 labs into an asp page by using the <object> tag. Here's the snippet: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Untitled Page</title> </head> <body> <form id="form1" runat="server"> <div> Hi <hr /> <object id="myControl" height="300" width="30 ...Show All
.NET Development ReflectionOnlyLoad - limited usefulness?
There are two major limitations (at least as I see it) of the ReflectionOnlyLoad method of the Assembly class that I'm looking for work-arounds for: 1. Assembly methods such as "GetExportedTypes" cannot be called on the assembly object created via ReflectionOnlyLoad. This raises the obvious question: what is the point of ReflectionOnlyLoad if you can't actually reflect on the types of the assembly In addition to the other obvious question: why does ReflectionOnlyLoad return an Assembly object when it doesn't work like other Assembly objects created by other methods Shouldn't it return an object where the methods defined for that object work . 2. Assemblies can only be loaded into the current app domain (and then cannot be ...Show All
Smart Device Development Find whether device support Vibration, LED, SMS notification
Hi, Is there any way to find whether my Pocket PC is phone edition or not. because I want to add Vibration, LED, and SMS notification which works on only phone edition. Thanks in Advance, Manav, I am really thankful to you. You are helping me a lot with your responses. I hope you will keep your supprt. bye 4 now ...Show All
Visual Studio Can't debug ASP in VS2005
VS2005 doesn't seem to support debugging ASP pages. Is this really so That's a serious problem if it is. Thanks Jeremy Hi Monica, Thanks for the info. I am using the "Visual Web Developer 2005 Express" flavor of VS2005. It doesn't look like the "attach to process" feature is present. Is that correct If so, is there another way to enable legacy ASP debugging I realize that this goes against the intent behind this tool, but the fact of the matter is that while I'm taking on more and more .NET projects, I'll be stuck w/ legacy ASP maintenence for quite some time and it'd be nice to use one tool to does both. I imagine that I'm not alone. ...Show All
Smart Device Development Problem-Connecting to sql server using pocket pc 2003 emulator..
Hi Folks, I am trying to connect my remote sql database using the pocket pc emu. 2003. I am getting the error "SQL Server does not exist or access denied.". The thing is I have ASP. net projects and I connect without any hassle. I have also tried connecting to an online database using the pocket pc '03 emu. and it works....I just don't understand why it isn't working remotely.... Can someone kindly help No, one should be enough. Have you configured it with some bogus static IP like 10.0.1.1 ...Show All
