Jan Byvaly's Q&A profile
Visual C++ VC++ 2005 redistributable (vcredist_x86.exe etc.)
Hi there, I noticed that the Beta 2 redistributable is hosted on the Microsoft download library, but the final ones seems not to be. Will it be hosted on microsoft.com (or is it already somewhere ). Also, it has been reported to me that on Windows 2000 the (RTM) redistributal gives an unuseful error message if Windows Installer 3.1 is not installed. The message is error 1723. "A DLL required for this install to complete could not be run." . It would be a lot more helpful to my users if this was a more informative error message - the solution of installing Windows Installer 3.1 was only found by trial and error. Thanks. Nikola. I spent the last two days making my own bootstrapper application (wh ...Show All
Visual Studio Express Editions Line numbers
Hey, Is there a way to make it show the line numbers in Visual C# Becuase unlike Visual Basic express it is not there... Thanks :) ...Show All
Visual C# Speeding up pixel loops - speed of Math.Pow() ?
Hello, I'm writing a simple color corrector to teach myself C#, and have come across a couple of performance problems. First, I am using Bitmap.LockBits to loop through the pixels (this part seems fast enough!). The problem I am having is having to do if statements in the loop to clamp colors if they're out of range (0-255), and also it seems Math.Pow( ) is really, really slow (which forces me to do an additional if inside the loop, even!) Here's sample code (for blue, so this is repeated for red and green as well) for the math performed per pixel, per component: if (tmpBlueGamma != 1.0) { tmp = (float)((Math.Pow((double)(srcR[x * pixelSize] * toFloat), tmpBlueGamma)) * tmpBlueGain + tmpBlueOffset) * 255.0f; } else { ...Show All
Visual Basic String$ versus String
A fellow developer uses "string$" but has no idea why he uses it. So I pose this question to the pros because I've always used "string". What is the difference between using "string$" and "string" The type suffixes on functions, like String$ and Chr$, and variables, like A$ or C1$, come from the original BASIC language specifications. It's outdated usage now in .NET although it was important in VB6 where on functions it indicated the difference between a variant based function and a string based function. ...Show All
.NET Development migration from VS2003 to VS2005 - WSDL - "anyType" Error
I have done a migration of a solution in VS2003 to VS2005. The solution is a server from a client-server applications. Solution contains some web-services, which runs ok in VS2003. Solution must be used in ASP.NET 2.0 on a 64-bit machine. The migration and deployment went well, but there are some errors. The client application (on NET 1.1 and 32-bit machine), is connecting ok to the server application (.NET 2.0 and 64-bit machine), but for some functionallities, an error raised only on client side: System.InvalidOperationException: There is an error in XML document (1, 1553). ---> System.Data.DataException: Undefined data type: 'anyType'. at System.Data.XSDSchema.FindNameType(String name) at System.Data.XSDSchema.HandleElementC ...Show All
Visual Studio 1> "Problem" in the Visual Studio Output window
I have reinstalled Windows recently, and also reinstalled Visual Studio 2005 Professional. When I compile some C++ code, each compiler output line has "1>" (one, greater-than sign) in front of it. I don't remember seeing this previously. Is this supposed to happen I want to be sure that no strange error occurred when I reinstalled everything. Sorry; I figured it out myself. It has the multiprocessor build feature enabled. "1>" indicates that CPU 1 is compiling. I upgraded to a dual-core processor, but I didn't expect that to change Visual Studio's behavior at all. ...Show All
SQL Server Infinitive recursion for my AS2000 calculated member
Hi, Can someone please help me on this. I get following error when I browse my virtual AS2000 cube: <Infinite recursion detected during execution of calculated member Sum({Descendants....> I have implemented a 'dummy' utility dimension with one calculated member: (I have used a parentchild dimension because that's only way I know how to get the formula a from source view): -- view [dbo].[vdimUtilityCalculation] as select 'CalculationID' = 1, 'ParentID' = 1, 'CalculationName' = 'Currency', 'Formula' = 'Sum({Descendants([Period].[Quarter].CurrentMember, [Month])},IIF([Currency].CurrentMember.Properties("Fixed") = "1", [Amount Fixr], [Amount Flor]) * ValidMeasure([Rate]))', 'MemberOption' = 'SOLVE ...Show All
Visual Studio 2008 (Pre-release) Hosting Cider Designer in my Application
I read that today I can't host the cider designer in my own application, it will be possible in the future to hosting the Cider designer in my application outside visual studio Regards, Gaston In my opinion, it would be better if you'd make the Cider Designer Hosting classes to not be internal. Say that you just don't give support/docs for it. That way, we would still have the option to host the designer, but one would have the find the details out by themselves. ...Show All
Visual Studio 2008 (Pre-release) Quick NetMsmqBinding question
Hi guys, I have a quick question about the NetMsmqBinding. I knew the answer to this at one point but managed to forget and now I'm having trouble finding the answer again. For the NetMsmqBinding, the queue needs to be on the Service-side right Can you use a queue on the Client-side or on a third machine Thanks, Ting Sure, you can have a Queue on both ends (Client and the server) for a Two-way communication. There is a sample in the SDK docs for this. Basically, you send messages to the Queue on the Server and the server responds back to the Queue on the client with a response. ...Show All
Smart Device Development checking User name, password, domain in Windows CE, .NET compact 1.1
Hello, I'm writing an application that stages some software on a terminal. This is being done on Windows CE 4.2 and .NET compact 1.1. As part of the process, I need to confirm that the User name, password, and domain (information may be found on the Network ID tab under Owner in the Control Panel) are all valid. I tried making an API call to LogonUser, but I got a NotSupportedException. Are there any other means of validating this information Thanks in advance. Look up this blog: http://blogs.msdn.com/cenet/archive/2006/07/27/windows-ce-on-the-domain.aspx ...Show All
Visual Studio VS SDK and TeamSystem source control problem
Hi, After installing Visual Studio SDK, C# project files in my solution are taken in checkout if a build the solution. I'm the only member of our team that have the SDK installed. I look at what is added to project file when I build a solution with the SDK installed. The following XML is added to the prj file: > <ItemGroup> > <Service Include="{B4F97281-0DBD-4835-9ED8-7DFB966E87FF}" /> > </ItemGroup> Is there a way to avoid this modification to prj file Thanks We believe we've finally fixed this one for Orcas RTM We no longer mark solution files at all, and we now only mark individual project files when you actua ...Show All
Visual Studio Team System Adding a Timer or Stop Watch in Visual Studio
Hi, What are my options for creating a Timer integrated with Visual Studio Thank you, Swatantra Hi, If you are rely on Work Items of VSTS to do this, then I think that datetimes are tracked for Work Items and you can query the history: Work Item Revision History http://msdn2.microsoft.com/en-us/library/aa399018.aspx In fact, I think that VSTS should provide reports of all that activity so you can infer statistics without creating further addins or code. ...Show All
Windows Forms Creating Microsoft Windows Installer (.msi) file from VS2005 project
Hi, I could not find a clear answer to the following question so I hope someone on this list/group could offer some advice. Can anyone suggest suitable examples/walk through documentation or even general documentation I can read or try that describes the VS2005 process for creating an .MSI file from a project I am creating. The project is to be fully standalone running on client machines however it requires .NET on the client machine and uses .NET Programmability Support for MSWord2003. I can currently install the published project (directory of .exe, .dll files etc...) which gets and installs the .NET framework from the microsoft site and requires manual intervention to add .NET Programmability support. I want to know if it ...Show All
Visual Studio Express Editions Changing a text feild value
When a user clicking a button, how do i make it so that a certain value is added to a text feild System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { textBox1->Text += "howdy"; } ...Show All
SQL Server Bug?? Transfer SQL Server Objects Task - error when copying Views
I'm trying to copy data over using a Transfer SQL Server Objects Task however I get problems trying to copy over views. I get the similar error (pre sp1) when using import/export wizard and copying over views. Now with SP1 the views just don't transfer. I'm transferring from SQL 2005 to SQL 2005. The error I get is: Error: 0xC002F363 at Transfer Data (NEW), Transfer SQL Server Objects Task: Table "vw_XXXX" does not exist at the source. Task failed: Transfer Data (NEW) I know the view exists at the source because: A) I can select it in the Views List Collection within the Transfer SQL Server Objects Task B) I'm using the view on the source Somehow the views are not transferring. Anyone have any ideas ...Show All
