Software Development Network Logo
  • Windows Vista
  • Game Technologies
  • IE Development
  • Microsoft ISV
  • Windows Forms
  • SQL Server
  • Visual FoxPro
  • VS Team System
  • Visual C#
  • Visual C++
  • Smart Devicet
  • SharePoint Products
  • .NET Development
  • Audio and Video
  • Visual Studio

Software Development Network >> Mohamed Shifaz's Q&A profile

Mohamed Shifaz

Member List

P.H.
Leonids
DorkRawk
breceivemail
New-Bee
Lofe
Suketu
remedios_
nielsvanvliet
v0max
John Hennesey
Robert K S
itsdzs
Mauricio Castillo E
Adminanup
corbin
aragon127
IgorP
bn.srinivasa rao
Sidambara raja
Only Title

Mohamed Shifaz's Q&A profile

  • Visual Studio Team System Can we use existing field controls in new custom controls

    Hi, I was wondering if it is possible to use an existing work item type control in my new custom control. I am trying to create a control that allows the user to select an iteration and so need to display the control that normally displays the iteration hierarchy. Thanks Kris Kris, Most builtin WIT controls are not exposed as public so it is not possible to extend them. Iteration path control is also not exposed. You can built one easily yourself. The UI part of code is at: http://blogs.msdn.com/narend/archive/2006/10/24/building-custom-popup-controls.aspx . The data can be obtained from IterationRootNodes property of Project object in workitemtracking object model. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Any tips on drawing a "control panel"

    I'm doing a simple little space shooter, and things are going fairly well. Ships are moving, planets are spinning, background stars are scrolling along. However, the one thing I haven't figured out is how to do a "control panel" to display information about the ship, the "mini-map" of star locations, etc. I can do this through sprites, by sticking a large sprite across the lower third of the screen, then mapping each star onto the map using a scaled down texture. However, this seems to be very wasteful. After all, action on the "main screen" needs to be updated as often as possible, but if I were to update the star map no more than once every few seconds, it would be fine. Some of the control settings need to ...Show All

  • Visual C# SI Abbreviation Significant Number String Formating on Decimal Resolution

    Hi all, Let say I have a string formed from a double value. After a converting function to display desired quantity of significant number with SI Abbreviation. e.g. The original value is a double (12345.678). [1 significant number] : 300 m (string) [2 significant number] : 310 m (string) [3 significant number] : 312 m (string) [4 significant number] : 312.3 m (string) The problem here is that I must do the decimal resolution placing on the string only after which I get out of conversion process. The hard part is that the SI Abbreviation is attached on the output string after the significant number conversion function. I do not have access to modify the significant number conversion function. So, I must carry on modifying the output string ...Show All

  • Visual Studio 2008 (Pre-release) Chart scaling in WPF

    Hi together, I have got a chart line (e.g. a sinus) which is presented as a WPF polyline object. Now I have a canvas object where I want to put that line on. canvas1.Children.Add(myPolyline); Now the sinus is shown on the canvas, but only a small (little) curve on the canvas. Is there a way to scale that polyline so that it fits on the whole canvas Do I have to calculate that transformation by myself or is there any support in the WPF. Any help would be great. Cheers, Franz Hi Franz, To avoid transformation self-calculations, one approach you may want to consider is putting your canvas inside of a Viewbox. This can take care of automatically scaling a child to fit the available space. Keep in mind, ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Okay, the make your first game....

    It tells me: Make sure the call to ContentManager.Load is using the "Asset Name" ....Where the heck is that I kno the asset name, but i cant find ContentManager.load in the code or anything ANYWER. And what does it mean by 'the call to' protected override void LoadGraphicsContent(bool loadAllContent) { if (loadAllContent) { myTexture = content.Load<Texture2D>("mytexture"); spriteBatch = new SpriteBatch(graphics.GraphicsDevice); } } Replace "mytexture" with your asset name. ...Show All

  • Visual C++ Getting LNK2005 when linking my dll

    I have _USRDLL defined in my compile command line, and have tried linking to mfc using both the static and dynamic libraries. Nothing works, I still get the _DllMain@12 is already defined error message. How are you linking with MFC, statically or dynamically   I'm assuming this is a project created with a previous version of Visual C++, as USRDLL isn't used in 2005 anymore.  See the following MSDN documentation: http://msdn2.microsoft.com/en-us/library/f22wcbea(vs.80).aspx http://msdn2.microsoft.com/en-us/library/w78tbhh3(VS.80).aspx ...Show All

  • SQL Server SSL Diagnostics ERROR Please HELP ME!!!

    I kept getting these errors anyone know how to fix them System time: Tue, 30 Jan 2007 09:07:04 GMT ModuleFileName: C:\Program Files\IIS Resources\SSLDiag\SSLDiag.exe version: 1.1:34.0 CommandLine: "C:\Program Files\IIS Resources\SSLDiag\SSLDiag.exe" ProcessorArchitecture: x86 OS: Windows XP Service Pack 2 #WARNING:IIS5.1 - World Wide Web Publishing (W3SVC) service is not installed [ HKLM\System\CurrentControlSet\Services\InetInfo\Parameters ] CertChainCacheOnlyUrlRetrieval = True(default) CheckCertRevocation = False(default) CertChainCheckUsage = False(default) #WARNING:sspifilt.dll is not loaded into inetinfo.exe [ SChannel Info ] ServerCacheEntries = 0 ServerActiveEntries = 0 ServerHandshakes = 0 ServerReconnects ...Show All

  • Visual Studio Express Editions How do I mimic MSN Live Messenger Form Style

    Hi, anyone does know jhow can I mimic the MSN Live Messenger Form style. Specifically, I want to make applications without menubar but I want to be able to move them (like MSN when you " Hide the Menu Bar ") I know that I can use Form Border = none But if by doing so I am unable to move the forma and I want to do that. I can add my own Minimize, Maximize and close Buttons but I can't move my form through the screen I do not care much about the look and feel, what I really want to do is hde the menubar like in the image below and be able to move the window. If you can't see the image (I culdn't) then here it is: http://www.geocities.com/corea_80/Sample.png Here is some simple code you can use that I figur ...Show All

  • Commerce Server Biztalk integration with MOSS2007

    I am working over the integration of Biztalk server 2006 with MOSS2007 beta. I am trying to integrate biztalk server with MOSS2007 But I am facing a lot of problems. Can you suggest me a working example that may lead me from scratch towards end while using commerce server adapter. I am desperately in need of such example as I have searched out a lot over web but couldn’t find any working example in which commerce server adapter has been used There's a webcast at http://www.microsoft.com/technet/prodtechnol/comm/2007/webcasts.mspx that shows how to set up a basic message flow. ...Show All

  • Software Development for Windows Vista SetupIterateCabinet failing from Custom Action .dll

    I use Visual Studio 2005 to deploy my application. I have a Custom Action .dll that's called during the Install phase. (The entry point is the standard Install( MSIHANDLE ).) I'm installing a .CAB file and am calling SetupIterateCabinet() from this Custom Action .dll and it is returning ERROR_ACCESS_DENIED. Appears as though Custom Action .dll's are not run with the UAC elevated privileges of the .msi file. I tried adding a .manifest to give the .dll elevated privileges, but then Windows XP barks that there is an unrecognized token. I need this .msi file to run under both Windows XP, Windows 2000, and Windows Vista. Because this is a Custom Action .dll there is no way I can wrap the function in a COM object and call it with ...Show All

  • Visual C# How to generate a TIff file?

    Hi, I'm trying to generate tiff files from the data in database and save them on the disk. As I'm very new to the .NET image, and I did not find any thing that I can use from the website, can anyone give me some hints Thanks in advance. Yolande I think the trick that you'll find is not to create a TIFF file directly, but to create an image using a concrete implementation, such as a Bitmap. Then when you Save the image, you can specify the format of the saved file as being a TIFF. One of the parameters into Save is an ImageFormat class, which can represent the TIFF file format. I hope that gives you what you're looking for. ...Show All

  • Visual Studio 2008 (Pre-release) Xml Data Binding Performance Issue (Re-post)

    I am running the .Net 3.0 RTM and have come across a performance problem with data binding. I am data binding XML which is updated once per second to a ListView/GridView . I have noticed that cpu utilization increases rapidly as the number of items in the ListView grows. For example, on my IBM Thinkpad 43p, if I have 3 items, cpu utilization is 8%. If I have 6 items cpu usage grows to 30%. At 12 items it is approaching 100%. As the number of lines of XML grows, the performance gets worse. In the code behind, I have a single XmlDocument that I set to the data context of the ListView: XmlDocument doc = new XmlDocument (); instrumentList.DataContext = doc; When new Xml is available, I do the following: doc.LoadXml(theX ...Show All

  • Visual C# Equivalent to java.util.Properties

    Hi What's the equivalent to java.util.Properties in C# and how do you use it I want to store/retrieve things like: fruit=apple in a file. Could you please post an example or link Thank you Using java.util.Properties: This example creates a new Properties table and assigns a string value to four different keys. Properties props = new Properties(); props.setProperty("recursiveSearch", "true"); props.setProperty("noCopyPattern", "*.$$$"); props.setProperty("maxLevel", "7"); props.setProperty("fileName", "C:\temp\work.html"); (from http://leepoint.net/notes-java/io/30properties_and_preferences/10properties.html ) ...Show All

  • .NET Development stored procedure Parameter information

    Hello All. My concern is how to make a stored procedure paramter accept null values, do not accept null values and biggest concern is how to check programatically whether parameter accepts null values or not I have used DeriveParameters of commandbuilder class, but no use. The parameter object which it returns and its IsNullable property is not giving correct values. I have also used some system stored procedures but they are also not showing accurately whether parameter accepts null value or not. Please help me out with example stored procedure and programm example in vb.net. I would be very thankful to all you friends. here is some pseudo code that should get you started: Dim p As New ...Show All

  • Software Development for Windows Vista Can't stop or start service from client app ("access is denied")

    Hi, Quick question for all you Vista gurus out there. We have a service (running as SYSTEM) and we need to be able to stop and start it from our client application, which is running as a standard user. Is this possible Our app was designed originally to run as administrator, but in order to get Vista certification we can't have it demand administrator access ( ) so I'm trying to get it to run with the "asInvoker" access instead. But when I do that it can't access the service via the ServiceController. When we call serviceController.Stop() we get "InvalidOperationException: cannot open service on computer '.' --> Win32Exception: access is denied". The "Stop()" method is calling the "GetServiceHand ...Show All

©2008 Software Development Network