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

Software Development Network >> Saibal Goswami's Q&A profile

Saibal Goswami

Member List

XBTester
Ron L
__jjay__
johnof
Aaron S.
williambeaker
akoties
RodYager
qrli
Ccercone
Ivan Selchenkov
vannielou
MShah
Ahmed Fetouh
ScottyWakefield
John.Doe
nunodonato
enric vives
rdionne
jetsetwilly
Only Title

Saibal Goswami's Q&A profile

  • Windows Forms DataTables

    How to add dynamic columns in datatables (i.e. adding different number of columns in rows) For eg suppose the number of rows in table is 3 and for the 1 row the number of columns is 4, for the seconde row the number of columns is 3 and for the third row the number of columns is 5. ie each row is having different number of columns. Try to solve the quesry asap. Hi This is not possible with a ADO.Net DataTable. You can do this with custom dataObject. Class cTable { list<cRow> = new List<cRow>(); } class cRow { list <cField> = new List<cField>(); } Like this every row can have a different number of columns. Kind regards PS: the code above is not ready for copy paste, it just gives an idea of how to solve ...Show All

  • Windows Forms Putting text on an image on a form

    I am an old C/C++ programmer that is trying to learn C# and .net. I need to take text from a .txt file and display it on a form in graphics. I eventually need to save the image to a .jpg file. I created a picturebox (is this the right object to use ) on the main form, opened the .txt file and read in one line at a time. Now I need to put each line of the text into the picturebox area in graphics mode to display it on the screen in the same order as the text in the file. Any suggestions Thank you OldCDude you would have to use the Graphics class to draw a string. Maybe implement the paint event (im not a graphics guru so I am just hoping to guide you). There has been a topic or 2 on how to d ...Show All

  • SQL Server Finding Errors on 64bit Itanium

    I have an SSIS job that is exiting with an error on a 64 bit Itanium SQL 2005 sp1. It has three parallel streams of execution. I've been running my tests using dtexec with verbose output being sent to a file. 2 of the streams execute several truncates and then are followed by 4 steps that load data from a SQL 2000 server to a SQL 2005 server. One of the job streams sources it's data using a SQL Server username/password while the other sources it's data using integrated security. Both streams use integrated security for the destinations. The third job truncates 2 tables and then loads those two tables from an Oracle database. The oracle connections use a username/password in a connection string in a configuration database while the SQ ...Show All

  • .NET Development System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Data.SqlClient.SqlException: EXEC

    CAN any one tell y iam getting this error System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Data.SqlClient.SqlException: EXECUTE permission denied on object 'WebBr_returnEditLine', database 'WMS', schema 'dbo'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at ...Show All

  • Visual C# general Array

    I'm looking for a way to determine the numbers in an array. I am basically creating a string array then using a string with multiple words from a text box to split into that array. Only problem is i cant tell whow many items are in the array, to determine how to manipulate the different strings. Anyone understand this let alone how to solve the problem Thanks Thomas Use a generic list string equation = "1 + 2 - 4 * 5"; List< string > equationTokens = new List< string >(); equationTokens.AddRange(equation.Split( new char [1] { ' ' })); Console.WriteLine("Total " + equationTokens.Count); foreach ( string Tok in equationTokens) Console.WriteLine(Tok); ...Show All

  • .NET Development Need some insight, possible deadlocks, lots of threads!

    Hey everyone. :( I'm at a complete loss here. I have a socket server application. Multiple users, chatrooms, instant messenging, etc. It's a racing application. Either way, here's how I can break it down: Asynchronous socket server VB.NET There are 3 types of controls, I guess you could call them: User control - client sends a command to socket server User timeout timer - checks to look for hanging connection. There is a timer associated to each user. Basically for Keep-Alives changing the Connected property to False. Executes every 30 seconds for every user. Race timeout timers - checks to make sure a user completed a certain part of the race. If not, functions will execute to take care of the n ...Show All

  • Visual Studio 2008 (Pre-release) How To set the ClientBase Address To be Routable

    Hi All Using the WCF service, I just finished writing a little pub/sub e-mail application that resembles outlook (a little bit some how) The WCF service I Created uses a Duplex communication and when an a new email is sent for an online client, the service automatically invokes a call back event attached to the client. In order for the service to find the client, the client first has to provide its base address on the binding information of the client side when it subscribes to the service. Now everything works fine as long as I am on local area network but if I am on a different subnet or I am trying to access the service form a different network, then the service can not find the client and Vise versa How sho ...Show All

  • Visual C# Casting a control Array using 'as'

      Hi,    I am trying to find labels in my TabPages and it doesnt seem to work     Label[] l = tabControl1.Controls.Find("myLabel1",true) as Label[];     // i get a null value but it works if I replace Label[] with Control[] on the Left hand side and do not cast    Why is this not legal... All I have in my tabpage collection are label controls. Now I know that there can be other controls and that may be the reason why it does not try to cast. But it can always throw an exception if it cannot cast all of the controls to the requested type.  I hope I make sense in what I am trying to do    Regards tribal     ...Show All

  • SQL Server Dependency Net Viewer

    Hi, I've got a Decision Tree model and I'm trying to browse the dependency network. Apparently, there are too many nodes and they don't all show up in the view. I know that I can find hidden nodes, but is there a way to show all w/o having to add them one by one to view How does the UI determine which ones to filter out Thanks, Mike Excellent question! The dependency net viewer takes the top 60 nodes determined by a heuristic to be interesting. It uses a mix of input and output nodes to make sure that you don't get all inputs or all outputs (that wouldn't make an interesting diagram, would it ) Using the dependency net viewer control, you can only add nodes one by one. However, if you use the Data Mining Templates for ...Show All

  • Visual C++ Hashtable in C++

    Hi, I need to use a hashtable in C++. Apparently there isn't one, so I tried to use the hashtable in the System.Collections. After enabling the /clr in the solution explorer I can use a hashtable within functions, but not globably, which is my need. If i try to declare the hastable globaly it gives me this error: Error 1 error C3145: 'hs' : global or static variable may not have managed type 'System::Collections::Hashtable' Anyone know a way around this or of a different hashtable class that I can use There's also unordered_map which is what will likely be in the standard. There's an implementation in Boost which seemed to work quite nicely for me (apart from some pretty obvious ODR violation ...Show All

  • Visual Studio Express Editions VB Browser

    I am making a Internet browser and I have run into some problems. I would like some help some someone here. Ok, The problem I have right now is that I would like it, when you hit the enter key after you type in a address in witch you what to go, that it will take you to the site. I do have a button for going to the address but I would like to make it easier to get there. This is the code I have now: Private Sub ComboBox1_KeyPress( ByVal sender As Object , ByVal e As Object ) If e.keyChar = Chr(13) Then Windows.Forms.Cursor.Current = Cursors.WaitCursor WebBrowser1.Navigate(ComboBox1.Text) Windows.Forms.Cursor.Current = Cursors.Default End If End Sub I know something is wrong with this but I ...Show All

  • SQL Server How to know if SQL Server 2005 trial version is installed?

    When I ran @@version I get this: Microsoft SQL Server 2005 - 9.00.2047.00 (Intel X86) Apr 14 2006 01:12:25 Copyright (c) 1988-2005 Microsoft Corporation Standard Edition on Windows NT 5.2 (Build 3790: Service Pack 1) I assume this is a licensed version because the std edition does not have a trial license Can someone confirm this If this were a trial version, what could I expect to see Prior to expiration of the trial version, you can upgrade to the full version by using the SKUUPGRADE command-line parameter as documented at http://msdn2.microsoft.com/en-us/library/ms144259.aspx . You can determine you have the evaulation version by running this T-SQL command against the server: SELECT SERVERPROPERTY ('Edition') ...Show All

  • Visual Basic Why VB compiler is allways running !?

    I’m sorry, i just don’t want to be rude. I have a few simple questions !!! 1o Microsoft want to KILL VB ! 2o if not, so why the stupid compiler start compiling a every line i wrote. 3a Why this experiencing is not lived by the C# compiler !! perhaps the C# team made very good job !!! 4o The performace patched release by you guys, work but the problem is not solved, the IDE continues flinking, the compiler is allways running, the bigger projects continues to be slow to work on them..... Sorry, but i’m working with VB.NET for a quite long time ( since VB.NET 2002 and 8 hours day) , and i’m doing a very large application since them and for the last 6 to 8 months i was experiencing something that i never imagine, slow pr ...Show All

  • .NET Development Error is occuring while accessing object which was created in different appdomain

    I have created c# assembly to create COM add-in for Excel. Class A in this assembly get reference to excel(Excel.Application object type) object. My problem is that I have class B in same assembly and I am loading it in different app domain. While I load it in different app-domain i am passing excel as argument to constructor of class B. So any method in class B can use excel object. But now I found out that after 5 minutes of ideal session if any method try to access excel object it gives me following error System.Runtime.Remoting.RemotingException was unhandled by user code Message="Object '/dc79c4f3_02d7_4ff8_9225_9d7916e4f039/bmaba5wbpxtwirzqkkhapvkx_2.rem' has been disconnected or does not exist at the server." S ...Show All

  • SQL Server help Users

    Hi I`m New in this please help when i try to create a user on a SQL Magnament Studio, shows me a error: TITLE: Microsoft SQL Server Management Studio ------------------------------ Create failed for Login 'mikke'. (Microsoft.SqlServer.Smo) For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Create+Login&LinkId=20476 ------------------------------ ADDITIONAL INFORMATION: An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo) ------------------------------ The MUST_CHANGE option is not supported by this vers ...Show All

©2008 Software Development Network