franziss's Q&A profile
Visual Basic Controls Transparency
My purpose is to display rotated text or image on the running movie. For that I have used windows media player control in .net. I add the AxWindowsMediaPlayer (Windows Media player Control) on my form and set dock properties to fill. And put the Label and set the BackColor to Transparent. But instead of displaying the movie as background its displays the BackColor of the form. I want the background movie run in background and display the rotated text amd image on that without background color of the text and image. Thanks in advance. Hi, You may need to force you rotating item "ON TOP" through calling o ...Show All
Software Development for Windows Vista UndoEngine and multiple IDesignerHosts
Hi! I am rehosting the WF designer and I'm trying to get the undo/redo capabilities working. Other than in most of the examples I have not a single design surface, I have multiple each one on a separete tab (like in VS). I'm managing these using a DesignSurfaceManager. The ctor of the UndoEngine (my DesignerUndoEngine which derives from UndoEngine to be exactly) expects to find an IDesignerHost in the IServiceProvider it gets. But in my case I have multiple IDesignerHosts, each surface is one for its own. How can I get the UndoEngine to work Do I have to create an UndoEngine for each design surface If so, how can I get a "global" undo across all surfaces How does VS do it Thanks! ...Show All
Windows Forms .NET app checks for original install location before running?
It appears that when I install/deploy my .NET 2.0 app using a Deployment Project within my app solution, the first time my app runs it checks the the MyApp.MSI in the location from where the install was originated. Is there any way to prevent this behavior My app is NOT deployed as a ClickOnce app and is not published so I don't understand why this check is happening My deployment files are: Setup.EXE MyApp.MSI CRRedist2005_x86.MSI What I usually do is combine these three files in a single WinZip self extracting to produce an end result of MyAppSetup.EXE. This all works fine with ONE exception, WinZip self extractor will remove the above 3 files from the temp folder it creates. This becomes a problem because when I click on th ...Show All
SQL Server How to control number precision?
Hi all, There is a table like this: item quantity ------ ---------- A 1 B 3 C 7 D 6 Now I want to get a table like this: item Percent ------ ---------- A 1/17 B 3/17 C 7/17 D 6/17 For script: select item, quantity/sum(quantity) from table but the number has a very long precision, like 0.0588235456456, I only want to keep two number after the point as like 0.06,what should I do Thanks! Coeus: Maybe something like: select convert (numeric (9,2), 0.0588235456456) ...Show All
Visual C++ windows.h not found...
WOW, I can't believe this information isn't easier to find. I downloaded and installed Visual C++ 2005 Express, and then downloaded and installed the Platform SDK SP2. NOTHING WORKS! The Directories are not found and there is no apparent way to set them. Apparently users have found a hack to make it work, but this is crazy. It seems like the first Microsoft person to install this would notice that it doesn't work and would raise the flag to the appropriate people so they can take the steps to fix it for their users. Or at least document it on the very first page where it is downloaded, or the very first page of the documentation. A user shouldn't have to hit forums to find out how to make a product ...Show All
Visual Studio 2008 (Pre-release) Sylin' a Panel's Navigation UI
Hello Is there a way to style the navigation UI on a panel. I'd like to add more buttons around it. I saw a post about styling navigation ui for the navigation window. But I'm not sure how to style a panel so that its navigation ui would show more buttons. Thanks Houman ...Show All
Visual Studio 2008 (Pre-release) Help on layout
The code below displays among other things a canvas called drawSurface. This canvas is added as the last child and has fixed size. As the window is resized, and when the window becomes larger than the canvas, WPF positions this canvas in the center. So far so good. My question is how can I find out the canvas's left top coordinates relative to its container. The reason is that I need to track this in my application. I appreciate any help on this. Thanks /* using System; using System.Collections.Generic; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; ...Show All
Visual Studio Reporting Services - Dynamic Reports
Hi I want to generate dynamic reports - in run time and view them in the reportViewer control. I generate the report base on Microsoft - " Tutorial: Generating RDL Using the .NET Framework " 1. Should I generate a rdlc/rdl format . 2. If a generate a rdlc file , do I have to deploy the report to the report server Thanks Regarding RDL vs. RDLC: please check FAQ Nr. 8 on http://www.gotreportviewer.com/ To answer your questions: If you want to run the reports with the report viewer controls in local mode, you should generate .rdlc files and they will not need to be deployed to a report server because you are running in local mode. For using the report viewer control in ser ...Show All
Visual Studio Team System Team Funny server :) RUN AS deleted the workspace on other comp
Here is the story :- I am TFS admin of my team and we have 150+ users . some time back I have to use my login cred's from a user's desktop , so I started VS2005 client RUN AS my cred's and connected to TFS . I did the work and closed the VS . And the fun begin when the actual user started VS 2005 he saw my workspace , so he deleted (I dont mind , I had nothing checked out ) and tried to create his own but whatever he does he can only create workspace where owner's name is me . He can not create workspace with his name as owner We tried devenv /resetuserdata , then deleting his profile , then format his system but the problem still persist . Vive La VSTS I tried to change my password so that the cache become i ...Show All
SQL Server report server in the network
I have a computers network with server. in the server the report services work good. the problem is with the other computers in the other computers I got an error http://img2.tapuz.co.il/forums/1_91462227.jpg just one computer show the report, but this computer have SQL SERVER. the url to the report is: http://myServerName/reportServer.... what I need to do for work with the report services in a local network. thanks, (and sorry on my english ) OK, let me try again. On your server, check out the directory where reporting services is installed for a LogFiles directory. On my machine this is C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\LogFiles In there you will find some text fil ...Show All
.NET Development msi .NET dependency
Hi, I've created setup and custom installer(C#) projects using VS2003 to package and deploy an application to a mobile device, but some users are reporting that unless they have .NET 1.1 installed, when they open the msi, they get the following message:- "This setup requires the .NET Framework version 1.1.4322. Please install the .NET Framework and run this setup again..." I know that in general .NET apps run against the version of .NET they were compiled against but this can be overridden in the app config file, but is a similar thing possible in the context of the msi These users have already got .NET 2.0 so they should not be forced into installing 1.1 just to install something on their PocketPc device. Th ...Show All
Visual Studio Tools for Office ThisWorkbook_Open() triggers twice...
Hi, I am building VSTO application for Excel 2003 using framework 1.1 In public class OfficeCodeBehind theres a VSTO function protected void ThisWorkbook_Open() that triggers when the excel sheet opens. In this function I am writing some initialization code but I just found out when application starts, this method gets called twice. I dont call this function, this is VSTO's internal function.... I dont know why is this happening and how to stop this event triggering twice. Where should I write initialization code In initialization I instantiate my own objects and stuff... Is ThisWorkbook_Open() a good event to write initialization code Thanks, Theres only _Startup() event in my application. Is workbook1 ...Show All
Visual Studio Express Editions Another Really stupid Question on textboxes
Hi I'm trying to input 10.99 into a textbox it does not let me enter a decimal place for some reason I can't seem to figure out why I have tried masked textbox on load I tried text = "00.00" but nothing seems to work Jay Is the MaxLength length property set to short Do you have any events wired up to handlers that are eating the decimal place Is this really a MaskedTextBox and not a TextBox If so... what is the mask set to ...Show All
SQL Server Trying to Figure out IIS configuration on a Vista System
A few quick questions in regards to Vista and Visual Express installs I have been trying to install SQL Server 2005 Express Edition with Advance Services, I get an IIS requirement warning -- I have logged on as an administrator, configured the IIS to include the 6.0 (in the add/remove programs), rebooted system, unistalled and reinstalled SQL 2005 Server Express with advance services SP2 and still get this message -- is there something I am missing I need to have this in order to run the Reporting Services (at least that is what I thought) Additionally, I tried to work around it by installing visual web developer with the reportviewer addin. I can't seem to get that feature to work properly either -- any thoughts would be greatly ap ...Show All
Software Development for Windows Vista Render the WorkflowView into WPF
Hello , I want to render WorkfowView into Windows Presentation Foundation Is it possible If it is possible then please tell me the way to do it Thanks, Pravin Arote Hi I havent tried doing it so i wouldnt be able to help you on that matter. But I am guessing if you post your question on WPF foru, ( http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=119&SiteID=1 ) more people would be able to help you and let you know whether or not it is possible Hope this helps Elif ...Show All
