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

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

Purnendu

Member List

Arnoh
noNchaoTic
Doobe01
SquadShun
Marius Matioc
NandaRengasamy
bhalchandra.kunte
LuisGarcia
shuyangtu
gg1
RAM123
khawaja
stombiztalker
devilforger34
DD_Helmetman
MrJul
Jan Kučera
Michael Bachar
CaveDrake
Spider-link
Only Title

Purnendu's Q&A profile

  • Visual Studio Team System Q about Incremental Build

    Hi, I configured my Team Build to make Incremental Build There is a way to get all the files/Changesets that changed since the last get operation (Incremental Build use an incremental Get operation – ForceGet is set to be False) Help will be much appreciated, Shmulik Hi Aaron, from my experience just setting those properties will not be enough. Eventually somebody will delete or move a directory in your source control. The next get on the build server will try to delete this directory. If this directory contains a visual studio project that has been build, the directory will then contain temporary files and directories (e.g. "obj\debug"). tf get will return a n ...Show All

  • Visual Studio File versions related to a label

    I am trying to get the numeric version number (number of times the file has been modified) of the files associated with a particular label. A requirement of our project is to know the numeric version number of all source files in a particular "Version". We used to use CMS on a VAX Station and the output looked like this Files in version "1.3": file1.c (3) , file2.c (12), file3.c (1) This information is what we still need. The numbers in the parethesis are the numeric count for the number of times the file has been modified. I can see the data (would have to parse the text file output and pull out what I need) on each file under the history option using the FROM and TO fields, but I have > 900 source files, ...Show All

  • SQL Server data conversion - numeric to string loosing precision

    Hi All, i'm using a "data conversion" object to convert a numeric field to a string just before i save the record set to the database. the problem is when this numeric field is > 0 it looses the precision on its decimal value. example, if numeric value is 0.32 after converting this to a string, the new value will be : .32 it's lost the 0 infront of it. i can't do this converion in the query level because it's a derived field, so i need to convert it to a string before stroing it. when converting to string i'm using the code page 1252 (ANSI - Latin I). i also tried with unicode string both looses this 0 infront. can any one help on this Hi Mark, thanks for that, but it sort of half answer my qu ...Show All

  • .NET Development Optional value type pointer/reference parameter during COM interop

    Hey, I am facing an interesting interop problem that I haven't found a solution for yet. Let's say a COM method takes a pointer to a simple struct: HRESULT Foo(LPBAR pBar); Let's also say that this parameter is optional and the call pInterface->Foo(NULL); is perfectly valid. Now, if the structure BAR is defined in C#: [StructLayout(LayoutKind.Sequential, Pack = 4)] public struct Bar { // ... }; and the COM interop method call is also defined: [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public void Foo(ref Bar); In this case, there is no way to be able to call Foo(null) in C#, although it would be valid. The question is: how do I let the Marshaler know that it should pass ...Show All

  • Visual C++ Can't link a managed wrapper (mixed managed/native) assembly to a static lib???

    Unless I'm missing something, this seems like a fairly major limitation... I have a mixed manage and native "wrapper" assembly project that wraps a third party's static library. We do not have a DLL version of the third party library, just the .lib. In VS 2003 with managed extensions for C++, the project compiled and linked fine. Now, after having converted all the managed extension stuff to C++/CLI, I have it all compiling. However, it does not link because of multiply defined symbols (LNK2005 error). It appears the static library had linked (statically) to libcmt.lib When linking my project I get 20 or so linker errors like this: libcmt.lib(fflush.obj) : error LNK2005: _fflush already defined in MSVCRTD.lib(MSVCR80D.dll) My ...Show All

  • Visual Studio Express Editions save bmp to clipboard as png

    I have a form that makes a bmp. I use this Clipboard.SetImage(mBmpDest) to save it to clipboard then paste it to a word etc doc. However am finding bmp file size is to big. Was wondering how to convert it to a png. No examples on forums. I tried using imageformat, convert but no go. any ideas Not exactly sure what you want here. But generally, a JPG file has the best compression. Some format changes shown below: Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles Button1.Click Dim bm As Bitmap = CType (Bitmap.FromFile( "c:\greenstone.bmp" ), Bitmap) ...Show All

  • Visual Studio Express Editions idiots code book

    hi everyone, i am a beginner to vb as are many who post here, i am putting together a book that explains all code statements and explains how they work and what they are doing better then some of the books i have read. i there is anyone who can submit their error mesages and solutions that will be great, also i will be posting all kinds of command questions as i have already done to others on other posts and i would be gratefull for yoiur explanation comments. i want to start with accept changes why do i use it and wehn dio i use it, what is it for thanks I have actually written a book but it hasn't been published yet (and I don't know if it ever will be!). I would rather suggest that y ...Show All

  • Visual Studio 2008 (Pre-release) Dynamically Add A New Grid On a XAML Defined Grid Location

    Hi, I have several Grids on my page. One of them is a 3 x 3 cell Grid named "MyGrid" defined via XAML. How can I create a new grid programmitally in cell (2, 2) in C# I have only tried Grid.SetColumn and Grid.SetRow but seems not applicable for my scenario. ...Show All

  • Visual C# Assign control text from script

    Hi, Im wondering if its possible to assing the text of my controls at start up from a script file. The script file would be in a format similar to this... fileToolStripMenuItem=File openToolStripMenuItem=Open exitToolStripMenuItem=Exit the program would just run through the text file (script) and split the string based on the equals, the left of the equals character being the name of the control and the right being the text to assign to it. I have been working on this and where i run into trouble is telling which control its text, as in i cant tell fileToolStripMenuItem that its text is File. Thanks for any help, -Dave Thanks ahmedilyas but its not what im really looking for. Wha ...Show All

  • Windows Forms Formatting entries in DataGridView selection

    I have a DataGridView (Dgvx1) and I am trying to change the format (currency in the code below) in the selected cells after the user clicks a ToolStripManuItem. My problem is that the format doesn't take effect. When I added a color change as shown in the code, the color did indeed change after selection but not the format. Am I missing something Thanks, Rene --------------------------------------------- Private Sub CurrencyToolStripMenuItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) _ Handles CurrencyToolStripMenuItem.Click Dim counter As Integer Dim myStyle As New DataGridViewCellStyle myStyle.Format = "C2" myStyle.ForeColor = Color.Red ...Show All

  • Windows Live Developer Forums cannot deliver messages to MSN bots

    i've been hosting 2 bots with the Incesoft bot provider for the last 2 months. after the Messenger service problems (on Wednesday ), i have not been able to reliably host the bots ( MobileRecordBot@hotmail.com and TextAdventureBot@hotmail.com ). the message i get when trying to communicate is : "The following message could not be delivered to all recipients" i've been trying the last 3 nights to get them working again, and have run out of ideas. the bot program seems to be connecting fine to Incesoft's servers, and using the Incesoft admin tools seems to log the bots in and out properly. also, a small # of sessions will work properly when i leave them running overnight. my own user experience is that i can start a session with ...Show All

  • Visual C++ Best way to get the directory of the program?

    What is the best way to get the directory that the program was ran from   I know this my sound simple to you guys, but I have been having a hell of time trying to figure it out.  Thanks alot guys! Thanks alot! Here is a little function I wrote using your example: CString GetProgramDirectory() { CString csProgDir; TCHAR szPath[MAX_PATH]; GetModuleFileName(GetModuleHandle(NULL),szPath,MAX_PATH); csProgDir = szPath; CString csAppName; csAppName.Format( "%s.exe", theApp.m_pszExeName ); csProgDir.Replace( csAppName, "" ); return csProgDir; } ...Show All

  • .NET Development Merging of two DOCX files in XPS file

    Hi, I have two DOCX files ( Microsoft Office 2007 ). I want to merge these two files into XPS file how can I do that Plz tell me as soon as possible You might want to ask in this XPS forum . ...Show All

  • Visual Basic Call an event within an event

    Assume that I have two buttons: Button1 and Button2. Assume that I have the code in a Button1_Click defined. How call (run) the Button1_Click event within the Button2_Click event code Private Sub Button2_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Button1.Click() End Sub Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ' code does something ... End Sub Simply call the method, one does not have to fire an event: Button1_Click(nothing, nothing) Or you can pass in the parameters sent in to the button2, instead of nothing if they are needed in but ...Show All

  • Visual C++ Divide without using operators

    I need a code for Dividing two integers but ... without using any operators ie (+,-,*,/) to get the Quotient and Remainder One can use math.h . plz help me thanks..... PeteJM01 wrote: Why do you want to not use operators It would certaily be obviously easier to do so, so why don't you. Homework assignment, perhaps ...Show All

©2008 Software Development Network