Nightmare_BE's Q&A profile
Visual Studio 2008 (Pre-release) Chroma keying on video in WPF
Hi, I'm wondering if it is possible to do chroma keying on video's in WPF. If it is possible, how do you do it (sample ). If it is not possible, is this feature on the roadmap Best regards, Kris Tom, thanks for the great news. Will the alpha channel support be there in the final release of the .NET Framework 3.0 Kris ...Show All
SQL Server Prompt page in SSRS
Hi, I checked in SQL Server Reporting Services and it has the option to create only the reports. How do I create any prompt page from SSRS Is it possible to do it Thank You. Regards, Das. What do you mean by prompt page Asking for some parameters before rendering the report That can be done by clicking in the background of the report and navigating through report parameters. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual FoxPro convert memo field and contents to text file
Hi, I have a table order.dbf in visual foxpro which contains of memo field. My table is as below:- order_no order_date prdcode order_qty remark B00000001 26/07/2006 2020173 10.0 memo When I double click the memo I'll be able to see the details. Eg. order has been cancelled. I would like to convert all the table information including order has been cancelled to text format with a specific alignment. I'm beginner user of visual foxpro. Kindly advice how to do that. Thank you. Hi, If your memo field value length not more than 255 characters, you can SELECT order_no,order_date,prdcode,order_qty, LEFT(remark, 255) as remark ; FROM mytable INTO CURSOR mycursor COPY ...Show All
Visual C# Running C# Commands from a parsed text file?
Is it possible, say you have your main program, and when it initializes, it will scan this text file, looking and trying to execute all commands that are listed, like running a method inside the program, or if you put MessageBox.Show("",""); In the text file, or is there another way of doing this, I'm not going to make the program only understand commands that I put in it, through a switch statement, or if statements, I want it to directly interpret it. Checking out the built in C# Compiler, it looks like it would want me to have a seperate executable though, doesn't it Also, is this implicitly supported by the .net framework or is it with VS With a seperate Executable, I don't think ...Show All
Visual C++ Floating point stack overflow
My application works fine in VS2003, but in VS2005, it is producing an overflow of the floating point stack. This seems like it must be a code generation error in the new compiler. Has anyone else experienced this problem In the particular case I am looking at, I step through the instruction FLDZ in the disassembly window. Instead of getting a zero in ST(0), I get 1#IND, and the SF and C1 bits are set in the x87 FPU Status Word. The first time through this code it works OK, but this second time through, the FPU tags register shows that the stack is full before the FLDZ instruction. That document on the floating point model is excellent. Thanks. It turns out my problem is a code generation bug ...Show All
SQL Server SQL Express with Advanced Services Redistributable
Hi, Can any body tell me whether SQL Express with advanced services is availabe as a redistributable so that i could package it up with my application. Basically i need to supply different reports with my application for which i dont want to use any Crystal Reports type of thing. Moreover i also want such kind of reports available on the net. Please tell me how can i do that Regards, Wasif Ehsan. hi Wasif Ehsan, as you can see at the related download page , tha package is free to download and use... in the "additional information" paragraph you have further info about some requirements, like registering for redistribution, and eventually registering the product (for end users ...Show All
Visual Studio Event for TextSelection in code editor
Hello, I faced with a problem to determine when user changed text selection in code editor. My functionality should add SmartTag with a button to selected text. But I found the following post which reported that there is no such event! Anyway, I think that there is a solution to that! Any suggestions Please help. Thank you for the answer. I tried to use IVsSelectionEvent.OnSelectionChanged in my VSIP package to determine when user changed selection. I subscribed using IVsMonitorSelection.AdviseSelectionEvents method. But unfortunately, OnSelectionChanged method is NOT called by VS when user selected text! Please help, is any other possibilities to determine that ...Show All
Visual Studio 2008 (Pre-release) Crystal report inside of "WPF" user control
Can someone help me with a code sample which shows how to add a crystal report viewer in user control or how to add a ".net 2.0" user control in a "WPF" user control. Thanks in advice, Ovidiu First of all, thank you for your quick answer. I've read the articles, but I still have a problem Here is an example of my code: < Window x:Class = " WindowsApplication10.Window1 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " xmlns:cr = " clr-namespace:CrystalDecisions.Windows.Forms;assembly=CrystalDecisions.Windows.Forms " Title = ...Show All
Windows Forms How to change DataBase path in Project ?
Hi, In my project LocalDataBase included, with (dataSet, etc..) I want to deploy the application putting the LocalDataBase in a folder named (DataB), do I have to change the connection string and how to do that from VS2005 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Realtime Drawing
Hi there, I am new in graphics programing and I want to develop a simple applciation (like a simulator) that draws waves based on values comming (like what happen in heart beat graphs, certain values coming from ECG sensors continously make the waves on the display screen). Regards This can be done but as you are just starting out you might want to look at using GDI+. Here is a link to a good faq site on the subject. You could also use DirectX but it would take a bit of education to get you started, the best place to look at the moment is www.thezbuffer.com as the zman has a good list of tutorials that you can follow (Note www.thezbuffer.com is mainly for managed languages which include c# and vb.net, if you want to use ...Show All
Smart Device Development How to make a UserControl object acts as a control container design-time by using Visual C# .NET or Visual C# 2005
How to make a UserControl object acts as a control container design-time by using Visual C# .NET or Visual C# 2005 Is there anybody who knows how this can be done Thanks in advanced, - Nima Hi Dinesh. Thank you for the answer, but I don't think that the attribute is a part of the .Net Compact Framework 2.0 :-( So do you have another idea Regards, Nima ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Could C# be the future of gaming?
Since XNA is using C#, and is is a more intuitive language than C++, is it possible that in the future that C# will dominate, espessially in AAA titles. Could XNA be ushering a new way of programming in the main stream For now, at least, no; C# as well as Managed DirectX still have a hurdles to get over (IMO). The language is still relatively new, developers are still learning the ins and outs and how to push applications developed in C# to the limit. In my opinion, although I love C# and swear by it, the professional community is and will be very reluctant to drop C++ for a newcomer such as C#, especially considering its lack of cross platform abilities. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Garbage Collection
Hi. I'm not a game programmer yet but I'm a programmer. I have been learning computer graphics (opengl) at school and while I was talking to one of the professor was referring to Java as the main problem is that the garbage collection does not permit it to be real time. I know that the .net framework which I use quite often has garbage collection as well. The problem with garbage collection is that you (the programmer) does not know when it will happen. My question are 1) Is Xna going to have garbage collection and 2) if it will have garbage collection, wouldn't this make a video game slow thanks Francisco Shawn Hargreaves wrote: ]A lot of the code for Unreal Engine games is written in a scripting la ...Show All
Visual Basic Error codes
When I use an add command to add data to an Access dB, supposing that db doesn't exist or a connection is lost to the dB or anything atall, and my VB program returns an error to my program, rather than allowing it to crash is there an error code that gets returned that I can use to handle the program execution appropriately thanks tattoo no worries at all. Usually when you type code in Visual Studio and you access a method, a tooltip appears with info about that method, sometimes it gives you the list of exceptions that will be thrown by executing that method, so you know you need to implement the exceptions around it. Now, when an exception is thrown, it goes into the catch block. So in ...Show All
.NET Development Reading the first half of a split record with C#
Hi, I have a record that has a fixed length of 253 characters. The record is split into multiple sub- records each of a different length. The first sub-record has a minimum length of 125 and I need to process only this. Doing something like this : if(record. length > 124){ //process record } will work for records that have a minimum first sub-record length of 129 as subsequent sub-records will be <= 124 (253-129 = 124) and will be skipped. But in a case, where the the record is split into 126 and 127, the above code will not work as it will read both the sub-records ( and I need only the one that is 126). Can somebody tell me how I can solve this problem and read only the first sub-record . Thanks much!! ...Show All
