OberCanober's Q&A profile
Windows Forms format date in bound control
How do you format date (to dd/mm/yyyy)in a control bound to a datetime database field with this code: this.txtFollowup.DataBindings.Add(new Binding ("Text, dsData["Results"],"Followup")); Me.OrderedByTextBox.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.BindingSource, "OrderedBy", True, System.Windows.Forms.DataSourceUpdateMode.OnValidation, Nothing, "mm/dd/yyyy")) ...Show All
Visual Studio Matrix table linked to MS SQL Server 2005
Hello all, I'm working on an application which generates reports using microsoft reporting services linked to a MS SQL Server 2005 Database. These reports concern information about the performance of a callcenter. I have some basic reports finished already but now the tricky part comes into view. Fact is that i don't have a lot of experience regarding reporting services. Now i want to make a report looking like a giant crosstable. It uses multiple datasets which calculate values separetly. It has to look like this: http://img96.imageshack.us/my.php image=crosstable0yv.jpg The green parts are all read out of the database. The blue parts ha ...Show All
Visual C++ Whidbey: Cross-compilation for IA64
Hi, This is regarding Whidbey IA64 support. I am trying Cross-compilation for IA64 on i386 box as Whidbey is not supported on IA64 platform. But having problem doing it: C:\Documents and Settings\v023201>"d:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat" x86_ia64 The specified configuration type is missing. The tools for the configuration might not be installed. C:\Documents and Settings\v023201> Also tried with ia64 flag: C:\Documents and Settings\v023201>"d:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat" ia64 The specified configurat ...Show All
Visual Studio Team System Database Schema explanation. Anyone?
Hi, Does anybody know where to get an explanation of the entities in the TFS databases What are all the tables, and fields e.g. I want to track work items by team project. Jean-Pierre Thanks. In sum, TFSWarehouse is the only "public" database. You will be publishing documentation on the schema of TFSWarehouse. Jean-Pierre ...Show All
SQL Server Is BOL incomplete or incorrect? YOU can make it better!
If you think that the BOL page you're reading has incorrect or incomplete information, you can make it better by using the Send Feedback link that's available on every page. It's easy for the SQL Server documentation team to miss documentation issues buried in newsgroup and forum postings. But when you use the Send Feedback link, an automated process creates a bug in our database and assigns it directly to the owner of the individual topic on which you've commented. Now there's no way I can miss it. And my boss sees it too. Please help us to make SQL Server Books Online better by using the Send Feedback link whenever appropriate! Thanks ...Show All
SQL Server INSERTs given me the BLUES
cstring = cstring + "VALUES('%" + txtWatchID.Text + "%','%" + txtcenter + "%'" & _ cstring = "INSERT INTO tblNEW (watch_id, service_center_num, repair_envelope, store_number" cstring = cstring + "date_purchase, transaction_num, cust_fname, cust_lname, product_code" cstring = cstring + "value_watch, failure_date, service_date, failure_code, repair_code" cstring = cstring + "service_request, store_number_senditem, register_number, street_address" cstring = cstring + "city, state, zip_code, area_code, phone_num, product_desc, service_center" ...Show All
Visual Basic Help on Classes
Hi, I am developing an IT Asset Tracking application using VB 2005 and SQL Server 2005 Express edition. Will I need to create classes to represent objects such as Computers, Printers, Scanners/Faxes, Contracts, Purchase Orders etc or are there any other approaches. For example, if I am correct, I will have a class called Computer and its properties will include Make,Model,CPU,Hard Disk,Memory etc. Is this the right approach. Computers can be split up into Desktop PC's, Servers and Notebooks. Would I have to create separate classes for these as well or would they be ok under the Computer class Once I create an object from the c ...Show All
Visual Basic SignTool reported an error 'An internal certificate chaining error has occurred.
I am new to code signing. After I swtich from the temperary test certificate to a real certificate from a CA, when I publish, I got two errors "Error 1 Cannot publish because a project failed to build." "Error 2 SignTool reported an error 'An internal certificate chaining error has occurred. '." and when I checked "Sign the assembly", when I build, it asks for a password, after I entered password, it says "Cannot find the certificate and private key for decryption" Help me. Thanks Wei Hi, Our application doesn’t pass test case 5 (signed files and executables) and I’m not even sure it passes test case ...Show All
Visual Studio SLN file for web service in VSS does not appear
I did a web service, then I wanted to put that web service into VSS. Everything is good. BUT, when I open VSS I do not see sln file or any other project file. And, of cause, when someone else tries to get the project from VSS nothing happens because there is no any project file... What to do how to say VisualStudio to put sln file into VSS along with source code Hi Dima, If you really want to add the sln file to the VSS database you can open in VisualStudio the Tools/Options/'Projects and Solutions' dialog and check the checkbox "Always show solution". This will make the solution visible in SolutionExplorer window. You will ...Show All
.NET Development How to enable DataGridView updates for xpath extract results
Hi, I wrote a program to extract part of XML elements, fill in the dataset with extracted elements,and display them in dataGridView (C++). for example : to extract only ADDRESSES and display the Id,Street,Postcode, city and country as the table columns in dataGridView <MEMBER> <GENDER>FEMALE</GENDER> <AGE>35</AGE> - <ADDRESSES> - <ADDRESS> <ID>1</ID> <STREET>cranbrook ave</STREET> <POSTCODE>1231231</POSTCODE> <CITY>NOTTINGHAM</CITY> <COUNTRY>UK</COUNTRY> </ADDRESS> - <ADDRESS> <ID>2</ID> <STREET>W ...Show All
Windows Forms Property Grid - displaying nested properties
Hi ! Consider the following class definitions: Class Student { //members public int m_Age; public string m_Name; //Properties public string Name{ get{return m_Name;}} public string Age{ get{return m_Age;}} } Class School { Student s1; string m_SchoolName; School() { s1.m_Age = 14; &nb ...Show All
Visual C++ upper_bound()
I'm using Visual C++ Express edition at the moment. I'm using the STL function upper_bound but under debug release version I'm having issues with the function. In xutility the following block of code is defined: template<class _Pr, class _Ty1, class _Ty2> inline bool __CLRCALL_OR_CDECL _Debug_lt_pred(_Pr _Pred, const _Ty1& _Left, const _Ty2& _Right, const wchar_t *_Where, unsigned int _Line) { // test if _Pred(_Left, _Right) and _Pred is strict weak ordering if (!_Pred(_Left, _Right)) & ...Show All
Smart Device Development HOWTO: cast data-type to another, which is only known at runtime
Hi there, I'm writing my first bigger program with VS2005 (C#) and CF 2.0 (means I'm a newbee to .NET!). I have a problem which I can describe in simple words like so: I wish to convert the Returnvalue of the System.Data.DataRow Indexer (e.g. object outValue = row[index]) (which is generic System.Object) to the specific Data-Type of the DataColumn at RUNTIME! Is this possible and how can I acomplish that Any help is VERY appreciated! Thanks in advance and greetings Reiner Well, I know that and I can update template to use same name but looking for some out of box soluti ...Show All
SQL Server Source code for the standard SSIS components that come with SSIS?
Hi, I'm finding that the standard components often just don't quite meet my needs, but would only need some fairly minor changes to save me and my team a lot of work (and produce more elegant solutions). So I was just wondering whether the source code was available for the standard components that come with SSIS, or if there is anyway to extend their functionality Or do you just have to start form scratch Thanks, Lawrie Thanks Bob - I thought that was probably going to be the case, but thought I'd ask just in case... ...Show All
Visual C# How to add folders into .Net's install shield?
Hi friends, I have around 200 folders in my application. Is there any way to add these folders hierarchy into my .net2005 installation project by giving the parent folder name\\*.* Please its urgent..... regards, Hi, Based on my understanding, you have a structured folder of files in your project, and you want to deploy to your client. If I misunderstood, please feel free let me know. Based on my research, we can not add a folder in the .NET Setup Project. But when you add Project Output , you can check Many Options, e.g. Primary output, Content files, please check more as possbile that will help to deploy th ...Show All
