Justin C's Q&A profile
Visual C++ I receive the Microsoft Visual C++ Runtime Library Runtime Error when using Sony's Click to DVD software
Recently, when trying to create DVDs with Sony's Click to DVD program I get the message: "Microsoft Visual C++ Runtime Library Runtime Error This application has requested the Runtime to terminate in an unusual way." I am taking DV video and trying to make home movies as I have many times before with the same program. For some reason beyond me I no longer can. Has anyone else had this problem and knows how to fix it. Or does anyone know where a nice fella like me can get English support for a Japanese VAIO (On a side note, does anyone else think that it's ridiculous that I cannot ask the Sony.com support site for he ...Show All
SQL Server Programming SQL Express to SQL 2005 replication
Hi Everyone I have a huge problem after I noticed that SQL Server Agent has been removed and need your advice about how to program replication between SQL Server Express and SQL Server 2005 So far I have encountered the following problems SNAPSHOT 1. When I created my snapshot Irealized it wasnt running. I then read from the documentation that i had to resort to the Windows Synchronization Manager as there was no SQL Server AGENT within SQL Server Express to accomplish this function I did this and it worked but wouldlike to control this programmatically as well REPLICATION 2. Now I have a standalone SQL Server ...Show All
Visual Studio Team System Strange exception when running tests
When I tried to run my tests I have this strange error: Managed Debugging Assistant 'LoadFromContext' has detected a problem in 'C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\vstesthost.exe'. Additional Information: The assembly named 'Microsoft.VisualStudio.QualityTools.ExecutionCommon' was loaded from 'file:///C:/Program Files/Microsoft Visual Studio 8/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.QualityTools.ExecutionCommon.DLL' using the LoadFrom context. The use of this context can result in unexpected behavior for serialization, casting and dependency resolution. In almost all cases, it is recommended that the LoadFro ...Show All
Visual Studio VSS2005 Internet - Ther was a failure uploading the URL
I've searched and read several threads on this and have checked all my permissions on both the upload directory, the virtual directory and the settings in the .ini file and all appear correct but I'm still getting the error - There was a failure uploading the URL http:// serveraddress /SourceSafe/VSSUpload_db1/ Guid1 / {Guid2 }. Do you want to retry the operation Yes No What's odd is that if I check the physical directory on the VSS server, there are several files in the GUID directory, including the file it's having trouble with. I tried removing the project from source control and adding it as a new project and watched to ...Show All
Windows Forms Host Controls in Windows Forms DataGridView Cells
Hi all, I'm trying to create a new cell within the new DataGridView (.NET 2 Beta). For example, I'm trying to create a cell which contain a RichTextBox, I succeed with the appearance of the rich text box controll but there is a lot of irregular behavior. Does someone did it already(not particular with RichTextBox) and can send an example. Unfortunately Microsoft example in the link below doesn't accessible. http://whidbey.msdn.microsoft.com/library/default.asp url=/library/en-us/dv_fxmclictl/html/e79a9d4e-64ec-41f5-93ec-f5492633cbb2.asp 10X in advance, Nir Oren I have successfully created a Calendar Control (after fixing Microsofts ...Show All
Visual Studio Custom Rules in June CTP
Hi, I migrated nearly all my custom code to the june CTP of the DSL-Tools. But there's still one issue left: How can I "register" my changerules now Putting the "registration code" into the GeneratedMetaModelTypes class doesn't work anymore. Any hints --Ralf Ralf If you add something like this in your DomainModel class (in a partial class) it will reflect on the types you give: protected sealed override System. Type [] GetCustomDomainModelTypes() { return new global ::System. Type [] { typeof ( MyRule ), }; } ...Show All
SQL Server Using Row Count
Pardon my ignorance, but does someone have a step by step guid to include row count transformation in a package. What I want to do is to count the number of rows extracted from the source and the number of source inserted to the target. I have tried to include a row count transformation with a variable defined. But the variable keeps showing 0 after each run Thanks Jamie for this very useful blog on rowcount - http://blogs.conchango.com/jamiethomson/archive/2005/05/29/1487.aspx Hope this helps. Thanks, Loonysan ...Show All
.NET Development reading text files
Hi, What would be the fastest way to read a text file of size >20MB I need to read that log file and then I need to search for a particular string in it. The log file writes each entry in one line. So first I would do ReadLine() to read all the lines, then for each line I would do a .split() and then from resulting array I would read a value at a certain index of the array. Now if you are working with files of that big size its gonna take a long time to do all this and just to complicate things a little bit, I need to read the log files at regular intervals again and again and I need not to read the portion of the file that I have read b ...Show All
Visual Studio Visual Studio 2005 ToolBox not showing Reporting Services tools
Hi, I've been using RS for some time in VS2003 and have had no problems. I tried installing RS2005 tools to VS2005 (release version). I can create a BI project, create a dataset and drag fields onto the Design Body. My problem is that I don't see the ReportingServices items in the Toolbox so I can't create a table, cross tab etc. Am I missing an install step Thanks for any help... Since Report Items can only be added to a report, they will be grayed out unless a report is being edited. Do you mean that they are grayed out when you are editing a report -Albert ...Show All
Software Development for Windows Vista Beta 2 and IIS
I have installed and am running beta 2, But I need IIS running, how do I do it I have not yet installed VS, will that add IIS for me This should help: http://www.iis.net/default.aspx tabid=2&subtabid=25&i=957 ...Show All
.NET Development Trusting to certain network drive
Hello readers, I'm wondering that does .NET Framework (1.1) support a possibility to fully trust to a certain network drive i.e. all .NET code executed via a mapped drive (or even a host, whether it's mapped or not) would be run as fully trusted. Thanks for help, Ville Sure. See Using CasPol to Fully Trust a Share . You can use the same technique to trust a mapped drive: CasPol.exe -pp off -m -ag 1.2 -url file://Z:/* FullTrust -Shawn ...Show All
.NET Development SmtpClient.Send Throws SmtpException when i am using some host
I am using SmtpClient.Send to send emails, the code is like below: string smtphost = "mail.ynet.com"; SmtpClient mailClient = new SmtpClient(smtphost, 25); string alias = "msnpredict"; string pwd = "****"; mailClient.Credentials = new System.Net.NetworkCredential(alias, pwd, "ynet.com"); //mailClient. mailClient.DeliveryMethod = SmtpDeliveryMethod.Network; mailClient.Send(" msnpredict@ynet.com ", " XXX@microsoft.com ", "test", "test body"); the Send keeps throwing a SmtpException with the StatusCode Syst ...Show All
Smart Device Development cannot find 'uafxwced.lib'
Hi, I am porting an application from eVC++ (PPC 2003SDK) to VS2005. I have not been able to link because the this library cannot be found. I do see the file in the old SDK but not in the VS environment. Is that expected This is part of the linker verbose output: Searching C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\lib\ARMV4\secchk.lib: Searching C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\lib\ARMV4\ccrtrtti.lib: Searching C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\lib\ARMV4\corelibc.lib: Searching C:\Program Files\Microsoft Visual Studio 8 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Which C/C++ IDE does Bungie [major studios] use?
Hi, Most importand and the most basic question I'll ever ask! :] I just spent 7 months studying DX for C# only to browse 20 major studios last night and find *to the man* they want C/C++ DX programmers. I'm trying to avoid a repeat. What IDE does a Bungie developer code in Or a Valve programmer If a hardcore game developer is using C++ these days, what IDE is he/she most likely programming in My most basic fear is that if I start learning Visual C++ .NET that that will turn out to be managed and therefore development studio interviewers will say it's slower than unmanaged C++ or something, and that I should have been studying in som ...Show All
.NET Development Catching unhandled exceptions in services
All - Is there anyway to catch unhandled exceptions in a windows service or is this completely impossible These are exceptions thrown from background threads running in the service Thanks. Actually this works and you'll see the assert if the service can interact with the desktop. frefre namespace Service2005 { public partial class Service1 : ServiceBase { Thread thread = new Thread(ThreadFunction); public Service1() { InitializeComponent(); } static void ThreadFunction() { throw new ApplicationException(); } protected override void ...Show All
