Jayender sivaraman's Q&A profile
Windows Forms opening .xls and .csv files
Hi, I want to open .xls and .csv. How can I do that I want to open them physically in MS-Excel, so that user clicks a button and .xls or .csv file opens up, just like you double click an excel file. Thanks Here's another way you could do it: Imports System.Diagnostics Dim startInfo As New ProcessStartInfo("Notepad. ...Show All
SQL Server Configure RS in sql express
Reporting Services Log The Reporting Services installation options you specified in Setup determine whether further configuration is required before you can access the report server. If you installed the default configuration, the report server can be used immediately. If you installed just the program files, you must run the Reporting Services Configuration tool to deploy the report server. I just installed sql express without sql developer or enterprise edition, I dont see Reporting Services on virtual directorys on IIS. I dont know how to acess the report server and configure it. Tks i have the same problem i ...Show All
Visual Studio 2008 (Pre-release) Updating textboxes by background threads?
Hello! A small hint please! What should I do in order to have a background thread to be able to set the text of a textbox Earlier the Invoke() method was the solution, but what now Best regards, Henrik Dahl You should be able to use textBox.getDispatcher().Invoke to cause code to execute on the UI thread. Is there some reason that is not adequate There are certainly issues with this solution, but that is what the WPF framework requires. ...Show All
Visual Studio Express Editions getting started
hey all im new to C++ and was just wondering if someone could walk me through on how to make a simple little program just to get me started on programming. Take a look at http://msdn.microsoft.com/visualc/learning/vcexpvids/default.aspx for tutorials. Also, I would recommend any of the books referenced at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=107484&SiteID=1 Thanks, Ayman Shoukry VC++ Team ...Show All
Smart Device Development Communication between Pocket PCs
hi, At Present,using wireless link to send datas from client side PPC to the server. no communication between clients. I have more than two client PPCs. I want see the information of PPC1 from PPC2 and viceversa. I don't want to retrieve Other PDA's data from server. Is there any way to communicate one PPC with other directly (by using IP) How to do it Need some ideas.! Thank U! If you can get any sort of network connection on the device you can use TCPClient and TCPListener classes to communicate between devices. These are just thin wrappers around the sockets api specifically for TCP. ...Show All
Visual Studio 2008 (Pre-release) Bind to a particular row and column of a dynamic grid?
(Originally posted in the ...developer.winfx.avalon newsgroup, but this forum seems a little more lively.) I'm new to WPF, so perhaps I'm going about this the wrong way. I'm trying to create a grid that contains a collection of objects. The number of rows and columns of this grid is dynamic; ideally those properties would be bound to a couple of properties of a custom object. The position of the objects within the grid would ideally be bound to properties of those objects themselves. A Grid allows items to be bound to particular rows/columns, but the total number of rows/columns must be static (at least, from a pure XAML perspec ...Show All
Windows Forms Graphically connect listboxes (or treeviews) elements
Hello. I'm lookin for a way to have two listboxes with (some) elements connected graphically by an arrow. The arrows should 'move' as the listboxes scroll, 'following' the elements they are attached to. It should be similar to the data relations fields in graphic representation of SQL queries (as in Visual Studio's Query Designer) I'd like to have a similar effect with two treeviews (whose element can connected by arrows, as in Biztalk Mapper) Does anyone know if there is a third party control that allow this Thank you. ...Show All
.NET Development .NET UI Application Crash
Hi, We have a vb.NET client UI application which calls a number of web services. The application is intermittantly crashing completely without any evidence of an exception etc. The application is single threaded for the most part, the only area that deviates is a class managing serial port comms via win32 calls. (we do not use p invoke..) I understand the most likely cause for an unexpected termination of this nature is threading - more specifically that referencing UI elements unsafely... I can say after a very large code review that this does not take place. Can anyone provide any advice on what might be the cause or where else we might lo ...Show All
Windows Forms Databind Listbox
I have a listbox that I've bound to a datatable and I also have three buttons below that (Add, Edit and Delete). When the users peforms one of these functions what is the best way to update the contents of the listbox to reflect the changes Should I call a stored proc to update the record and then refresh the list box's datasource or Shoul ...Show All
Visual C# Nunit
Hi all, i want to ask about Nunit. Is there anyone there in this forum use Nunit and does it make a significant improvement to c# codes What about Exception Handling What is the difference between Nunit and Exception Handling Thanks :D Hi! I think NUnit is such a tool that all .NET developers should know I can't really tell how much usefull is it - trust me, try it! Exception handling is for catching unexpected errors you shouldn't catch expected errors in most cases, because expection handling hits performance), whic occours while the user runs your program. NUnit is a testing framework, wh ...Show All
Microsoft ISV Community Center Forums converting from VB 6 to VB.net
Started by sal at 03-19-2005 9:27 PM. Topic has 1 replies. sal Joined on 03-18-2005 Posts 1 converting from VB 6 to VB.net I was wondering if i could get answer on what is the easiest and quickest way to convert the vb6 code to vb.net. I would like to keep using the forms, the grid and the structure for the time being. since i do not want to check the accuracy of my application at present admin Joined on 12-16-2004 Posts 14 Re: converting from VB 6 to VB.net We just ran across a section on http://msdn.microsoft.com/vbasic/   ...Show All
Software Development for Windows Vista guidance on deployment
I am using Beta 2 Windows Workflow Foundation. I am trying to host the designer control in a webpage in an ASP.NET web application. Basically I am creating a .NET 2.0 WinForm User Control and using tag to embed in an ascx. I have succesfully done this, on my local workstation, using http://localhost url. However I cannot replicate this anywhere else, especially on my remote development server. I need guidance on deployment: 1. what is the proper security needed on the client. 2. How to most efficiently deploy the security changes needed to clients. Thanks, As far as I can tell the designer control needs FullTrus ...Show All
SQL Server Scheduling SSIS Package
Hi I am trying to scheduling package using "Executing Sql Server Agent Task" before that I create new job,But there is error in STEP "Command Line Parameter are Invalid" Anybody help me for configure jobs for Scheduling I am new to SQL Server Thanks in Advance Now I want to save package in MSDB database but its gives en error as follows "Login timeout expired An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. Named P ...Show All
Visual Studio GAT fails to install, claims GAX is missing
I've had to rebuild a development machine here. I now have the machine almost correct, but GAT is failing to install. I have VS2005 Team Suite, VS SDK (Feb release), GAX (Dec release) and I'm trying to install GAT. GAT is failing to install telling me that the guidance automation extensions are not installed. However running the extensions installer again tells me that it is installed, and the repair function does not report any problems. Any ideas how I can get GAT to install correctly Thanks, Brian. ...Show All
Visual Basic VB 2005??? PT 2
Public Function Plus( ByVal ad As Integer ) Dim id As Integer Dim cm As Integer End Function I want to pass this fuction a varible that when i call it in the code i can enter any number and add it to another number any help with that, i know it sounds rather simple but i am not sure if i should pass two varibles or one i am thinking i should pass two and declare a local var and i dont know thats where i draw the blank....any help would be great You can do it something like Public Function Plus (Byval A as integer, B as integer) as integer Return A + B End Function Then just ...Show All
