CFIG's Q&A profile
SQL Server SP3 & SP4 Not upgrading
When I run SP3 & SP4 for SQL Server it runs okay. I get no errors after the installation & both installations call for a reboot which I do with no problems. But yet when I get back into my machine, go to the Query Analyzer & run " Select @@version " and execute it, it's still showing v8.00.194 (Original release). It should be showing 8.00.2039. Any ideas or suggestions Thanks! ...Show All
Software Development for Windows Vista State Machine Workflow with Parallel Workflows: How do I signal a particular state?
Context I have a reasonably complex state machine workflow implemented (and it works). Each of the 10 StateActivities in the root StateMachineWorkflowActivity has an EventDrivenActivity, HandleExternalEventActivity and SetStateActivity. In the client application, I've implemented an ExternalDataExchangeService local service and I can use it to signal the StateMachineWorkflowActivity to advance through each of the 10 states. No problem. I now want to add a ParallelActivity to one StateActivity add parallel execution of some new StateActivities in the root StateMachineWorkflowActivity . Questions 1. What do I do in my ExternalDataExchangeService local service to signal a particular StateActivity/EventDri ...Show All
Microsoft ISV Community Center Forums Applying InsertBreak to a style?
Hi, Using Word 2003 and not fluent in writing macros. I'm trying to write/string together a macro that would insert a page break in front of a style called H1 if H1 is on an even page. I've tried dozens of different pieces of code and can't get it to work. What I've tried is to find all occurences of H1 and when found, applied this: Selection.InsertBreak Type:=wdSectionBreakOddPage Unfortunately I'm not skilled enough to do this fully, and haven't been able to find any example macros that would do even something a little bit similar, so that I could modify that to my needs. Any suggestions/help you can provide will be much appreciated!!! Thanks, Laura Hi Navajo, Thank you very much ...Show All
Game Technologies: DirectX, XNA, XACT, etc. So... What is XNA then?
So XNA then is the next step of the DirectX API for .NET languages (previously called Managed DirectX), is just a new technology completely different that will be shiped in a separate way of DirectX or is the real way in which DirectX 10 will move, adding an "unmanaged" API for the past contents using Directx 8 and 9 Better to say this: So, just to summarize, we could say that DirectX is still a machine-built API for games and will continue like that and that XNA is the new managed wrapper for DirectX 9 > So, can we expect that in Windows Vista we will have the XNA layer for DirectX 10 so that XNA games work well on it We can hope, nothing has been announced..... >Is XNA a layer to install separately fr ...Show All
Visual Basic Changing the connection string programmatically
Hi, Using .net 2005 is it possible to change the connection string programatically within my application eg if user = xxx then connection string = x else connection string = y endif there is, you can create your own method to do so. For example, you can have a method which will build the connection string based on the username, password, datasource you give it. Example: private function DoBuildConnectionString(byval username as String, byval password as String, byval dataSource as String, byval catalog as string) as String Dim theConnectionStringBuilder as new System.Text.StringBuilder() theConnectionStringBuilder.Append("data source=") theConnectionStrin ...Show All
Windows Forms Modeless Dialog boxes that are Always in Focus
How do you make a modeless dialog box so that it is always in focus with the parent window Like the floating menus in Photoshop, for example. Whatever I do, I haven't found a way to keep more than one window in focus at a time. Thanks, so they only make it look like they are always in focus by having it so the border colour doesn't change when they are out of focus. ...Show All
Visual Studio Design Report on the Desktop
Hello. Is it possible to place some control on the form to let user design Report on The Desktop with Crystal Reports for .NET This is for user custom report view functionality. Thanks. Hi, Do you mean letting the user edit some fields in the report ie, changing the location of a field after it is being rendered If so, I think it's not possible. But if you already have a template and let the user specify the query and the fields to be shown. Then I its possible Or, you may want to check the help and look for programatically creating a report. I think I may have read an article about that once. cheers, Paul June A. Domag ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Can we take advantage of 360 hardware using XNA?
Are there portions of the XNA framework that get benefit from the VMX instructions available on the Xenon processor The quaternion discussion got me researching it, but I can't find any discussions at that low level. The current answer is that the VM will not generate VMX instructions. It may be that some of the system libraries do, but also, many of the system libraries are themselves written in CLR and thus not that efficient. (This is sadness for things like matrix, quaternion and vector) So, right now, I think the general answer is "VMX is not used a lot when using XNA 1.0 on Xbox". ...Show All
.NET Development Datetime backcolor
I was just responding to a thread in the VBE forum about customizing the DTP control. now, I could not find the backcolor property of the DTP but it mentions it in the SDK, stating that it is available in .NET 1.0, 1.1 and 2.0 but I cannot seem to get the property to appear at all. http://msdn2.microsoft.com/en-us/library/system.windows.forms.datetimepicker.backcolor.aspx any ideas why this maybe Hi there, thanks very much for this. I can see what the code is intending to do, but as an extreme newbie I've got no idea where or how to put it. Sorry for seeming so dense. ...Show All
Windows Forms Need a Working Sample of DataGridView Link 2 Tables
hello, I need working sample of a datagridview showing a relation between 2 tables as a link. I have 2 tables in my dataset. Table RNT_PETICIONES which has a COD_PERSONAL external key, and the RNT_PERSONAL table also has COD_PERSONAL as primary key. I have the DataSet in my project and the relation are corretly set. But when I bind PETITIONS to the datagrid I do not see the sub-link of the CLIENT table. I also tried doing this manually with no succes. Please post sample code here as I'm restricted to only microsoft.com -Thank You P.S. What I'm really interested in doing is getting varous columuns from different tables and showing them as 1 table in the datagrid, being able to edit the datagrid and saving the data to the cor ...Show All
Software Development for Windows Vista Accessing/Enumerating Audio sessions
I am writing an application that will control the audio session volume for ANOTHER process. I know I can get the access to the AudioSessionControl by providing an AudioSessionGuid but is there any way to enumerate the AudioSessionGuid I have looked in AudioPolicy.h adn AudioClient.h and did not see any way to do that. The mixer obviously can and I would like to be able to do something similar. Thanks! Marc We are building an integrated system on top of MCE for Home Entertainment. One of the challenges is to have different applications with their own volumes and keep the volume level consistent when transitioning from one app to the other. In other words, carry over the volume settings from one ap ...Show All
.NET Development 50% of solution
How to get from clipboard the data of unknown format, and then put it's back without loosing anything For example: 1) Copy some cells from Excel to clipboard, using buttons. 2) In my program, getting data from Clipboard, and putting it in my variable called vClipData. 3) Closing Excel. Than opens it again. Creating new document. Clearing the Clipboard by copying blank sumbols. 4) In my program, putting value of vClipData to Clipboard. 5) In Excel click right button, than click Paste. In that case I must see in Sheet data, that I copyed in 1-2st steps. Well... Please solution (VB,C#), if posible... Thanx to anyone. mmmmmmhhhhh... Yes, the main problem with ClipBoard, is the data format, but, to me, this ...Show All
Audio and Video Development Question about time format in createTimer
1) How can I use miliseconds in createTimer function 2) How many miliseconds contain one frame It depends on your "framerate" (set in the playlist). If you are running at 60fps, then 1 frame = 1000/60 = 16.7 ms. If you are running at 24fps, then 1 frame = 1000/24 = 41.7 ms. For "framerate", if you are using the page or application clocks, then the framerate is your tickBase. If you are using the title clock, framerate is the timeBase. Note that anything faster than framerate / tickBaseDivisor (set in the Title element) won't happen that fast anyways, since your application will ignore the intermediate ticks. So, if you have 24fps and your tickBaseDivisor is 2, that mean ...Show All
.NET Development NET Framework written in C++?
Hello there, the thing I want know is: In which language is .NET written. I am sure .NET supports so much prog languages, but in which language the .NET Framework was written (I mean the IDEs, the libs like System.dll, the interpreter). Another question: What about C# Is this language written in Assembler or was it created trough C++ like lots of other langs I am looking forward to hearing from you! Best regards Ian Peter is right, the vast majority of the framework is coded in C#. The C++ methods are fairly easy to spot if you look through the classes with a tool like Lutz Roeder's Reflector as they are decorated with [MethodImpl(MethodImplOptions.InternalCall)]. There are no 'pure' assembly methods as far as I kno ...Show All
SQL Server Calling user-defined functions in OLE DB Command transformation
Hi We have a user-defined function that can be called directly via SQL (in SQL Server Management Studio) without error. We would like to use this function to populate a column, whist data is being processed within Integration Services. Using an OLE DB Command transformation to achieve this would seem the most appropriate. The following was inserted for the SQLCommand property: EXEC = dbo.GetOrderlineStatus(@dt_required = , @dt_invoice = , @dt_despatch = , @ch_status = , @si_suffix = , @re_quantity = , @vc_invoice_id = , @vc_order_id = ) However, when the Refresh button is pressed we are presented with the error below: Error at Load Orderline [OLE DB Command [15171]]: An OLE DB error has occurred. Error code: 0x8004E14. An OL ...Show All
