Software Development Network Logo
  • SQL Server
  • VS Team System
  • Windows Live
  • Architecture
  • Visual J#
  • Windows Vista
  • Visual C#
  • Windows Forms
  • VS Express Editions
  • .NET Development
  • Visual Basic
  • Smart Device
  • Microsoft ISV
  • Visual FoxPro
  • Visual C++

Software Development Network >> Hank Hubbard's Q&A profile

Hank Hubbard

Member List

entanglement
kvkris
ChrisGoodyear
FSX
creaturita
5783sguitar
Bitla
IceX
dangerous2
overseb
Zoran Vujic
KYNg
evercool
Mike1234
gubbas
Jiffy
steve_nadir
Graham Harrison
needhelp1111
sjr1170
Only Title

Hank Hubbard's Q&A profile

  • Software Development for Windows Vista Custom Composite Activities and Correlation Tokens

    Beta 2.2 Perhaps a tricky one for the WF people: I have a custom SequenceActivity that has some logic for generating the properties I need for a CallExternalMethodActivity and HandleExternalMethodActivity. The general idea is that the composite activity encapsulates the supporting logic for a user input custom activity. Now, for each type of typed input from the user, I inherit from this class and put the actual CallExternal and HandleExternal activities into the sequence, binding them to the properties provided by the base class. What I have a problem with is that I'm obviously going to want to use CorrelationTokens to get the Call/Handle p ...Show All

  • Visual Studio Tools for Office C# How to get Excel reference from Smart Tag Recognizer?

    Hi there, I have a requirement to insert a recognized Smart Tag value into a new worksheet whenever the Smart Tag is recognized in Excel. Therefore I need to be able to reference the instance of Excel from within the Recognize2 method of the Smart Tag code. I know I can get Excel instance from the Action code but I do need it in the Recognize section. Is this possible You should not be calling into Excel/Word Object Model from the Recognize method. It runs on a separate thread and Office prevents access to the OM from this thread to avoid deadlocks. ...Show All

  • Windows Forms Image cannot be added to the ImageList

    I'm writing an application in C# 2.0 that will index several thousand icons and add them to a DataTable (for quick searching) and ListView control.  When I test it at home on my XP machine it works great.  It takes about an hour to index 125,000 images (ico, png, gif).  I tested it at work on win2k and I kept getting this exception: "Image cannot be added to the ImageList".  I only get this error after it indexes 4088 images.  Always 4088...  I searched google, google groups, MS forums - nobody mentions this exception.  Does anyone know what my problem is   Does win2k have a 4088 item limit ...Show All

  • Visual C# How I can add button efects?

    How I can make a button to change it's background image when the mouse is over it or on click hi, add image to your project resources and use something like this private void button1_Click( object sender, EventArgs e) { button1.BackgroundImage = null ; } private void button1_MouseHover( object sender, EventArgs e) { button1.BackgroundImage = global ::WindowsApplication1.Properties. Resources .MyimageName; } hope this helps ...Show All

  • Visual FoxPro Help! Save me from this error cursor not saved error message!!!

    Hi all; I have this grid who's control source is a cursor who is exclusive. Somewhere in the grid I use a replace command to change one of the fields in the cursor. When I move to the next row, and change a field I get an error stating that the current row is not saved and needs to be saved. I have tried everything including putting a FLUCH FORCE command after the replace command. I don't see why an exclusively opened table should even have this problem. Well, its probably a simple know thingy for you wizzards, but please save me before I lose my sanity :-) Thx. Update: I thin ...Show All

  • Software Development for Windows Vista Is it a bug in Clone of composite activity

    We are developing a custom composite activity derived from sequence activity. We have a situation where the custom composite activity that is closed already need to be executed again. Code works fine as for as creating new context and running custom composite activity again. However on close of this custom composite activity execution status of the activity still remains executing. After diggining in (thanks to Reflector), I figured that the issues with property "FaultProcessed". It seems that FaultAndCancellationHandling filter is adding property "faultprocessed" to my activity when it had state transition from executing ...Show All

  • Visual C++ List.h(18): error C3318: '2.7': has an illegal IDL version format

    Hi There,        I am trying to change the version of the COM object with version attribute (Our current version is 2.6 and when I rename it to 2.7 I get the below error List.h(18): error C3318: '2.7': has an illegal IDL version format Just for example this is one of our interface definition [ object, uuid(3E76D23D-59D3-4212-94EA-03997405D28E), oleautomation, pointer_default(unique) ] __interface ILogItem { [propput] HRESULT DateTime([in] DATE); [propget] HRESULT DateTime([out,retval] DATE *); [propput] HRESULT Milliseconds([in] long ); [propget] HRESULT Milli ...Show All

  • Windows Forms PropertyGrid Property update causes strange scrolling behaviour

    Hi. First time poster. I'm using a PropertyGrid to display updating integer property values. The properties have only a get. I have more properties than will will fit in the property grid hence it displays a vertical scroll bar. All the properties have appropriate help text. The application updates the integer values in the class given to the property grid in SelectedObject and then calls the propertygrid Refresh method. It does this once every 5 seconds. The values update as expected. You can select any of the immediately visible rows and the help text displays. You can then scroll down and see any of the off screen properties and the va ...Show All

  • Windows Forms ADO.NET, DataSet and pulling related data from the SQL 2k

    Please let me know if at any point I'm trying to force my way through doors already open :) My goal is to write a class that would enable me to populate the whole dataset with schemas of tables being in relation with the one in the basic SQL query and fill those tables with relevant data. Eg if I have table UserCoreInfo consisting of&nbs ...Show All

  • SQL Server MultiUsers Question

    We had a debate on designing a database .The use case is; an application that we will rent to other companies from our own datacenter on the web .They will all use the same database schema .We found 3 alternatives for our solution.But we are not sure which one is the best. We are expecting 20.000 insurance agencies to use the database composed of 33 tables.And they will all have their unique data but sometimes for reporting we might union their data. ALTERNATIVES 1.Make 20.000 database instances.Every agency will have their own database instance. 2.Make one database instance , put a database ownerID(int) field to every table.And use ...Show All

  • Windows Forms multiple files search in a directory?

    Does anyone know of a simple way to return multiple files extensions from a directory search.   This is what I'm trying to do. Dim strFiles as String() strFiles = Directory.GetFiles(p_strSourcePath, strFileNum & ".jpg* " & strFileNum & ".bmp*") I think this is possible, I'm just having trouble with the syntax.  Any ideas Thanks, Rick ...Show All

  • SQL Server Create a flat file for each record in a table

    I'm rather new to ssis and I've been reading and testing but didn't find a solution for this problem.Supose I've got a table Customer with some fields. One of the fields is CustID.I want to create as many flat files as there are Customers in the table with flat file name set to the CustID.If you could point me in a good direction, It would be nice.Greetings from Belgium Do you want any data in these files or just the file to be created If you just want the file to be created you could aggregate the data and then use the FileExtractor to create the file (You would need to add 2 columns one for the file name ...Show All

  • Visual Studio Express Editions Activation

    I was given an activaion code but it doesn't work.  Yes i cut and pasted it. When you use the copy and paste method, sometimes people don't realize that they copied an extra space at the end of the code. and when they paste it, they don't see it, because nothing is there. Or they accidently have an extra digit at the beginning of the data. Make sure when you paste it, that the code is completely left justified and the cursor is up against the last digit, before you press, OK. But, I do recommend the advise that the other reply gives. You do have to start you activation over again. ...Show All

  • Visual Studio Express Editions Unhandled exception after modifying controls in designer

    I converted a project form VB7. After a little tweaking it builds without any errors. The program runs fine and publishes without problem. Where the problem starts is if you change the font size or move a control on form with designer the program throws an unhandled exception when you debug. If you undo the changes in the designer it still throws the exception. I have to delete the form and load an unmodified backup copy to get program to work again. You can modify the controls in code and it works fine. Anyone have experience with this problem. Thanks, I turned on Option Strict and cleaned up all the errors. From there I was able to ...Show All

  • SQL Server Trigger changes do not Replicate (Merge Replication)

    I am using SQL server 2000. I have implemented merge replication. If i make any changes to the triggers on the publisher, they do not get reflected on the subscriber after the next merge takes place. Infact, if i read the agent history it says that there is No data to merge. The "User triggers" option, that can be reached by clicking on the elipses (...) of the published article has been checked. Is there anything else that i need to run other than the merge agent which runs periodically Any help will be appreciated. VB.NET programmer. - sometime DBA :( SQL server 2000 only replicate user triggers, but ...Show All

©2008 Software Development Network