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

Software Development Network >> Suman Ghosh's Q&A profile

Suman Ghosh

Member List

Aneshka
shagshag
redneon
eddy05
S.Jan
Snickel65
Tomas Restrepo
Adrien Regimbald
Xiaobo Gu
MoniDD
Richard_Wolf
Asim_DIT
imj
XNA Rockstar
Dan Mikkelsen
Dan-Teklynx
curiousss
John Petritis
olloemre
Victor D
Only Title

Suman Ghosh's Q&A profile

  • Windows Forms Treeview's click event

    hi I've a treeview on my windows form ,on clicking a node ,a label which is also on form, gets the text of selected node.But the problem is when i click on blank part of tree view i.e other than the area containing nodes,even than the last selected node's text get printed on label. i want if i click on blank part nothing should happen. Thanx Divya Hi On click of the tree node you must be be getting the text and placing it on the label, before doing it, can u check the sender whether it is a node or a non node that got selected,based on that you can clear the label's content. or You can use mousedown event and get the x, y coordinates and find out whether any node is fou ...Show All

  • SQL Server How to check out our cluster remotely?

    Hi everyone, Primary platform on client is XP Pro sp2 and on server Win2003 Ad.Server 64-bit We're looking for any snippet or link related with Clustering instantiating. We need to call our remote cluster from an ASP 3.0 page and check out if one of our Active Resource is up (in this case is a .net service) . We suppose that it should be done for each node. It's an Active-Passive cluster. Thanks for your time, Just connect to the virtual host name that is part of the SQL Resource Group, and make a query. Coding technique should be no different for a cluster than any other remote connection - just use the name of the virtual host instead of the physical one, and the connection gets automatica ...Show All

  • .NET Development Stuck with UdpState

    Can anyone help me with a problem I'm having trying to get UdpClient.BeginReceive working I've been trying the example given on MSDN, which gives this section of code to use: public static void ReceiveCallback(IAsyncResult ar) { UdpClient u = (UdpClient)((UdpState)(ar.AsyncState)).u; IPEndPoint e = (IPEndPoint)((UdpState)(ar.AsyncState)).e; Byte[] receiveBytes = u.EndReceive(ar, ref e); string receiveString = Encoding.ASCII.GetString(receiveBytes); Console.WriteLine("Received: {0}", receiveString); messageReceived = true; } The part I am having problems understanding is the first two lines... UdpClient and IPEndPoint, more specifically the UdpState part of them. I can't find UdpState anywhere, so I came to the conc ...Show All

  • Software Development for Windows Vista Persistence Exception "the partner transaction manager has disabled its support for remote/network transactions"

    I get this error:... Persistence Exception: "the partner transaction manager has disabled its support for remote/network transactions" in this line:... void UnloadInstance( object workflowInstance) { ((WorkflowInstance)workflowInstance).TryUnload(); } Thanks, gracias. Searching the forum i found a post with this answer:... "If you are using SQL 2000, then you have to add SharedConnectionWorkflowCommitWorkBatchService service" workflowRuntime.AddService( new SharedConnectionWorkflowCommitWorkBatchService (opciones.ConnectionString)); Thanks anyway, igual gracias. ...Show All

  • SQL Server Creating Report on Local XML File

    Hey All,   I am attempting to create a report on SQL Reporting Services that uses a local XML file as its datasource.  Although i did not find a way to directly do this, I found an MSDN article that walks a person through on how to use a report parameter to paste in your XML data from the page.  When I set up the report in this way, I get an "Invalid URI" error when I go to the preview tab. http://msdn2.microsoft.com/en-us/library/aa964129.aspx What would be the best way for me to use an XML file as a datasource using reporting services   Is there a way that I can use a local file and use a parameter to point at that file     Any info, links, tuts, etc. would help.  Thanks! ...Show All

  • Visual Studio Team System Exception during console test runing

    Hi! I have a loadtest containing a few webtests. If I rut it from VS, all work correctly. But if I copy it to remote computer and try to run in from there using remote Desktop, I've receive followed message in console. Run has the following issue(s): Failed to Queue Test Run 'vfrizen@DEV01 2007-02-07 07:12:45' with id {560ee889-116b-4f63-ac2b-f3c6b62358be}: Microsoft.VisualStudio.TestTools.TestManagement.Exe cutionException: Failed to get host process location. Host process is not available. Final Test Results: Results Top Level Tests ------- --------------- Aborted loggedpages.loadtest 0/1 test(s) Passed, 1 Aborted Summary ------- Test Run Error. Aborted 1 ---------- Total 1 Results file: C:\Temp\Loa ...Show All

  • Visual FoxPro XML and .Net

    I'm having an issue with sending XML from VFP to a .Net application. In VFP I create a cursor, populate some data, then use xmltocursor("mycursor","lcXml",1) to create an XML string. I then pass this string to the .NET app. The problem is that .NET complains about the string. (I also get the same error if I save the XML to a file) According to the intellisense, the third parameter of 1 is supposed to create xml that can be consumed by .net This does not seem to be the case. Here is the error I receive from .Net "Unexpected end of file while parsing Name has occurred. Line 1, position 6." Line 1: < xml version = "1.0" encoding="UTF-8" standalone="yes" I can cre ...Show All

  • Visual Basic how to change datetimepicker value from '1' to '01'?...

    I am beginner of VB.NET... i wanna ask that is it possible to store datetimepicker value for example "01/01/2007" instead of "1/1/2007" ... thanx... i change the format of datetimepicker to "custom"... then change the custom format to "MM/dd/yyyy"... but the value that store into database still in "1/1/2007"... juz the display changed only... how can i solve that ... sorry...i not really understand the code below... Me.TrLine.transdate = Format(DateTime.Now, "yyyy-MM-dd HH:mm:ss") ...Show All

  • Visual C# how can I convert the system array to integer array?

    Hello, How can I convert the system array to integer array Thanks, Tammy No problem, glad to be of assistance. The method I put above isn't terribly efficient. So if your code needs to be super quick then give me some more details of what you're trying to do with it and I can maybe make some suggestions for more efficient ways to copy arrays. ...Show All

  • Community Chat How to open the register of Windows CE?

    Thanks! hesang1030 wrote: Thanks! use remote registry editor. ...Show All

  • Visual Studio Team System Unit Testing Change

    In CTP3 I can create a unit test for a stored procedure by right click on the sproc in the list of Schema Objects. In CTP4 this functionallity is missing (at least on my install). Should I be able to see the 'Create Unit Tests...' menu option on the context menu for a sproc One other thing I've noticed (that may be related) is that in CTP3 the sprocs show as dbo.SprocName while in CTP4 they show as SprocName.sproc.sql (i.e. the file name is shown rather than the name of the stored procedure) This should work, did you do this from the Solution Explorer or the Schema View In CTP4 you can only do this from the Schema View not from the Solution Explorer. -GertD "DataDude" Developement Manager ...Show All

  • Windows Forms GraphicsPath.IsVisible(): Unexpected Results

    GraphicsPath.IsVisible() gives unexpected results. I fill a System.Drawing.Drawing2D.GraphicsPath-object with PointF-structures that define the unit-square (0,0), (1,0), (1,1) and (0,1). Then I test 3 different PointF-structures to see if they fall inside the unit- square and the results are clearly incorrect: Point(-0.2, -0.2) falls inside the unit square... WRONG!!! Point(0.2, 0.2) falls inside the unit square... Point(0.7, 0.7) falls outside the unit square... WRONG!!! It seems that the float numbers get rounded to the nearest integer, but that is not what I expect. //class TestGraphicsPath class TestGraphicsPath {  //data member graphicspath  System ...Show All

  • Software Development for Windows Vista How to update the .net framework with the latest release

    Hi, While installing the latest version of the .Net Framwork 3.0, do I need to install the Visual Studio Extension for Workflow Foundation everytime if I need the Workflow Designer Further, I'm getting error while opening the design view of the workflow solution created using earlier versions. How can I recover it Thanks in advance. Prior to installing the latest version of .NET Framework 3.0 you need to uninstall the prior build including the matching version of the VS extensions for WF. For links to download the latest build go to this post. As for the error you are getting. What build were you previously on What is the error you are getting ...Show All

  • Visual C++ COM DLL Creation and using the functions of COM DLL in a VB application.

    Hi. I have idea on creating normal DLL's. I am new to creation of a COM DLL and also creating some functions and using them in a VB application. I am working on VB6.0 and VC++6.0. Can someone please guide me and give an sample code or suggest me a good site which has tutorial for creating a COM DLL. Thanks in Advance. You probably should consider using ATL, I found it the most suitable solution for writing ActiveX components. The best book to get started is ATL Internals . Be sure to get the old edition of this book (1999) if you work with VC6. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Beginner shader question - I'm missing something obvious

    Hello, all: I'm working on a simple space sim, and I'm trying to render a weapon shot using an HLSL shader. I haven't used a shader before, so I've read through a bunch of code samples, and picked up a couple of books, so I *think* I (kind of) understand what's going on with vertex and pixel shaders. The problem I'm having is that when I enable the vertex shader the mesh I'm rendering is drawn in black. If I disable the vertex shader (comment it out), the pixel shader outputs the color I expect. I've tried it with a mesh I created and with a mesh created via Mesh.Sphere with the same result. Here's the shader code (it's almost an exact copy of the simple pixel shader code from MDXInfo). As you can see, it's totally simple: uni ...Show All

©2008 Software Development Network