David Beavonn's Q&A profile
SQL Server 'Dynamic Time(year,month,date)' Report Template (rdl) using Report Designer VS2005
I have three types of specific reports that i have to create with the input parameters (range) either 1: By date (rdl 1) 2.By Month (rdl 2) 3.By Year (rdl 3) Is it possible ( or how do I ) to create just one report template ( one rdl) with the three sets of parameters ( hiding/invisible which ever two sets base on user selection) and the output of the report will display the desired type( either by year, month or date). I ask this because its possible to create a drill down report from year down to date etc in report designer (vs 2005). Not sure if I can create one instead of three rdls and with the 'logic' built within that template. Thanks Regards Alu You could create a parameter Report Type with 3 options ( ...Show All
Visual Studio Team System What permissions determine who can be assigned work items?
Good afternoon.. I see a highly configurable permission set. I have a contributer role at the project level with no members. (None have been added since I created the project) However, when I go to create a task, I see all users, including the service account. There is a global service account group, with quite a few permissions. Why is the service accounts group even there to begin with Also, I see direct way to set users or roles to "be assigned work items".. Any ideas Cheers! -Sean You must specify full group name in LISTITEM. There're three kinds of groups you can use: 1. Windows group (domain\GroupName) 2. Project-scoped TF group ([project]\GroupName). Note that you MUST NOT ...Show All
Visual Basic How to scroll content in an OLE
Just i need to scroll content in an OLE ahmedx4, When developing an application that uses data in an Office document, it might be beneficial to have that data presented directly within your Visual Basic application so that the user can see and edit the data without having to switch to the Office application. You can accomplish this in Visual Basic using the OLE Container Control. Please read the following article that demonstrates how to dynamically create and Automate an Office document using the OLE Container Control. How To Embed and Automate Office Documents with Visual Basic http://support.microsoft.com/default.aspx/kb/242243/ ...Show All
Visual C++ "Go to definition" is freezing the IDE!
I rely heavily on the "Go to definition" context menu command to speed navigation through my code. However, on one of the development systems, using that command consistently freezes the IDE. When I open the Task Manager, devenv.exe is consuming 50% of my CPU, but isn't doing anything. It just sits there with the waitcursor endlessly. I've let it sit for up to an hour before... I've already uninstalled and reinstalled VS 2005, but I am still seeing this annoying behavior. I figured that I'd apply for the SP1 beta, but that form is no longer working. Can anyone on the MS team send me a hotfix for this, if it exists Thanks, Dave Thank you! I'm getting the ZIP file uploaded right now, and will post ...Show All
Visual Studio Express Editions Show URL title in title bar
Private Sub WebBrowser1_DocumentTitleChanged( ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentTitleChanged this.Text = "Farscape Navigator - " + this.theWebBrowserControl.Document.Title ; End Sub I can not get it to show the page title in the title bar. I want to display the Web pages title in the title bar. Don't paste C code into a VB program! Try: Public Class Form1 Private Sub WebBrowser1_DocumentTitleChanged1( ByVal sender As Object , _ ByVal e As System.EventArgs) Handles WebBrowser1.DocumentTitleChanged Me .Text = "Farscape Navigato ...Show All
Visual Studio Express Editions MS Speech API (sapi) development
Example sapi programs provided with the microsoft speech sdk have include files for ATL. I noted in one of the responses in this forum, that ATL is not supported with VC++ Express. Does this imply that I cannot build either an application or DLL that uses SAPI using Visual C++ Express Edition If I cannot, then what is the lowest cost C++ product that I can get to accomplish this Visual Studio Standard Edition Visual Studio Professional I'm not looking to do heavy .NET development. I only want to create a DLL that accesses SAPI and can be called from a third party browser pluggin. I need to support both IE and Firefox. Take a look at the following links which might be helpful: http://msdn2 ...Show All
Software Development for Windows Vista Using Com+ For Transaction
Hi I have a problem in using com+. I used to use vb.net 2003. My program's architecture is 5 layers. The Business objects and dataobjects are com+ objects.I use tcp channel for remoting and the atributes for com+ that I use are : < Assembly : ApplicationName("App Name")> < Assembly : ApplicationAccessControl( True )> < Assembly : ApplicationActivation(ActivationOption.Server)> <ComponentAccessControl( True ), _ SecurityRole("MyRole", True ), _ Transaction(TransactionOption.Required)> and for all of my functions I use try/catch .at the end of try I use ContextUtil.SetComplete and In catch I use Contextutil.SetAbort. also I Inherit a class from Exception for my own ex ...Show All
Visual Basic Need help: File.Copy throws TargetInvicationException
Hello! I’m trying to set up a FileSystemWatcher, which I want to monitor a map, and as soon as a file is created, copy the file to another directory. Private Sub InitializeComponent() Me .FileSystemWatcher1 = New System.IO.FileSystemWatcher CType ( Me .FileSystemWatcher1, System.ComponentModel.ISupportInitialize).BeginInit() Me .SuspendLayout() Me .FileSystemWatcher1.EnableRaisingEvents = True Me .FileSystemWatcher1.NotifyFilter = System.IO.NotifyFilters. FileName Me .FileSystemWatcher1.Path = "C:\Temp" Me .FileSystemWatcher1.SynchronizingObject = Me ........ End Sub Friend WithEvents FileSystemWatcher1 As System.IO.FileSystemWatcher Private Sub Form1_Load( ByVal sender As Syste ...Show All
Visual C# Exception has been thrown by the target of an invocation?
hi, What do these errors mean Method 'GetDataAdapter' in type 'Business.SimpleDataAdapter' from assembly 'Business.DataAdapters, Version=1.0.0000.00005, Culture=neutral, PublicKeyToken=12fgdfg12fgeg2gfdg' does not have an implementation. Warning 1 Exception has been thrown by the target of an invocation. 0 0 why do they stop the UI designer from displaying the form Thanks. No it says the error is in line 0 column 0. The method has been added to the baseform (the current form inherits from) although it has no code in it yet as this will be added by another developer. GetDataAdapter() { // code to be added here } ...Show All
Smart Device Development Mobile 5 SDK for Pocket PC install hangs
Tried for hours to get Mobile 5 SDK for Pocket PC to install. The original problem was that my McAffe was stopping various scripts from executing. The install hung after McAffe stopped the scripts. Then, after I turned off the McAffe script analyzer, the SDK tried to rollback and attempt another install, but those installs eventually hung. By "hung" I mean the install wasn't using disk or CPU, there was nothing after the word "status" above the "progress indicator", and the "progress indicator" didn't progress. The "remove" option also hangs. Help The install went fine. I dunno, it's just more convincing to me when the install runs clean. I wanted to start ...Show All
Internet Explorer Development Protected -> Medium Integrity, elevation policy
I have an ActiveX control which needs to start a process with medium integrity. I am trying to get ieuser to elevate the process without prompting the user to ok the elevation. On install, I generate a GUID and add it to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Low Rights\ElevationPolicy, and set the 'AppName' and 'AppPath' to reference the application to run (I do not set the CLSID). I set the 'Policy' value to 3. Even after restarting the PC, IE still prompts the user with the dialog seen in: "Understanding and Working in Protected Mode Internet Explorer" Any suggestions on what I am doing wrong The ActiveX control and application to be launched are both signed, and the application has the manifest trust level s ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Question about HDTV's
I read an older thread about writing games for HDTV's but I still have some questions. My understanding is that I should write my game for 720p if I want the entire framebuffer to fit in on-chip memory. Otherwise I will have to do some special wizadry and render it in pieces. For my first question does the hardware scalar on the xbox 360 automatically scale the 720p picture up for 1080i and 1080p HDTV's My renderer is using deferred shading and Shawn Hargreaves mentioned that this can be particularly tricky to do when rendering at resolutions higher than 720p. I was hoping the hardware scalar would take care of this for me. Also, since 1080p is not supported does that mean that you can't even play the xbox 360 on a 1080p HDTV I thought the ...Show All
Visual Studio Express Editions checkbox.text databinding
hi, ia kinda a beginer in vb.net. I would like to ask on how to databind the text property of my Checkbox or Radiobutton to a desired field in my table from the database.. for example a Field in my table contains a String, let say my name, then i would like display that name to my checkbox text property evrytime a specific form containing that checkbox is loaded -tenx for any response- -Mel- ...Show All
Game Technologies: DirectX, XNA, XACT, etc. C# Exception Assigning an Index Buffer
I'm getting a D3DERR_INVALIDCALL when using the Device.Indices to try to assign an index buffer. Near as I can tell the index buffer is valid and created, the specific function that is getting the exception is Device.set_Indices. Strangely the Indices seem to be set properly to an index buffer. Here is the render function: virtual public void render(mon_mesh mesh) { mesh.primeMesh(); Device tempD = mesh.CurrentDevice; tempD.Indices = mesh.ib; tempD.SetStreamSource(0, mesh.vb, 0); tempD.VertexFormat = monVert.FVF; tempD.DrawIndexedPrimitives(PrimitiveType.TriangleList, 0, 0, mesh.vertCount, 0, mesh.indexCount / 3); } and the portion of the prime function that dea ...Show All
Visual Studio Team System AssemblyInfoTask default Versioning Flawed?
Is it just me, or isn't the notion of versioning defaulted to by the AssemblyInfoTask http://www.gotdotnet.com/codegallery/releases/viewuploads.aspx id=93d23e13-c653-4815-9e79-16107919f93e fundamentally flawed. Assuming major.max.build.revision. Everyone using this task, including Microsoft, seems to be using the strategy that the build number is specified to be DateString with a format of yymmdd, you get something like 061117 on the day of this post or the following if we accept the defaults: 1.0.061117.00 First of all, the actual number (since it gets converted to an integer) becomes 1.0.61117.0 when it gets compiled. Most importantly, if this was next year (2007) at this time, you get assemblyinfo files u ...Show All
