BI NeuMan's Q&A profile
Visual Studio Express Editions "WINDOWS KEYPRESS" - How to detect a KeyAscci in Windows?
That's my question...i want my aplication response to a keyascci in any moment(im in if are not selected the aplication). Thank you for reed and try. I just tested the code and it works for me. This works to bring the application to the front when it is minimized or not the current application. It is not designed to launch the application if it has not started. Is that what you were asking I have seen some fullscreen games that force themselves to stay on top. Have you tested by hot-key pressing with a normal application in front ...Show All
Visual Studio 2008 (Pre-release) Xbab applications not running from the internet
Hi there, I am trying to run an xbap application from this URL http://www.valil.com/winfx/Valil.Chess.WinFX.xbap (other xbab apps from the internet are not running either e.g http://www.charlespetzold.com/wpf/JeuDeTacquin/JeuDeTacquin.xbap ) IE 6 gives me an error message and wont let me run the app even though I have added the site as a trusted site. It runs if I get the source and compile and run it locally. It looks like a security issue. Can some one kindly tell me what I need to do get the app running from the internet The detailed error info is as follows: Startup URI: http://www.valil.com/winfx/Valil.Chess.WinFX.xbap Application Identity: System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ ...Show All
SQL Server SQL Server 2000 Enterprise
I have an MSDN License from Microsoft and I am trying to install SQL 2000 enterprise edition to my XP laptop. I get an error stating that SQL is not compatable with this operating system. It is only offering to install the client tools. Can someone give me a heads up here and let me know what is going on, because I know I had this installed before. Thanks Curt You will need to download the developer edition (which has nearly the same featureset as the enterprise edition). EE is not installable on Windows XP Pro. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
SQL Server Group Update of Prices
I am trying to write a SP that will update the price of products that are in a particular category. I have 3 tables; PRODUCT - productID, price CATEGORY - categoryID, categoryName, parentID PRODUCT_CATEGORY_MAP - productID, categoryID What I want to do, is allow admin to pass is a new price and categoryID, and it will update all the products that are within the supplied category. I will start with: UPDATE PRODUCT SET price = @price WHERE categoryID = @categoryID however I do not have categoryID within the PRODUCT table Do I place a SELECT statement after the WHERE DECLARE @productID int UPDATE PRODUCT SET price = @price WHERE (SELECT @productID = productID FROM PRODUCT_CATEGORY_MAP WHERE categoryID=@categoryID ) Not sure if that ...Show All
Windows Forms ClickOnce Auth. Proxy - Many Questions?
When deploying clickonce install/update from the web, what is the strategy for client machines that are configured to use an authenticated proxy Are there Microsoft sanctioned methods for writing proxy settings to the .net 2.0 machine.config that a setup or msi could utilize to configure an end-user’s machine for clickonce via auth. proxy Could the same process be used by a network admin via policy updates to configure their networked client machines Is there a combined web/net share deployment approach that might workaround this issue What are the plans to change or address this issue in upcoming service packs or releases How soon ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 1280x720 For Space War??!?!?
OK... maybe it's just me but... The SpaceWar starter kit requires that the machine is capable of 3D display of 1280x720 isn't that a little bit big for normal users For an actual game, yes that would be appropraite for the 360 and high end systems. But SpaceWar is supposed to be a starter kit demonstration for students and beginner programmers to learn with, most normal notebooks which students around my area carry only supports displays of up to 1024x720 and with rudimentary graphics acceleration. The aging Toshiba M200 which I use have a GeforceFX but it also can't muster up a 3D display of 1280x720 (code died trying to run). I changed the code so that the window would be smaller, but the whole game seems to be hard coded to wor ...Show All
.NET Development Regex problems
Hi all, I'm having problems with Regex, or more accurately trying to find the right expression to use. Basically I've opened up a text file, and I'm reading in the lines, and at a certain point I need to get a certain part of the line. the line I'm trying to read is: Color [Lime] Reading the line is no problem, but what I want to do is extract the word between the brackets(there are two different lines in the file that I want to read) so that I can assign it to a textbox color. I've tried some different expressions like "Color [(.* )]" and "/\Color \[(.* )\]" which have failed miserably. Does anyone have any suggestions The code I have at the moment is Regex *regex = new Regex(S"Color [(.* )]"); St ...Show All
Audio and Video Development Getting frames from a video clip
Hi, Im pretty new to multimedia programming, and have a (at least what i think should be) a simple question. Is there an easy way to get the video data, frame by frame, from a video file, say avi Ive been thinking about DirectShow, but im not sure that is the right path to go. The application that need this feature is written in C#. // Henrik What I'm going to give you is a mostly-non-MF answer. First off, Media Foundation today is unmanaged only. Media Foundation does have a way to get at the contents of a file directly, albeit asynchronously -- this is called a Media Source -- but as of Windows Vista, MF natively supports only WMV (/WMA/ASF) and MP3 formats, not things like AVI. If you were to write the ...Show All
Visual Studio Referencing custom environment variables in MSBuild.
Hello, Ultimately all I want to do is set an environment variable with a value, so it can be referenced within my Build script. Sounds easy I know, but I can’t find an answer anywhere to this problem. Summarised below are the steps which I am currently taking to achieve my goal: Set environment variable in DOS (i.e. SET TEST=TEST1). Type SET to ensure the variable had been created, which it has. In my build script write a target to reference the newly created environment variable. < Target Name = " ReferenceEnvironmentVariable " > < Message Text = " TEST1= $(TEST1) " /> </ Target > I invoke the above target by ...Show All
Visual Basic how to call fun in console
hi we are declaring and creating function in windows application in vb.net how to call that funcation in console applicaiton If they are in the same solution: WindowsApp1... Class Class1 Public Function1() Return True End Function End CLass now from the sub main of ConsoleApp: Public Sub Main Dim c as New WindowsApp1.Class1 If c.Function1 then dosomething end if if they are not in the same solution the same prinicple applies you just have to make a project level reference to the windows application...(Project menu "Add reference") ...Show All
Commerce Server Configuration Wizard (Admin database) fails
We are currently installing a CS 2007 for a client. I have successfully completed the installation of CS and ran into some problems when running the Configuration Wizard. The log file contains the following [excerpt]: [09:21:14 INFO] Beginning configuration of feature Administration Database (Feature.MS.CS.Admin). [09:21:29 INFO] Database 'MSCS_Admin' exists on server 'SHOP' [09:21:29 INFO] The ComparisonStyle for Database 'MSCS_Admin' is 196609 [09:21:29 ERROR] CSConfig failed during configuration of feature Administration Database (Feature.MS.CS.Admin). [09:21:29 ERROR] Exception occured during feature configuration: Microsoft.CommerceServer.Internal.Config.ConfigurationException: Incorrect syntax near '0x0a0d'. Must declare the sc ...Show All
.NET Development problem with wpf
how I can make cycles in wpf without making to block the application with .net 2.0 I would have made : for(int i=0;i<1000;i++) { label1.text=i.tostring(); application.doevents(); } with .net3.0 for(int i=0;i<1000;i++) { label1.content=i.tostring(); but as I translate Application.Doevents } thanks thousands for your answers ...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
SQL Server Error when file is saved to PDF
I am calling a procedure that will save a file to PDF. It runs successfully. When I go to look at the PDF, I get a message, "Acrobat reader could not open 'Doc.pdf' because it is either not a support file or because the file has been damaged." This is how I'm calling the procedure: SaveFile(Dts.Variables( "varSSRS_URL" ).Value.ToString() + " /TestReports/MyReport&rs:Command=Render&rs:Format=PDF" , "C:\" + "MyReport.pdf" ) ifaber wrote: Yes, this is a SSIS issue. I put this script in a Script Task. See http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1173906&SiteID=1&PageID=1 for reference. I have jumped through ...Show All
Silverlight (formerly WPF/E) WPF/e vs. HTML
After reading Mike Harsh's blog post What WPF/e Really is . I'm kind of disappointed with the approach that the Architects are taking with WPF/e, as in that it augments HTML instead of replacing it. Why not Personaly I find that HTML slows me down in producing rich content for my users (something that WPF promises). Sure its easy, its fast, and we should keep it (not every website needs rotating letters). However, as I see .NET being used -alot- for mission critical application, I would only EXPECT WPF/e to take the fore front and upgrading the way we provide commericial services on the Internet in a fast, uniform way. Flash is doing this, Flex is not 'augmenting' the Web, its rewriting it. Share your thoughts. ...Show All
