truittjl's Q&A profile
Smart Device Development first chance exception of type 'System.IO.IOException'
Surely this shouldn't be happening! The following code creates a connection, DataAdapter & DataSet, then fills the DataSet. the myDataAdapter.Fill creates a 'first chance exception', whatever that is Imports System.Data.SqlServerCe Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim myConn As New SqlCeConnection("Data Source = \my documents\MASDB.sdf") myConn.Open() Dim myDataAdapter As SqlCeDataAdapter = ...Show All
Architecture Migrating Lotus Notes Application to the Microsoft
Hi All, I am about to migrate about 70 lotus notes application to the Microsoft Platform and I am wondering what are the alternates targets architectures. Which one is the best target architecture and why. Any help will be highly appreciated. Thanks, Kikala You may want to check out Microsoft's groove ( www.groove.net ) that has some of notes features as well as few migration tools (see this for example) - not surprisingly both applications are the creation of the same person (Ray Ozzie ) Arnon ...Show All
Visual FoxPro unsorted records in grid control
I just noticed it yesterday after working with grids for about two months. Until yesterday, I realized, all tables or aliases I connected to grids were presorted meaning that their record NATUAL order was always alphabethical. It is a different situation for me now. It turns out when I SET ORDER TO TAG <tagname> before I connect a table to a grid's .recordSource, the records appear in a nuatual, unsorted order nonetheless. If I use this statement after the connection, there is no effect either but this is expected. Is it something I am missing or it is the way it is supposed to be There is no way to set a "sorted" pr ...Show All
SQL Server how to define a parameter in reporting services to choose to show/hide not null/null values?
Hi All, I am using SQL Server Reporting Services 2005 and in my report I want to create a parameter called "hasEmail" with 3 possible values (Yes, No, Both) to show/ hide the customers who have/don't have emails or both. Can anyone please help Try Add Parameter-Choose Available Values-Non queried- there you can put in the label and values that you want to return (Yes,No,Both) Then you will have to use these parameters to filter your dataset. Hope that helps. ...Show All
Visual C++ Importing class from dll
Hi My problem is that I cannot import a class from a dll without an import library. Thank You, Attila. I removed WINAPI, and now it works. typedef int (* _writeSerialPort)(int numberOfBytesToWrite, char* data, unsigned long *bytes_sent); but there is still one problem: Untill now, the program worked, only the debugger stopped it with that error message. So it sad it wrote 1 byte to the serial port, or it wrote there is no serial port. Now it says it writes 1 byte, although there is NO SERIAL PORT on this computer. Any ideas ...Show All
Visual Studio Express Editions Bug FDBK40119 and the Express edition
The bug with id FDBK40119 is more or less a blocker for delivering C++ programs built with Visual 2005 ( any edition ), at least these programs utilising iostream. The workaround posted in the bug report ( rebuild msvcp80.dll ) assumes library source code availability. This source is not included in the Express edition, so the workaround can't be applied. Wouldn't it be reasonable if Microsoft makes this source code available even to the Express edition users Or does anybody know some other way to deal with this issue Please add your comments to the bug so that the owners can take a look. Also, I will forward ...Show All
SQL Server Compact Sql Mobile 3.0 DataBase in C++/OLE DB ?
Hello, I'm porting my C++ (EVC3) application from Sql CE 2.0 to Sql Mobile 3.0 (with OLE DB). To compact a 2.0 database, i used ISSCECompact interface. But it doesn't exists with the new version. I've only found C# and VB.Net samples in MSDN ... Thanks in advance. Have you had a chance to look at: http://msdn2.microsoft.com/en-us/library/ms174034(en-US,SQL.90).aspx Thanks, Laxmi NRO, MSFT, SQL Mobile, Microsoft Corporation ...Show All
Visual FoxPro cannot generate an exec file
I just finished a large project and tried to generate an .exe file from it. I encountered the following problems. BUILD EXE FROM ..... issued from the Command Window gives me a series of errors. The first one is entirely unexpected. It claims that a file "inpARR" could not be found. When I click on "locate' it offers me a file dialog box to find it. I definitely do not have any reference to a file by this name anywhere in my project. There are a few places where an array "inpARR" is used. There is no line number or procedure to locate the source of this error and it is a pretty daunting task. I combed the whole pr ...Show All
Visual Studio Team System Team Project creation fails by failing in task SharePointPortal
Hi, after migrating a "full functional" installation of Team Foundation Beta3 to Team Foundation Beta3 refresh containing two Team Projects we cannot create new team projects. The existing projects seem to work. The log points to a sharepoint problem while creating the team web site. The installation is a single server box. The migration was done as described in http://msdn.microsoft.com/vstudio/teamsystem/b3rmigrate.aspx The sharepoint services were migrated from SP1 to SP2 with WSS2003SP2-KB887624-FullFile-ENU.exe The useraccount failing to create the team project is TFSSetup (meaning it has all the permissions necessary) The TFSSetup ...Show All
Visual Studio 2008 (Pre-release) Can't clear Background color
Steps: Create a WinFx Window In the properties window of VS, set Grid Background to gray. Value is converted to #rgb value Attempt to remove the value just added. Results: A message box pops up saying "Property Value is not valid" Details area says empty string not allowed. Hit ok, the properties window has focus and the Background value has been restored. Expect : To be able to set the Window properties back to the original state. I expect this is true for other properties. You should be able to do this, but not yet - sorry - You can achieve this now by right clicking on the proper ...Show All
Windows Live Developer Forums Animations in Messenger 8.0 BETA
Hi everyone! 1. Thanks BETA team for adding me onto (once again) another great BETA. This and the other 9 BETA's that I'm on will certainly keep me busy testing... 2. I wanted to ask tho... Is it possible to have a animated picture in the Display Pictures area (The 96x96 pixel area) and how would I do this... I would want to accomplish this thru Messenger API's calling on the picture to display and NOT thru an external program, i wanna hook this into the main executable for messenger (Good Idea or not...you all be the deciders) Thanking you all for responding and posting any feedback!! Aust-Tech Scott Swanson MS ...Show All
Visual C# Cannot make a debug release anymore
Today I switched my builds to release, to test the performance of my application. But now the configuration manager is greyed out, and i cant make any debug releases anymore :( Who can help me please I even restarted my computer, and i still can't build a debug build. but i can build a release build.. I really hope someone can help me! ...Show All
SQL Server Is assembly code replaceable?
I'm watching a webcast on CLR functions/procs and have a question: If I create an assembly for my database using some .dll, is that .dll now locked by SQL Server I'm concerned of a situation where developer says the assembly code is bad. Developer presents new version of .dll . - Will I get "Access denied, file is in use" when I try to replace the .dll Even if the assembly is used in a derived table column Thanks. The file is not present on the file system. The assemblies is loaded into the database so it has to be placed here. The only thing that could possible cause problems is that ...Show All
Windows Forms Error 0: [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
I have written a VB.NET application that connects to Oracle database. The connection uses DSN created through Control Panel->Administrative Tools->Data Sources (ODBC) The data source works fine, but the first time a select is run through the application, I see the error: Error 0: [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed The data is returned correctly, a ...Show All
.NET Development Help, stuck in Visual C++ .NET
I get these 3 errors, but I don't see anything wrong: c:\Documents and Settings\Raymond\My Documents\Visual Studio Projects\WirePro\WireProDlg.cpp(14): error C2146: syntax error : missing ';' before identifier 'MyCalculations' c:\Documents and Settings\Raymond\My Documents\Visual Studio Projects\WirePro\WireProDlg.cpp(254): error C2228: left of '.TotalWireLength' must have class/struct/union type c:\Documents and Settings\Raymond\My Documents\Visual Studio Projects\WirePro\WireProDlg.cpp(14): error C2501: 'MyCalculations' : missing storage-class or type specifiers Here is the source code: WireProDlg.cpp // WireProDlg.cpp : ...Show All
