StarsFire's Q&A profile
Software Development for Windows Vista Different between Workflows
whats the different between creating workflows for windows sharepoint services workflow and creating workflows for windows without sharepoint . thanks alot. Hi Omar_Jordan, Windows Workflow foundation provides various levels of extensibility; among which are a rehostable runtime engine and an activitiy component by which you can describe your business logic in the semantics you desire. Several Microsoft products have used this engine and written custom activities for their specific end users. SharePoint happens to be one of those Microsoft products. Specifically, Sharepoint is hosting the WF runtime engine in process and has written a variety of activites to help people perform document lifecycle related workflows. Hope ...Show All
.NET Development database binding cascade dropdown objects
is there anyone who could comment error in this example: i have database with two tables. first table (table1) has two columns: worktitleid (int) and worktitle (string). second table (table2) has three columns: nameid (int),worktitleid (int),name (string). column worktitleid from table2 takes its values from column worktitleid of table1. in vb.net 2005 i create two comboboxes lists (cb1 and cb2). both comboboxes have dropdownstyle property set to dropdownlist (to force choosing from listed items). First combobox has to be filled with data from first table - display item is column worktitle, and value item is column worktitleid. Second column has to be filled with data from second table - display item is column name, an ...Show All
Windows Forms Get variable value from Main form
How can I get Main varialbe's value from another form. for example: get menu item's text, or get program caption's text, etc. thanks Edward thanks, but what I want to do is: I have the main or principal form already open, is where my app start, over this I open another form using ShowDialog(), in this form I would like to get the text property that the main form have, how can I get this info from an already open form. If I use MainForm dlg = new MainForm() in order to get properties info, I am creating a new one, and InitializeComponent is executed again, what I need is properties values from the original main application form. Is there a method or something like that to access already open forms. or main ...Show All
Visual Studio Tools for Office Pivot table Conditional calculated field
I have written this query and this query returns me the same results as i expected except the Grand Total at bottom which show the same value as of old grand total. "WITH MEMBER [Measures].[Q1] AS '[Measures].[BY] * IIf([Center].CurrentMember.Name = ""Apple Research Center"", 1.2, 1) ' SELECT {[Measures].[Q1],[Measures].[Prior],[Measures].[CY]} ON COLUMNS, [Center].[Center].Members ON ROWS FROM Demo" Please Help Anil Hi Anil Since this question concerns working with Excel pivot tables, and doesn't have anything to do with the VSTO technology, your best chance for getting help is a specialized Excel group. I'd start with the query/data group , but you'll find others in this same ...Show All
SQL Server Problem saving/retrieving unicode characters NVARCHAR with unicode collation (java jdbc)
I'm connecting to a SQL Server 2005 database using the latest (beta) sql server driver (Microsoft SQL Server 2005 JDBC Driver 1.1 CTP June 2006) from within Java (Rational Application Developer). The table in SQL Server database has collation Latin1_General_CI_AS and one of the columns is a NVARCHAR with c ollation Indic_General_90_CI_AS. This should be a Unicode only collation. However when storing for instance the following String: €_£_UUUUuuuu_AAOaaos£CcNn_ _ _ _ . .. it is saved with for all unicode characters as follows (when looking in the database): €_£_UUUUuuuu_AAOaaos£CcNn_ _ _ _ The above is not correct, since all unicode characters should still be visible. When inserting t ...Show All
SQL Server [SQLCE Mobile]Do Select during Transaction
Hi, I need to do a Select and after a Insert during a Transaction. But when i want to commit this transaction i've the following error message : The transaction can not be committed if there are any opened cursors in the scope of this transaction. Make sure all data readers / result sets are explicitly closed before committing the change. I don't understand this error message. How can i close my cursors. Before my Insert i'm closing my SqlCeDataReader and i dispose it. My SqlCeCommand are also closed and dispose. Do you have any ID Thanks. Hi Kardath, I tried to repro this here and could not reproduce the problem. I am able to have both INSERT and SELECT in a single transaction. Ca ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Import Content
Hello, i want to write my own ContentManager Class that supports streaming content... what steps has to be taken to write my own Load<T> method that supports the same basic types as the Xna ContentManager class does. How can i import (for example) Model content out of a xnb file using the standard processor sorry for my english #pragma Hmm thx :) I see.... in the discription of the ContentManager something like "It also manages the lifespan of the loaded objects (...)" is written. What does this mean When exactly disposes the ContentManager loaded ressources Is it possible to dispose those ressources manually from the ContentManager ...Show All
Game Technologies: DirectX, XNA, XACT, etc. "Kitchen Sink War" Download !!!
Download "Kitchen Sink War" for the XBOX 360 and See Screenshots at ... http://games.archor.com This is My Second Entry into "Dream, Build, Play" ... http://www.dreambuildplay.com Have Fun ! ECHS BACHS wrote: Now that DBP is Over (for now) ... What do you mean "over". It's not over by a long shot. Why would you say that ...Show All
.NET Development Validate an XPath expression?
I am building a dynamic SQL query that includes a XML exists statement where the XPath expression is taken as query parameter. In order to avoid in SQL injection issue, I need to validate the XPath expression. How can I validate an XPath expression Thanks in advance, Joannes http://www.peoplewords.com It is not clear what you mean by "validate an XPath expression". I would recommend this document, which describes some ways an XPath injection may be carried out: http://www.packetstormsecurity.org/papers/bypass/Blind_XPath_Injection_20040518.pdf Do read the section: " Defending against XPath Injection " Cheers, Dimitre Novatchev ...Show All
Software Development for Windows Vista Executing the workflow under a custom permission set
Hello, how can I execute my workflow under a different (from the host application) permission set Thanks, Pierre I found the solution: no solution. The workflow can run only on a FullTrust enviroment ( http://windowssdk.msdn.microsoft.com/en-us/library/ms734559.aspx ). Thanks, Pierre ...Show All
Visual C# dynamic asp button click doesn't work first time
Hi all, I'm creating some asp buttons dynamicly and I associated them an event handler btnDel.Click += new EventHandler (btnDel_Click); but the first time I click on the button goes to the Page_load but the btnDel_Click is not fired. Somebody knows the reason Thanks in advance. P.D.: Sorry for my english. I may be wrong, but I'm quite sure you assign the event after the page is initialized. That way nothing will happen the first time you click the button (other than the page being posted back). The second time you click it, it'll work since the event was assigned after the first page load. Sounds confusing enough Either you could look into the page event order of asp (googling f ...Show All
Visual Basic "Tahoma" font problem
hi everybody i've written a project using VB and Access. for VB control font property i have chosen "Tahoma" font, as i am using farsi (persian language) script. i have made executable and installable copy of the project. in spite of the fact that when running the project in my own computer i face no problem and all captions appear in farsi script, doing the same (installing and running the project) in other computers, for some of the controls as command buttons or radio buttons, the fonts appear in some meaningless script, while for some others as labels the fonts appear properly and correctly. amazing .... isn't it !!! please help me in finding the solution ... thnx a lot farshid ...Show All
Visual Studio Express Editions very simple calculator
Hi everyone, This will sound completely noobish ^_^" but i can't get it to work. The thing im tring to do is extremely simple but i can't find any info on it what so ever. Im still a C# beginner and i guess i got heaps to learn :D There are two textboxes and a button on my form on click it should collect the values from the two textboxes and add them together that's it. However, i keep getting a 'can't convert string into int' error. (when i try and pass the value as a string instead of a int it works without problems i.e. when i try to display my first and last name using the textboxes) Thank you for your responses :) or just change MessageBox .Show(intResult); to MessageBox .Show("Result: " + intResult ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Magenta sprite color comes up transparent?
This seems to be a new behavior in Beta 2, is it a feature or a bug When I draw a sprite with SpriteBlendMode .AlphaBlend that contans the color (255, 0, 255) that color shows up as transparent. Is this to allow an easier way to create transparent regions in your sprites Bill You are kidding me There is a hard coded color key in the texture processor. What happens when people download and use precreated content. What happens when a artist has nice gradient in a texture and one of the intermediate colors happens to be Magenta We have to go back and replace all the 255,0,255 colors with another similar one. What if we get a bunch of sprites with a different color key - DX and MDX have always allowed you to specify i ...Show All
Visual Studio Tools for Office VSTO2005- cannot save xls
I've just created a very simple VSTO2005 Excel project. I am editing the xls in the designer, and I am not able to save the changes. I just get a warning message saying: "Cannot access whatever.xls" What's wrong with it Hi, It turned out that it was something to do with my VSTO project being in "My Documents"- I created a new project in a folder on the C:\ drive and it then worked. Must be some security on our company network interfering with it or something. ...Show All
