Pete Lux's Q&A profile
.NET Development System.valuetype
Hi There is something I wan't to understand. How come there is no way to inherit from ValueType I know it is seald but why Is it because a user might create a "mutation" object Thanks Avi A value type in .NET represents a simple POD (plain old data) that doesn't support any form of OOP including inheritance, custom construction and polymorphism. This permits compilers to treat POD ...Show All
SQL Server Error when attempting to delete rows
I have a log table with no indexes, triggers, or keys. During the course of development, I will clean out the entries by selecting all the rows (in Database Explorer) and hitting the delete key. Occassionally, I will end up with couple rows (out of many) that won't delete. I get the following error when I attempt to delete the "affected" rows: A problem occurred attempting to delete row 1. Err ...Show All
.NET Development WebService with Threads ... what's the correct way?
Hi! I need develop a webservice for too many concurrent users so i need programing with threads. I'm looking for a simple (or not simple) example, now i have one but don't work very good :P A greeting This question belongs in the Web Services forum. Anyway, why do you worry about infrastructure Providing a scalable execution environment is being taken care of by ASP.NET and IIS. ...Show All
SQL Server Using variable of type Object in expression
Hi I have some SSIS variables of type System.Object (they have to be this type because they are used to hold the results of a single row result set in an Execute SQL task which is querying an Oracle database. Although I know the Oracle table columns are Numeric, this was the only SSIS type that worked). My problem is that I want to use these variables in expressions, but can't - I get the error "The data type of variable &quo ...Show All
Software Development for Windows Vista running legacy VC++ applications on Vista
Hi friends, We have legacy application VC++ (COM) built using VC 6.0 on XP machines. On trying to run this on vista,we are bumping into various issues. I want to be able to debug (5308 build) the application on vista. I tried installing VC 6.0 on vista, it doesnt work and our code doesnt build using VS 2005. I tried making debug build on XP and tried running it using VS 2005 on vista. VS 2005 on Vista ( 5308) complains that it cannot load deb ...Show All
SQL Server how is top % filter used?
ok question was stupid i know. i still want to know how the filters work and an example for each filter option would be great. why can't all documentations be like msdn library the built-in documentation shipping with reporting services is just too advanced for moi. The alternative is to make sure it takes the value as a numeric by preceeding it with an equal sign. Without this post I would have spent a ...Show All
Windows Forms Can't update database with a non-admin account
Hi All, Thanks in advance for any help. I'm writing a simple c# application for my home pc that writes to an Access database on Windows XP Pro. The Access database is stored in the "CommonApplicationData" location (c:\documents and settings\all use ...Show All
SQL Server SQK2K - Linked server security.
We are trying to link an SQL2K server (Running in mixed mode) to an SQL2K Server (Running in Windows only mode). In the properties I have tried putting (in Local server to Remote server mappings on the security page)my own dm\JohnDoe to dm\JohnDoe as both servers are in the same domain. In Enterprise Manager I can view all databases using my windows authentication - I have checked the Registration properties and both are set to Windows A ...Show All
Windows Forms Record Begin Edit Event
I want to enable a "Cancel Update/Add" button and Save button when a user makes any change to a record. Is there anyway to know when a user begins editing a record besides TextChanged and similiar events I have tried the RowChanged/ing of the Datatable and other events with no luck. Thanks Simmy http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=324160&SiteID=1 ...Show All
Windows Forms The v2 DatePicker doesn't support null databinding (bug?)
The following code (which is a simple test windows form - visual studio team 2005 system beta 3 refresh) demonstrates what I believe is a bug in the DatePicker control. When a datepicker is bound to a binding source set to an object, properties of type DateTime that are null are not updated when the user (at runtime) changes the date. This is a real pain; and, frankly, makes the date picker useless to bind to database-derived datatables w ...Show All
Smart Device Development NumericUpDown only work with Int16 values
Visual Studio 2005 (not a beta version) Somehow I can only use Int16 values in CF NumericUpDown. On the desktop I can use any values. If I input 100000 in the NummericUpDown1 then the Textbox1 recives the value of -31072. Any value input in NumericUpDown, that is greater than MaxInt16 will convert to an Int16 value. Am I missing something here I MSDN help I can only find that NumericUpDown should support Int32. ...Show All
Smart Device Development Application Verifier for wm5, where?
Where does one find this elusive creature - the fabled AppVer for wm5 - in the deep depths of msdn search Doug Boling said "real soon now", but that was a half-year back. There currently is not a version of App Verifier specifically available for Windows Mobile 5.0. That said, you may be able to use the version included in the Windows CE 5.0 Test Kit to attach to WM5. The CE 5 test kit is availabl ...Show All
Visual Studio Express Editions problems getting the registration code
where do I get the registration code I clicked the register product button, then it asks me for my passposrt password I insert it, and then it sends me an e-mail stating:it'all ok, you have registered, but VC# Express continues complainig about not being registered How can I solve this How did you install the product... If you installed using the iso download then you do not have to register (Item ...Show All
Visual C++ Simple C++ App [For VB 6.00 Programer !]
The Hardest Part That I Couldn't For Me In C++ Is The Use Of Controls ! If You Can Help Me And Tell Me How Could I Write An App Very Simple .. Like This In VB 6.00 : Private Sub Command1_Click() T ext3.text=val(text2.text)+val(text1.text) End Sub Thank You Very Much You can't use a forum like this to learn C++ - here is a list of good books: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=107484&SiteID=1 ...Show All
SQL Server Problem in SQL 2000 Analysis Service installation on windows 2003
I am installing SQL 2000 analysis service on Windows 2003 but when the installation bar reaches to its completion, it closes down without any warning. I can see the directory created but no related service or icon is created. Also there is an error message in the even viewer. Faulting application _INS5576_MP, version 5.53.168.0, faulting module,oleaut32.dll, version 5.2.3790, fault address 0*00060484 Hard to say what is going on. You ca ...Show All
