connect2sandeep's Q&A profile
Windows Forms including external folders in ur deployment package???
hey... Can anyone tell me if it is possible to include folders and files within them in the deployment package I am trying to include 2 folders with files in these folder with the deployment package, so that when my program is installed on a system the two folders are placed in the same folder as the application path. I know that it is possible to add files, but I can't seem to find a way to include these folders. i am using VS2005 thanks in advance Sorry, I didnot get what u mean: "the folder content is different each time you run the setup program" Which folder you are talking about and what contents are changed the folder reside beside the setup program (setup.exe) so i need to include the folder names ...Show All
SQL Server After laptop goes into standby, SQLEXPRESS won't start
If my laptop goes into standby with the MSSQL$SQLEXPRESS service running, the service will not start again. I get the following error messages in my log: 2006-03-06 20:49:08.45 Server This instance of SQL Server last reported using a process ID of 1764 at 3/6/2006 1:48:21 PM (local) 3/6/2006 9:48:21 PM (UTC). This is an informational message only; no user action is required. 2006-03-06 20:49:08.45 Server Error: 17053, Severity: 16, State: 1. 2006-03-06 20:49:08.45 Server UpdateUptimeRegKey: Operating system error 5(Access is denied.) encountered. 2006-03-06 20:49:08.45 Server Registry startup parameters: 2006-03-06 20:49:08.45 Server -d c:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\master.mdf 2006-03-06 20:4 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. The device does not support creating a texture of the given format with the given ResourceUsage
Hello everyone. We've just started writing a PC game in XNA, and are progresing very quickly. However we're a bit concerned by the fact that the game started not to run on the artist's machine. Through installing VC#, we discovered basically it's failing to create a Texture2D with the following parameters: // Create the cache texture this.Texture = new Texture2D( graphicsDevice, 256, 256, 1, ResourceUsage.Dynamic, SurfaceFormat.Alpha8, ResourceManagementMode.Manual ); "The device does not support creating a texture of the given format with the given ResourceUsage" Or practically any parameters, truth be told. The graphics card is an NVIDIA FX 5900 Ultra, this works fine on various othe ...Show All
Visual Basic Access DB distribution
Hi all. I have developed a simple VB.NET app that displays some data from an Access database. No updating, just reading the data. I want to distribute the db with the installation, I know how to include it in the user's application folder, but how do I make the app know where to look once it's installed (maybe |DataDirectory| ) I've been searching through other postings for a few days, but they all seem to be using VS 2005... Thanks for any help! P.S. I'm using Visual Studio 2003 Why not just use the file name if it's in the same directory: Dim ConnectionString As String ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=MyDB.mdb" ...Show All
SQL Server How to right justify table field
How do i right justify data in a nchar or nvarchar field e.g. now: 2bbb 3bbb desired : bbb2 bbb3 where bbb is either blank or null, not certain. I would appreciate any help Pauley hi Pauley, actually I'd not, as this only seems to me a "presentation/redering" problem that should be managed at the presentation level, thus your app... I'm asking: are you really sure you want to "pad" data on the right this could require handling query statements differently if your user just entries "2" instead of " 2" ... regards ...Show All
SQL Server Does Windows 2003 Support Multiple Password Policies?
We have a need to enforce a more stringent password policy for IDs that have elevated privileges or have access to sensitive data. Can more than one policy be created in Windows Server 2003 (one that expires every 90 days and another policy that expires every 180 days and requires more complexity) If this is possible, can SQL Server 2005 use these policies and how are SQL authenticated IDs tied to a specific policy This question was posted originally in a MSSQL 2005 forum ( http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=718231&SiteID=1 ) and it was suggested that I check a Windows forum for planned changes in this area. Thank you for your assistance. I think the user/replier mea ...Show All
SQL Server SSIS Scripttasks, Vista and SP2
Hi, does anyone know, if with SQL 2005 SP2 Scripttasks will run under Vista thanks, Thomas Yes it seems to run - but debugging is not possible with BIDS. If I set a breakpoint, the task turns red with the message: Error 0x5 by "Taskname" Error loading scriptdata Sorry, the message may be not exact because my BIDS is in german. Regards, Thomas ...Show All
SQL Server Can't connect to local instance
Hi, SQL Server 2005 Developer edition Windows XP Pro This is a new install on this laptop. Trying to connect to the Database Engine using management studio using either TCP/IP or named pipes but getting errors regarding the server refusing connection. I've Googled these errors and as far as I can see I made all the adjustments that I need to. TCP/IP An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: TCP Provider, error: 0 - No connection could be made because the target machine actively refused it.) (Microsoft SQL Server, Error: 10061) Named Pipes An erro ...Show All
Visual Studio Team System Success!
I've been configuring (well trying to) security. somehow I've managed to disable the Source Control menu option under the Team project settings menu accress all projects. What have I done In my case it was indeed the fact that the user had files checked out on the machine on which I was trying to modify source control settings. As soon as I made sure that no files were checked out on the machine, the source control context menu re-appeared. Thanks for the tip. I would never have figured that one out. ...Show All
Visual C++ change letter in an array
How do you change an letter in an array for example string[10] = hello; how do you change 'h' in array to a 'b' Some optimization :) you can directly write as str[0] ='a'; ...Show All
SQL Server how to include the nulls??
Hi, I have the following query stored: SELECT dbo.OrderDetails_Retail.ProductID, dbo.OrderDetails_Retail.ProductName, SUM(dbo.OrderDetails_Retail.Quantity) AS ProdQtyPerWeek, DATEPART(wk, dbo.Orders_Retail.OrderDate) AS SalesWeek, YEAR(dbo.Orders_Retail.OrderDate) AS SalesYear FROM dbo.OrderDetails_Retail INNER JOIN dbo.Orders_Retail ON dbo.OrderDetails_Retail.OrderID = dbo.Orders_Retail.OrderID WHERE (dbo.Orders_Retail.account = @Account) AND (dbo.Orders_Retail.OrderStatus <> 'Deleted') AND (dbo.Orders_Retail.PayStatus <> 'Pending') AND (dbo.Orders_Retail.OrderStatus <> 'Refunded') AND (DATEDIFF(d, dbo.Orders_Retail.OrderDate, @StartDate) <= 0) AND (DATEDIFF(d, db ...Show All
Visual Studio Express Editions Getting values from a checkbox and textbox together
I have a form (Bulk_Add) with several checkboxes with a textbox next to each one. The user checks an appropriate checkbox and enters a value in the textbox next to it. On another form, I have the following function that gets the text of the checkbox if it is checked and places it in a cell in a datagridview (yellow highlighted line). Right now I am using a default value of "1" to go in another cell in the datagridview (red highlighted line). What I need to do is replace the red highlighted line with something that will grab the text of the textbox that is adjacent to the checked checkbox in which I am getting the text. I have set the tab stops to move from a checkbox to the corresponding textbox, then to the next checkbox and te ...Show All
Visual Studio Debugging STL map container
Hi, is it possible to see the contents of an entry of a variable of type map<K, T> without having to expand the variable and search for the key In the debugger we can't use the operator [] since the debugger says that it's an operator not found. (This happens to all STL containers, I think). Thank you. Someone has supplied this on the codeproject. It has worked for me so far. Tis a wee bit flakey, but very useful. http://www.codeproject.com/macro/vsedebugaddin.asp df=100&forumid=16421&exp=0&select=1076503 good luck. -kt ...Show All
Windows Forms If designer with new control crashes -what to do?
I modified control, that was already instantiated on the form. After rebuild solution, form designer can not open form - due to exception that it cannot deserialize control. how to handle this situation thanks Ok, so what control are we talking about Is this a control you made yourself or did you buy it somewhere ...Show All
Visual Studio Team System Can you profile the System assemblies as part of an app
I am profiling an application that references only the system assemblies and while I see the calls into the .Net Framework I do not get to see any calls deeper in the call stack for the .Net Framework. This makes sense to me because I am not instrumenting the .Net Framework assemblies. When I try to add the .Net Framework assemblies to be instrumented I get an error message that says: C:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\System.ServiceModel.dll has been signed. Instrumenting will break verification. Either turn off verification for this assembly or re-sign it in the post-instrumentation step. Press OK to attempt to profile anyway. I understand the post-instrumentation event is used to re-sign, b ...Show All
