M Parker's Q&A profile
Gadgets z-index with <object> and <g:background>
I'm nearing completion of my gadget, but I have one last feature which is stalling me. My gadget is using an ActiveX control to stream video from a webcam. Everything is working great, however I'm running into the old problem of not being able to catch onclick events on the <object> tag. My workaround so far has been to use onmouseover, which works fine, but it is less than perfect. While messing around with g:background, however, I noticed that if the z-index is higher than the z-index of the ActiveX object, I suddenly can right-click on the object and get the normal gadget context menu. Usually, that does not work. Also, the onmouseover event on the object stops firing, which leads me to believe that in some wa ...Show All
Visual Studio How adequate-rich or suffitient-complete the DSL?
I want to develop Relational model or Data base - showing tables, connections, attributes, but also -type of attributes, their length, connection between tables - by attributes. So - how I can resolve desires to show more rich look then just table-attribute ____ Or for object model- how to show methods and objects separately or with some icon Or not with icon - by how can I show many different things or hierarchical things on attributes set One of the nice things about the DSL Toolset is its flexibility. For example, suppose you start with the Class Diagrams template. At first, each class is represented as a box, and each attribute and operation is represented as a line item within the box, in the ...Show All
SQL Server Can a Connection Manager be parameterized?
Can you create one connection manager that accepts the Server name and database name at run time and constantly reuses the server and datbase name at runtime when executing one SSIS solution with Multiple packages. You can use Expressions property in your connection manager to build the connection string at run time. You might also want to use package configurations to 'pick up' the right values from a configuration file/table. Jamie has something about it on his blog, http://blogs.conchango.com/jamiethomson/archive/2006/03/11/3063.aspx Rafael Salas ...Show All
Visual Studio 2008 (Pre-release) 2D controls in a Viewport3D?
Is there a way to create a Button in a Viewport3D Or is there a thirdparty tool that has created such functionality as an add-in on top of WPF The closest I've been able to come is creating a VisualBrush and then applying it to a 3D surface, but it's not really fully interactive. If there isn't a way to do this, please consider this as a vote for adding this ability to future versions of WPF. You can't really do a full 3D user interface without the 2D controls being available in Viewport3D. I could live with restricting the 2D controls to being placed on 3D planar (flat) meshes, if that simplifies it. Perhaps a new Canvas3D or Grid3D class that can be placed within a Viewport3D No, there is no w ...Show All
SQL Server Connecting to Analysis Services through Analysis Manager gives "ActiveX component can't create object" error
Hi, This question pertains to Analysis Services 2000 SP3a running parallelly with SQL Server 2000 SP3. When I try to connect to Analysis Services through Analysis Manager, I get an error "ActiveX component can't create object". Any help in resolving this issue would be greatly appreciated. Thank you. You are running into some kind of installation dependancy problem. Try installing latest service pack for Anlaysis Services - SP4 or re-installing existing one. Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All
Customer Care Framework CCF 2005 and Vista/IE7
The CCF white paper states that CCF 2005 is compatible with Windows XP SP2 or later and IE6.0 or higher. I am specitical that CCF 2005 will work with Vista and I'm not sure of the implications of using IE7. Has anyone had experience with CCF 2005 and Vista or IE7. CCF works quite well with IE7. I and others have been using CCF + IE7 for a while now. As to Vista, there have been CCF clients built for Vista using CCF 2005 .net 2.0 edition. There are some tweaks to the reference desktop code required to support some diffrences in Vista, but it does work. I have been told that CCF 2005 .net 2.0 edition is undergoing a certification / testing process with Vista and it should be offical  ...Show All
Visual Studio Express Editions xcopy help
hi, can someone tell me how to get the files being copied into a list box for display the code Dim ProcID As Integer ' start xcopy. With ProcID = Shell( "xcopy C:\DOCUME~1\*.dbx/s/h c:\backup\" , AppWinStyle.Hide) End With I would think you mean a textbox, but I'll split the contents of a file into individual lines and display each line in a listbox. General Example - in this case creates a text file and then reads it in and displays it in a list box and a textbox. Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load '//Create a Textbox file with 3 lines in Dim strconte ...Show All
Visual Studio 2008 (Pre-release) New June CTP Error
Hello! Is this a known error Only Setter or EventSetter elements are valid direct children of Style element. 'System.Windows.Controls.Primitives.RepeatButton' is not valid. Error at object 'System.Windows.Style'. I have no idea! Many thanks! Often times when presenting errors it's good to produce the code or markup that is causing this problem. It usually helps things get solved quicker and more accurately. ...Show All
Community Chat Kyro KidSafe Browser (beta)
Hello all, I am making a "KidSafe" browser for kids. Please download my program and post any noticed bugs,etc. It takes only minutes to set up. I am 10 years old, so who can make a browser for kids better than a kid Progress: Final will be started in January Thanks you everyone for your contributions and encouragement. *Has 3 tabs for browsing. *Has a "My Websites" button with up to ten of your programmed websites in it. Beta Features: *Has 3 tabs for browsing. *Has a "My Websites" button with up to ten of your programmed websites in it. *Talking Help guide *A new install program Updates in final version: *Button text replaced with graphics. *A game room with games, and fun KidSafe software (suc ...Show All
Visual Studio 2008 (Pre-release) Change rectangle property from code
Hi guys, i've got a rectangle i've drawn in a grid, how can i change its propertys from code, i think i need to build once or something, should i be using X:name or something...FindName, i'm a bit lost, thanks guys si something must be wrong then because its not working for me any ideas what that might be, im using the RTM for everything but Cider, its all the latest version of what ever, and visual studio 2005, im not seeing any .g.cs files either, help help help lol. also i meant that i coulnt use Xpad1 and Xpad2 in my code, intelisense just isnt displaying them ...Show All
Visual C# The Max Lenght of the MemoryStream
For some reason, I must allocate lots of memory at a time. I want to know the max lenght of the MemoryStream. I wrote a sample in .NET 2.0 to test it. Once the length is greater than 256M which is 268435456, an Exeception will be thrown: Exception of type 'System.OutOfMemoryException' was thrown . My PC has 1G memory. It seems not be a restriction of my computer. So what's the max length of a MemoryStream, someone got the official material about this ...Show All
Visual C++ VS2005 C++ compiler bug?
I do not know if this is the best forum to report a MS VC++ compiler bug (please advise if I should post this to another forum). In the process of migrating code from VC6 to VC8 (i.e. Visual Studio 2005 Professional Edition) I have stumbled across what I believe is a C++ compiler bug in the handling of template functions invoking the function call operator. Details and other ramblings below (after the example code that exposes the problem). #include <algorithm> #include <list> #include <stdio.h> #include <tchar.h> class A { public : // explicit initialising constructor (made explicit to avoid implicit conversions or casts) explicit A ...Show All
Visual Studio Express Editions Share text between forms
Hi Can I get my program to automatically save text/information I put in when I close the application Is it possible to take text from different forms and place this text into a form. For example: I am working on a timesheet program, each week has its own form, then i would like one form to show all the weekly totals. I have tried using dim f5 as new form5 f5.textbox1.text=textbox2.text and also inherits system.windows.forms.form public shared textbox1 as textbox (for example) I get it to transfer information a form at a time but it doesnt have all the weeks and i'm not sure how to automatically save. Thank you very much for your help. elainel311 wrote: I a ...Show All
Visual C# while (true)... need help!!
I thought I knew quite a lot about programming but when I came accross a bit of code like: while (true) { ...do something... } I had no idea how this works... I know that it's a conditional loop and while it is true it loops through performing whatever tasks there are to do... BUT what is the (true) part how does that work if it loops while(true) what would make it false since it's not a local variable or anything and you cant say IsRunning = false; it just always is true... Does it mean that while app is still running or something... That's the only solution I can come up with is that it means while( app is running){...}... Am I right Can someone please take the time to explain this to me and maybe give me the proper name for referring ...Show All
SQL Server Executing Package From Web Service
Hi, I'm having another go at attempting to call an SSIS package from a web service. The Web Service is set up on the same server as the sql server and SSIS package deployment. When i attempt to run the pacage from the web service it starts and then inmediately fails. I can see this in both the Integration Service Logs and the event viewer. If i click on the package itself and run it using the DTExecUI, it runs without a problem. No logs are output by the package when called by the web service. Can anyone suggest anything that i could to see if i can diagnose where the problem stems from. Many thanks in advance, Grant Are any exceptions being thrown within the WS code Are you passing IDTSEvents or an im ...Show All
