SolarWind's Q&A profile
Visual FoxPro no docking
i have a tool bar but i dont want someone to be able to dock it.. how can i prevent my users from docking the toolbar i tried setting enabled to .f. but than they cant click the butons in the toolbar.... ...Show All
Visual FoxPro Grid Reusable Form or Active-X question. Any Help?
Hi, A problem I am always facing when I am creating a new software is the following: I usually need in every software a grid to display my records in some sort of way from a table of cursor. Ok the grid will change a bit from form to form and from software to software (different row colors, sometimes I ll need to sort by columns somentimes not, different fonts, buttons in grid or not or others things etc etc). Is there anywhere around the Internet such a ready made form-grid or Active X control that will do my job instead of each time spend a day of recreating it from almost scratch If it is also free (or cheap!) it would be really really very very nice :) Any help Thanks, Athan PS. Also any other forms - or links that ...Show All
Visual Studio Express Editions MCVC++ Express Edition Linker problem
Hello, Attempting to compile my first program using Microsoft Visual Studio C++ Express Edition and received the following fatal error: "25>Linking... 25> LINK : fatal error LNK1104: cannot open file 'atls.lib' 25>Build log was saved at "file://c:\My Documents\Visual Studio 2005\Projects\AllegSRC\objs\FZDebug\WinTrek\BuildLog.htm" 25>Allegiance - 1 error(s), 1 warning(s) ========== Build: 12 succeeded, 6 failed, 0 up-to-date, 7 skipped ==========" Has anyone encountered a similar problem and how was tit solved As always Thanks is advance. Thanks for the replies, I've been a loyal user of Microsoft products beginning with MS DOS and h ...Show All
Visual Basic Stange Code Formatting
I got a strange formatting problem in VB 2005. After been writing code for awhile, Out of the blue VB, begins to make strange formatting of my code. etc. I want to write "try" and it comes out like (t)(r)(y), anybody know what cause this. I have to restart VB and then it is fine for awhile again. Drives my up the wall Gidaye I have service pack 1 install. I have the following add-ins installed: ComponentOne.net 2005 Refactor Developer Express.net 2005 Installsheid 12 The things is that i can be programmer for a hour or so and then out of the blue, I get this strange formatting. I get the feeling that it might have something to do with copy/paste, it seem that it sometime happen after that. A ...Show All
SQL Server Issue in Custom Security Extension
Hi, The custom security extension generates the following error, when try to access Report Manager. The specifications are as follows. 1. Its 64-bit SQL Server (Reporting Services) and installed as default instance. 2. The Report Server is accessible programmatically. I can publish, view reports without problems, but Report Manager gives an error. 3. Another instance (named instance) of Reporting Services with the same custom security extension on same server is working fine. Report Manager opens up without problems. 4. Both the instances working fine since 3 installation and configuration (3 months back). Now, only the Report Manager of the default instance is not openeing up. ReportServerWebApp__08_22_2006_08_52_20.log -------------- ...Show All
.NET Development Project setting 'Platform Target' {x86, x64, Any CPU}
Hi Why would you ever want to change the project 'Platform Target' setting from the default value 'Any CPU' to either 'x86' or 'x64' If an application will only ever be deployed on a 32 bit system, what advantage is there in changing the 'Platform Target' to 'x86' If an application will only ever be deployed on a 64 bit system, what advantage is there in changing the 'Platform Target' to 'x64' Thanks Yeah, it shouldn't make any sense. .NET assemblies are supposed to be platform independent. This article contains the dirty laundry... ...Show All
SQL Server SSIS Package Execution Failed within ASP.NET Web Application
Hello All, I have a SSIS package which run well when stand-alone. However it was failed when executed from .NET web application. It just simply return Failure. Code snip below: Dim packagekgResults As DTSExecResult ......... packagekgResults = package.Execute() Environment: Windows 2003 Shared Server, IIS 6.0 Any idea Thanks in advance! Tina My psychic powers say the ASP.NET application is running under different credentials compared to stand-alone execution, and don't have access to all data sources. But if you want more reliable information, you'll need to collect at least some basic error information - use SSIS logging, either via SSIS log providers added to your package, or IDt ...Show All
SQL Server How to count the number of occurences of a value in a column
I have a report, for which I want to keep track of the number of times a value is recurring. eg. Column A Column B Column C A 5 0 B 3 0 A 0 1 B 1 0 C 0 2 D 0 3 So, in this example, I want Column C to keep a running count of the number of times zero occurs in Column B. I was thinking about using a global variable and increment it whenever column B's value was 0 but I haven't a clue as to where to begin. Any help will be appreciated Thanks Use a conditional RunningValue in a table detail column ...Show All
SQL Server SQL Server 2005 JDBC Driver 1.0 error in using XA datasource
We are in the process of configuring a j2ee application with SQL Server 2005. We have downloaded the new version of SQL Server 2005 Java Database Connectivity (JDBC) Driver 1.0. We are having some issues in getting it to work using the XA datasource. Description of the error is as follows: javax.transaction.xa.XAException: java.sql.SQLException: Failed to create the XA control connection. Error: Could not find stored procedure 'master..xp_sqljdbc_xa_init'.. at com.microsoft.sqlserver.jdbc.SQLServerXAResource.start(Unknown Source) Has anyone else has encountered this and possibly found a solution. Regards, Bindu Name : The name of this JDBC connection p ...Show All
Visual Studio Installing GAT/GAX and factories under Windows Vista
Now that Windows Vista is here, I know a lot of people are going to want to run GAT/GAX and Software Factories on the new OS. While it is possible to run these on Vista, there are some known issues with the June 2006 CTPs of GAT/GAX, especially around installation. In order to install GAX, GAT or any current patterns & practices Software Factories on Windows Vista, you should follow these steps: 1. Download the appropriate MSIs (GAX/GAT/factories) and save them to your hard disk 2. From the Start Menu, click All Programs and Accessories 3. Find the Command Prompt icon, right-click it and choose "Run as Administrator". Then accept the User Account Control prompt 4. Change the command prompt ...Show All
Game Technologies: DirectX, XNA, XACT, etc. dxwebsetup wierdness - deployment with app
Hi, sorry to post this in this forum, I am unsure where to post it. OK here is the thing. I have a deployment problem. I am creating a setup with my app, created in VS 2005 Pro, using C#(.NET 2.0) This app of mine requires DirectX runtime end user files, or the SDK but really the runtime files. Now, during installation, I bundled in the dxwebsetup.exe. This executes fine. 2 main problems here already: 1) I want to silently install it without the need for user interaction, switch used to do this: /Q. When specifying this, it just seems to show then disappear instantly. I then find this next problem: 2) When running the dxwebsetup on its own (double click) or even within the app setup but without ...Show All
.NET Development Pulling Data From Two Different Databases
Hello all. I need to pull data from two different databases in order to return some results for a web page I am working on. How can I do this using the same sql connection Here's what my select statement looks like (pseudocode): SELECT * FROM db1.table1, db2.table1 WHERE db1.table1.UserID == db2.table1.UserID Here is my code to connect to the database (I'm using MySQL); string SQLQuery = "SELECT * FROM users"; OdbcConnection ODBCConnection = new OdbcConnection(connectionString); try { ODBCConnection.Open(); OdbcDataAdapter ODBCAdapter = new OdbcDataAdapter(SQLQuery, ODBCConnection); DataTable dataTable = new DataTable(); ODBCAdapter.Fill(dataTable); } Ok, in SQL Server you w ...Show All
SQL Server COLLATE Problem
Hi Currently i am using the " Latin1_General_CS_AI" Collate I just need the name of Collate which make my DB as Case sensitive Search but not the object name(or column name of table) sensitive Like (if my table name is "misc", all Select * from misc Select * from Misc Select * from MIsc Select * from MISc Select * from MISC should work. Just as the Oracel does. I try all the collates, but nothing give both. Help me Regards, Thanks. Gurpreet S. Gill oj -- i know all these things but i want the collate who`s search should be case-sensitive & not the object name(or column name of table) sensitive. Regards, Thanks Gurpreet S. Gill ...Show All
Visual Studio Team System How to differentiate the Constructor which generated by Compiler or writen by user
How to differentiate the Constructor which generated by Compiler or writen by user: I have overrided the check method: public override ProblemCollection Check(TypeNode type) { if (type.NodeType == NodeType.Class) { int memberCount = type.Members.Length; int constructorCount = 0; for (int i = 0; i < memberCount; i++) { Here: What can I do to differentiate the constructor which generated by Compiler or writen by user if (type.Members .NodeType == NodeType.InstanceInitializer) { { constructorCount++; } } } Problems.Add(new Problem(GetResolution(constructorCount.ToString() + NodeType.InstanceIni ...Show All
.NET Development Designs for communication softwares
I'm about to implement some custom communication protocols for a distributed system. Anyone got pointers to good designs, design patterns etc that I should not miss before embarking on this Note that, It's important that these patterns will be reausable and abstract in that way i can use it for more applications. Waiting for ideas.... I'm not clear what the question is. Are you asking for wire protocol designs (ie. header layout, etc) or for advice on software patterns when building a network communication layer in a multi-tier application ...Show All
