Software Development Network Logo
  • Visual J#
  • Microsoft ISV
  • Game Technologies
  • Visual C#
  • Windows Vista
  • Windows Live
  • Windows Forms
  • SQL Server
  • Visual Studio
  • .NET Development
  • VS Team System
  • Smart Device
  • Visual FoxPro
  • Architecture
  • Visual Basic

Software Development Network >> Chandana Hathi MSFT's Q&A profile

Chandana Hathi MSFT

Member List

Allen_Simmons
lamaslany
Jim Nakashima - MSFT
wtr989
Stoecker
John Holden
jose mondaka
JamesWalshe
s3382
ManServ
aswini_kayal
stevejones76
Khalique
Ziran Lin - MSFT
Afzal Khan
RobKor
vico
lmttag
Norse
vispper
Only Title

Chandana Hathi MSFT's Q&A profile

  • Visual C++ Newbie Question

    Hello, I have just recently started programming in VC++ and i am currently making my first project using this Software. I would likfe to ask if there is any syntax or function that converts a hexadecimal value to Decimal/Binary Value Thanks in advance! I presume that you have a string of hexadecimal characters for which you want the decimal representation   Not too hard... const char *hexStr = "8D0F6"; unsigned long decVal = 0; while (*hexStr != 0) {    char c = *hexStr++;    decVal *= 16;    if (isdigit(c)) decVal += c - '0';    else if (isxdigit( ...Show All

  • Visual C# Hardware Requirements

    I have a Report that if it needs to work with more than 35000 registrys, it's consume more than 60% of my system memory, how can I calculate how much memory I'm gonna need (i'm using... 512 MB).. Thanks It would be difficult to figure out how much memory your application will use at runtime. To do some testing, run a few single processes and measure the average memory usage. Run a few multiple processes (5-10 or so). If the total of the multiple test is close to what the single test is times the number of tests you ran, then you'll have a good idea what each process will use, then just multiply that by 35000 or whatever you're u ...Show All

  • Visual Studio Express Editions SQL Server 2005 Express Edition April CTP fails to install

    I have spent the last hour trying to find other cases of the same install error on the web, but w/o luck. Does anyone know how to fix the following. I have Windows XP SP2 with VS 2005 Beta 2 (April 2005). When trying to install the "SQL Server 2005 Express Edition April CTP" I'm getting an error at the end of the install. Here's some of the messages: The initial error dialog: "Microsoft SQL Server 2005 CTP Setup" (window title) Microsoft SQL Server 2005 CTP Setup was unable to install on your computer. Microsoft SQL Server 2005 CTP Setup has encountered a problem and will end. After clicking on the "What does this error report ...Show All

  • .NET Development Creating Shell Links/File Shortcuts with Framework?

    What's the best way to create a link or shortcut to a file, using the 2.0 Framework I know this must be an oft answered question.  But for some reason the only ways to create file system links I've been able to discover involve calling WSH, or wrapping SHELL32.dll.  Neither rely on the .Net Framework.  Surely there is finally support for shortcuts in the new release Karen Whoops, forgot to add the using in step2...  Sorry. Karen, I tried using p-invoke with Shell32.dll (pretty messy, really), but came up with the following method that seems a lot easier (C# coded): 1.  A ...Show All

  • Smart Device Development Virtual Network Switch Driver

    Hi all, MS' states that network connection is not available by default and the 'Veritual Network Switch Driver' is needed. see: http://beta.microsoft.com/source/BPProgInfo.asp ProgID=1522000000&Page=knownissues.htm With developers that don't have Active Sync I was wondering if anyone knows where or how to get this driver. With thanks, Mark. ActiveSync 4.0 is available for download at: http://msdn.microsoft.com/mobility/windowsmobile/downloads/default.aspx You should have this driver if you installed Visual Studio 2003 .NET or Virtual PC.  However, VS2005 will not install this driver. We currently have not made the Virtua ...Show All

  • Windows Forms datagridview add new row

    How do you get the values that were entered into a new row of a datagridview and update the datasource Is there an event that is fired when the user is finished or should I use an "add new button" to capture the new row. I am using bindingsource in my datagridview. the bindingsource datasource is a dataset. thanks! yanci. I added the statements and I get the following error: Update requires a valid InsertCommand when passed DataRow collection with new rows. ...Show All

  • SQL Server Cube Actions, how can I create a Command line action

    In Analysis 2000 there was a command line action type , how can I do the same action in Analysis Services 2005 Analysis 2000 command line action: Defines an MDX statement that can be executed as a command line and displays the contents of the current directory: "cmd /k dir"     Peter, The DDL for AS2K5 still supports HTM and Command Line actions, but they are not exposed in the Business Intelligence Development Studio (BIDS). One work around that I have used is to create a URL action in BIDS and then save the cube definition and deploy it. Then you use SQL Server Management Stud ...Show All

  • .NET Development Are GAC assemblies reference counted?

    In the old win32 world, if you had dll's you wanted to share, you could put an entry in the registry under "SharedDlls" or something. The dll was reference counted, so if no other application (other than the one that installed the dll) used the dll, it would be removed when the app was uninstalled. If another app had been installed since that used it, it would be left behind when uninstalling the original application. Does anyone know if there is a simlar mechanism for GAC assemblies There are trace references which are somewhat similar but not quite the same. See http://blogs.msdn.com/junf ...Show All

  • Visual Studio Express Editions Affects installing VS2005 Express Edition..

    Hi everybody, I like to hear expert opinion on affects of installing any or all VS 2005 express edition on pc with VS 2002 already installed. I like to know if I can still use VS 2002 to create, modify and execute applications. I don't intend to open old projects in VS 2005, still want to use VS 2002. Thanks. den2005 The one difference would be that the express edition you install would become associated with project files. I'm told the Express Editions cannot create solutions, so I would assume your .sln association would not change. ...Show All

  • Windows Forms Create the app_name.exe.config file during runtime

    Greetings forum inmates Consider the following scenario: You have created your application and you want to deploy it either via click once or xcopy - emphasis goes on xcopy for my case though. Normally you should include an app_name.exe.config file within the download so that the settings are included and loaded when the application starts. But what if you may have a different set of settings attributes on each deployment situation One solution is ofcourse to provide in the download a .config file with <appsettings> for each and every thing that can be changed. The other solution is to create an app_name.exe.config file programma ...Show All

  • Visual Studio 2008 (Pre-release) Perforator tool not working...

    Hi, Is anyone else using the perforator WPF performance tool When I run it, and run XAMLPad at the same time, perforator doesnt list any applications in its left-hand pane. More generally, I can't get perforator to notice any WPF apps. For me it's working very well. Did you setup the registry key for it If you didn't, search on Google for "perforator.exe", it will find just one result, the WinFX documentation for Perforator. You will find what you have to do to to make it work. Hope this helps, Valentin Iliescu ...Show All

  • SQL Server Wich datatype?

    Hi Group, Wich datatype can I best use for a number with several decimals (can be anything between 1 and e.g.10) If the number has 10 decimals the customer needs the EXACT numbers. They couldn't explain why.... TIA Regards, Sander use the Decimal or Numeric data type! float and real data types only store approximate data which loses precision when the decimal part of the data cannot be exactly represented using the binary system. HTH, ...Show All

  • Visual C# trouble using delegate in WndProc

    when i use delegate like this: ----------------- [System.Security.Permissions.PermissionSet(System.Security.Permissions.SecurityAction.Demand, Name = "FullTrust")] protected override void WndProc(ref Message m) { delegate_ReplyFromDataProcess = new PrepareDelegate_ReplyFromDataProcess(ReplyFromDataProcess); delegate_ReplyFromDataProcess.BeginInvoke(m, null, null); } delegate void PrepareDelegate_ReplyFromDataProcess(Message m); private void ReplyFromDataProcess(Message m) { IntPtr pnt = dp.OnReply(UInt32.Parse(m.WParam.ToString()), Int32.Parse(m.LParam.ToString())); } ----------------- i met the error: * ...Show All

  • Visual Studio 2008 (Pre-release) Plans for Windows Mobile Pocket/PC?

    Does Microsoft yet know their plans for Windows Mobile/PocketPC (.NET Compact Framework) for WCF The current netcf distribution doesn't contain non-soap/non-ws support (e.g. binary/tcp remoting), I'm wondering what kind of functionality we might be able to look forward to on a netcf version of WCF. Thanks! Yes, it would be nice to have a stripped-down version of WCF (like WPF will have WPF/E). What you can do right now is to use MSMQ integration binding because MSMQ is supported in .NET CF 2.0. I have tested it and it works (see a previous thread in this forum "Integration with MSMQ on .NET Compact Framework 2.0"). ...Show All

  • Visual Basic Passing a value from form to form

    What is the best way to pass a value from form to form Do I use a global variable or is there a parameter style way to do it Is there some other way Thanks for helping a newbie. Hmm...tell a little more about your problem. Do you close the first form (the one that contains the information) or do you have two forms and just want to share information between them ...Show All

©2008 Software Development Network