BitBlast's Q&A profile
Windows Forms Publish Application Files
I have an application that has 3 template files as part of the deployment package, and the user has the option to customize these files. If they do customize the files and a new version of the program is available, the customized files are overwritten by the stock templates when they update the program. How can I have the template files installed on new installs, but not on updates Thanks, Frank Use data file mechanism. http://msdn2.microsoft.com/en-us/library/6fehc36e.aspx ...Show All
Visual C# AspNetSqlProvider
I have an error when i am try to make web partzone without using sqlexpress I want to use sqlserver2005 entreprise when i am try to create AspNetSqlProvider test failed and i have this error (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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) ) Dear PJ. van de Sande I use local connection this is the err msg if i used a connection to sqlserver 2005 not ...Show All
Visual C++ setting compiler options programmatically.
I am trying to simplify my life and set up all compiler options programmatically in a single file where I will see what is going on. I created a .cpp file and copied an MSDN function in there that is supposed to do it. My intention is to call this function eventually from the main routine. So far all attempts to compile the file failed with the errors described below. First the code: using namespace System; using namespace System::Object; using namespace System::CodeDom; using namespace System::CodeDom::Compiler; using namespace System::CodeDom::Compiler::CodeDomProvider; using namespace System::String; using namespace System::Object::Micro ...Show All
SQL Server What happened to my newly created SQLCLR ??
Hi I had DTS the Northwind sample database from SqlServer 2000 to 2005. It's went ok and no errors. Then, I created a SP named upGetCustomer, bascially it queries the Customers table and list some of it's fields and order by CustomerId,CustomerName, Country decrementally. SP is so simple and has no errors. Then, I created a SqlServer project in VS2005 using C#. Add store procedure class as below, using System; using System.Data; using System.Data.SqlClient; using System.Data.SqlTypes; using Microsoft.SqlServer.Server; public partial class StoredProcedures { [Microsoft.SqlServer.Server. SqlProce ...Show All
Windows Forms DatagirdComboBoxColumn+binding source problem
Friends, I have my Datagridview bind to single table binding source. Which has two columns "Option domain" and "Default Option Value", This columns are Dropdown Combos and the datasource is from Lookup dataset having two tables "Option domains" and "Option Domains Value" (Parent-child). Based on the value of "Option domain" 1st column, "Default Option Value" combo will have filter list by that value. I tried the following: (A) I tried to bind "Default Option value" to Parent-child relation of lookup dataset (OptionDomainOptionDefaultValueBindingSource). PROBLEM: Here when displaying grid, ...Show All
Visual Studio Express Editions Mimick Outlook 2003 Buttons
Hi everyone, Hopefully this is an easy question to answer. I am looking to recreate the outlook 2003 left sidebar in Visual Basic 2005 (Mail, Calendar, Tasks, Notes, etc...). I was able to find the correct font (Tahoma) and point size that Outlook uses. I can't figure out how to get the gradient effect on the button (Blue or Silver theme). Do I have to supply the color and then somewhere select a gradient fill or do I have to supply the background as a resource (jpg or png file). I have looked all over the web and I am tired of looking. I was wondering if there are any good sources with demonstration code explaining and using button properti ...Show All
SQL Server Replication Trigger Problem (SQL 2005): Assistance Please
Our company is wanting to replicate a bunch of data down from our central server to tablet PC's. We really do not have anyone on staff with solid experience in replication, and have hit an error that we cannot seem to find any information whatsoever on. Here is the problem: When setting up a publication to replicate certain tables, we stop being able to do any updates on the tables. After some research, we were able to narrow the problem into the msrepl triggers the publication places on the table. In the update trigger of the table, the following line is being placed by SQL Server: execute sp_mapdown_bitmap 0x0000000040, @bm output ...Show All
Visual Studio CR's MOST WANTED/HIDDEN/ARCHIVE/READONLY FILE: CrystalImageHandler.aspx in VS 2005 RC1
I wish to thank anybody who is successful or made daring attempts in finding this file in VS 2005 RC1. Images are not working. I create a Viewers vdir in IIS to point Crystalwebformviewer3 and understandably the aspx has gone missing from the vdir. Did anybody come across the aspx file Thank you CR for VS 2005 no longer needs a *.aspx file to be installed. Instead, we use an HttpHandler mapping in the web.config file: <httpHandlers> <add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Ve ...Show All
Visual Basic Overriding Equals Method Using Generics
I've got a copy of an article from Visual Studio Magazine on my desk (May 6, 2006 "Build Better Collections with Generics" Jean-Paul S. Boodhoo) and I've a question about overriding the Equals method in a generic collection. For example, if I create a generic collection using a 'Contact' object (like one might use in an address book) I can use the default Equals implementation to compare two contacts to help guard against adding the same contact twice to my Address book. The choice is made to override the default implementation because the default implementation checks for equality of reference - if both contacts reference t ...Show All
.NET Development .NET Framework 1.1 conflicts with Windows XP service packs
I have a VB6 application that incorporates a .NET componet (WebZinc from Whitecliff). It requires version 1.1 of the .NET framework. If I install .NET 1.1 before any of the critical XP service packs then the program runs nicely. If, on the other hand, I install the critical service packs prior to installing .NET 1.1, I get an error (Cannot find WebZinc.dll or one of its dependencies) when running the program. I've run depends.exe on the program in both cases and in the latter case, it seems to be looking for dlls in the wrong places - particularly dao.dll - and particularly in directories that don't exist like an "en" subdirecto ...Show All
Software Development for Windows Vista How to check if a workflowruntime has been loaded
Hi there, since only one workflowruntime allowed in a appdomain, I need a mechanism to check if the runtime has been loaded, if yes, I also need to get the reference for the runtime so that I can run my workflow. Thanks in advance. Since it's in a web services, does this help WorkflowRuntime workflowRuntime = WorkflowWebRequestContext.Current.WorkflowRuntime; if (workflowRuntime == null) { try { workflowRuntime = new WorkflowRuntime(); } catch (Exception ex) { if (ex.InnerException == null) throw new HttpException(ex.Message); el ...Show All
Smart Device Development Pocket Access
Hello guys, i need to create new Access tables on PPC2003SE then read from and write to them, of course programmaticaly. Does anyine has an idea on how this is possible thanks a lot in advance To be more clear, i have an Access file on my desktop that contains tables that has the .mdb extension, when i transfer it to my PPC 2003 SE emulator with ActiveSync, it gets the .cdb extension. Once on my PPC 2003 SE i need to edit the tables, add data to the existing tables and fields, create new tables and fields if necessary, and read all the info from these tables. Anone has any idea on how to make it any tip woul ...Show All
SQL Server Login failed for ".
What am I missing Computer A is windows xp sp2 with visual studio 2005. Computer B is Server2003 with SQLServer2005. Computer A: local website directory security configured for anonymous access using a local user computer_A\username and password. The password is NOT managed by iIIS. Computer B: SQLServer2005 allows local and remote connections, sql server and windows authentication. Local user computer_B\username and password is defined. User computer_B\username is defined in the sql server security logins with login properties allowing access to database mydb. The default scheama db_owner. The database (mydb) properties/permissions ...Show All
Visual C++ CFileFind exclusion
Hello, With the Class CFileFind we can search files with a key. But i want add some exclusion, like "*.tmp"...Is it possible Thank's delaysteam wrote: Hello, With the Class CFileFind we can search files with a key. But i want add some exclusion, like "*.tmp"...Is it possible Thank's Not with CFileFind, but here's a class on the Code Project that supports exclude filters : http://www.codeproject.com/file/CFileFindEx.asp ...Show All
Visual Basic setup project can not build
Hi, I am using vs 2003 to build a setup project but got this error message "Could not find file ..., Not enough storage is available to complete this operation." I checked the path of the file, it is correct. After I remove this file from the setup project, I can build it successfully and the result msi file is about 250MB, the file I removed is about 260MB, is there any limitation about the size of the file in setup project or the total size of msi file If so, how can I build the setup project I appreciate your help. I'm getting this error now on simple projects (basic Windows app w/ 1 form). ...Show All
