Software Development Network Logo
  • SharePoint Products
  • Smart Devicet
  • Visual C++
  • Audio and Video
  • .NET Development
  • Game Technologies
  • Visual C#
  • Microsoft ISV
  • Visual FoxPro
  • Visual Studio
  • IE Development
  • VS Team System
  • Windows Forms
  • SQL Server
  • Visual Basic

Software Development Network >> ZhayTee's Q&A profile

ZhayTee

Member List

Alba
xkx32
RajMohapatra
PureVision
coolcoder
AdrianWoods
Kalyot
F. Gsell
idorner
Gurbo
Tdar
Omar Kalala
Ning
maulikk
RayClark096
sql_jr
Toolmaker
tkroll
FA65
XBTester
Only Title

ZhayTee's Q&A profile

  • .NET Development Database file tied up after connection closed

    Hi, I am writing an application that: 1) downloads a database file 2) connects to the database file that was downloaded and then updates another database with it Once the update is done, I want to delete the downloaded file but I cannot seem to do this - it seems to be tied up by the sql server express instance Is there any way to be able to free up this file I am using VS2005 on a pc with windows xp pro. thanks -Barb Yes, that is correct, it is being tied up by SQL. If I stop the sql service by going into Administarive tools | services then I can delete the file programatically. Here is what I do: 1) download file A into the application directory using: WebClient my ...Show All

  • Visual Studio Team System Best Practices

    Is there a best practices document for setting up a TFS, vStudio 2003 project I have a multi tiered web project with about 6-8 developers. I'm looking for documentation on how to set up things like project path locations on the local development machine, how to organize things in TFS, etc. Things are a mess now with each developer having a different path configuration. For example, all but one developer has a D: drive. How do we setup solution files in vStudio to support that and still work correctly for everyone in TFS Some people like to work disconnected from source control. They log in to the TFS explorer and use that to check in/out. Others feel it's best to have source control integrated in to vstudio. I want devel ...Show All

  • Visual C++ Assertion Failed in daocore.cpp in VC++

    Hi, I am getting error like Assertion failed in daocore.cpp. Here i am using CDAODatabase and i am opening and closing Database properly still i am geting error while opening the database and its says void CDaoDatabase::Open(LPCTSTR lpszName, BOOL bExclusive, BOOL bReadOnly, LPCTSTR lpszConnect) { ASSERT_VALID(this); // Re-Opening is invalid. if (IsOpen()) { ASSERT(FALSE); return; } where line ASSERT(FALSE) if the IsOpen() returns TRUE. It means: my DB was ALREADY opened.but i am closing the DB properly This error is not consistence sometime it gives error in SetSQL() function which is called from open() function. If anypne having idea about this pl suggest me some solution. a ...Show All

  • Visual C# Build .net 1.1 solution

    I am trying to build a .net 1.1 solution using the command line only and not VS IDE. I have build box with only the .net 1.1 framework installed. How can I build from the command line Is there an equivalent of the VS .net 2003 command prompt that will recognize the "devenv" command when I try to use it. My Reason for building on a box without VS installed is to follow best practices so that the applicaion has no dependencies on VS IDE, as the production server will not have VS IDE. Is this possible with NAnt for a project that has multiple libraries in different locations. Does NAnt have an include command or do I have to build the libraries first I.E. build the dependancies then build the solution; rather than just addi ...Show All

  • Visual Studio Tools for Office how to send a message from a different account other than the default using c# ?

    Hi, I have two accounts set up in outlook, how do I send an item using the no default account thanks. Sorry, I don't write C# code, but once you have the correct objects and methods, as I've pointed out, you should be able to do it on your own. ...Show All

  • Visual Studio MSBuild not copying over references not used

    We have a situation where we have an Imaging project that references quite a few DLLs that are different filters for different kind of filter types. These will be used dynamically so the Imaging project does not directly reference them. We have our main EXE project which references the Imaging project in addition to many others. Without adding explicit references for these filters in the EXE project is there any way to have these copied in the EXE output Well since you don't tell msbuild that they should be copied over it doesn't (after all without explicit references, it cannot and should not guess what files might be needed) However, you might want to consider adding a postbuild step to the exe project, ...Show All

  • SQL Server Package with File System Task doesn't work without sensitive data with user keys

    This problem is a bit weird but I'm just wondering if anybody else experienced this. I have a package that has file system tasks (copying dtsx files actually). Basically the package copies other packages to a pre-defined destination. Thing is, it only works if one of the packages it is configured to copy has some sort of sensitive data (e.g., a connectionstring with a password), otherwise it reports a success message on execution but doesn't actually do anything. I've checked the forcedexecutionresult and it is set to None for that matter. Just wondering if anybody else experienced this problem and of course if there's a way to solve it. Thanks. No, they're all set to EncryptSensitiveWithUserKey. However, all of the packages involved ...Show All

  • Visual Studio Express Editions System.Security.Cryptography.ProtectedData

    I am unable to use System.Security.Cryptography.ProtectedData in Visual Studio C# Express and SharpDevelop. I noticed that when I use the help feature and do a search this method is only available in .NET framework 2.0 and not in the .NET Compact framework 2.0. So my questions are; 1.) How can I force visual c# express to use the .NET framework Interesting thing is if I create a console and compile via command line it works, but when I use the IDE it doesn't work. 2.) How do you build a project via command line. Thanks for your help ...Show All

  • Visual Studio Team System How to sync up source code after temporary off-line.

    If I change source code while I am off-line. But I can't find any UI indication in source explorer after I reconnect with TFS. What's the best way to sync up the local source code, which has been changed off-line Miles The easiest way is probably to use 'tfpt online' command from the Team Foundation PowerToy. Example and download link here: http://blogs.vertigosoftware.com/teamsystem/archive/2006/07/03/2984.aspx ...Show All

  • .NET Development ASP.NET deployment server

    Hi , In visual studio 2005 when i execute the asp.net web application then simultaneously asp.net deployment server runs.What is the use of this server Is there no need of IIS server in 2005 because asp.net depolyment server is already is given Please do the needful. Regards, Arun ...Show All

  • .NET Development TypeLoadExceptionHolder

    I'm trying to deserialize an object (serialized in .NET 1.1) in .NET 2.0 and one of the child objects is causing a TypeLoadExceptionHolder to be substituted for it in the SerializationInfo during the deserialization process. This same serialized object will deserialize fine using the same code base built under .NET 1.1. I cannot find any information on what a TypeLoadExceptionHolder object means or why it is being put in the serialization info slot for the child object. Any help would be appreciated. Thanks! This assert is correct both in 1.1 and 2.0 Debug.Assert( null == Type.GetType( "System.int32" )); ...Show All

  • Visual Studio We are not getting data in Crystal Reprt

    We are not getting data in Crystal Reports from database when we use ADO.net Dataset in Visual Studio 2005(ASP.net). If any body aware of it, please help us. I have only seen this when the data being returned does not match the schema in which the report was designed off of. Either columns not coming back, or being of the wrong data type. Are you sure that the dataset you are populating is actually getting data Also, the VS 2005 hasa a built in preview which does not work when using datasets it insteads populates itself with bogus data. ...Show All

  • Visual Basic If statement question

    I want to write an if state ment that checks a string for ";" and ","....If my string does not contain these charectars I want to set a bool to false...something like Dim val As String = String.Empty If Not Instr(val, ";", ",") Then return false else return true End If Any help on how i should get that done Right on Frank I tried this regular expression   "^(([a-zA-Z0-9_'+*$%\^&!\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9:]{2,7})([,;]\W ( !$)) )+$", System.Text.RegularExpressions.RegexOptions.IgnoreCase  this regex works but if i put in some ..... it still works when it shouldnt it works but i need it to only let the comma and the s ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. .. I did it Part2 Loading FBX file Vb.net TRIDEX .....

    Hi, They said it could not be none, well here it is for vb.net load and compiling a xnb file and displaying a model!!!!!! Loading Xfile and Fbx file, they have really got some speed in XNA!!! VB.NET code on my website: http://www.tridexconsultants.co.uk/pages/downloads/XNA%20VB.NET.zip Notes: Microsoft please get this on dot net, if it is this easy to hack then please, please, please !!! .NET for ever..... ... Tridex ... Sure, if one just wants to try and make a game with XNA, then yeah use C#, but I don't think that's what Tridex is trying to accomplish. He probably just wants to see if it can be done and he wants to be the first one to do it. Good for him! How is Tri ...Show All

  • SQL Server Log Shipping : Out of Sync

    I set up log shipping, after a while the log shipping pair in LogShip Monitor is out of sync. what cause this & how to solve this problems. thx One common reason is if you truncate the transaction log on the source database (or set it to simple recovery model). Some other possible causes ; 1) Check that the destination still has access to the source share that contains the transaction logs, 2) Check that the destination directory has not run out of disk space to receive the source transaction logs Depending on what the problem is, you may need to set it up again. Check the last restore time and last copy time. Hope this helps. ...Show All

©2008 Software Development Network