krog's Q&A profile
Smart Device Development How can I do this in .NET CF1? Is this possible?
Anyone got a c# class that has autocomplete added Thanks! The instrinsic controls in CF do not expose the OnPaint event. As Ilya mentioned, you can try to sublcass the control, but let me tell you, it is not easy, because you will need to draw everything yourself. IMO it would be easier just to use the OwnerDrawn list from SDF. ...Show All
Visual FoxPro VFP9 Multiple Detail Bands and Page Overflow
I have a complex report that has one parent table and 5 child tables. All children have multiple records for each parent. In testing I found two problems for which I have found no reported bugs/work arounds: 1) If a detail band (say band 4) is at the end of the page, and there is not enough room for band 5, it will push band 5 to the next page, but only one record will print. Just one record. Records 2- never print. I ca ...Show All
Windows Forms Problem With CheckedListBox
I' have more then one cheked objects in the list but I get the same (first) value all the time, despite the index is change. Hear Is the Code strQuery = "SELECT code,name FROM tbl001 ORDER BY name"; orclDa = new OracleDataAdapter (strQuery, strOrclConn); orclDa.Fill(orclDs, "tbl001"); clbMifalim.DataSource = orclDs.Tables["tbl001"]; clbMifalim.DisplayMember = "name"; clbMifalim.ValueMember = "code"; foreach ( int ...Show All
Windows Forms Forcing a control to lose focus
Hi, What would be a quick way to force a control (more specifically, a ComboBox) to lose focus I tried sending a WM_KILLFOCUS message, but the keyboard focus remains at the control. I guess my question is how can I kill keyboard focus&n ...Show All
Visual Basic Getting AssemblyInfo from a Form?
Hi all, I'm new to the forums and I need your help. I developed a class that receives a Form as a parameter in its constructor. Is there any way I can get the assembly info (ApplicationServices.AssemblyInfo) from such form, or I need to pass it as a parameter too In short, I need to get the CompanyName and the AssemblyName. I know from the form I can get the CompanyName, but what about the AssemblyNam ...Show All
Software Development for Windows Vista InvokeWorkflow simple question.
I have a project with two workflow in it. I want to call flow2 within flow1 using InvokeWorkflow activity. The question is when I click TargetWorkflow property, flow2 doesn't show up in the list. This is my first time to use this activity, I guess it must be something simple but I don't know. Thanks in advance This is a bug. Presently you cannot invoke a workflow from within the same project. You will ...Show All
SQL Server Setting connectionstrings in an execute package task from .NET application
Hi All, I have an SSIS Package that calls another SSIS Package in its Control Flow through the Execute Package Task. The child task contains 2 Connection Managers (1 for Oracle and 1 for Sql Server). The parent SSIS package is called from an existing windows service. Here's the issue: When the package solution was initially deployed to our staging server we received the following: Error loading PackageName: Failed to decrypt protect ...Show All
Visual Studio Missing specified module when validating website
I'm trying to build a VS.2003 solution for the first time in VS.2005. When the build gets to the actual web site project I get the following output: ------ Rebuild All started: Project: http://localhost/NowPrintNet/, Configuration: Debug .NET ------Validating Web Site Building directory '/NowPrintNet/App_WebReferences/'. (0): Build (web): The specified module could not be found. (Exception from HRESULT: 0x8007007E) Validation Complete ...Show All
.NET Development when new versions present interface changes, and your app breaks...
I am writing an extension to a COM based Application which offers its API as COM components or COM Interopted .NET assemblies. The extension was written against version 9.0 of the application. In version 9.1, they made cosmetic changes to their .NET interfaces in the COM Interop assemblies. Mostly, they changed methods that had out parameters to properties. These cosmetic changes have caused quite the headache. Our first resolution was to mainta ...Show All
Visual Basic A Pause with a Loop
Okay...what I want to do seems simple but I've been at it off 'n on for a few days with this & finally decided to post my question. I have a Label I want to flash on & off a few times much like a warning sign. You would think something as easy as: For i as Integer = 0 to 20 Label1.Visible = True Thread.Sleep(500) Label1.Visible = False Next would do it. But it doesn't. I tried throwing a timer in there s ...Show All
Windows Forms vb application deployment
STRESS!!!!! I have finished my project/app and now would like to put it on disc to distribute. I have created a deployment project and asigned my app to it. I goto build and get a build error: Unable to build assembly named 'bookings.exe',HRESULT == '8007064F' Can anybody explain what this means and what I should do to resolve my problems. My app is made of various forms with an access db. I have some crystal reports in there as well. Many T ...Show All
SQL Server SELECT INTO: How to Use with WITH command
Hi, I'm trying to create a table that stores deduplicated rows using the following syntax. The WITH statement works fine but as soon as I add it to a select into it falls over. I did start by using the SORT object in SSIS but this took hours where as using the row_number function took minutes. Just can't get the data into a table. What am I missing Thanks Marcus select * into dedupe_temp FROM WIT ...Show All
Visual Studio Express Editions Reconfiguring dataset with Access database
I have a database created with Access. My question is if I make changes to the database within Access what is the proper method of reconfiguring the dataset in the VB editor so that the changes are seen. As an example I created a Users table in Access and then added this datasource to my VB project. I then went back and added a column to the table. What is the proper method of resetting the dataset in the VB editor. Thanks. ...Show All
Software Development for Windows Vista HELP!! SQL Persisence not working
Hi, I had this problem with Beta1, and i'm still having the same problem in Beta2. I try using the sql persisence service.. I have the database created and all with the script i got from the samples... But seems like the workflow is never persisted.. I have a SQL2000 database.. What's weird is that the SQL Tracking services works fine... The Workflow never goes to the persised event... I tried everything i really need some expert Help.. ...Show All
Windows Forms Time Selection from Datetime picker control
From the datetimepicker control I am able to select the date but not the time Can I select the time also from Datetime picker control Thanks Thanks My problem got solved. I had set the mindate and maxdate ...Show All
