Dasaprakash's Q&A profile
Visual Studio Team System Directory Structure - Best Practices Question
I'm sure this is a dumb question, but i'm a little confused about something. I am trying to set up my build machine to be able to build some of our projects (we've moved to TFS for source/version control and work item tracking, but not yet for builds). What are the "best practices" for having all of the required files on the machine to be able to build the sources. Not everything is included in source control for the project being built. Examples of things i'm talking about might be: Output of other projects developed by our team. Output of other projects developed by other teams (or 3rd parties). Includes/Libs from SDKs - WM SDK is the one i'm dealing with right now. I imagine that this can be done quick ...Show All
Visual C# Making a settable time delay in C#
Is it possible to make a delay in the C# code such that if I wanted to make it possible to have a 3 second delay at certain points in the code that would simply hold the code for 3 seconds and then continue on again I am trying to make a program that will take measurements and I need it to run the lab instrument for a set time, and not progress in the code while it is running. I would also like to be able to change the time delay from the user interface rather than having to change the code. Thanks, SVandal Why then if I use "System.Threading.Thread.Sleep(3000);" inside a cycle applying it to every step I get ... { begin big pause final result } ... without any middle positions ...Show All
Software Development for Windows Vista Worked on one computer now SqlWorkflowPersistenceService fails to persist on new computer.
I transferred a state machine ASP.NET project from one machine to another. I created the persistence database from the “C:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Workflow Foundation\SQL\EN” SQL files. I changed the connection strings. Every time I run the web application nothing is persisted to the DB. No errors either. It has been running for months on the one machine with no problems. No code change. Any help would be greatly appreciated. Stan Some of this will be obvious but I'm compelled to ask anyway: Did you verify the config files are the same (if you used configuration to add services to the runtime using the WorkflowRuntimeSection ) Still setting UnloadOnIdle to true on the SqlWorkflowPersistenceService ...Show All
Visual C# how to retrieve addressbook from outlook express from C# or vb.net
hi guys how to retrieve addressbook from outlook express from C# or vb.net if any one has sample code please send me Thanks and Regards this question is inappropriate for the VSTO forum. Moving to "Where is the Forum for..." for re-direction to the best place to ask questions about automating the Outlook EXPRESS part of Internet Explorer. ...Show All
Visual C# "The parameter 'sectionGroupName' is invalid"
I'm trying to create a dataset. I have my database connection set up correctly, but when I try to pull the table into the dataset designer, I get the following error message: Failed to merger object(s). The parameter 'sectionGroupName' is invalid. Parameter name: sectionGroupName. Also, when I try to open the dataset designer for an existing dataset (.xsd file) a blank box appears where the table should be. If I click on the blank box, I get the error message: Mouse click operation failed. Exception has been thrown by the target of an invocation. I've tried searching the KB for these errors but I can't find anything. Does anyone know what could be causing this and how I can fix it Thanks! -Dell I'm just taking a wil ...Show All
Windows Forms How can i take folder locations from registry or settings file and then specify these as installation paths?
I am using the Setup Project in VS 2005 How can i take folder locations from registry or settings file and then specify these as installation paths The registry editor has options to add registry entry but no way to read values. I need to read values from both registry as well as files and use these entries (folder locations ) as the installation paths..please help Basically you need a Search Target Machine for the registry item that's a path, and that gets stored into a property you can name. Then in the File System view, add a custom folder that's got that property name in the Property field and [TARGETDIR] in the defualt location in case there is no registry path found. ...Show All
SQL Server Reportserver virtual directory
On my web hosting server the inetpub/wwwroot folder is located on D: drive, and the web hosting company configured it that way. When i have installed the sql server 2005 it created the virtual directory under c:\inetpub\wwwroot which is not a default website location on that server. could you please tell me how to switch the virtual directory path from c:\inetpub\wwwroot to d:\inetpub\wwwroot Please any help would be greatly appreciated. Thank you very much. I'm not quite sure how you mean. When RS installs it doesn't place any files in c:\inetpub\wwwroot. The standard location will be C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\ReportServer ...Show All
Visual Studio Express Editions delete rows
what is the code to delete a row from a database, the binding navegater has the delete function, but when i select a record to delete and press the delete box on the navegater i get an error telling me a must have a delelet command. what does theat look like, my database is working fine until i want to delete one. thanks yes you can, its the same thing - when you do an Update() on the dataAdapter, it returns back the number of rows effected by the result so you can use this also when deleting a record. You can also do this using the "Raw" approach, using the SqlCommand classes and executenonquery, which returns back the number of records effected by the command. however using the Da ...Show All
Visual C++ CSting construction
hi guys I am using VisualC++ 2005 IDE. in one MFC project, I use the following code but there is a error. please tell why this happens. thx code CString lpszText=" error"; error is error C2440: 'initializing' : cannot convert from 'const char [38]' to 'ATL::CStringT<BaseType,StringTraits>' 1> with 1> [ 1> BaseType=wchar_t, 1> StringTraits=StrTraitMFC_DLL<wchar_t> 1> ] 1> Constructor for class 'ATL::CStringT<BaseType,StringTraits>' is declared 'explicit' 1> with 1> [ 1> BaseType=wchar_t, 1> StringTraits=StrTraitMFC_DLL<wchar_t> 1> ] I got the same error! but my code is ...Show All
Visual Studio 2008 (Pre-release) Multi-user Testing
Our Application is rewritten using WCF. We would like to perform a load/stress tesing on the application hosted in test environment. We would like to simulate the traffic sent over the wire by WCF client in our load test tool. The messages sent over the wire are compressed / base 64 encoded and binary encoded. For simulating the load generated by the WCF Client to the services we have captured the traffic sent over the wire without uncompressed / non encoded. There are really 3 things I need: Compression / Decompression as DLL Base 64 Encoder / Base 64 Decoder as DLL Binary Encoder / Binary Decoder as DLL So that we can take the plain SOAP Envelope in WCF and pass ...Show All
Visual Basic attempting to use array of strings in my.settings causes exception
I am Using VB.NET 2005 Express Edition. Previously I have used VB6.0 but am fairly new to VB.NET I want to create/save/load history from data typed into a ComboBox. I have a setting named: My.Settings.FileToSearchFor which is of type System.Collections.Specialized.StringCollection I load the setting with the following code into my ComboBox which is set to AutoComplete from source List Dim obj As Object ' Load File To Search For AutoComplete settings For Each obj In My.Settings.FileToSearchFor cmbFileToSearchFor.Items.Add(obj.ToString) Next This works fine unless My.Settings.FIleToSearchFor is empty, an exception "NullReferenceException was handled" is thrown. So I check for null value... ...Show All
Game Technologies: DirectX, XNA, XACT, etc. D3DERR_NOTAVAILABLE while build of first example in help how to do
I used to code in pascal, cobol, assembly, basic, etc, but not C. From: Your First Game: Microsoft XNA Game Studio Express in 2D following along and doing the first build, I get the error above. I did not think I was calling the 3d engine only the 2d. I cannot find any help on the error, where to look, etc, except what is in the error window when you cursor over it. I cannot figure out how to copy the error in that popup window to look at it further. I know some dislike nubies, but please help if you know the answer. Its disheartening to type in only 6 lines of code and not be able to debug it! To say the least. Thanks OH OH OH, I figured out how to copy the error: Error 1 Building content threw InvalidOperationExcept ...Show All
SQL Server Web Sync (Anonymous Subs) Reinitialize ALL?
Hi I have a web sync merge publication with multiple anonymous subscribers. Unfortunately two of the subscribers have experienced errors as follows. ############################################### The Merge Agent failed after detecting that retention-based metadata cleanup has deleted metadata at the Subscriber for changes not yet sent to the Publisher. You must reinitialize the subscription (without upload). (Source: MSSQL_REPL, Error number: MSSQL_REPL-2147199401) ############################################### Now they successfully sync'd within the retention period so I am baffled as to why the cleanup has occured. Unfortunately I can't seem to find a way to reinitialize just a single subscriber. It seems that the only reinitialize opt ...Show All
Software Development for Windows Vista Marked application(embedded manifest) doesn't elevate when UAC is turned off?
Hi I'm testing my app on vista Business K. I've embedded manifest file and running it with shellexecute. It correctly gets elevated when UAC is enabled. However, when UAC is turned off, it won't get elevated as it should. Most surprisingly, one of two identical copies of the application has the windows security logo mark on the icon and one does not. I know the two files are identical for sure because their sha-1 checksums are identical and all other properties are the same(size and etc) What the heck is going on here Is UAC still buggy Thanks in advance. Julien mentioned ' If your account has not admin privileges, the the app runs in low privileged mode.' Is it certain that the app runs in * ...Show All
Visual Studio Express Editions URL?
I have been asking about this a few times and gotten no answer to my question. I have a tabbed browser with no url textbox(for input). I want to however display the url of the current tab in a textbox or a label. So I can use for instince. If URL = "http://" then Webbrowser1.navigate("http://") EndIf Heere is my example. Dim Tx as new Webbrowser If Tx.Url = " http://www.google.com " then Tx.Navigate(" http://forums.microsoft.com/ ") EndIf I want to do this without a navigation bar, and it doesnt work. Comparing Tx.URL seems impossible. ...Show All
