Matthew Langley's Q&A profile
SQL Server PDF Export has "line" in Chart
When I export a report to pdf format the charts in the report have a thin white line down the middle. Has any one else seen this and is there a fix ...Show All
Visual C# Problem with passing array to C callback
I have a C dll file where you can register callbacks. In my progress of extending this dll I am having problems getting it working from C# (Visual Studio 2003): My C# prototype is: public delegate int CustomCallBack_pfn( ref T [] pT, ref int nCount); The equivalent C function pointer uses stdcall as it's suppose to for compatibility. What I do is to initialise a C array with 16 fields and then pass it to the callback. The ...Show All
Windows Forms Getting file download event of web browser
How can I capture the file download event of browser in C# when downloading files like pdf, doc, rar, and so on Thanks I am in a similar situation, I would like to capture download events in Internet Explorer. I want to get the URL link that the file was downloaded from.. and the local path to which it was saved to. How can obtain these information Thanks! ...Show All
Visual C++ Conversion problem
I need help again! How do I convert a System::string to a native c++ string and vice versa. Thanks in advance! Hi Exore, I guess you could do it this way: //Dont forget #include <iostream> std::string s = "test"; String *ss = ""; //Converts from std::string to System::String ss = System::Convert::ToString(s.c_str()); //Converts from System::String to std:: ...Show All
SQL Server SSIS capability?
Is there a restartability and ability to skip x number of rows (Restart Logic) in SSIS can ssis allow rollback for unsuccessful completion of load process by record Pls give me example SSIS supports reusability by use of checkpointing. There's stuff about this in BOL and plenty of other pockets of information aroudn teh community. There is no ability to automaticallly skip X number of rows in the pipeline using restart log ...Show All
Visual Studio Team System License Question
I'm not too clear on the licensing of the different Visual Studio products... I have a team of 10 C#/VB developers, and I want to get each of them a copy Visual Studio 2005 (Professional Edition). They'll each need to access a common SourceSafe database, as well as run profiling tools, and I would like to use the new "Work Item Tracking" feature in Visual Studio Team foundation. What version of Visual Studio Team System would I ...Show All
SQL Server Sql Question
I have a table that stores Firstname and Middle name in Field 1 and Lastname and Suffix name in Field 2. I have to seperate the first and middle name and put in 2 fields. But the problem is I cannot just check for the space inbetween. since some first names have spaces in between. And then another space for Middle name. Same with the lastname and suffix. How would I seperate these fields into different columns. ...Show All
Software Development for Windows Vista Can't find MFC lib files for 32-bit apps in new PSDK.
I recently downloaded and installed the Windows Server SP1 Platform SDK. I notice that there are MFC include files and lib files in the installation. However, I can't find any lib files for 32-bit applications. As I understand it the library files in the .\Lib\AMD64\atlmfc\ and .\Lib\IA64\mfc\ directories are for development of 64-bit applications. So which libraries should I use when building a 32-bit MFC application Thanks in advanc ...Show All
Visual C# name for button does not change in click event
I have 2 buttons name btnHonda and btnToyota, but the click event clicks show: private void button1_Click( object sender, EventArgs e) { } private void btnToyota_Click( object sender, EventArgs e) { } button1_Click should be btnHonda_click .....is this a bug with Visual C# 2005 Hi, Ok, I reproduced it. Well, I think this would be considered as by design. On default, the name of the obje ...Show All
SQL Server filter by encrypted field value
I have a table which includes an encrypted field. In the following statement... select cast ( decryptBykey ( Column2 ) as varchar ( max )) as column2new , column1 from testtable where cast ( decryptBykey ( Column2 ) as varchar ( max ))= @p1 I retrieve the (now decrypted) secure column as well as another column and then filter the results by a parameter on the (now decrypted) secure field. Furthermore, if I wanted to sort on ...Show All
.NET Development Least common denominator
Hi, I was wondering if there is a method in the BCL available that calculates the LCD from x integers In case there's not, does anyone have an algorithm at hand which does this Thanks, Tom There is no method in the framework to calculate the LCD or the GCD from a collection of numbers. Least common denominator deals with fractions. Do you mean the Greatest Common Divisor: the largest positive integer that d ...Show All
Visual C# Clickonce Error writing to Hard disk
For the past several weeks i've been having a heck of a time with Clickonce. the latest issue is "An error has occured writing to the hard disk. Check if there is enough freespace on the disk. Contact the application vendor." Checked the space and it all looks ok. In the error report, it states that one of my DLL's alredy exists. It does'nt before i run the application, everything downloads fine, but after th ...Show All
Visual Studio Intallation of VS2005 beta 2
I tried to install the new version on A PC with 2 operation system 1. windows 2000 with VS2003 2. Xp Sp1 clean installation For installation I download the standard edition from MSDN developer site. I tried to install it on the Xp system. I get an error code of 2908 and after press ok I get an error code of 1935 with error regarding it assembly component {18A752B8-D6F4-4F1C-B2EA-CA7876F45A03} Can someone help avi Cohen Scitex vision avi_coh ...Show All
Visual Studio Team System How to define a user group to be the child of another user group in the template?
Is there a way to define a TFS user group to belong to another user group in the template I guess if this is doable it's got to be in GroupsandPermissions.xml Unfortunately I don't believe that it is possible to define nested TFS groups in the process template in V1. (You can do this after the project have been created, manually using Team Explorer and the Project Group Membership dialog.) Note that there i ...Show All
SQL Server HTTP ERROR 401.1 - Unauthorized
Hi I have access to my Report Manager, but i don't can browse to my reports. I use a domain account with permissions of Administrator in my local machine. My Report Server it's running on W2K3, and now have this error: "You are not authorized to view this page" HTTP Error 401.1 - Unauthorized : Acces it'd denied due to invalid credentials. IIS My windows service it's running under a domain account granted with permissions of Administ ...Show All
