Pat Backowski's Q&A profile
Software Development for Windows Vista Problems with state persistence and timer services
Hi, I've experimented with adding the SQL state, timer and tracking services to the Lab1 sample step 4 (the expense report approval workflow). The tracking service works fine, but it seems that the state and timer services get the engine stuck on the ListenForManagerApproval activity. If I disable the state and timer services the workflow unfolds as expected. I use the (really cool) Workflow Monitor sample to view the results, and the progress is evident every time: With the state and/or timer service enabled, the flow gets stuck on ListenForManagerApproval and then after a while the workflow gets the status "aborted". Any ideas why ...Show All
Visual Basic sharing data
Howdy, i want to have 2 or more ComboBox's sharing the same pool of data. ie i dont want to have to retype the whole lot 4 or five times, the data will contains peoples names. I have played around a little by having a MS Access Table with a list of names, but this seems inefficient. I also want to be able to ADD more names to this list by pressing a "button" etc. Any help would be appreciated. Dwayne Here's an example form that uses an array list. Imports System.Collections Public Class Form1 Dim arr As New ArrayList() Private Sub Form1_Load( ByVal sender As ...Show All
Visual Studio Really Frustrated With VS 2005
I posted earlier about the fact you cannot get a copy of VS 2005 Pro even though the "launch" was 11/7. I have a Windows app I built using the VS 2005 Beta 2 that I need to update but since I downloaded the new Express editions (thinking they would work - wrong!) all the Beta 2 stuff is gone. OK, I went to my other system (Win XP SP2) and figured I'd install the VS 2005 Beta 2 there and use that until someone decides to "really" release VS 2005 Pro. No Joy. The install completed saying that it couldn't install all componets - it listed some like J# (which I never use) as failed installs. I deided to do a Repair/Reinstall - that al ...Show All
Visual Studio Express Editions Newbe looking for VB overview
Hi, I'm a newbe and would like to know where can I get an overview of VB Express 2005 and .NET Framework and how they relate to each other. I see terms like to API and MSDN and would like to know more. Thank you in advance for any help. Regards, Ken Hi Ken, Take a look at the topics in the Visual Basic Guided Tour - they should give you a a good idea what Visual Basic Express is all about. http://msdn2.microsoft.com/en-us/library/90h82b3x(VS.80).aspx Hope this helps, Steve Hoag Visual Basic Express ...Show All
Visual C# Returning multiple values from methods
How do I return multiple values form methods Hi Yogesh, Is it possible to returns multiple values without "ref" / "out" parameters. Regards, kailash ...Show All
.NET Development Query with Distinc Values
Hi, Another problem, hehe. I have an orders table with order_number, customer, item_number as composite primary key. The table also has date_of_order and quantity. A form in VB2005 displays the different orders in a datagridview when a customer is chosen from a combobox. The datagridview is binded to the orders table. Now, the query to extract the order numbers starts off select distinct order_number date_of_order since i do have want duplicate order_numbers in the datagridview i did not "select" item_number in the query. But since I do not select item_number, an excepti ...Show All
SQL Server Server: Msg 107 - The column prefix xx does not match with a table name or alias name used in the query
Can anyone help me with why SQL server returns this error when executing the following query. I have read the online help on this and I am correctly using the alias in the subquery. The error is caused by the reference to the table alias FD in the subquery for fundvalues which gives me reason to believe that the subquery is being parsed or evaluated before the outer query. I don't know how to avoid this behaviour and I do not want to have to rewrite the process completely. The error is returned both when executed through the query analyzer and also when executed through the vb program. ( Note : This is a subsection of a much large ...Show All
Visual C# Bind with WindowsIdentity
Hi, how can I bind to the ActiveDirectory with WindowsIdentity, without requiring username and password again Thanks. I found and expect to have to use the token.. Do anybody of you unmanaged guys know how to bind to the ActiveDirectory (in fact I need to get the Guid) with the login token Thanks... ...Show All
Visual C++ Poor Program Design?
Hi Griffonbait! My experience with Borland C++ Builder is that BCB puts a declaration in the form's header file and opens up the coding window in the .cpp file ready for coding. My understanding of programming, and the way I have taught it, is that the header file is primarily for declarations not for a project's ("solution" as VC++ calls it) code. 1. Headers files are not needed for OOP-Design 2. The reason why the implementation of the managed-windows-forms C++/CLI is in the header file is, that the windows-forms designer can work probably (that means you can either change in the designer or ...Show All
Visual C++ WH_CALLWNDPROCRET hook into Gina
Hi, I am currently working on hooking into GINA functions. I know i can use WH_CALLWNDPROCRET hook to hook into windows procedure to display my own dialog for retrieving user credentials. And then I need to monitor for WM_INITDIALOG, WM_SETTEXT, and WM_COMMAND.But I got lost when i implement them, coz i can't single step debug them when I test them on windows logon. Can anybody tell me the basic idea of where and what my code need to do in WM_INITDIALOG, WM_SETTEXT and WM_COMMAND Many thanks, Andy Hi Martin, Indeed i am trying to write a logon program using biometrics. I think i will need to read more on w ...Show All
Visual Studio Team System Team Build Failure (test execution) with IBM.Data.DB2
I am in the process of testing the Team Build feature of Team Foundation Server w/Visual Studio 2005 and am continuing to run into an error that cannot be replicated when running a build/test manually (on either the server or any client). The error I get when executing the MSBuild process is: One of the background threads threw exception: System.TypeInitializationException: The type initializer for 'IBM.Data.DB2.DB2Connection' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'db2app.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) warning : at IBM.Data.DB2.v.nmpTraceOn() warning : ...Show All
Windows Forms Texbox problem
Hey, I used in visual basic 2005 express the About box Item/form for my program, and changed the texbox with info about the program, but when I run the application and click on the option that should open it, it opens, but, the text that should be seen in the multiline texbox is not there...what should I do here is the code for the About.vb form: Public NotInheritable Class About Private Sub About_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load ' Set the title of the form. Dim ApplicationTitle As String If My .Application.Info.Title <> "Your Pr ...Show All
Visual Studio Team System Setup has detected exisitng T F Databases and operation cannot be continued.
Hi, Raj this side, please help me out installing VS TFS. It gives the error saying "Setup has detected exisitng Team Foundation Databases and Operation cannot be continued". Thanks & Regards Raj Did you install on a clean server If you look on your SQL server and if you find databased with one of the following namens: BISDB, BISDWDB,CurrituckDB, VSTEAMSCC, VSTEAMSCCAdmin, VSTEAMTeamBuild delete them. Also check if you have a share on your machine for the workitems (location C:\VSTS\WorkItemTracking\Attachments) and remove the share as well, You can then try it again. But if you want to make this work without any addition ...Show All
Smart Device Development Registaration of activex failed in wince5.0
hi I have written an activex which i need to register on Pocket PC 2005 emulator. I am using Visual Studio 2005 beta as the development environment. I used the regsvrce.exe (the arm processor version) to register the activex. but it just says dllregisterserver failed... can anyone give me any pointers in this regard thanks in advance!!! Hi, Registration fails in case you don't have the imported dlls in the system path, \windows, or the same directory. Do a dumpbin on the ocx/dll to see the what all the controls links to and whether it is deployed to the device or not. Thanks Avinash ...Show All
SQL Server Report Models using Islookup and expandinline
I am building and deploying models. I have many small description tables, they include two attributes. On attribute is the key (which is a code or type) and the other is a varchar description. They tables are each optionalone related to the primary table. I am "denormalizing" the description tables using Islookup. I change the Role in the primary table to ISLOOKUP, I modify the defaultattributes to remove the code or type key attribute, only the description attribute is now a detailattribute. I hide the key attribute just in case. In most cases when I do this the de ...Show All
