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

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

Anand Raman - MSFT

Member List

dr.acv
Metaferia
Shen Yizhe
Hilley
SaravanaKumar
AhXue
IanG
Hanspeter
dmadrian
LotusExigeS1
BBrazeal
wannabe_2
jdang
MuraliMohan
Andrey Makarov
MLewis001
Mo Majad
janthonyb1
dream pro designer
Student_I
Only Title

Anand Raman - MSFT's Q&A profile

  • Visual C++ Problem with DialogBox-will not halt the program

    Hi all. I hope this question is in the right place... I have a confirmation box in my program, and i wish for it to stop and wait for confirmation before continueing. I use this line: MessageBox(hDlg,"CONFIRM","CONFIRM", MB_YESNO | MB_ICONINFORMATION|MB_APPLMODAL); But the program keeps receiving and handling messages although it should wait for me to click on the confirmation box. What should I do to correct this   Thanks in advance, Moshe As I understand it, windows doesn't offer me an "in-house" solution, but I have to implement it myself. As I see, the program actually has multiple threads opened even if I don't to have it - if while handling one message the pr ...Show All

  • Smart Device Development Why Can not I connect the WM5.0 device by the remote process viewer and remote heap walker?

    For the first time, I installed the Visual studio 2005 professional Edition (VS2005) first and the the Windows CE 5.0 with Platform builder 5.0 later. I find I can connect the WM5.0 device with the remote process viewer and remote heap walker provided by VS2005 and all data can be obtained successfully. However, when I reinstalled my system by installing the Windows CE 5.0 with platform builder first and VS2005 Professional Edition later, I find I can not connect the WM5.0 devices with the remote process viewer and remote heap walker (the other tools are OK) provided by VS2005 although the Activesyn shows that the WM5.0 is conncected correctly. Anyway, all the remote tools provided by VS2005 can connect with the emulator. By the remo ...Show All

  • Visual Studio Express Editions keyboard event

    If it's possible id like a "Do Until" loop so that it loops until a key is pressed, any key at all Here is one way: Private Done As Boolean = False Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Done = True Me.KeyPreview = True Do My.Application.DoEvents() Loop Until Not Done Me.KeyPreview = False End Sub Private Sub Form1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles Me.KeyPress Done = False End Sub ...Show All

  • .NET Development Reading a XML file...

    I have some problems learning how to navegate throught the xml file i have... I need to read all the information at once and i cant do it, because the Structure of my Xml file contain some nested nodes and  i dont know how to do that... this is an example of what i have. <Root> <Element Nbr = "1"> <Item ID = "566"> <Color>Blue</Color> <Size>8</Size> <Itemchild> 0...N Elements (Nodes) with more elements and atributes... </itemchild> </Item> </Element> <Element Nbr = "2"> ... </Element> </Root> So i dont know how many Itemchild's  would be, thats why i need to loop trought them, at sam ...Show All

  • SQL Server Performance issue on a singel large insert

    Hi, I'm testing Mirroing. 1) I have dedicated NIC for Mirroring - 100Mb There is no issue with the network (file of 25MB goes in 2.5 seconds) 2) I'm issuing the next simple command Select * into dbo.Table2 from dbo.Table1 3) the size of the table is 25MB in async mode it takes 3-4 sec (as if it runs only local) in sync mode it takes 25-29 sec !!!! WHY IS THIS NORMAL is there any configuration i can change That still seems long though, 30 secs for 25MB table We had our mirrored database in sync mode while we did the credit card encryption It was LONG (since everything has to get flushed to the mirror, and CC # are everywhere), but the network speed is high ...Show All

  • SQL Server partitioned views Explain Plan

    Hello I created a partitioned view on my database db1 and It comes from the UNION ALL of 2 tables (I split 1 very big table in 2 smaller tables... Horizontal partition!!) that are on the same db1. When I query them I receive in the EXECUTION PLAN an Item called CONCATENATION of both input tables, This seems to be more expensive than using only one big table so partitioning the big one gets none sense.. I would like to know if this is normal and If I'm doing well with partitioning. Please see the script below: CREATE TABLE [dbo].[TREP_NOVEDADES_2006] ( [NMSEC_NOVEDAD] [numeric](12, 0) NOT NULL , [CDCONCEPTO] [varchar] (12) NOT NULL , [CDTIPO_VALOR] [char] (1), [CDPRECIO] [varchar] (12), [CDTIP_HECT_DTO_PAG] [varchar] (2), [FEG ...Show All

  • Visual Studio Express Editions Program produces different results on different computers

    Hi all, I wrote a program about six months ago and uploaded it to a site. What the program does is read a text file and puts the results into a database. Obviously the program works ok on my system & I know it works ok on other users systems but I've had 2 reports of the program not working as it should on other systems that are using the same OS as me ( windows XP service pack 2 ) . I told one user to download the latest visual basic runtime files which he did and still there is no difference, I also got him to send me his text file which I tried on my system & it worked ok. The visual basic file he downloaded is ; Visual_Basic_6.0_-VB6-_runtime_SP5.exe I'm no expert on VB, far from it but this sounds really strange ...Show All

  • Commerce Server Catalog Web Service currently unavailable

    Hi, I'm trying to update form Commerce Server 2002 to CS 2007. Now i think i'm pretty far but there are still some problems to solve. One is, that the CatalogWebService isn't available when I want to open ith with the CatalogManager. When i enter straightforward the link to the CatalogWebService.asmx in the Internet Explorer, the Site is loading correctly and shows my some information about the Web Service. What do I have to do so that the CatalogManager can open the WebService Hope you can help me. Thanks So, i changed the permissions for the Web Service and now the Catalog Manager can load the Web Service at least. I was pretty happy but just after the Catalog Manager opened i r ...Show All

  • Windows Live Developer Forums how can I relate my controls with a map

    Hello, All. I add some number of controls into my map by map.AddControl(label) method. How can I relate my controls with my map I want my controls changes their position after a change in the center point of my map. Thanks. I could re-word your question to say that currently you can add a <div> to the map but only at a given pixel postion, it would be a great feature to be able to add it at a lat/long so as the map panned / zoomed so would the div. The div could be hidden when not in the map view. The only way to do this currently is to manually update the div's position. You choose the map events that are of interest (for performance i only hide the divs when panning and then redraw them when th ...Show All

  • Silverlight (formerly WPF/E) Load XAML content from a URL

    Hi, I have created a simple HTML with a simple WPF/E control as demonstrated in the SDK. If I create the agHost object with a path relative to the HTML as the source for the XAML content all works fine (as in the samples). If I pass instead a full URL the XAML content is not loaded. How can I load XAML content which is not located relatively to the the HTML file (like on a different server) Thanks, Keren You have to get the XAML (which is just xML) via an XmlHTTP Request to download your XAML then you can use createFromXaml. Currently there isn't a way to have the aghost/root take a URL/URI to load from. -mark Program Manager Microsoft This post is provided "as-is" ...Show All

  • .NET Development asp.net + ajax issue

    i made a simple website which i needs to convert in ajax using atlas Scenario::::::::::::::: my all pages are using single master page and in header of master page i have menu and sub menu bars and simple footer and ofcourse only one content place holder in between header and footer problem:::::::::::::::::: 1. i want when i need to redirect to another page i get that page on the same page means i don't wanna redirect i want to view that page on the same page now please tell me where i put script manager and where where i need to put update panels and what technique i use to load page on the same page (except iframe) and what property i set to update panel means conditional or always plz tell me in details as i m newbie ;) ...Show All

  • Windows Forms ClickOnce and Mandatory User Profiles

    We have a large department in customer services, and are interested in deploying a click once application to their desktop. The domain admins have set all these users up in a group, and they all share a common MANDATORY profile that is stored on a server. These users do have administrative rights on their machines. When we try to install the app, we get a huge stack trace when it fails, but at the root of it is the message: System.Security.Cryptography.CryptographicException - The profile for the user is a temporary profile. This is when trying to install the application, not merely launch it. I can understand this error, since a mandatory profile is read only, and a ClickOnce install tries to add an entry to the start menu, a ...Show All

  • Visual C# ReportGeneration Application

    I have to create a web app. that prints out the statistics for student applicants in a .txt file. The data in form of Tables resides in a SQL server. Now, the user provides a date range(for eg. from 12/1/2006 to 1/1/2007) and the outputted text file will have the following: - The Number of applications received - The number of applications approved - Number of students with a criminal background and the type of background - Number of applicants who applied last year. I was wondering that from a design standpoint, what would be an elegant and effecient way to extract the data from the server, store it in some kind of data structure and output the contents in a text file. I was looking at Enterprise library and interfaces but ...Show All

  • Visual J# Scanner object

    The Visual J# we have presently installed where I teach does not have many of the objects found in the java.utils package found in JAVA 5.0 Among other objects that were not found is Scanner , one used extensively in the text that we have adopted. Does the Visual J# upgrade address this problem at all is there any projection date for Visual J# to include the scanner object i like to use the visual J# but i wish i could use the scanner object. ...Show All

  • Visual C++ VC++ IDE file output settings.

    In the C# and VB IDE you can set any file in your solution whether it be a text file or whatever to be copied to the output directory (either debug or release). In the VC++ IDE you cannot. How would I do this in the VC++ IDE IDE: Visual Studio 2005 Professional I can't find a sample from any of my projects, sorry. I don't know what the input directory is; if however you were to post the complete path and such for your system then I probably would still be unable to find an appropriate macro. If you know what macro would be useful for specifying the input file, then perhaps we can help you with it's use. One possible problem is that paths usually need to be surrounded by double-quotes. One trick I have learned is to use Echo ...Show All

©2008 Software Development Network