Paulustrious's Q&A profile
Software Development for Windows Vista local service problem
I designed a local service for externaldataexchange but when trying to set the callexternalmethod activity's interface type, cannot see the my service. what can be reason thanks Hi, Madenci I'v had the same problem before, and the only thing that helped was rewriting the interface. I'm not sure, but I think it's a bug in the designer. Correct me if I am wrong. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Is there any way to tell if a sampler has a texture attached in shaders?
Is there any way to tell if a sampler has a texture attached in shaders The default behavior is getting black when no texture attached but I want it to be some other color. It's defined for at least DX9 & DX10 (not quite sure about previous versions of DX). From "texldl - ps" doc: If a shader program samples from a sampler that does not have a texture set, then 0001 is obtained in the destination register. ...Show All
SQL Server How to get Remote Backup
Is there any way that i can get backup from other(Remote) location on LAN Thanks Hi, you already did this in your other post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1194939&SiteID=1 BackupDeviceItem bkpDevice = new BackupDeviceItem(openBackupDialog.FileName, DeviceType.File); Replace the openBackupDialog.FileName with the UNC name. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Studio 2008 (Pre-release) Upgrading to Vista... Should I uninstall .NET 3.0 first?
In the process of learning WPF, I have installed .NET 3.0 and the Visual Studio 2005 extensions. In preperation for upgrading my OS to Vista Ultimate, should I uninstall the older .NET 3.0 first Also, to get the newest VS 2005 extensions (Orcas, Cider, etc.) should I uninstall the older versions of these extensions first Thanks in advance! Take a look at my blog http://blogs.msdn.com/martintracy/archive/2007/01/24/developing-wpf-applications-with-visual-studio.aspx for instructions on developing for Avalon in Vista with Visual Studio 2005. ...Show All
Smart Device Development Text to speech on smart device
I projected about Text to speech, Could I ask you some questions I only need a file Interop.SpeechLib.dll to program, Do I not need to install any software Can I program Text to speech on smart device like pocket PC Thank you so much for your help. I have project about Text to speech on Pocket PC, I use reference Interop.SpeechLib.dll to develop project, but it has some problems. Is it available to program Text to speech project on Pocket PC What do I need to deploy my project What components or programs do I need to install on Pocket PC Thank you so much for your responses :-) ...Show All
Internet Explorer Development Address bar on Popups won't go away
I have an INTRANET application running through an IFRAME on an HTA. Each user in the company installs the HTA on their client machine, and the HTA fills its IFRAME with the intranet app. The problem is, since installing IE7 on client machines, any popup windows (via window.open) always show a grayed-out version of the address bar. We have the window.open set to "address=no" just like always, and, YES, we have set IE7's new zone settings to always allow popups without address bars in Intranet zone and all zones (out of frustration). If we launch the intranet app in a regular IE7 webbrowser, the popups do NOT show the address bar, just like we want. But once we browse to the same page through the HTA, it goes back to putting the gr ...Show All
Visual Studio Tools for Office Outlook 2003 TaskPane ???
Hello I had a couple of questions to ask. We are using and targetting outlook 2003 using VSTO and C#. Q1. Is there only one built-in task pane in outlook 2003 Q2. Are we allowed to add/display custom task pane in outlook 2003 Q3. Can we add windows form controls into built-in task pane in outlook 2003 Cheers Imran Hi Imran, You can't customize task pane in Outlook 2003, but maybe you can create an windows form that will look like a task pane. Check this post . ...Show All
SQL Server Reset a database
Hi, I have red this thread while I was searching an answer to my problem. Basically when you develop an app. you do some testing to check if everything is fine. When the testing is done you have primary key seeds starting from a number x which is not 1, as it is when the db is newly created. I read about the truncate instruction (which I knew from mysql) but I can't perform the query because of the presence of a foreign key constraint in another table. So I thought, maybe there is a way to tell the DB engine to disable FK checks while I do the truncation, but I can't find it in the documentation. So the question is: using SQL EXPRESS what is the quickest way to reset the db state to its initial state, where all the primary key seeds were ...Show All
Smart Device Development An internal error occurred in PlatformVerificationTask
Hi I get an 'internal error occurred in PlatformVerificationTask' warning when I build, but the code is still able to execute. There aren't too many people reporting this warning. So, it must either be very rare or there must be a quick fix to it. Ok, here is more detail concerning this warning and my project: 1) The project type is a device application for Pocket PC 2003 and is written in C#. I am running .NET Framework 2.0, .NET Compact Framework 2.0 and OpenNETCF 2.0 beta. 2) I am running VS2005 version 8.0.50727 (RMT.050727-4200) 3) The project was originally upgraded from VS2003 about two months ago, but this warning started showing a week ago. 4) The warning started showing after I added localisation to the project. This i ...Show All
Visual C++ Extracting a random number in (0,1]
Hi everyone! How can I extract a random number between 0 and 1 (0 excluded) in c++ Thanks! But it is not evenly distributed you will get values between 1/1 and 1/RAND_MAX. Starting with 1/1, 1/2, 1/3 ... That RAND_MAX-2 values you method will produce values <0.5! To get evenly distributed values you need: double rnd = (static_cast<double>(rand())+1)/(RAND_MAX+1); ...Show All
Visual C# error when trying to build a solution...
I am building a solution in c#, in vs2005. I removed all the files concerningn with KPIFeat.cs but somewhere there must be a reference to this KpiFeat.resx, i would like to remove it but i dont know how to do it. Error 1 Unable to create a manifest resource name for "Forms\KpiFeat.resx". Could not find file 'D:\Documents and Settings\Alfonso\My Documents\Aplication\Code\AppGSM\AppGSM\Forms\KpiFeat.cs'. Fositron wrote: I am building a solution in c#, in vs2005. I removed all the files concerningn with KPIFeat.cs but somewhere there must be a reference to this KpiFeat.resx, i would like to remove it but i dont know how to do it. Error 1 Unable to create a manifest resource name for " ...Show All
Software Development for Windows Vista Vista beta 2 would not install
I was using Vista Beta 1 and had reinstalled it a few times and but had to stop using it after the last time I tried to reinstall, it just went into a reboot loop and refused to complete the installation, I found out that many others were having the same problem at that time and there was no solution available. I just got beta 2 and tried to install it thinking that the issue would be solved with this release but it still goes into a reboot loop. I would really like to start using Vista again so if anyone has been able to figure out a solution to this problem please let me know. Thank you very much. Ed ...Show All
Smart Device Development Constantly having to repair Compact Framework 2.0 SP1. Is it because I recently installed NET 3.0?
An application targeting CF2.0 SP1 works intially. When I try to run the application again after rebooting the device it says "This application requires a newer version of the Microsoft .NET Compact Framework than the version installed on this device". Checking the installed programs shows that the compact framework is still installed on the device. I've recently installed the .NET 3.0 Framework on my development laptop after a clean reinstall of Windows. That is the only major change to my machine recently, but it is hard to see why that would interfere with the smooth running of CF2.0 SP1 on the device. This happens on devices using Windows Mobile 2003 SE or Windows CE 4.2. which are supposed to be OK with CF2.0 SP1. The onl ...Show All
Visual Studio Team System SMTP Server with non-default port configuration
How do I configure TFS and SharePoint Services to use SMTP server with non-default port I tried setting server name to mail.mydomain.com:587, but it does not seem to work. Is it possible at all There is no direct way to configure the SMTP server port. The value that you specify in the web.config file for the smtpServer is passed directly to the System.Net.Mail.SmtpClient constructor. While it is possible to use a form of the constructor that takes both the SMTP server name and port, that is not what we do in V1. We have a change request tracking the need for explicit control over the port in a future version. A workaround is to leverage IIS SMTP service on the TFS AT as a relay server. You would set u ...Show All
Visual Studio Microsoft Unit Testing Framework?
Hello, If I am using the Standard or Professional editions of Visual Studio 2005, can I make use of the unit testing framework provided by the Team Suite For example, is this Unit Testing Framework available (and legal) to use outside of the Team Suite (i.e. Team Edition for Software Developers or Team Edition for Software Testers) If so, where can I obtain a copy (or SDK) that can be downloaded and used with my Professional installation I am not looking to get all of the features out the Team Suite into my Professional installation, just the ability to write some unit test classes and have them run in my build script. Would like to continue to use Microsoft tools, but I guess an alternative would be to use NUnit. TIA No ...Show All
