anand_CE's Q&A profile
SQL Server How to insert data with single qoute?
Hi guys, Anyone of you kindly reply on this. Thanks guys, Make the single quote as double-single-quotes: select 'Chris '' s' will select, Chris's Hope this helps, -chris ...Show All
Windows Forms Client metainfo
Hi, Is there any metainformation available to the clickonce deployed client I mean the files listing of the application manifest and the download status for each item. I have 3 possible scenarios 1. Large application with a lot of assemblies is split into different groups to speed the startup of the application. Most of these groups are optional.  ...Show All
Windows Forms Have a question about TrackBar?
hi, everyone :) in vs.net2005 C#, How to sets the TrackBar Control style and looks like Windows MediaPlayer9 thanks. ...Show All
Software Development for Windows Vista use of Activity.Save( ) method?
hi there ... i hav a few question regardin Windows Workflow foundation library n itz classes! 1) every Activity class comes equipped with a method called Save( ) ... but none of the activites, Base Class Activities, like code n all ... are serializable then wat is the purpose of this method 2) does framework uses this method to generate the .xoml file thx Muhammand - not sure if you are still interested in the answer - but you need to provider a SurrogateSelector for the SOAPFormatter - this is how WF serializes an Activity graph without have the types markes as serializable. There is a Acti ...Show All
Visual C++ VC 7.1/8 difference with templates
VC7.1 fails to compile the code below, with the error "no appropriate default constructor available", when the template qualification in red is omitted. However, VC8 does compile it. Which compiler is behaving correctly Thanks, Keith MacDonald template<typename T> class Base { public: Base(T n) : val_(n) {} T val_; }; template<typename T> class Derived : public Base<T> { public: Derived(T n) : Base <T> (n) {} }; int main() { Derived<int> d(7); return 0; } While I can't give a definitive answer, in looki ...Show All
Visual C# IDE taking forever to get in and out of debug mode
I have a pretty small app written in C#. At first - when I was building the form, IDE performance getting in and out of debug mode was fine - about the same as with VS2003. But now - without adding too much additional code, the IDE is acting really sluggish. I measured the time to start the app in debug mode - the time measured from when I hit F5 until the form was display was 72 seconds, and the time getween closing the app and when the IDE was active again was 59 seconds. Also just switching between the code and the design tab of the main form takes a long time. Is anyone else seeing similar behavior Its making ...Show All
Visual Studio Express Editions registratiojn benefits are....where?
I've installed and registered vs express. My confirmation email said " Accessing your registration benefits is easy. Simply go to the Registration Benefit Portal for further instructions. Your registration benefits and offers will be available starting on November 7, 2005. Check the Registration Benefit Portal regularly to access new and updated benefits. " I go there but....nothing! any ideas thanks danieldp G'day all. I tried it this morning and there was no problem. This is the link: http:// go.microsoft.com/fwlink/ LinkId=52054 Just a thought. Do you have a .NET passport setup Hope that help ...Show All
Visual FoxPro creating tables programmatically-some questions
I have decided to create some tables programmatically since they most likely will be used temporarily. I do have a number of questions pertainint to CREATE TABLE paramaters. I could not find any explanations so far to figure out what they meant. First I assumed that CODEPAGE should be 1252 (Windows ANSI). Is it the right choice I want to create tables FROM ARRAY arrName I understand that arrName is a 2-dimensional array with the same number of rows as you've got fields Right The number of columns is 18 since CREATE TABLE command expects at least dummy values for some of the elements of arrName . I got this idea from readin ...Show All
SQL Server Back-up DB but keep the files for 3 days?
Hi I have created a job to backup all our database. It works fine and creates .bak files in default folder. I have scheduled the task to run every 4 hours. My question is how can i modify or program this backup plan to keep the backup files for only last 3 days and delete older backup files Mits That's simple. I assume you are using SQL Server 2000. If so, in Enterprise Manager, Expand Management node, select Database Maintenance plans. Right click the maintenance plan and select properties. Go to the complete backup tab. Change the "Remove files older than" option to read 3 days and clic ...Show All
Software Development for Windows Vista Synchronization of Workflow instances?
I would like to know if there is a possibility to synchronize after asynchronously workflow calls. Consider the following situation: I have an invoke workflow activity inside a while activity. The workflow is invoked n times, until the condition of the while activity evaluates to false. From the view inside the while activity the asynchronous workflow call is required, but from the view outside I would like to know the point of time, when all of the workflow instances have been completed. Any ideas You can use a local service to communicate between the two items, having the called workflows call a met ...Show All
Visual Studio Team System Any Tutorial available for learning VSTS
Hello, Although i have searched and read many formum queries and material and hav gained a little knowledge about VSTS, but could I get a complete A-Z tutorial for the same subject from Testers Prespective. The tutorial may include how to start testing with VSTS, How to run test and how to report errors etc.. as main topics. This would be really helpful for future also. Waiting for the same Thanks in advance Sandhya Sharma Please checkout this help link: http://msdn2.microsoft.com/en-us/library/ms182514(VS.80).aspx This link will provide you with walkthroughs for a number of common tasks for each test type(unit, we ...Show All
SQL Server Performance difference
Hello, i'm running 7 same HW&SW configured servers with the same load with SQL Ex 2005 SP1 installed. I'm executing SP over 200.000 times a day. And here comes the problem, every server got different average response time, the quickest executes the SP in 1 ms, the slowlest in 50 ms, that's 50x slower! Have you any performance hint, please Thank you. Thank you Andreas for your kind help. This is great idea! However i don't know how to reach SP execution plan in application runtime or some log option (not in Management Studio). Have you any suggestion, please ...Show All
Visual FoxPro Working Folder
With VFP 3.0 I always checked whether the EXE folder sys(16,0) existed in the same folder as the current working folder set("default") + curdir() . If they did not match then I knew that CONFIG.FPW would not be read. So I would exit and display a message telling the user to modify their shortcut. Is there any way in VFP 6.0 and newer to make sure CONFIG.FPW is read regardless of the current folder or method used to start the program ================== I also used the following method to check if the EXE was already running. To prevent users from accidentally running the program twice and accessing the same set of data files. set libr ...Show All
Visual Studio Express Editions how to associate a file format to my vb application?
how can i do file association using vb express to allow user to double-click and open the specific file format in my vb application can this be done using click-once ClickOnce is not capable of creating file associations. You can create file associations in code when the application starts as long as the user gave the application full permissions. See this information: http://msdn.microsoft.com/library/default.asp url=/library/en-us/shellcc/platform/shell/programmersguide/shell_basics/shell_basics_extending/fileassociations/fa_file_types.asp You can ...Show All
Visual Studio Team System Team System Beta 2 install error 26105
Encountered the following error message at the very end of the team system server install: Visual Studio 2005 Team Foundation App-Data Tier Beta 2 Setup : The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 26105. This is a clean single server install following the latest VSTF install guide using a Virtual Server 2005 with a Virtual machine running Windows 2003 Server. Any recommendations We resolved the problems we were having (See post http://forums.microsoft.com/msdn/ShowPost.aspx ...Show All
