Glenn Sams's Q&A profile
Visual Studio Project developed with Crystal Reports for VS 2003 does not convert to VS 2005
I used the Visual Studio Conversion Wizard to convert a VS 2003 project to VS 2005 I get the following 2 errors when I build the converted project: The type 'CrystalDecisions.Enterprise.InfoObject' is defined in an assembly that is not referenced. You must add a reference to assembly 'CrystalDecisions.Enterprise.InfoStore, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'. The type 'CrystalDecisions.Enterprise.EnterpriseSession' is defined in an assembly that is not referenced. You must add a reference to assembly 'CrystalDecisions.Enterprise.Framework, Version=10.2.3600.0, Culture=neutral, P ...Show All
SQL Server saving DTS package to sql server
hi, I have a "Transfer sql server object task" in SSIS that transfers few tables from one database to another. The task works fine and the project is saved on my c: drive. I was trying to save the project on the SQL server and don't know if i am doing somehting wrong I have the following selections made: Package Location: SQL server Server: ServerName Authentication Type: Windows Package path: /TransferTables Protection Level: Encrypt sensitive data with user key Now when i hit ok i get the "No description found" error with the following details: No description found (Microsoft Visual Stud ...Show All
Software Development for Windows Vista Dynamic Update to a Workflow Created from a XOML
Hi I have seen the dynamic updating of a workflow by adding/removing the activities in terms of class objects. Now i am creating a workflow from a XOML and i will have a new XOML with the changes in the workflow. HOw can i update the existing workflow with the modifications from the new XOML. this is how i am instantiating a workflow from xoml. string [] xomlFiles = { @"Workflow2.xoml" }; WorkflowCompilerResults compilerResults; compilerResults = compiler.Compile(parameters, xomlFiles); Type workflowType; workflowType = compilerResults.CompiledAssembly.GetType( "MyWorkflow" ); Workf ...Show All
Visual Studio 2008 (Pre-release) Modify Window Chrome via templates?
I've been playing around with Avalon for quite some time. I love it and am really looking forward to what people can create with it. My only gripe is the fact that the Avalon application resides inside a regular window chrome. Now, I understand why this was done, but does anyone else see a need to allow for customization of the window chrome Could anyone explain to me how Microsoft Max accomplished this Finally, I've opened up a suggestion on MSDN Product Feedback. If you think that customization of the window chrome should be allowed without Win32 calls, vote on it! http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx feedbacki ...Show All
Visual FoxPro UML Design Tool
Is there a UML design tool I can use that will generate (and ideally reverse engineer) VFP code I want to do use cases, object models and maybe object sequence diagrams. I am currently using Visual Modeler that came with Visual Studio 6 but it has limited VFP support and only supports object models. It's not exactly clear on their website whether or not it still does VFP. The online ordering doesn't seem to say it does. I have sent them an email. See what I get back..... ...Show All
Visual Basic Extract typed info letter by letter
What I'm trying to do is have a text box for a user to enter a name into, then extract each letter from that box in order, turn letters into numbers, then screw with that to come up with an apparently random number for later verification (see if the name matches the number). My question is- how can I get each number into a seperate variable, then change it into a number (and all letters be pre-defined, so it's always the same number for each letter) Thx in advance. P.S., don't be too technical, I've only been using this for about 2 months P.P.S, I have Visual Basic 6 version 6.0.8169 Enterprise Edition Y ...Show All
Windows Forms PictureBox ImageChange Event???!!
Hi All, I was wondering if there is an event I can use other than 'Paint' to capture when a picturebox has had a image loaded or changed any help appreciated. Carl. Adding an image causes Invalidate() to be called.Hence,call the InValidated event to get the change in image. Hope this helps ...Show All
Windows Forms FYI - "Fixing" javascript events with .NET Framework 1.1 and SP1
For those of you who are using or were using javascript events prior to SP1 with the .NET Framework and are having issues - there exists a fairly straight forward workaround. Steps to take: 1. Do not use standard Javascript event syntax or object.attachEvent(...) - Both of these raise SecurityDemands for the UnmanagedCode permission - which will fail in IE unles ...Show All
Visual Basic System.ArgumentException was unhandled - WebBrowser object
Hello, I got this message "System.ArgumentException was unhandled Message="Navigation to a relative URL unsuccessful." Source="System.Windows.Forms" Well, that's not the whold message but it's like fifty lines of code so.... Well, the question is for the WebBrowser object. I placed a WebBrowser object on my form then in properties, how do you put the URL in do you put in like: C:\myform\index.htm or something else What if you put in like C:\myform\index.htm, and you have the "index.htm" but the user doesn't have that will VB take care of that, will it copy and put in into the release bin then change ...Show All
Smart Device Development Possible to write my own UITypeEditor or use existing in the CF?
What I'm trying to accomplish is a MultilineStringEditor on the design time properties window. It should look just like the Label control's text property or textboxes's text property, when you click the down arrow a box pops open that allows newlines. I now know how to use the MultilineStringEditor in the regular framework, but the System.design.dll doesn't exist in the CF ( ). So I decided I could just write my own, however.. the System.drawing.dll in the CF doesn't seem to have the System.drawing.design namespace with UITypeEditor which I need to extend to write my own editor. Should I just accept that I'm using the CF a ...Show All
Visual Basic XmlWriter: what's wrong with this code? VB.NET 2005 beta 2
Hi, I am not sure what's going on here, but when I look at the content of Buffer in the last line I find that the first three bytes represent invalid characters &HEF, &HBB, &HBF, the forth one finally is the first character of the xml document &H3C wich represents "<". Is this a bug or is it my stupidity Dim xmlW As XmlWriter = XmlWriter.Create( "C:\test.xml" ) xmlW.WriteComment( "Test Comment" ) xmlW.Close() Dim testFile As New FileStream( "C:\test.xml" , FileMode.Open) Dim Buffer(testFile.Length - 1) As Byte Dim count As Integer = testFile.Read(Buffer, 0, Buffer.Length) Please help! Meini ...Show All
Visual C++ Problem in setting PATH,LIB and INCLUDE environment variables through script for 32 and 64 bit plateforms.
Hi, I'm using Visual Studio 2005 Professional Edition. I have a script file (batch file) to launch the devenv by using /useenv. Through this script some environment variable are being set for both 32 and 64 bit plateforms. if, I need different values for both 32 and 64 plateforms,I use two variables in the script e.g. A32 and A64 otherwise only one environment variable. This is required, So, that I can compile code for both 32 and 64 bit plateforms on the same IDE, which was launched by the script. Now, the problem comes to set the standard environment variables e.g. PATH, LIB and INCLUDE a ...Show All
Software Development for Windows Vista Direct3D Screenshot?
Does anyone know what Direct3D functions I should look at if I wish to be able to take a screenshot of the desktop. I don't really care to get the contents of my application but rather the entire desktop as it is presented to the user. I know how to get the render target surface for my own application, and to get it's data into a bitmap file. However, I want to get the render target surface that represents the desktop (perhaps I should mention that I'm wanting this for Vista, since the DWM is a Direct3D application) Please see my previous posting inthe DirectX 101 fo ...Show All
Visual C++ How to debug a application that fails DEP
I have a pretty complex application (C++, MFC, COM, etc.) built using VS 2003. Some of the users running it on AMD 64 computers (Windows XP SP2) have reported that once in a while the application crashes because of the Data Execution Prevention. What is the best way to find out what causes DEP If Windows finds that a user-mode application is attempting to execute the stack it will raise a STATUS_ACCESS_VIOLATION exception. http://msdn.microsoft.com/library/default.asp url=/library/en-us/memory/base/data_execution_prevention.asp I'd attach a debugger to the application and the go to ...Show All
Visual Studio Team System TFS Project creation fails while uploading documents to the Windows SharePoint Services server
ARRGH! 1. Are there any plans to ever update this link with real content It's gotta be getting past the point of embarassing by now: http://msdn2.microsoft.com/en-us/library/ms242875.aspx . I only mention this, because I keep going to that site over and over, hoping that someday there will be a good, official answer on how to set up TFS to work over SSL. 2. I have hacked my way into getting TFS to work with the Application Tier (Sharepoint ) to work on port 80 with Integrated Windows Authentication, and the Data Tier (TFS Services ) to work on port 443, also with Integrated Windows Authentication. At some point in this process (back ...Show All
