Greg Allen's Q&A profile
Visual FoxPro ensuring data integrity using cursoradapters
What is the best way 2 ensure that no partial updates occur when using cursoradapters on VFP8 Currently am issuing different TABLEUPDATES for all the cursors open. I am using an Access databases. Is there something like BEGIN TRANSACTION...END TRANSACTION when using CursorAdapaters Please give me the best approach to ensure data integrity and consistency. Thanks. thanks you all for your insights and ideas. I appreciate. Am going to test the idea of connection handles and see if it works. Am now using SQL Server 2000 instead of Access. I want to move to the next level! ...Show All
.NET Development WSE 3.0 RTM for VS2005
Does anyone know when this will be released BenW It already is! Go get it! http://msdn.microsoft.com/webservices/webservices/building/wse/ Daniel Roth ...Show All
.NET Development Marshal unmanage pointer to array of structure
Hi, I've been struggling with this problem for quite some time now and i think i deserve a bit of help ! I got this C++ tool that calls a C# service. To communicate together i got an IDL with defined structures in it THAT I CANNOT CHANGE. This is a problem because i can't tell the compiler the layout information about how to marchal each parameter. Anyways, let's continue. This is the structure in IDL: typedef struct { DWORD id; DWORD nDetailLevel; BYTE descr[ 256 ]; } TRACE_INFO; As i said, i cant play with this. The C++ to ...Show All
Smart Device Development Trouble connecting to the Web Service
Hi, I know this issue has been raised many a times but i am still searching for the solution. I am working on a smart device application under VS 2005 .net deployment for the Pocket PC 2005. Well when i work on the emulator for connecting to the web service it displays Connection could not be established to the Network with the following error at runtime: A first chance exception of type 'System.Net.WebException' occurred in System.dll A first chance exception of type 'System.Net.WebException' occurred in System.Web.Services.dll A first chance exception of type 'System.Net.Sockets.SocketException' occurred in System.dll A firs ...Show All
Visual Studio CMDUSED_SECTION and shared commands
By default in the IDE, F8 is bound to the command Edit.GotoNextLocation ( guidVSStd97:cmdidNextLocation) . This command works in the both the Output and Find Results windows. I would like my tool window to respond to Edit.GotoNextLocation. Is this just a matter of setting up my ctc file correctly or does the toolwindow also need to implement a particular interface (other than IVsWindowPane and IOleCommandTarget) Yep that was it Sean. I was just preparing a post, but I see you've figured it out. Regards, Aaron Marten ...Show All
Windows Forms Call Borland 3 C++ from C#
Hi This question might have come up a few times before.. if so, please bare with me. I have been given a C++ DLL that has some methods, classes etc. that I need to call. The DLL was compiled with Borland 3 C++ I think. I have tried adding a reference to the DLL using Vísual Studio 2003, but it says that the DLL is not a& ...Show All
SQL Server SQL Server 2005 Express & Windows Reporting services
Hi, I've just installed SQL Server Express 2005 on our shiny new Windows Server 2003 R x64 server. It has an Intel 830 D chip that uses x86 and 64EMT. Problem is that I get the message "64-bit ASP.Net is Registered. Required 32-bit ASP.Net to install Microsoft Reporting Services 2005(32-bit)." Is there any way that I can remedy this Thanks in advance Robert Hi Robert, This should fix your problem (taken from the SQL Server 2005 Readme): 2.5.13 Configure IIS to Run 32-bit Reporting Services in WOW64 Mode This readme item provides an updated version of the "Ho ...Show All
Visual Studio Express Editions Creating a web browser...
Hi everyone! I'm making a web browser but I don't want 'webbrowser2' to be created on the form untill I click a button... I tryed: private void button5_Click( object sender, EventArgs e) { WebBrowser webbrowser2 = new WebBrowser (); webbrowser2.Height = 250; webbrowser2.Width = 279; } But it dosn't seem to be working (and i don't know how to set the location). Can someone please help me out! THANKS! There's also left and top properties you need to set. An easier way would be to let it be created, but set it as not Visible ( visible = false ) and then make it ...Show All
SQL Server Run Time Error While Execute Sql Server 2005 Integration Services package from C#
Hi I am trying to Execute an SSIS Package from C# Dot Net. Below the code i am using. try { Application app = new Application(); Package package = app.LoadPackage("DTSPackage/WinServeMonitoring.dtsx", null); DTSExecResult result = package.Execute(); label1.Text = "Package Execution " + result.ToString(); } catch (Exception exp) { label1.Text = exp.Message.ToString(); } I have added reffrence for DTS Run time (using Microsoft.SqlServer.Dts.Runtime;) But I am getting an Error like this Error 1 'Application' is an ambiguous referen ...Show All
Software Development for Windows Vista WinFX RTC December 2005 Not working with December Vista SDK
There's a problem with the WinFx RTC download for December 2005. The links on the page http://www.microsoft.com/downloads/details.aspx familyid=BD3BA2D5-6ADB-4FB2-A3AA-E16A9EA5603F&displaylang=en There's a link to download the entire WinFx RTC package instead of the "smart" installer. http://download.microsoft.com/download/9/4/9/949EEA41-364A-45DC-8F4E-47E7AC147D25/winfxrc.exe I checked the time/date stamp in the downloaded files from the WinFX RTC and the Dll's are all from 11/18/05. this is for the WinFX RTC that is linked on the downloads page indicating it was December 2005 WinFX RTC. This happens wi ...Show All
SQL Server Error 1 Exception of type 'System.OutOfMemoryException' was thrown.
The Error 1 Exception of type 'System.OutOfMemoryException' was thrown. STRIKES BACK! I have had two other postings in the past few weeks on the error in various forms that state: 'System.OutOfMemoryException' was thrown. This error had apeared on trying to use the migrationwizard.exe, loading /3GB, as well as after breaking the script up into smaller chunks. You name it, we have tried it (that we know of). We are now back to the error 'System.OutOfMemoryException' was thrown once again. Additionally, I was able to build the dimensions without error and now THAT is failing with the following error: Errors and Warnings from Res ...Show All
.NET Development Jscript runns out of order
Below is code that is executed when a page loads to 'refresh' a tree menu <script type="text/javascript"> function syncNode(id) { //debugger; parent.frames("menu").Location.Reload(true); parent.frames("menu").TreeView1.CollapseAll(); parent.frames("menu").TreeView1.SelectNodeById(id); parent.frames("menu").TreeView1.Render(); return true; } </script> However, it seems the lines the deal with the object "TreeView1" are executed before the reload statement. ie, it does the highlighting first and then does the frame reload I need this to occur in the oder of: reload sync (ie collapse tree, select node ...Show All
Visual Studio Team System VSTF Web Interface
Is there any documentation on what will be accessible and the list of features that will be supported via a web browser other than the WSS Project Site Thanks, Michael. At this point, I'm not sure what's documented with regard to web pages with Team Foundation. You can view work items and changesets in a browser. You can see that if you sign up for alert emails (Team -> Alerts or Team -> Settings -> Alerts, I don't remember the exact path off the top of my head). There will not be a full-blown web browser interface to work item tracking in the v1 release. Buck ...Show All
Visual Basic difference between VB .NET and VB 2005
what is the difference between VB .NET and VB 2005, or they both the same Visual Studio .NET 2002 shipped with Visual Basic 7, Visual Studio .NET 2003 with Visual Basic 7.1 The version of the Visual Basic language that ships with with Visual Studio 2005 is Visual Basic 8. If you are interested in what future versions of Visual Basic, there is some information here . Best regards, Johan Stenberg ...Show All
Visual Studio 2008 (Pre-release) SelectNextSegment()
Hi, I call DataContext.ExecuteQuery<T>("SELECT TOP 20 * FROM CertainTable") in the enclosed code. Depending on the table queried, an exception is raised. It appears that when the ExecResults<T> are enumerated in a foreach loop the first object returned is null. In Northwind, Orders, Territories, and EmployeeTerritories always raise an exception. All other tables in Northwind do not raise exceptions. AdventureWorks exhibits the same behavior. Consistently, only certain tables will raise exceptions. Perhaps it was something with my generated DataContext, but queries to the Orders table, Territories table and Employe ...Show All
