akjal's Q&A profile
Visual Studio Team System Question regarding Votive integaration with VS2005
Hi All , I have a question regarding Votive integration with VS2005,actually we have installed votive and it shows all the .wxs file of .wixproj.But now our problem is when we build it ,it builds successfully,but when we want to add UI related libraries it fails ,showing in path as %20 for space character in the file path,so the build fails as the folder doesnot exists.And also how we can add localization parameter in this votive. Sarabjit, Unfortunately, we don't have any Wix/Votive experts on these forums. I'd suggest that you try the Wix mailing lists, listed on the following page: http://wix.sourceforge.net/mailinglists.html Regards David ...Show All
Visual Studio Team System If I want to install TFS and Visual studio.net 2005 Team Suite what is the order to do it?
I want to do it on the same computer. Is it neccessary to install virtual server Can I do SQL Server 2005 Enterprise and my own db on the default instance Do I need to do development on a virtualised os or can do on the Windows Server 2003 whis TFS To answer your questions.. Is it neccessary to install virtual server - No. The Single Box option is supported although your client will sit on your Server and it will need to be Windows 2003 Can I do SQL Server 2005 Enterprise and my own db on the default instance - Not only is this possible, but you have to use Sql Server 2005 on default instance Do I need to do development on a virtualised os or can do on the Windows Server 2003 whis TFS - You can develop o ...Show All
Visual Basic Problems with Process class
Hi, I am trying to use media player classic to open certain songs in my program and close it after some period of time. Here are the source codes: dim myProcess as Process = new Process() myProcess.start("mplayer2.exe", "C:\My Song.mp3") myProcess.WaitForExit(60000) myProcess.CloseMainWindow() As the program runs, it can open windows media player and play the song. However, it keeps on displaying exception like this "The process is not associated with certain object" (i don't quite remember the name) when it reaches waitforexit method. anyone can help me thanks a lot. In addition, I created a Process class with the media player that is launched by the program. the media player is progr ...Show All
Visual Studio Team System Best Practice for Exception Management in Custom Tasks
I was wondering if Microsoft could provide some guidance on the best way to handle exceptions in custom tasks, should we: Just let exceptions bubble up the stack to be handled by the MSBuild engine Have a "global" exception handler in the Execute override that logs the exception as an error and return False Thanks, William Bartholomew In general, either method will result in the Task failing and stopping the build (unless ContinueOnError is set to true), and either method can be OK. The choice between the two methods will just depend on what you want to do with the exception, and what information you want written to your log file: * Letting the exception bubble up to be handled ...Show All
SQL Server Invalid character in a report
Hi! Trying to generate a report (using WebForm ReportViewer, from dynamically created RDL report and SQL Server 2005 OLAP cube), if a database field contains control characters (code < 0x20), Reporting Services generate following message: ' ', hexadecimal value 0x02, is an invalid character. Line 1, position 2376. Is it possible to ignore that I don't care if browser shows an octopus, the report must work. Thanks, Andrei. Lev, I've just emailed RDL and other details to you. I could reproduce the problem using sample AdventureWorksDW and OLAP (standard edition). Create an OLAP table report, put e.g. Model Name in one of columns. The report works fine. Now change e.g. ModelName ...Show All
Smart Device Development RTSP
Does Windows Mobile 5 / Windows media player 10 supports video streaming of RTSP protocol In fact, I quite don't know RTSP is due bottleneck for WM5 or for WMP10... I have tested that if my device has a .3gp file, it plays ok. But if I use WMP10 to open the (rtsp) URL, it encounters error... it said the file is untrusted and need digital signature... Just stupid que: is that I need to install a realplayer to satisfy handle the "rtsp" streaming Hi Alex, I'm a newbie to this streaming world. After trials with several RTSP urls, I found this url( rtsp://granton.ucs.ed.ac.uk/domsdemo/v2003-1.wmv) working in my WM5 PPC. So please provide me the details of the server us ...Show All
Game Technologies: DirectX, XNA, XACT, etc. low fps
i'm confused about fps in my programme. i draw 200 textured triangles in 640x480 window but get only approximately 160 fps. it's strange but when i zoom out from triangles fps growth momentally, but when i close... PreferMultiSampling = false ; SynchronizeWithVerticalRetrace = false ; RenderState.DepthBufferWriteEnable = false ; (i need it coz, ill render triangles with transparent textures) i use DrawIndexPrimitives, i.e. useing vertex and index buffer. any ideas how to increase fps Well, there's no way to say for sure if we can't see any code. The reason that you get a faster FPS when you zoom out is that there are less pixels to send to the pixel shader, and generally just less to draw. ...Show All
Windows Search Technologies Is there a way to share a "Windows Desktop Share" Index with a group of users?
Is there a way to share a "Windows Desktop Share" Index with a group of users have a large network share that I have been indexing for about 6 hours. I would like be able to copy my completed index of this drive, (when it finishes) to other user's machines so they don't have to index from the beginning Also, if there is a way, does the index have to reflect the same logical drive mappings (i.e. k: vs z:, if they both map to the same place Any ideas would be greatly appreciated. Thanks John Hi John, I would strongly recommend against this approach. It hasn't really been tested here at Microsoft, but there are a number of things that could go awry. Some things to keep in mind ...Show All
.NET Development We're not supposed to use List<T> ? ( List )
I installed FxCop and had it analyze my application. In several spots, it says: "Do not expose List<T> in object models. Use Collection<T>, ReadOnlyCollection<T> or KeyedCollection<K,V> instead. List<T> is meant to be used from implementation, not in object model API. List<T> is optimized for performance at the cost of long term versioning. For example, if you return List<T> to the client code, you will not ever be able to receive notifications when client code modifies the collection." I'm a bit weak in my OO.. so I'm not sure what "expose" really means in this context. Is this saying to not use List<T> ...Show All
Windows Forms Icon from path in treeview
Just would like to know how to do that (the icons) http://miranda.predialnet.com.br/imagens/iniciarewido.jpg In my app i did: http://miranda.predialnet.com.br/imagens/iniciar.jpg You could always extract the icons from the EXEs (you can do that with Visual Studio--don't know if all versions have this ability--by loading the EXE in VS via File/Open and select Open With... from the Open buttons drop-down and "Resource Editor". In the resource editor expand the Icon leave, right click the icon you want and select "Export...". Then you can load those files into your ImageList and they will be deployed with your EXE. Bear in mind, those icons are probably copyrighted and you don't have ...Show All
Visual Studio Express Editions Computed Column
I am having trouble finding the correct sytax for formulae in creating computed columns. I would like to create three computed columns in my table in my database. The first is an average of the last 20 prices, the second is the average plus one standard deviation and the third is the average minus one standard deviation. I would appreciate any help. I have tried even simple formula but nothing seems to work, i keep getting error messages. Markw2004, Check out this link: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1279113&SiteID=1 This will show you how to aquire spreadsheet gear for free. (legally). I use it for something similar to what you want. I also have my reports generating as data is being input with b ...Show All
Visual Basic format (x, "percent") problems
I need to format a number in the manner above (or any other way that would give a % as the answer), but when that text box is used it produces errors in the maths, stating that string type cannot be used for type integer. How can I convert the string back to an integer to use in the calculations, or how can I get a percent format to work with integers, decimals etc Thanks Mark So you have a string like so "10%", correct Try this: CLng(stringWithPercent.Replace("%","")) -- SvenC ...Show All
Visual Studio 2008 (Pre-release) KevinButton Source
Does anyone know where the source code for the KevinButton demo can be found I was hoping to use it for a demo. -- Bryant I was never able to find the source code either, so I threw together my own example. Lacking any pics of Kevin Moore I modified it to be a SmileyButton, but the functionality is the same. It can be found here: http://xamlxaml.com/2006/08/28/control-templating-one-of-the-most-powerful-wpf-features-kevinbutton-example Hope this helps! Michael G. Emmons ...Show All
Visual Studio 2008 (Pre-release) How to measure control using particular template without applying it?
Hi all. I have control instance with some template applied. Then I need to measure this control with other template _without_ applying it. I need something like "predict" control's size with other template without changing current visual appearance of the control. Is it possible Hi, SerialSeb! Thanks for the reply. I have already done like you said: made a dummy copy of a control, apply template to it and measure. But the problem is I have to make a deep copy of the control to get proper mesurement results. For example, I need to clone Button's Content property deeply to avoid double logical parent unhandled exception. However, I even dont know how to make deep clone of the control. At the mom ...Show All
Visual Studio When a VS Service Doesn't Exist
I am developing a package and am new to VS Extensibility. I understand that communication between VS packages is done through services. I've been scouring the SDK documentation and it seems that the service I'm looking for doesn't provide the interfaces that I need. My question: Does this mean I must obtain interfaces through COM instances and interop namespaces Thank you. JJ Thanks for your help Ed. I really don't want to implement a custom debug engine if its not necessary. I've been looking at the EnvDTE.Debugger/2 interfaces but they seem to provide only limited control over the debugger and I fear I'll run into a dead end at some point if I go down that path. With references to this diagram which ...Show All
