Jeff Lundstrom's Q&A profile
Visual Studio Express Editions Refer to object by name.
Hello, I'm new to VB and OOP and I'm jammed on something. I need to refer to checkboxes on a form by their names. Form1 contains a DataGridView of 15 columns. I also have a context menu with 15 items that the user can check/uncheck to make the column visible/hidden. To do this I set the AccessibleName property of each ToolStripMenuItem to the name of the corresponding column in the DataGridView. Here's th ...Show All
SQL Server Need a help
Respected sir, I need a query to retrieve all the week ends date of any given year. ex if year is 2006 from jan 01 2006 to dec 31 2006 then 6/1/2006 is saturday,7/1/2006 is sunday...etc upto last weekend day of 2006 if any one can help it please do it thanking you sandeep patil You can also use a tally table or number table to achieve this. I am using query to generate the number ...Show All
Visual Studio DateTime picker and the ReportViewer
Hi, I am running SQL Server 05 (SP 1 CTP) and Visual Studio 05. Is the reportViewer used for the Asp.net webforms supposed to have a working date time picker control I know that this was an issue on the beta 2 but I am still expericiencing the same problem. The date report parameters work fine on the preview but when displayed on the ReportViewer in a webform they don't work. I am running version 8.0.0.0 of the &nb ...Show All
Visual Basic Automate MS Word Doc with VB.Net
I amtrying to pull info from a Sql Server to populate a word Doc using a VB.Net App any ideas Dim LPC As Word.Document PolNumber.DataBindings.Add("Text", PolicyNumber1, "Policy.PolicyNumber") Well i binded the data to the textbox but what should i do to make the data show up on the ms word doc ...Show All
Visual Studio Team System Minimal/No VSTS for testers
Hi, We want to keep our testers machines as clean (and as less loaded) as possible. But we would like our team to use VSTS both for entire development activity including bug-tracking/issue-tracking/review-activity/etc; but with least/none installable of Visual Studio 2005 on testers machine. How is it possible Eg: Is there any interface by the excel or other office software to VSTS with minimal/no Visual Studio 2005 client on the mac ...Show All
Visual Studio Team System functional verification points
Is there a way to add functional verification points to a web test, such as tab order, initial focus, maximum length, and type of field (numeric, characters,...etc) You can specify validation rules to inspect the response of any request. Here's a link to the help topic that describes how to add validation rules to a web test. http://msdn2.microsoft.com/en-us/library/ms182544.aspx There are a few built-in validation rules that you can ...Show All
Windows Forms Add button control inside DataGridView
1) I would like to show my table in the DataGridView and allow the user to edit some of the fields which are integer type. I need to put two buttons next to the value. One of them is to add 1 to the value while the other one will minus 1. It's idea to put the add button on top of the minus one. However, I can't find any good reference on how to do this. Please advise. 2) Moreover, how can I control the button behaviour I've tried adding the D ...Show All
SQL Server Suspect Mode (no icon in SQL 2005)
In SQL 2005 when a database is in suspect mode there is no obvious way to tell (via SSMS). In SQL 2000 the word "suspect" was displayed (via Enterprise Manager) next to the database, and the respective database icon was grayed out. Why was this behavior changed for SQL 2005 From a disaster recovery standpoint, it is very important to see immediately if a database is in suspect mode. Hi, I've ch ...Show All
SQL Server Bulk Load Help - Parent Child relationship in schema
I am running a bulk load from a DTS package. I am able to insert the parent records succesfully into the article table, but I cannot get the child data to insert at all. The package returns an "executed succesfully" message, so I am having a tough time debugging. Here is my schema file, and a sample of the XML file I am trying to load. Please let me know if you spot anything in the schema I can fix (the xml file is supplied to me, and ...Show All
Smart Device Development Locking device
Is there an OS level password lock that will let me lock the screen (requiring user/password) before the device can be used Or... is this an application level function. If it's application level function, what are the security implications of this on a Pocket PC Is it a trivial task to bypass such an application function Thanks. InquiringMinds wrote: Is there an OS level password lock that will let me lock the scr ...Show All
Visual Studio Exception, but not enough info to pinpoint the exact source!?
Hello all... I have a WinForms solution consisting of 5 projects. It is a plugin-type little app... I sometimes make the app execute code from the plugins on its GUI thread... this looks like this: public void InvokeOnGuiThread(InvokeOnGuiHandler method, object data) { mainForm.Invoke(method, data); //### ...Show All
.NET Development Stored Procedure
I would like to make a stored procedure with date part first day of the week Friday and want to have it so sales for each customer are added together each day and at the end of the week i can see what each customer has brought and the total amount each customer has spent.And can anyone tell me can you tie a stored procedure to a click event in a windows form.Hope someone can help thankyou. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Coordinate System
Hi everyone! I need some help here... I am trying to write a D3D-application which renders different objects depending on choises from a menu.. I just want to know: How do I change the inbuilt( ) coordinate system in d3dx to a more standard one: like 400,300 would be the center of the screen (using 800x600 px resolution) any help or redirection would be appriciated! I have a question about this, is there a math ...Show All
Windows Forms What's the story on UseCompatibleTextRendering
So I rebuilt my app using VS2005 and it worked beautifully except for my labels being moved down a few pixels. I came across the property UseCompatibleTextRendering and if I change it to true then my app works fine. I can find almost no documentation on what are the impacts of changing this property. Why is the default behaviour not compatible with previous versions of winforms and what is the difference I also read that ther ...Show All
Visual Studio Express Editions Mod function
Is there a mod function in C# I need to do a mod so if there isn't a build in mod function does anybody know the math behind the mod function and I'll create my own. Thanks In C# (like C and C++) the mod command is the percent sign (%) so it’s as easy as: int x = 5 % 2; Console .WriteLine(x); //x == 1 ...Show All
