eldiener's Q&A profile
Visual Studio Tools for Office VSTO SE & InfoPath
How I get InfoPath inside VSTO SE so I can work on both the InfoPath pane and VSTO pane. Not possible AFAIK. You can either develop an InfoPath add-in, which means you can use the custom task pane feature of Office 2007 (supported by VSTO 2005 SE) or develop an InfoPath project template using VSTO, which embeds the infoPath window inside VS, but that means it's an InfoPath doc-level solution, which doesn't support the app-level taskpane introduced by Office 2007. Hope this answers your question. Best regards ...Show All
Visual Studio Express Editions Textbox updating/refresh problem.
Hello Experts, This problem is actually making me ill, please could you spare a moment The answer is probably very simple (I just can't find it!). I have a form with an API event handling a price feed. The feed is just trying to update a textbox on the main form. Code is like Public Class MainDisplayForm . . . End Class Public Class PriceFeedFromAPI Inherits fxRateEvent . . . Public Overrides Sub handle( ByVal ei As fxEventInfo, ByVal em As fxEventManager) . . . MainDisplayForm.PriceTextBox.Text = CurrentPrice.ToString End Class The text box TextUpdate event fires OK after the update and I can see that the value gets to the .Text property (it Debug.Prints the value when fired) but ...Show All
.NET Development parameter is not valid
when trying to create a new bitmap object which is very big, for example 1500 x 1500 pixels I get an Exception Paramter is not valid. Is this a limitation to .Net or can i configure it somehow For example System.Drawing.Bitmap bm = new Bitmap(1600 x 1600) throws an "Parameter is not valid" exception. If i put a smaller size (200x200) everything works fine. GDI+ is quite infamous for generating mysterious exceptions. Yours is a common problem without a good diagnosis. I'd go with 1600 x 1600 x 3 = 7.6 MB of memory that you don't have available in the swap file. Try expanding it: Start + Settings + Control Panel, System, Advanced, Performance settings, Advanced tab, Change virtual memo ...Show All
SQL Server Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance
No wonder Microsoft is giving it away for free. It’s not worth anything. I am very disappointed in this version of SQL server. I decided to start learning VB so I downloaded and installed VB 2005 express edition and SQL 2005 express. I tried to build a personal website using the starter kit. I kept getting the following error message, for which I have seen numerous postings on this forum. “Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed.” I went out and bought the Standard version of VS 2005 thinking there may be a feature that the free express version is lacking. I uninstalled the express version, cleaned the registry, deleted all the fo ...Show All
Visual Studio 2008 (Pre-release) Verifying Security Token
Hi I trying to create a service that uses info card authentication mechanism... i have a sts that issues a security token, i want to know is it possible to verify the security token at the service side, if so how is it possible. need help regarding this. Regards Raguvind Ganesh As Todd mentioned we use the token Authenticator. For your STS sample using info card basically you are using a managed card and you require a Saml Token authenticator. Basically you can make the X509Authenticator use the specific validator that you might require. Let me know if this helps you. public Token ( String xmlToken ) { byte [] decryptedData = decryptToken ( xmlToken ); ...Show All
.NET Development Cryptography
Can we decode the Hash that is generated by MACTripleDes Actually i want to send an image from client to server in the Encrypted smallest possible size. Is there any other method to do that A hash is a secure checksum of data, it cannot be "decoded". You're probably looking at encryption and compression. Compressing first will generally give you a smaller final size. Check out the System.IO.Compression namespace for built-in methods of compressing data. Check out the System.Security.Cryptography.CryptoStream for example of encrypting/decrypting data. ...Show All
Windows Forms ListBox databinding - adding items in a loop
Hi, I've come across an issue, and I can't figure out why it's behaving like this. I have a ListBox that is whose DataSource is a BindingSource, the BindingSource's DataSource is a business object I can add individual items, one at a time, just fine. If I attempt add items in a loop (foreach or for...), the very last item added does not show it's text. The item is there, just with empty text. If I iterate through the ListBox.Object collection, I can see the text just fine. Why would the last item to be added not show it's text Thanks, Mike Taking a tip from someone else, I reset the .DataSource of the ListBox right after adding a new item, and it works fine. Mike ...Show All
Visual C++ any documentation for coding a compiler
I have a friend who is doing a school project: coding/implementing a comipler for C or C++ Where can he find some documentation pls Thanks. Here is the final draft of the C99 international standard. How complex is this compiler supposed to be ...Show All
Visual Studio Team System Create new project - Failed with TF30162
Hi, I try to create a new TFS project , using Team System Explorer, and it fails with : " Event Description: TF30162: Task "SharePointPortal" from Group "Portal" failed Exception Type: Microsoft.TeamFoundation.Client.PcwException Exception Message: Insufficient permissions on the Windows SharePoint Services at k2 to create a new site." The user it is member in the SQL Server Reporting Services as System Administrator, is also member in the Windows SharePoint Services administration group, and i also grant rights using : "tfssecurity /server:http://k2:8080 /a+ $namespace create_projects n:"mydomain\myuser" ALLOW" what else must be done that the user can create an new project we use Team Fou ...Show All
Software Development for Windows Vista Workflows on .Net Framework 2 vs .Net Framework 3
We are looking into doing Workflows with a MOSS 2007 implementation. I have read a bit and downloaded the Beta 2.2 components and the VS 2005 Extensions for developing these. My question is how does this all fit in with the new Workflow stuff coming out in the .Net Framework 3 (aka WinFX) I read that this will run on Windows XP, Server 2003 along with it packaged with Windows Vista but I am very confused. Are these Beta 2.2 versions early versions of the new stuff coming out but built to run on the .Net 2 framework currently or will there be a real release for the 2 framework and the New Vista stuff come out later running on the .Net 3 framework What are the go live options for these (I think I saw something on this I will check) bu ...Show All
SQL Server Error: SQL Server Internal Error. Text manager cannot continue with current statement..
When my production server processing some queries suddenly the SQL Server service crashed and following error was in the error log: SQL Server Internal Error. Text manager cannot continue with current statement. The server is running SQL Server 2000 with SP4. I am really concerned because this is a production sever and there are over 300 users access concurrently. Please help me to find a solution. Thanks, Roshan. I have executed the DBCC checkdb and there are no consistency errors. I need to find the cause of error because it crashes the SQL Server process. I need to prevent this happening again. ...Show All
Software Development for Windows Vista very small bug with PolicyActivity (RC4)
1°Create a Workflow project (WF Release candidate 4) 2°Drag & Drop a policy activity: add one basic rule (i.e if True) 3°In the workflow class code, BEFORE the workflow class declaration, add a simple class class Test { } public sealed partial class Workflow1: SequentialWorkflowActivity {...} 4°Compile => the compiler give you an error : in my case: Error 1 Activity 'policyActivity1' validation failed: Can not find the rule set "Rule Set1". Check if rule set is defined in the rules file. ... WORKAROUND : If the Test class is defined AFTER the workflow class, it's ok. Serge So, how would one stop that error from occurring I have the same issue, and it is driving me crazy ...Show All
Visual Studio How to get the current model inside my custom tool
Hi, I am creating a custom tool as described herein http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=67666&SiteID=1 . Inside the GenerateCode method, I would like to access my model. More specifically a property from my root domain class. I can access the ProjectItem and I tried the following post http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=111349&SiteID=1 but without any success. Does somebody has a suggestion thx, I tried the solution proposed in post http://www.clariusconsulting.net/blogs/kzu/archive/2006/03/09/LoadDSLModel.aspx for loading a model, but without any success (The DeserializeStore method apparently doesn't exist in V1 anymore). After some research and investigating the generat ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA doomed?
XNA may be the greatest thing since sliced bread, but I don't see it getting a lot of support until you make a simple web page that explains what features the XNA framework supports and why I would want to use it. I'm not going to download the thing just to figure out what it is. (Sigh...trolls) Fine, I'll spell it out to you in as simple terms as I can manage. DirectX development generally requires a full retail version of Visual Studio. XNA specifically supports Visual Studio C#, and is fully optimized for use with the Express edition. It is designed to work with a free compiler. Moreover, since it is designed to work with a specific compiler, the development environment for XNA is universal. A program ...Show All
Windows Forms I really don’t know when it’s good practice to create a component class
Another question pls, if we wanna create sql connection string, should we put it in the application scope (config file or application var) or should we create a component module(my sql connection string will be the same for many applications) I just don”t understand the component and class component part of .Net Thank you For config files, I m more used to asp.net web.config. Is the configuration file you mentioned similar to the asp.net one or does work differently for windows forms applications. I appreciate your explainations. ...Show All
