Software Development Network Logo
  • Microsoft ISV
  • Visual FoxPro
  • VS Team System
  • Visual C#
  • Audio and Video
  • Visual C++
  • Visual Basic
  • IE Development
  • Game Technologies
  • Smart Devicet
  • SQL Server
  • SharePoint Products
  • Visual Studio
  • Windows Vista
  • .NET Development

Software Development Network >> spattewar's Q&A profile

spattewar

Member List

nmfl
robinjam
LonelyPixel
nojetlag
Linda Shao
Charles Aryee
ljCharlie
Shaantu
FredZilz
Ron L
SParker
Alexei_shk
MaggieChan
Chibi-Acer
white2grey
rickr36
FranzIt
rmiao
Milos Kompjuteras
Martin Moe
Only Title

spattewar's Q&A profile

  • Software Development for Windows Vista Why is the Activity ContextGuid not public???

    The execution context of an activity is an important piece of the workflow. So why is this important piece of information hidden Currently, there is no way for me to correctly obtain a specific instance of an activity. The main issue I am running into is with tracking. I need to track additional information that is supplied by custom activities. Also, can see the need for a workflow to be able to access other activities in a specific context in order to complete. Here's some code (based on Joel's explanation) that found the non-zero ContextGuid following the chain of parent activities: private void codeActivity1_ExecuteCode( object sender, EventArgs e) { Guid contextGuid = Guid .Empt ...Show All

  • Visual Studio 2008 (Pre-release) Error binding to target method?

    Hi, I'm trying to use linq to implement the filtering required by the IBindingListView interface using code similar to http://blogs.gotdotnet.com/mattwar/archive/2006/05/10/594966.aspx. Here's my code private void Refilter () { if ( m_locked ) { throw new InvalidOperationException ( "The collection is locked." ); } if ( m_filteredData != null ) { m_data = m_data . Union ( m_filteredData ). ToList (); } ParameterExpression p = Expression . Parameter ( typeof ( T ), "" ); LambdaExpression predicate = QueryExpression . Lambda ( m_filter , p ); Expression notExpr = Expression . Not ( Expression . ...Show All

  • Visual Basic A little stranger renaming of files....

    Hi guys, sorry to bother you with stupid posts, but I just don't know where to ask :) So...I need help with a simple code in VB.NET to acomplish the following: I have one folder ( FOLDER1 ) with a few files in it. I want to rename all of them by clicking a button on a form, and I want all the files contained in FOLDER1 to have the same name, just with a number after na name (let say - file_name(1), file_name(2), file_name(3) and so on) considering that 1 will be the oldest file, respectively - the biggest number will be the newest file. That's it. I have some misty ideas how to get to result, but it's really not enough :) I hope I'll find the answer here! 10x in advance! On Error Go ...Show All

  • Visual Studio Problems in Creating Report Using Printing Classes provided by .Net Framework

    Ei guys, I would like to share a problem with you. I am doing a project that requires me to print a letter-like report which consists of the ff. part: --------------------------------------------------------------------------------------------------- ___________ [Main Reference No] ___________ [ Additional Reference Nos ] ___________ [Date] ___________ ___________ [Heading (The recipient] ___________ ___________ [Greeting] ______________________________[Opening Letter]_______________________________ ____________________________________________________________________________ ____________ ____________ ____________[List of Items from a Database Record __ ...Show All

  • SQL Server Post Hotfix error

    I am getting the following (MOM) error on 3 of my databases anytime I initiate a backup of the mdf. The database seems to backup as expected. The one thing that has recently changed is I implemented MS Hotfix 2187 on my SQl cluster over the weekend. Severity: Critical Error Status: New Source: MSSQLSERVER Name: Commit record has already been distributed. Check DBTABLE Description: Unable to expand message 17055 [-1073724769] 18264 Database backed up: Database: XX03PLUS, creation date(time): 2005/12/06(18:38:50), pages dumped: 23026, first LSN: 18761:44:1, last LSN: 18761:46:1, number of dump devices: 1, device information: (FILE=1, TYPE=DISK: {'G:\temp\ar03PLUS_fromVCforK1.bak'}). thanks in advance, Jerry ...Show All

  • Windows Forms Microsoft office Word!!

    some time i write when i am using office word capital letter only while i want it with a small one.. i remember that i changed this by pressing some keys but unfortunatly i dont remeber what it was ... anyone know these keys Regards & Thanks Hi, These forums are meant for posting threads related to programming issues in Winforms.net. Thank you, Bhanu. ...Show All

  • Windows Forms I keep getting old version after instalation...

    I have a C# project, and in the solution I have a setup project a couple of weeks ago I released the program, now I just released another version, to fix a couple of problems, but those people who had a previous version installed keep getting the previous version, while for those who had no previous version it works just fine...On a test machine, I tried removing any reference to the program manually, I cleare all the tmp folders on the pc, went through the registry, but still the same problem... when I run the program instead of running the updated version Iget the buggy version... any suggestions James There is a property in Setup Project "RemovePreviousVersion" by default this is false, y ...Show All

  • SQL Server How to display all the database using osql utility

    I am using the osql utility to access my sql server express edition. My problem is that i don't know how many database is in the sql server so can any teach me how to list out all the name of the database in the sql server using a sql statment Oh, and can anyone teach me how i can attach and detach a database in the sql server using sql statment. Thanks for the help... You can use SELECT name from sysdatabases (new dynamic view in SQL Server 2005 is sys.databases, but the old is also implemented) Combined with a one line statement for OSQL this would be (assume that you use Integrated authentication) OSQL -E -SMyservername -Q"SELECT name FROM sysdatabases" HTH, Jens K. Suessmeyer. --- ht ...Show All

  • Windows Forms Custom Folders in Click Once

    Hi, I want to use clickonce deploymnet. I have application where, inside bin folder I have folders which are required at run time. e.g. I have Reports Folder like \bin\Debug\Reports where I have stored all the RPT files which I called at run time . So I want that , this Reports folder should also get created at the same path where my exe will be installed. Is there any way through ClickOnce, along with exe, my custom folders also get created On Publish tab of project properties, there is option of ApplicationFiles, but it is not allowing to edit/Add. Can anyone suggest the way out of it ...... Thanks Vyanki The Application Files dialog is for reporting what the structure of the published application ...Show All

  • Software Development for Windows Vista DirectShow: get_StreamLength inaccurate

    Sorry for yet another DirectShow query. I'm using the IMediaDet interface to find out the footage duration and consequently the number of frames in the footage for lots of different formats. I've tried two methods to obtain the number of frames. 1. Call get_StreamLength and get_FrameRate and then multiply the stream length by the frame rate to get the number of frames. 2. Use the number of frame calculated in 1, subtract 15 from it (magic number, nasty I know but I'm getting desperate) to get a frame number 15 frames from the end of the footage, let's call it frameNumber2. Then run the graph from frameNumber2 and use the IMediaEvent interface to WaitForCompletion. Check that the event is the EC_COMPLETE event. Use the IMediaSeeking ...Show All

  • SQL Server Delete question

    I recently uploaded my old MSAccess database structure/information to the SQLExpress 2005 database. I now need to clean out the data of each table so i can repopulate it with the program i am trying to debug. The problem i am encountering is the same no matter what i do. I think it is just some sort of typo when it comes to the statment, but i am so new to Server that i am not sure. Table: OwnerInfo - fully populated/created SQL Statment: Select * From OwnerInfo SQL Error: Msg 208, Level 16, State 1, Line 1 Invalid object name 'OwnerInfo'. SQL Statment: Delete From OwnerInfo SQL Error: Msg 208, Level 16, State 1, Line 1 Invalid object name 'OwnerInfo'. Am i mistyping the table name or forgetting some sort of punctuation I have tried ( ), [ ...Show All

  • Gadgets Opacity in Sidebar Gadget

    I'm facing a problem, when setting opacity in Sidebar Gadget. Gadget gets the opacity, but it has purple background instead of it's parent (body) background. Web Gadget is working correctly by setting the alpha filter, but Sidebar Gadget is not displayed correctly - no matter whether I'm using oObj.style.filter = "alpha(opacity=[int value])"; or System.Gadget.opacity = [int value] . John Hax wrote: I still can not make semi-transparent works if there is no obscure pixel below it. Can anyone give me a small sample which use this 2 black/white transparent png trick Forget that trick, I don't see what it's supposed to do beyond the usual methods. If you just want a transparent background, you have ...Show All

  • SQL Server Any way to view <Long Text> In Data Viewer

    I was wondering if there is any way to view <Long Text> in the data viewer I have a text data type, and when using the data viewer it just says "<Long Text>". That contains the data I actually want to watch... is there any way to get this ...Show All

  • SQL Server Timeout Expire Error message

    Hi all, My application is developed using VB6.0 and SQL Server 2000. Frequently the application displays error message, which says 'Timeout Expired - occurred while getting records" when no. of users grows more than 20. We are using processor based licence SQL Server. Under what are all the scenario, this error may come Anybody explain me. Thanks in advance. K.Manoharan Hi Vharshini, Is there any additional error message text available If so, please provide it. I would expect, based on the message text, that you probably ran into a query timeout. Try increasing the CommandTimeout property of your connection (I believe the default is only 30 seconds) and see if this helps. Are you seeing anything ...Show All

  • SQL Server xblkld4.dll and SSIS....

    I have created a VB.NET solution that includes a dll and a tester. The DLL has a refrence to a wrapped version of xblkld4.dll, which is created with TLBIMP, moved to the GAC with GacUtil and registered with RegAsm. From within the framework of the project everything runs smoothly, but when I try to use the DLL from within an SSIS script task I get the following error... [Void LoadData(System.String, System.String, System.String)] Error: Unable to cast COM object of type 'Interop.XBlkLd4.SQLXMLBulkLoad4Class' to interface type 'Interop.XBlkLd4.ISQLXMLBulkLoad4'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{88465BA7-AEEE-49A1-9499-4416287A0160}' failed due to the following err ...Show All

©2008 Software Development Network