ort11's Q&A profile
Windows Forms Texbox and DOS
Hi every body. Here's my forst post, with my first question. I'm learning threading model and for this I try to develop an winform application which emulate the dos command line (a process on the "cmd" command). When I pu the results into a&nbs ...Show All
Visual Basic tableadapter.insert
I've been using this handy little function tableadapter.insert, but now I'm trying to figure out why I have to specify the parameters individually, rather than putting them into a nice array or collection. It seems like it should be able to be done. Here's the concept: I have a sequential file that contains data. I can parse this thing into multiple array elements, each containing the data for a field in an access table. Then, even if I had 50 ...Show All
Windows Forms Deploying Extra Files Preserving Folder Structure
Hi gang, My application requires a bunch of support files in the form of text files in subfolders beneath the exe. I understand that I can add a file to my project and flag it as "Content" so that it will be deployed via ClickOnce with the exe, but can I preserve folder structures by doing this For example, can I create a folder structure in my project, add "content" files to a subfolder, and expect those files to be deployed within that folder ...Show All
Smart Device Development Problem debugging CE5 app with VS2005 (no activesync)
Hello all, After much searching I have been able to get the deploy feature running with my c++ App from Vs2005 to my CE 5 device. Unfortunately, I am unable to debug. I get a "Unable to start debugging" error message from Visual Studio and not much else. The exe makes it to the device and I can run the exe from the device. I just can't debug it. I still have eVC++4 on my machine so I tried that and I am able to d ...Show All
Smart Device Development vs2005 compiler is fatally flawed: generates bad code
In this very simple excerpted code, the compiler fails to do its job. If you want it recreated, I propose someone there try to recreate it. I've already got it happening here. It's as simple as it gets. From the type of failure, it looks like it's going to happen a lot. r12 is assigned the address of mc.decodePriority only if gDecodeMaxPriority >= 3, yet it, r12, is still used as the store address when it is not &g ...Show All
SQL Server Forcefully Disconnect All Users and Drop a Database
Hey all, I am trying to write a function to drop a specific database no matter the connection status. I have tried con = new ServerConnection (sql); con.Connect(); Server srv = new Server (con); srv.KillDatabase( "Name" ); ,and also tried Database db= Database (srv, "Name" ); Database db=srv.Databases[ "Name" ]; db.Drop(); None of these worked. That surprises me because K ...Show All
Visual Studio 2008 (Pre-release) Dynamically set attributes
Hello, <MediaElement.RenderTransform> <TranslateTransform X="{Binding RelativeSource={RelativeSource Self}, Path=Width/2}" Y="{Binding RelativeSource={RelativeSource Self}, Path=Height/2}"/> </MediaElement.RenderTransform> Okay, I am trying to move the MediaElement in the X,Y directions by half its width, height using what I believe is binding. I am convinced that I've got it thoroughly ...Show All
Software Development for Windows Vista TransactionInDoubtException
Source: System.Transactions.TransactionInDoubtException: mscorlib Text: The transaction is in doubt I'm getting the following error is a very specific circumstance and I don't understand why. I've got a single unavoidably long running transaction (~90mins) that I run from a .net component against a SQL Server 2000 database. If I invoke my component from MMC.exe (COM based root) I'll often (eventually) get the above error message. However, i ...Show All
Visual Studio Team System Shelved Code during a Merge
I've got a scenario to describe, and am interested in feedback. We are using TFS Version Control, and are performing builds from this TFS VC Project; I'll call this the "main" line of source. For major releases, we will create a branch, and do all development on this branch until it is deemed complete. At that time, changes are merged back into the "main" line of source, and a production build is done. It is conceivable th ...Show All
Windows Forms Does VS2005 has Ouklook bar control in standard control collection?
I'm evaluating VS2005 for new Windows applications. Thanks for your reply. No VS 2005 is missing quite a few controls that people consider common including task-style windows like Outlook or Explorer, dockable windows (supports docking but not floating), collapsible windows, etc. Fortunately with the introduction of layout panels it is a lot easier to implement these. Still your best bet is to either find a free version (ther ...Show All
Windows Forms Longhorn vs Vista...
What is the difference b/w longhorn and vista. ...Show All
Visual Studio Linked Solution. Does this work in 2005
One of the biggest headaches for us, is creating Applications consisting of many solutions. The normal recommendation from Microsoft is to put everything in one solution but this is not always ideal. The problem we have is the Debug/Release functionality. If you build a solution the assemblies are placed in target directories. These are based on the release type. When you reference an assembly which version should be referenced What ...Show All
Smart Device Development Will there be a Compact Framework 3.0?
I noticed that WinFX was recently renamed Framework 3.0. Does this mean we will be getting a Compact Framework 3.0 as well :P Alex, Does this mean that the CF 2.0 will be included in the ROM for new releases of PDAs and the 3.0 will be distributed Will we ever see these new releases of the CF distributed through the ROMs of the PDAs (Like the CF 1.0 is distributed now) ...Show All
SQL Server ReportViewer control for WinForms - can I copy text?
I am using the ReportViewer control for Windows Forms, and I would like to be able let my users copy text from the report. Is there any way to configure this At the moment, the text is not selectable. Thanks, Erick Unfortuntately, the text is not selectable in the winforms reportviewer control. This is something we hope to enable in the future. ...Show All
SQL Server Open Report Builder and Link to Report Directly?
Hi, I've created a simple webpart that lists all the reports that a user has created using the Report Builder and next to each line item is an "Edit" link. What I would like to do is open up the Report Builder application and pass a parameter of the report path or something like that so that report builder opens up the report automatically. Is this possible Thanks Tristian http://blogs.m ...Show All
