Nidonocu's Q&A profile
Windows Forms DataGrid Vertical Scrollbar Problem inside a Tab Control
Hi, I have a .NET 1.1 WinForms app with a datagrid bound to a datatable. There are 53 records in the table, and the grid displays 7 or 8 at a time. When the form initializes, the data is sorted on the LineNumber column (as it should be). The vertical scrollbar is visible but disabled. If I click on one of the column heads to sort the grid, the vertical scroll bar becomes enabled. If I then sort on LineNumber, as it was originally, th ...Show All
.NET Development subset of XML data
I have a XML file that has about 50 elements (columns) and about 500 records. Right now I need to get about 25 of those elements(columns)so what I am doing is to load the entire xml file into a dataset and then create a new table with just the items that I need and do a table.merge. It works but I am new to the XML world and there must be a cleaner way of doing this. Any help is apprecieated. Thanks Hi B ...Show All
SQL Server SSIS Package Validation
Whenever I open a saved SSIS package, validation takes over and it can take a long time to do that. Is there a way to disable the validation process when opening the SSIS package Thanks. It will not work because I can only select Work Offline AFTER I load the package. I want to load the package quickly rather than waiting for several minutes of validation. ...Show All
.NET Development How do I Verify a Certificate Chain when not connected to the internet??
I am working in Visual Studio 2005, and have successfully Verified my Certificate chains while my internet connection is Active. I am writing an application. the app will be a Desktop app. I want to send an XML Registration to the desktop, that is Signed. no problem getting here. I have a Verisign Verified Certificate, that I can use to Sign the XML file. The issue is, once the Certificate and XML file are sent to the Desktop, the deskt ...Show All
.NET Development Delayed send with smtpclient in .net 2.0
Is there any way to force the smtpclient to send mail immediately with the .send method in system.net.mail 2.0 Right now it takes anywhere from 90 secods to two minutes before the mail is actually sent once the .send method executes. I've tried setting the object to nothing immediately after the .send method call, but no luck. The real issue for me is the send delay is also causing the smtpclient to hold a lock on attached files that are ...Show All
Visual Studio Team System Code Analysis Policy
I was looking to create a Code Analysis Policy for Checkin but noticed that the docs are still under development. Is there a pointer to a blog anywhere on this slee, Yes, you can indeed sign up for the checkin event using the docs in the extensibility kit. I don't know for sure, but I would expect there's an example in there. There are couple of forum posts that show subscribing to events, such as this one. http://forums.microsoft.c ...Show All
Visual Studio Express Editions Can't find DLL at runtime
First of all, I am out of my element, as my user name indicates. I received a .DLL and a .LIB from a vendor and some sample code indicating what functions to call within the DLL. I know nothing else about the DLL. Support from the vendor is not possible. I wrote a small program that references or calls one of the DLL functions and have successfully compiled and linked. When I run the ...Show All
Windows Forms How to react to Events from Dynamically created TabPages in a TabControl
I have a tab control. For each new Customer selected a tabpage gets added. So, essentially the controls are the same on each tab page. I have generic event handlers for each of the controls. Since the tabpages are dynamically added..how do&nbs ...Show All
SQL Server Scope defined on Member Properties
Hi, is it possible to define a scope in a MDX script based on a member property of a dimension Background: I have a "custom" measures dimension. In this dimension I have measures of different type (i.e. currency, integers, percentages,...). So I want to have the display format set for the different types. My idea was to have a member property on the "measures" dimension to save the display format. I want to use this in ...Show All
Visual Basic how to execute aspx page using VB
hai there, i have a problem on how do i write a VB application to open an IE with specific page like ( http://202.176.45.9:8001/sendsms.aspx user=testuser&to=012&server=10 ) then close the ie. or is there a way to execute the aspx page without even open the ie. can anyone help me out here. Thanks. Hi, You've got a few different options, depending on what you need to do. Do you ...Show All
Visual Studio How to make width of column in detail section behave
Using Crystal Reports for VS.Net 2003, I've noticed something in the Designer is placing a border around my rows and columns of output in the report. I've tried to manipulate the column width through the resizing handles and while that seems to work there is an unwanted border being placed over the whole report via CSS. I am using an ADO.Net dataset generated with the ADO.Net Dataset Designer. I populate the dataset via a SQL Server 2000 sProc, ...Show All
Visual Studio Team System How to find "Avg Time To the First Byte"
Hi all, It is not clear to me how to get "Avg Time To the First Byte". From ACT, you can see it, but it is not clear in VS Testers >Vui Start a load test. Then go to the counter tree on the left and expand the scenario node, then the webtest that has the requests your interested in, the the request you want. Under the request node is the Avg. First Byte Time counter. You can also click the tables ...Show All
Visual Studio Express Editions Error Message When Running .Exe Files
Hello, I've made a form in Visual Basic Express which just asks a question and gives 2 options, "Yes" and "No". If yes is clicked then a batch procedure runs and if no is clicked the form closes. I published the project I'd made and copied the .exe file that I found, into another folder on my computer. On my computer the .exe file opens perfectly and runs properly but when I open it on other computers on my networ ...Show All
Visual Basic Delaying code.
Hi guys. Quick question here. I'm looking to put a delay inside a For/Next loop to make the computer wait a designated amount of time before continuing. Rather than use a timer control, I want to keep it purely within code. I remember the good old days where you could just go DELAY 1000 and be done with it, but alas, it seems that those days are no more. If anyone could help me out it would be much appreciated. A.) there are wome ...Show All
Visual C++ Can Intellisense in VC++ recognise C# style XML Comments?
Hey there - I've been documenting a lot of my code with C# style XML comments, e.g. /// <summary>Does something</summary> /// <returns>Something</returns> /// <param nam="X">bla</param> int Foo(int X); But intellisense in VC++ doens't pick it up. Is there a way to make it recognise XML comments If not, this is definitly something that should be added. Thanks, Mike ...Show All
