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

Software Development Network >> Parshuram's Q&A profile

Parshuram

Member List

Chuck Cobb
Shobha69358
VooDoo Chicken
3d_developer
Pi314159
Sarath.
mbaird
pars382985
Scott Chang
MrSock
Miguel Quintana
AmitKGupta
AdeptBlue
eshashishekhar
Aleniko29139
Larry Aultman
XeonYK
Dan Waters [MSFT]
Nathalie12
Alexey_Rusakov
Only Title

Parshuram's Q&A profile

  • Visual Basic Calculate Percentage (%)

    Hello, I need to calculate the percentage (%) of certain time values. Example: Planning 02:00 Shopping 03:15 Building 09:45 Total Time: 15:00 I need to be able to output something like this: Planning 13,3% Shopping 21,7% Building 65,0% How can I do that Thanks, Joao Pinto Dim first As TimeSpan = New TimeSpan(2, 0, 0) Dim second As TimeSpan = New TimeSpan(3, 15, 0) Dim third As TimeSpan = New TimeSpan(9, 45, 0) Dim total As TimeSpan = first + second + third Dim firstPercent As Double = first.TotalSeconds / total.TotalSeconds Dim secondPercent As Double = second.TotalSeconds / total.TotalSeconds Dim thirdPercent As Double = thir ...Show All

  • Visual Studio 2008 (Pre-release) Condense XAML

    Hello, I have a fairly large xaml file containing some vector icons and would like to reduce the size of the file. I was thinking if I could centralize the common brush resources used in each icon it would reduce the file size, and was wondering if such a tool existed to parse the xaml in this way. The reason behind this is because I have a clickonce deployed xbap, and would like to reduce the size of the assemblies needed on the client as much as possible. Any other suggestions would be welcome. -David When you compile XAML it gets condensed into a binary format called BAML. There is a BAML disassembler that works with Lutz Roeder's reflector. If you were to disassemble the baml that defines the ...Show All

  • Visual Studio Team System Search and delete

    In Source Safe I made a wildcard search for files that I want do delete. I can't find any "search" function in the Source Control Explorer...does it exists Hi: You are correct that version1 of our product does not provide any content search functionality. We are however looking at this very heaviliy for our next version. Thanks, mario ...Show All

  • Visual Studio Team System Return value of Workspace.Merge()

    I'm building an app using TFVC client API to do the following: 1. merge changes in a given changeset from branch-demo to branch-1.0 2. check in the pending merges in branch-1.0 here is the snippet of code: VersionSpec ver = new ChangesetVersionSpec (cs.ChangesetId); GetStatus gs = wsp.Merge(demoPath, targetPath, ver, ver, LockLevel .None, RecursionType .Full, MergeOptions .ForceMerge); Now the problem is how to find out the pending changes resulting from the Merge method call I thought it would be convenient to include a PendingChange[] as part of the returned GetStatus, no Now i guess a rather cumbersome alternative is to do something like this: String [] items = new String [cs.Cha ...Show All

  • Windows Forms Open forms from a sub in a module

    Hi, Is there any way to control parent form from child without using showdialog(). I am not using MDI form. suppose I opened Form2 from Form1. Now I want to change some property of Form1 from Form2 then how is it possible Mehdi Madani wrote: Hi, Simply make a public property in form2 which it's type is form1 then set this property of form 2 to "this" in form1 before opening the form2. There's no need to create a new property for this, since the form class allready provides one. ...Show All

  • Visual C++ Application Verifier and MFC app

    I've just tested my application with the Microsoft Application Verifier 3.2 to see if it finds anything BoundsChecker doesn't find and to run the Standard User Analyzer. Actually the Application Verifier always throws an error when I quit my application. I've then created a new MDI application with VC6 and tested that one, and I got the same error. Then started VS2005 and created a new MDI project, and again, same error when I quit the application. The error occurs somewhere in ExitProcess of the CRT. Is this a problem of the Application Verifier or the CRT ======================================= VERIFIER STOP 00000301 : pid 0x3F0: Invalid TLS index used for current stack trace.  FFFFFFFF : Invalid TLS index.  00 ...Show All

  • Architecture creating Win FX Service Library gets an error

    Using NetFramework 3.0. Created Win FX Service Library and did steps 1 through 9 as described in WinFXServiceLibrary1 \class1.cs . Building solution gets the error: 'The type or namespace name 'WinFXServiceLibrary1' could not be found (are you missing a using directive or an assembly reference ) It's a pity one can't attach files to the messages. ...Show All

  • .NET Development Insert fails due to nulls

    I'm getting the following exception when I try to insert new records into a SQL Server Express table. I'm not passing a value for the primary key. I just converted this DB from Access and Access auto-generated the key for me. Will SQL not do this like Access did What's confusing me more is that the code works fine on a version of the db/app running on my local pc using a duplicate of the server db. Can't understand why it would fail on the server but work on my pc. I listed the function being called below as well. Select Command being auto-generated in function: INSERT INTO Carrier (CarrierId, CarrierName) VALUES ( , ) Exception Details: System.Data.OleDb.OleDbException: The statement has been terminated. Cannot insert the value NULL into ...Show All

  • Visual C++ COM/ATL object with implementation in a .cpp, LNK2001 !!

    Hello all, I'm writing a COM object using ATL, I have been writing both definition and implementation in a single .h file and everythink went fine, but now i want to place implementation in a .cpp file and the linker complains with a LNK2001. //.h file with class definition template < typename T, typename Itf> class IMBaseImpl : public CMBaseImpl, public Itf { public : IMBaseImpl(); ~IMBaseImpl(); STDMETHOD(Init)(IMApplication** pApp, BSTR strName); STDMETHOD(get_Name)(BSTR* pVal); STDMETHOD(put_Name)(BSTR newVal); IMApplication* getApp(); }; //.cpp file with class implementation #include "stdafx.h" #include "IMBaseImpl.h" templat ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA and Visual Studio 2005

    Hi, I have been browsing the forums and reading various FAQ's bu my answer is stil..unanswered ;) I would like to try the "build management" functions of XNA so I downloaded the XNA Game Studio Express and tried to install it, but it said I need to use it Visual Studio 2005 Express. We are currently using the 2005 Professional Edition and I would rather make some tests with that version. Is there anything I could install on my version of 2005 (not the newest full package) so I could work with the "build management" functions My question can seems obscure, so do not hesitate to ask questions ;) Thanks Robert My question is That I have to know C# full programing for use my XN ...Show All

  • Visual Studio Tools for Office Package Wizard etc

    My system is as follows - Windows XP Pro, fully patched - .Net Framework 1.0 and 1.1, fully patched - Office 2003 Professional, fully patched - Development Environment 2003 including VB I have also attempted to install - Visual Studio Tools for Microsoft Office Systems 2003, which came with Visual Studio However, When I consult the log file at temp/vsto.log, I get a LOAD of weird errors e.g. "DEBUG: Error 2826: Control BottomLine on dialog MaintenanceWelcomeDlg extends beyond the boundaries of the dialog to the right by 5 pixels. " The final message in the log file seems to indicate that everything went OK!!! "MSI (c) (B4:10) [10:51:10:781]: Product: Microsoft Visual Studio Tools for the Microsoft Office System -- C ...Show All

  • Visual Studio Properties window cleared/disabled/disappears

    When using Visual Studio Team Edition for Software Developers IDE with Visual Studio SP1 and ASP.NET AJAX RC installed, the Properties window becomes empty (completely blank) when viewing an ASP.NET control or any <tag> in Source View for a web app. Everything works fine when viewed in Design View. I've only recently installed SP1 & AJAX RC. There are no "extras/add-ons" installed for VS2005 IDE as I've just reinstalled Window Server 2003 EE last week. Just curious to know if there's a "user error" or a "ID10T error" (on my behalf) or if it's just a bug in the SP1 or AJAX RC installations. Note: Before the SP1 & AJAX RC install, everthing worked fine as before and am not sure if it's SP1 or AJAX ...Show All

  • .NET Development Where can I find a Data Type mapping chart or table?

    Hi, Where can I find a Data Type mapping chart or table between C#, VB.NET and Access, SQLServer, Oracle etc. Example: .NET Framework VB.NET C# Access SQLServer Oracle ----------------------- ------------ ----- ---------------------------- ----------- System.DateTime Date ... Thanks. ...Show All

  • Windows Forms J# Deployment Problem

    Hi, I am using VS2003 and I created a deployment project for our program. I need to deploy J# redistributable package but I couldn't find a way to deploy it with our program. Is there any way to deploy it like a bootstrapper for .net framework or something else ...Show All

  • Visual Basic How to save values in Hex using Stream Writer Class.

    I need to use the Stream Writer Class to write a line of data to a data file. The line consists of a short text string followed by a variable. The variable is of type ‘long’. To write to the file I have to use the Stream Writer.    My code is VB.net 2005:   Dim v As Long = 1000   Dim fw As StreamWriter = New StreamWriter( "C:\Temp.dat" )   fw.WriteLine( "ABCD " & v)   fw.Close()   After I run this code I peek into the Temp1.dat file and see the following was saved:       41 42 43 44 20 31 30 30 30 0D 0A   I see the ‘ABCD’ was stored in the file as the ASCII 41 through 44 followed by ASCII 20 wh ...Show All

©2008 Software Development Network