sonali kedar's Q&A profile
Windows Forms DataGrid: Where Am I?
I have added a ContextMenu to a DataGrid in the forms designer of VB Express 2005. Having added items to the menu, the functionality I am trying to achieve is to perform one of the menu actions on the current row of the DataGrid. Firstly, which event of the context menu do I trap Click Mouse Up Secondly, how do I find out which row of the DataGrid I was on The event is owned by the ToolStripMenuItem, which is owned by the ContextMenu whic ...Show All
Visual Studio Express Editions mixing libraries - making debug - missing symbol __invalid_parameter_noinfo
Hi there, I have a setup where I distribute libraries built for a release version, and allow a user to use them as a DLL. I originally released them as VC 7.0 libs. I had a user try to link these using VC exp 8, and received errors which appeared to be stl related. I got express and rebuilt the libs in release form (converting the older projects) and everything built and linked fine. Unfortunately, there is a r ...Show All
Visual Studio SOLVED!!! but "Chapuza"
I use a WindowsForm Reportviewer. C# 2.0 I generate the report and all is OK but when the user try to print (print button in toolbar), the application open the printdialog, I select the printer and press Ok. But the application doesn't generate a document. When I try again, all work fine. If I close the application and restart, occurs the same (first doesn't works, second works, all time works). somebody have any idea Thanks form ...Show All
.NET Development GZipStream decompress issue with MemoryStream.
I apologize in advance for such a newbie question, but I'm having difficulty decompressing information using the GZipStream classes. Seems to be able to compress with no problem; I get objects that contain valid data, and the below code compresses 404 bytes of data into 126. Admirable. However, when I try to decompress a MemoryStream, I get a byte array filled with zeros. I have no doubt that I'm missing something obvious, but after a cou ...Show All
Visual Basic Catching Exceptions from a Subroutine
Say you have a Sub that calls a second Sub and an exception occurs in the second Sub, which you catch. Then when the second Sub drops out, execution continues with the next line of the first Sub (i.e. the calling Sub). I'm wondering if there is anyway to let the first Sub know that an exception occurred in the second Sub and allow the first Sub to also drop out instead of continuing. Here is an example in code. You can recreate it by creatin ...Show All
Visual Studio Team System Editing a Project Portal after Its Team Project Created
If my team project portal was created using a wrong template, how can I fix this, how can I change the project portal design For example, here ( http://img135.imageshack.us/img135/622/stpreports2qs.gif ) I have some links to reports I do not really have or use - how can I remove them Thanks in advance. 1. A Project Portal is simply opened by Open Site... command in FrontPage 2003 (specify the portal's root URL t ...Show All
SQL Server Virtual Labs - No Connection message
A couple of us are trying to use the SQL Server 2005 Virtual labs at http://msdn.microsoft.com/sql/ . We complete all the prelim steps successfully but when we click on "Start the Lab" we get a blank page with "No Connection" in the middle. The clock ticks and the system thinks we are doing the lab. How can we get a connection or is the server down or are there no available resources left ...Show All
Windows Forms modifying the contents of datagrid at runtime
hello, How can i modify / Add the contents to the datagrid at runtime pls help Please Explain. Do you mean data in cells if so, you can modifiy the underlaying datasource, or use this datagridname(rownumber,columnnumber) = "hello" Joe ...Show All
Windows Forms AddHandler
Hi everyone, can you explain to me what does AddHandler do I mean where it should be used and what it really do, i am reading some explanation over the web about AddHandler but I didn't understand it . Thanks. There are two ways to handle events in VB. The one is using the Handles keyword, the other AddHandler. You're probably familiar with Handles, it is the way the designer associates event handers with ...Show All
Software Development for Windows Vista How to create a workflow programmatically?
Are there any samples that would show how to create and/or modify a workflow programmatically, i.e. from a program, not from VS.NET IDE or a hosted designer For example, the program would create a new workflow, add a couple of activities to it, and save the serialized workflow definition (in a file or database). I can find examples explaining how to modify a workflow instance at run time, but I need to create ...Show All
Visual C++ The joy of CObArray
Hiya, I've got a dialog based program using MFC which needs to pass an array of instances of a class inherited from CObject. I'm currently using CObArray which is quite happy to take the class but it won't give it back... Any ideas, I'm floundering again... Mike What is your problem of getting it back. Probably you have to cast its type! Maybe its easier to use template< class BASE_CLASS , class T ...Show All
SQL Server Importing a SQL File from the Internet...
Hello... I am trying to create a small SSIS Package that should do the following things 1. Fetch a file from a (Later Several) Webserver(s) 2. Parse the file so the Format is "more acceptable" 3. "Normalize" the Data from the file into 3 Tables for each row (Each row contais a "Unit" , a "Location" and a "Owner" - For each of these Items i have to check for "existance" and if they do exist i need to update IF the Values cha ...Show All
Visual Studio Express Editions How To Change PaperSize When Printing
After a lot of errors, false starts and senior moments, with the help of several generous souls who responded to a query I made on the VB Express Forum and with several revelations from the book “Mastering Microsoft Visual Basic 2005,” by Petroutsos, I am a closer to understanding printing and modifying the papersize and other printer parameters. I am including the code for a small VB windows test program that programmatically creates two diff ...Show All
Visual Basic Things You Can Do in VB vs. C#
I've been reading a lot about VB and C# and was wondering if anyone knows definitively what is available in each language that is not available in the other (after the release of VS 2005) Aside from syntax differences, the things that I found were the ability to handle unsafe code (in C#) and late binding (in VB.NET). Thanks in advance. Dianne How detailed do you want to get There are plenty of little th ...Show All
SQL Server Strange Deadlock issue
Hi, Before posting this thread, I have searched for answer in this forum. But this case is a little bit different from the others. In our application, we encounter deadlock on a single table. Env: SQLServer 2000, SP4, ReadCommitted One thread is trying to do this update sql: "update resources_allocate set FromDate= , RepFromDate= , Res ...Show All
