JeffSchwartz1's Q&A profile
.NET Development Upgrading apps to .net 2.0
I have some applications that have been written in MC++ that use the 1.1 .net framework, with VC++.net 2003. I would like to upgrade to VC++.net 2005 but some questions prevent me from doing so. Any help/answers most welcome. Will .net 1.1 apps run with .net 2.0 runtime Is it posible to build an application with VS.net 2005 that will run on the 1.1 runtime Thanks Regards Robin Hi, On your seco ...Show All
SQL Server Free space information in Management Studio
In Enterprise Manager, the taskpad view showed me how much space is available in the data and log files. Is this information available anywhere in SSMS For instance, in one database EM shows me that I have 1200MB free in the data file and 400MB free in the log file. It also says, at the top of the taskpad view, that I have 0 free space in the database - I'm not sure how they relate, but in SSMS the only number that I can see is the 0. It also t ...Show All
Windows Forms unable to install TaskVision in Windows 2000 Advance Server
i have all the requirements needed including .net and sql server in our windows 2000 advance server but still i cant stall taskvision web services into it! can somebody help me thnx a lot! CHECK FOR A SOLUTION Installing Taskvision on a  ...Show All
Visual Studio Question about line state stored after coloring a line
I've been working on smart indenting and autoformatting (and a more efficient way to do brace matching) and was wondering if there's any way to access the state information that is stored for every line as it's colored I've looked through the members of Colorizer, Source, IVsTextBuffer, and IVsTextLines but it seems like the actual line state's themselves are stored as private members of Source or some hidden object. I've pondered storing a Dict ...Show All
SQL Server How to insert data into table
can some one help me, how can i insert data, using some commands, scenario, two server, srv01 and srv02, both have database sales and both a table saleshistory pseudocode: insert into srv02.sales.dbo.saleshistory select * from srv01.sales.dbo.saleshistory where id > srv02.sales.dbo.saleshistory.max(id) In other words, you want to get all records from srv01 that are not on srv02, and inser ...Show All
.NET Development VS2005 tableadapter working with DAAB
I have a situation where we are migrating to VS2005 and trying to use Enterprise library Data Access application block. How would you configure the tableadapters to work with it Specifically with relations to setting up the connectionstring. Any help is appreciated. Answering my own question. created a class that inherits from the SqlDatabase and overriden the getconnection(), loaddataset() and doloaddataset() . Only problem is cannot ...Show All
Windows Forms ListBox question -- is there an 'ItemAdded' event or similar?
I need to do some processing whenever an item is added (or indeed removed, so changes generally) to a listbox. From a cursory glance at the documentation I do not find relevant events. I would be grateful however if anyone could point out that I am missing something. Or do I have to add a custom event If so, if anyone has code that could get me started I would again be very grateful. Thanks. There is no event o ...Show All
Visual Studio 2008 (Pre-release) C# 3.0 Feature Suggestion - symbols
I was playing around with ruby the other day and was reminded of the ":" symbol as in "abc".send(:length), although ruby doesn't care if the :length symbol actually exists on the target, it gave me the idea that we could really use a language feature that would have compile time checking for class members to be used as an alternative to passing around field/property names as strings that are later used in reflection apis, O/R ...Show All
SQL Server Query Works in SQL 2000 but not in SQL 2005
The following query works in SQL Server 2000 but gives follwoing error in SQL Server 2005 Msg 8114, Level 16, State 5, Line 1 Error converting data type varchar to float. ======================= SELECT DISTINCT VWCONTACT.[ID] ID FROM VWCONTACT WHERE VWCONTACT.ACCOUNTID = 2615 AND VWCONTACT.VIRTUALDELETIONDATE IS NULL AND VWCONTACT.EMAIL LIKE '%@%' AND NOT EXISTS (SELECT VWCONTACT.ID FROM (SELECT DISTINCT VWCON ...Show All
SQL Server Access project form base on two tables with one-to-one relationship
I have two tables whit the same primary key: Table A with a field named X as primary key and a identy set to one increment. Table B also with a field named X as primary key but with any identity setting. Table B contains a detail about Table A records. I’m trying to build a form with both tables but without any satisfactory result. What’s the best way to approach the solution If your second table only contains records which de ...Show All
Visual Studio 2008 (Pre-release) ANN: Aurora is now compatible with the February CTP
Aurora 8.3 is now available for download http://www.mobiform.com/eng/aurora.html New in Aurora 8.3: Animation is now available. It currently has functionality for basic shapes, controls, and Clip Art. Paths, 3D and the ability to rotate elements will be available in future versions. Animation will not be serialized out with this version due to a required change to how Aurora serializes the code out with the February WinFX C ...Show All
Windows Forms user32.dll Threads Issue from Upgrading from Vb6 to vb.net
Hi I have a module that handles threading with user32.dll Api. The problem comes when each window calls this pSetForegroundWindow subrrutine to set the Foreground thread. The windows is displayed active but is not refreshed or painted, stays unresponsive. Why is that Can someone help Would I have to declare a system.threading instance to substitute this module functionality And not use user32.dll in vb.net How can I do that I have an ide ...Show All
Windows Forms how can i limit the textbox to only accept numbers... and no letters
how can i limit the textbox to only accept numbers... and no letters Thanks, Hi, use a MaskedTextBox and in the Mask property you can choose the format that it accepts. You could also add a key event handler to the normal TextBox and do the code to only accept numbers. ...Show All
Visual Basic [VB6] I cannot deploy my application-DEPLOYMENT ISSUE
Hello Friends, This is my another issue in my project. I did my Church program using 1. Visual Basic 6.0 2. SqlServer 7.0 3. Crystal Reports 8.5 This program works fine in my PC. But when I deploy in the client side, it Makes error. My client have Remote SQLServer2005 and Crystal reports XI. First we dint have CR XI in the client machine. At the time we got "Error detected by accessing Database" ERROR. After instal ...Show All
Visual Studio Express Editions Database error running the club website starter kit app
Hello Forum Members, I downloaded the release version of Visual Studio Web Express and then installed the club web site starter kit. I created a new web site using the template and then tried to run it. It looks like the database file is not compatible with the database instance. Any help or advise would be greatly appreciated. Server Error in '/Club Web Site Starter Kit1' Application. Download the SQL script (packa ...Show All
