Bent's Q&A profile
.NET Development Showing pop-up without loosing focus
Hi, I got a c# application. I want to show a popup form without loosing focus from other application (for example if the user is typing in word, i don't want the focus to go to the popup). I tried to show it with Form.Show() (in msdn they say it will show it as modeless) but it still loose the focus sometimes. (it's not consistent). Is there any way to show the form without taking focus or to return focus to other window that had the focus ...Show All
Windows Forms Animal Farm?
Has the Animal Farm been copied over from gotdotnet yet If not is it going to be copied over If already copied where is it TIA Bugs Hi, still looking into this. I need to coordinate with Justin to see where this stands. &n ...Show All
SQL Server Event handler bubble up problem
The idea is that the severity 2 tasks are bubbled up to a single Event Handler. Tasks with severity 1 and 3 errors should not bubble up as they have their own event handlers. Lets assume the path between the inner severity 2 container and the severity 1 task is a failure path. There are two problems appearing: 1. If Task A with Severity 2 and Task C with Severity 1 both error then each error is recorded twice: a. Once when Task ...Show All
Visual Studio Express Editions Windows Media Player object
Hello, I'm using the AxWindowsMediaPlayer-object to play sounds in VB.NET. Everything goes well, I can select sounds,play them, configure the balance, the volume, .., but I can't seem to figure out how to play the next sound in my listbox when the previous sound is over. I've tried .EndOfStream, but that doesn't seem to work. Anyone here who knows how to get this to work Any help would be appreciated. Grtz, Tom. Memory is fuzzy but the ...Show All
Smart Device Development How to install SQL CE 3.0 (SQL Mobile 2005)
Hi, Note : I work in Visual Studio 2005 (CF 2.0 and SQL Ce 3.0). To deploy sql ce 2.0 with VS 2003, I only add assembly (SqlServerCe.dll) to my project and it's run... Now, in vs 2005, I try to deploy SqlCe 3.0 on my device (Windows CE 5.0). However, when I deploy my project, sql ce was not installed on my device. I installed sqlce30.wce5.x86.CAB (found at C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\SQL Server\Mobi ...Show All
Visual Studio Express Editions Dotnetfirebird
Hi! Does anyone know if it's possible to get an report printed using the Firebird database It seems to be very good for using with embedded databases, but i can't find any good free report liberys to use with it. Does anyone know one Not aware of any free reporting tools available for .NET I'm afraid and there are no reporting facilities in any of the Express editions. Most third-party vendors seem to charge an ...Show All
SQL Server Conditional Execution based on Multi-Valued Parameter Selection
If a user selects all (266) parameter values from a mult-valued parameter list, I would like to display a table based on a version of a stored-proc that does not select records using parameter driven criteria. The total selected count can be acquired by =Parameters!ParmName.Count syntax. Total available parameter values can be extracted by =CountDistinct(Fields!ColName.Value,"DatasetName"). Setting a filter on a table and inspec ...Show All
Visual C++ Visual C++: serial communication and MFC
Where can I find a good example of serial communication in Visual C++ and MFC. http://www.naughter.com/serialport.html ...Show All
Windows Forms File System TreeView
I'm working on an application in which I'm trying to build a TreeView that contains the contents of the filesystem on the machine the application runs on, and have run into a few problems. Eventually I'd like to make it into a standalone c ...Show All
Visual Studio 2008 (Pre-release) Modal "something" in browser app
(I know this is a bit off topic…) I want to make my own modal dialog using a CustomControl or Popup with buttons. But how can I stop program execution and wait for a button to be pressed I mean something like this: public class MyOwnDialog: CustomControl { public static DialogResult OpenDialog(string question) { //Add control to window, and hook op buttons. //But how do I wait for button clicks } } Usage: private void OnDeleteCu ...Show All
Visual Basic linking forms
ok heres an easy one i'm sure how do i go about linking one form to another, i.e. on form1 i have 2 textboxes. on form 2 i have a label how do i write the coding so that the label.text is the sum of the 2 text boxes. ALSO How do i open a form, as a form, from a form and have the first form close, without my whole program closing with it ie. button1_click (blah blah blah) Dim frmForm2 as New form2 Form2.show ...Show All
Windows Forms Combox ?
If combox is set to Enabled = False Is there anyway to set its background color and its forecolor. We want it disabled but wish to have it with white background and black font color. Thanks Deasun http://www.tirnaog.com ...Show All
Visual Basic Runtime doesn't seem to recognize <codebase> entry in app.config
I have an assembly that needs to be shared with multiple windows services running on multiple servers. For company political reasons, I can not register the shared assembly in the GAC. I don’t want to distribute the assy to every applications directory (or sub directory of) that needs to reference it. I would like to put it in a common location that all services can reference it from. On MS’s site and many others I have read tha ...Show All
SQL Server Solution Explorer in SQL Server Management Studio
Am I just out of my mind or does the solution explorer only list files in the order they were created Is there any way to sort the list I'm trying to manage a database as a "solution". It has over a hundred or so procs. If I can't alphabetize the list it is of no use to me since it's impossible to find a specific proc when they are not sorting in any logical way. (Please keep in mind there are multiple developers working on th ...Show All
Visual Studio Shape inside a shape
Is there a way to put a shape inside a shape. I would like to put a shape inside a shape the same way as creating a compartiment for attributes. Is it possible Example : Having a Square shape I would like to put inside the square a circle or a roundedrectangle in some way that allows me connect to any shape in the diagram. Thanks Luiz Ricci There is some functionality that approximates to this in the Examp ...Show All
