nishanth's Q&A profile
.NET Development Change source URL of webservice client
Hi I have a webservice that i wish to call from a client app. This easily done in VS 2005, but my problem is that i want to programatically change the URL during runtime. I do not want add a web proxy and then change the URL in the config file. I want the user to be able to type in the URL and right after that call the webservice. I have tried to create my own webservice proxy (via VS 2005) and modifying the SomeSerivce.URL property but this ...Show All
Windows Forms 'ping' automatically
hi, I have a 'ping' program in .net 2003, and also a timer source code in .net 2003. When the program is running, i want it to 'ping' the ip address automatically for every 2 minutes. But I don't know how to write it in code. Can someone please help me Thank You Add a timer to your form.(say timer1) timer1.Interval = 120000;(120*1000 ms) and then subscribe to the Tick event of the timer where you call the ping code. Le ...Show All
.NET Development Async sockets, receive callback problem
Hi, I'm writing an async socket server that transport custom serialized objects. However, I ran into a problem when sending a lot of messages in a loop from the server to the client. To simplify matters I shortened my test code: Here I'm sending some data to the client... for ( int i = 0; i < 100; i++) { state.WorkSocket.BeginSend(b, 0, b.Length, SocketFlags.None, sendCallback, state); } The client receives the data and processe ...Show All
Visual Basic Best method for exporting a DataGridView to Excel
I have a datagridview(DGV) which contains data based on a user selections from a pre-defined dataset In point form: User starts program program builds datatable user opens file and program read all data from file into the dataset.datatable user defines the data they want to see program displays datagrid based on dataset.datatable and user choices. (basically it displays the whole dataset and removes unwanted columns\records) ...Show All
Windows Forms How do I access the non client area of a richtextbox?
How do I access the non client area of a rich textbox so that I can put nline numbers along the left or right side of the control. ...Show All
Visual Studio Team System TFSDeleteProject.exe fails to delete projects which fail in their creation but are partially in existence
I posted a bug for this on the bug reporting site: http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx feedbackid=a02f3956-e1c7-43f3-99f4-0a6959ee81b7 MS say they have fixed it in v1, however, does anyone know how I can remove projects manually from source control or reporting services manually for an orphaned project We ran into one last issue in this process I thought I would share. On some of the machines, the d ...Show All
Visual C++ Get the list of current processes and its information
I'm getting the list with the current processes running and looking at its information using the Process class on System::Diagnostics namespace. But with ProcessName, I only get the name of the process running. How can I get more information about it, like extension, path, the name of the application (instead of the executable name), the name of the manufacturer Are there any way to get the related process to a specific one Ex: In Photo ...Show All
Windows Forms Movie
Hi everyone, If want to know if I make a program that can run movie file Like on Windows Media Player. From Simon Hi! Yes, you can do it. Easiest way is to put Windows Media Player inside your form. Open form in designer, right click in toolbox and run "Choose items" command, select "COM components" tab and find there "Windows Media Player". Check it. Click OK. Now in toolbox you have Windows ...Show All
Visual Studio Express Editions can't update sql table with TableAdapter.Update
Hello all, I'm unable to update a SQL table in C# 2005. I created a basic form with binding navigator, dataset, tableAdapter, and a BindingSource. I have 3 text boxes on the form to display data from my table. The text boxes are bound to the binding source. I can make changes and they stick until I exit the application. I have a message box tell me how many rows are updated and that seems to work but when I look at my data all of the changes ar ...Show All
Windows Search Technologies Outlook 2000 crashes on exit with WDS installed
I ran into 2 problems with WDS version 2.06.0000.2083. I have just installed WDS for the first time on XP SP2. I don't have MSN Search Toolbar installed. My Outlook setup doesn't use Exchange and just connects to my ISP to retrieve email. The problem I have is that Outlook crashes on exit. I can post memory dump if necessary. Additionally, if I let WDS finish indexing while Outlook is up, WDS doesn't ever find anything in the email message ...Show All
Visual Studio Team System Intellisense????
I'm delighted and amazed that this product is coming however I already have one RFE....object Intellisense, the like of which is done by Prompt SQL (which has just been bought by Redgate). e.g. I type a table name followed by a period (.) and intellisense pops up a list of all the columns names. Any chance of getting that in Thanks -Jamie At this point, Intellisense is not in the product. Trust me, you're not the only o ...Show All
Windows Forms DataGridView SelectedRows
I need to create a function that when multiple rows are selected in a DataGridView (and the function is called), it will change the value of a check box that is located in a cell in the DGV to either True or False (Checked/Not Checked) Does anyone know how to do this This is what I have so far: Private Sub CheckUnCheckSelectedItems() If Me.DataGridView.SelectedRows.Count > 0 _ AndAlso Not Me.DataGridView.Select ...Show All
Visual C++ printing
hi all i had made drawing on the dialog and then save these drawings as the bmp file and loaded them. now i want myapplication should print these drawings or the bitmaps loaded on the dialog. how to do that or anyother method of printing. i m using the visual studio.net 2003 and my application is MFC based application. Use BitBlt or StretchDIBits! Refer to the hundreds of code samples in www.codeproject.com there are enough sampl ...Show All
SQL Server how to retrieve inserted rows in sql server 2000
Hi, I have this scenario: items should be inserted into a item table before they are converted into assets. The database server is sql server 2000. so item-> itemTable ->assetTable When I insert items into the itemTable, how can I retrieve the itemID (an identity column) that will be created during the insert I know I can use scope_identity(), but if two or three person are inserting items to the same table, which scope_iden ...Show All
Visual Studio Crystal Reports for Visual Studio 2005 RTM Release?
Is the Crystal Reports for Visual Studio 2005 Beta 2 Release compatable with the RTM release of .NET 2.0 Or will there be an RTM version of the Crystal Reports Merge Module available for download Hi There is a Redistributable MSI available in the package albeit you have to find this. The main issue I have is that we wish to deploy via Intellimirror and tools like this which dont have the ability to install Non ordered solutions s ...Show All
