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

Software Development Network >> Anand Raman - MSFT's Q&A profile

Anand Raman - MSFT

Member List

Linlin425872
chubbysilk
Jason Callas
Michael_Giagnocavo
AmirYahav
heimdaloz
ChrisMcCabe
xlordt
Mikkel Haugstrup
AndrewVos
kulkarni
jte
gil124
Territorial Musings
Jassim Rahma
Mystagogue
scenedamaged
mta37
PugV
regthesk8r
Only Title

Anand Raman - MSFT's Q&A profile

  • Internet Explorer Development IE7 and desktop icons

    I just installed Internet Explorer 7 today, which I guess is a.k.a. Windows Live . All of my fancy customized shortcuts on the desktop disappeared and each got replaced by the same generic windows icon. Right-clicking & changing the icons in properties no longer works. Also, when I create an internet shortcut while browsing, that creates a shortcut with that same generic icon (not even an explorer logo). Now my desktop is just one forest of identical icons. Anyone know how I can fix this I've wasted all day without success. Yes... I did the same. Fortunately, the uninstaller is thorough, so everything returned to normal as soon as IE7 was gone. ...Show All

  • Visual C# About properties

    Can someone please explain to me in plain english what the following code is saying public string Result { get { if (_userAnswer == _correctAnswer) { return "Correct"; } else { return "Incorrect"; } } } thanks oh, IS dude It seems to be quite nature for you to regard properties as "strange" attributes, while actully they are special method called accessors , which provide a flexible mechanism to read, write, or compute the values of private fields. BR ...Show All

  • Software Development for Windows Vista What do I need to develop a video player?

    Hi/Hello I'm just a designer who wanna enter into a programming world, and I will be happy for the rest of my life if I will ever be able to create my own video player. I have some fresh/new ideas about gui design (I'm pretty sure that people will find it very useful), and I wanna handle development part too by my own. Is it possibile for a single human being I'm studying C# and .NET3.0, what other tools do I need I'm gonna make it (if you confirm that I can make it by my own) only for Vista because of WPF (really great stuff for designers). So my question is: can you advise me some starting point What kind of tools do I need I wanna start from something simple, like load a video/audio stream into my window. Thanks in advise Is it ...Show All

  • Visual Basic Adding header to new file templates and more

    We are wanting to add headers to the default templates supplied by VSTS. Also, we want to add these new headers to the existing files. Is there a way to do it to the templates. We basicly want to be able to add: Example: <author> </author> to the top of every file. Just like <summary> </summary> Thanks, staffan ...Show All

  • Visual Studio 2008 (Pre-release) Fuzzy "out of focus" text in drop down menus

    Hi, Most of the ClearType text used by WPF running on XP normally looks at least "OK" to me.  But the text in the drop-down part of menus of the samples looks blurry, fuzzy or "out of focus".  See the link below to the screen capture of part of WpfNotepad.  You need to view the largest size to see the problem: http://www.flickr.com/photos/52602162@N00/376915412/ Notice that the text in the drop-down portion of the menu is using "grey-scale" ClearType (looks fuzzy to me), while the text on the main part of the menu is using the normal "colored" ClearType (looks OK to me). Is there some way to get the drop-down text to use the normal "colored" ClearType   The drop-down menus on Blend itself use the "colore ...Show All

  • Architecture storing old values along with the new ones in a table entity created at application level

    Hi All, i am making a automatic DAL creation tool. In this i am going to implement all column based optimistic locking. For this, i need to save the old values of the columns along with the new ones inside the entity(object) represention of table at the application level. Now i need to know that what approach should i follow to save the old values and also updating them incase we fire an update. I am presently using the following code.It works fine but fails when a null column gets updated.In that case, the old value gets updated to the new one before the actual update happen.This in turn causes malfunctioning in Optimistic concurrency test. public virtual System. String LName { get { return this ._LName;} set { ...Show All

  • Visual Studio Tools for Office Combining RS2005/C#/Excel, Hit a Snag

    Hi All. Essentially, what I'm trying to do should be really, really easy. In reality, it's turning out to be anything but, and I think I may be in that developer funk where the answer is right there but you ignore it... So I have this app that takes user inputs in a web form, cooks up some data based on those selections, and then returns the results in any of several reporting services reports. Enter a new requirement where the client now wants to be able to dump the data directly out of the web page into Excel with a slightly different schema. So - here's what I did: I created a project for the Excel document and its population logic. It tests out great when standing on its own. The web form/rs05 project, too, works great on its ...Show All

  • Visual Studio 2008 (Pre-release) ComboBox problem/bug. Drop Down does not work

    Combo box problem. Drop Down does not work if I use transparent window. this .WindowStyle = WindowStyle .None; this .AllowsTransparency = true ; Is it bug or feature I didn't find site for bug report Try this one: < Window x:Class = " WindowsApplication4.Window1 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " Title = " WindowsApplication4 " Height = " 300 " Width = " 300 " > < Grid > < ComboBox HorizontalAlignment = " Center " VerticalAlignment = " Center " Width = " ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Working with buffers in 2D

    Hello all, I've been trying to figure out how the system with backbuffers work. In all examples I have found people are clearing the buffer before they draw something new. graphics.GraphicsDevice.Clear(Color.Black); ...draw some sprites... graphics.GraphicsDevice.Present(); I guess that when you enter the Draw method you are working with the backbuffer, so the clear() and the sprite draw() will affect the backbuffer. After that you call the Present() to draw the recently made backbuffer on the screen. My problem is that this is not how I would like to do it in my case. Everytime I enter the Draw() method I would only like to add some new things, and not clear anything. The easiest way to do this is to not have any backbuffer at all, but I ...Show All

  • Visual Studio Tools for Office Difficulties running Word Add-ins with VSTO CTP v3

    I have a Windows XP, Word 2007 PC.  On it I have installed Visual Studio.Net, WinFX CTP (Feb.), VSTO, followed by VSTO CTP. I actually had this setup working a while back (in May), and at the time created a few VSTO Word add-ins that ran perfectly in Word 2007. But now I cannot run any of the add-ins I created previously on this PC. When I open one of the .sln files, I get this VS error:  "The type initializer for Microsoft.VisualStudio.Tools.Applications.Hosting.VCG threw an exception." The project does open, but it contains a warning: "Warning: The generated files could not be loaded and have been recreated." (And there was at one time a project warning regarding WindowsBase.dll but it went away.) I can build t ...Show All

  • Smart Device Development How to convert from bitmap to PNG and store in Sql Mobile?

    Does anyone know how to convert a Bitmap to a PNG and save it in an Sql Mobile database I want to use PNG, but if this is not possible any hint how to store a BMP to an Sql column is appreciated. I prefer an in-memory solution but a file solution is ok. Lars Can anyone show the way to store a bitmap in a sql server mobile. If anyone can show the code to do this is better, because I've tried to do this and I don't know the problem. Thanks. ...Show All

  • Visual Studio 2008 (Pre-release) Brush Invert

    Is there an equivalent in WPF to BitBlt with DSTINVERT as the last argument (This inverts whatever is behind the brush) Cheers More details on my previous post: I'd like to display a "selection" rectangle. The rectangle should invert the colors of whatever is behind it. I noticed that Microsoft Word does this when you select a piece of text but the WPF TextBox does not. Does it mean it's not possible in WPF ...Show All

  • SQL Server Multiple Select

    Hi, In my report i have a paremeter which is a dropdown list showing alla available values.Now i want to select multiple values.The parameter is not multi valued. From the following link: http://www.ssw.com.au/ssw/Standards/BetterSoftwareSuggestions/ReportingServices.aspx#RichTexbox Multiple select in Parameters Is fixed in Sqlserver reporting services 2005. Iam using 2005 version,But i can't able to select multiple values by holding Ctrl key.How to achieve this.If we able to select the multiple values,In wgich format the selected value is passed to the Stored Procedure,It is same the way as selecting multiple values from Multi valued Parameter. Please help me. Thanks in advance Yo ...Show All

  • Visual Studio Express Editions Databind recordset to Datagrid

    Hi, I am trying to assign value in my recordset queried from the DB into the Datagrid's datasource during runtime however, I am unable to do so. I tried with the following code was prompted with error. Dim cn As New ADODB.Connection Dim rs As New ADODB.Recordset cnn.Open(strCon) rs.Open("SELECT Name, Address FROM Employee ORDER BY Name", cn, ADODB.CursorTypeEnum.adOpenKeyset, ADODB.LockTypeEnum.adLockOptimistic) If Not rs.EOF Then DataGrid1.DataSource = rs End If Error message during runtime A first chance exception of type 'System.ArgumentException' occurred in System.Windows.Forms.dll Please help, thanks! Look at the building dat ...Show All

  • Visual Studio Tools for Office Using AxSpreadsheet

    I have managed to add MS Office Spreadsheet 9.0 to the toolbox and added the spreadsheet to a form but I don't know how to dimension (Dim statement in VB) the various components required to program the contents and formats of the cells and ranges etc within the spreadsheet. Hi Matt, It sounds like you're using a separate control, not VSTO, to do .NET code behind Excel. If this is correct, for Excel Object Model questions, you will have better luck posting your question to the Excel programming group, here: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.excel.programming&lang=en&cr=US Best Regards, Rufus ...Show All

©2008 Software Development Network