Software Development Network Logo
  • Microsoft ISV
  • VS Team System
  • Game Technologies
  • IE Development
  • SQL Server
  • Visual FoxPro
  • Audio and Video
  • .NET Development
  • Visual Studio
  • SharePoint Products
  • Smart Devicet
  • Windows Forms
  • Windows Vista
  • Visual C++
  • Visual C#

Software Development Network >> sticksnap's Q&A profile

sticksnap

Member List

J Guy Davidson
Krutika
popendot
Module
cwlaualex
Arindam Biswas
Ashish.Net
Koelho
Jonathan Lavon
NiklasECG2
ChecMate
Leandro Loureiro dos Santos
Dreedle
Jurciks
Zac Boyles
Binod Kumar
cdaviduik
JJKusch
Philip Coupar
Shady9399
Only Title

sticksnap's Q&A profile

  • Visual Studio 2008 (Pre-release) Ink Over Video

    I am trying to allow the user to draw on top of a mediaelement(video) when the clip is paused. I have tried overlaying an inkcanvas over the mediaelement and also placing the mediaelement as a child of an inkcanvas. Using both methods, when the user draws on the video it tears (the underlying video isn't refreshing the current frame). The best solution I have come up with is grabbing the current frame as a bitmap when the user pauses and overlaying that to collect the ink. I would much prefer to not due this for timing issues and it causes some jittering on resuming playback. I have included my frame overlay code below, but I would greatly appreciate any suggestions for a better approach. Thanks. --Brian RenderTargetBitmap tg = ne ...Show All

  • SQL Server How to get a distinct dimension member through MDX?

    I have a process dimension that has 4 levels. Process Level Task Level Status Level Queue Level Here is an example of the data: Process A, Task A, Status A, Queue A Process A, Task A, Status B, Queue A Process A, Task A, Status C, Queue B Is there a way to use the Distinct function in MDX to a listing like: Queue A Queue B Instead of getting Queue A listed twice Thanks. Here is some previous discussion on the topic: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=525151&SiteID=1 Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All

  • Software Development for Windows Vista starting application from setup - not as administrator

    Hello all: When my application is run for the very first time at the end of the installation process, it is running as administrator, because the setup itself was automatically detected and elevated by Vista. Is there any option to run it from setup at usual (medium) privilege level I have tried manifest with requestedExecutionLevel of asInvoker - to no avail. TIA OTNS The easiest way to pull this off might be to do something like this: setupbootstrapper.exe [manifested asInvoker] calls ShellExecute on actual-setup.exe [ideally manifested requireAdministrator] waits for actual-setup.exe to finish launches app. ...Show All

  • Visual Studio 2008 (Pre-release) <ProjectTypeGuids> causes problem in .csproj files

    I'm having a problem with my WPF projects. They have the following entry (which I guess gives us the Xaml editor): <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> With this entry in the .csproj, VS can't open the project. If I remove it, everything works fine. I have the June CTP installed, including the Orcas VS tools. However, it appears something isn't installed correctly. I've tried removing and reinstalling Orcas, but still have the same problem. How can I troubleshoot this problem Something's clearly messed up, but I don't know what and can't seem to fix it. (I can workaround the problem by removing the line in the .csproj files, but then I don ...Show All

  • SQL Server T-SQL Question

    I need to figure out how to write a stored procedure to get the correct daily AAbutter price for sales orders on a particular day. I am pretty confused...but I am just a beginner. First of all, a sales person will input a date (@Date) to obtain a correct daily butter price for that day. This will be the date that the order was received...so it doesn't always mean that it is the current date. They will also put in a customer number as well (@Cust_Num). We have a table that gives historical data for the daily AAButter price with the fields MktDate, Price. The catch is how we deligate the AAButter price to our customers. They are categorized in 3 ways: Daily Pricing, M-F Average, and Thursday-Wednesday Average (with no SATor Sun AAButterPr ...Show All

  • Windows Live Developer Forums VE - mappoint style routes (possible in VE?)

    Hello, I'm typically generating routes that have 8-12 stops on them. Using MapPoint Web Services this was no problem. Is there a way to generate a route (i'll provide the ordering) of more than 2 points connected by a driving route (green marked road). Also, it would be great if this could be done WITHOUT all of those interim little red directional points. These really bug when there's alot of points already on the map. Thanks, Jeff Blockp wrote: Thanks Ruprect. Those route pins were quite annoying. I'm new to VE and have been using the VE SDK documentation for help, so pardon me asking... How did you find out about the RemoveRoutePins function Is it documented somewhere with a list of other functions Thanks, I figur ...Show All

  • Visual Studio 2008 (Pre-release) The futher of WPF?

    Hi all Is it true that none of the application that ship as part of the windows vista OS use WPF And if so, what is that saying I'm trying to develop our companies first "for Cash" app using WPF. Is MS really committed to making WPF the new programming model If MS can't afford to use WPF, how can I (It is the state of the tools , more then the readiness of WPF, that really make me ask this question.) I would appreciate your thoughts, it is after all the further of my company. A worried Mike Greenway I think it is inevitable that the schedule for tools will trail the schedule of the platform by a bit. It is challenging to build anything on a platform whose APIs are evolving and changing un ...Show All

  • Visual Studio Express Editions open a file and insert its contents into access

    I am trying to get some data out of a text file and into a database. I have the openfileDialog to were I can select the file but I am unsure of how to read the file and input it into an access database. Any pointers would be great of were I should look. Thank you. Here is a sample of the data, Which would go into one line of the table. Dave ruez BFF DK 34 552 115 47 3 51 75 4 8 1250 the general idea is that the database table you are going to insert the data into should be the same number of columns and data type, so it can insert correctly. As well as this, overall the rule is: create an insert statement based on the values you have read from the file. typical syntax: INSERT INTO [ tableName ] ( field1, field2, f ...Show All

  • Windows Live Developer Forums UpdateOrders time set to midnight?

    Hi there, just using the UpdateOrders and it works fine except for a little something. I set the date to what I want and UpdateOrders return "success" so all is good. Not. When I retrieve the order, the time is revert to 00:00:00 whatever the initial time I set. Is this normal behaviour If so, why did you choose a DateTime type when a Date will have been more relevant since we can't set the time. This means if I want an order to end on july 19th at 23:59:59 (last second) I need to set the end date to july 20th at 00:00:00 (first second). Correct Thanks for your help. Julien Hello Julien, As of our current API version, the system will truncate the time portion of the DateTime object and only ...Show All

  • Visual Studio 2008 (Pre-release) How to use resource in dll ?

    I want use MeshGeometry3D resource in dll project ,but can not run below is my code and resource . //resource myDictionary.xaml <ResourceDictionary xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " > <MeshGeometry3D x:Key="SphereMesh" TriangleIndices="0 1 2 3 2 4 5 4 6... <MeshGeometry3D.Positions> <Point3DCollection> 0,42.529461,0 0,41.712269,-8.2970867 -1.618682,... </Point3DCollection> </MeshGeometry3D.Positions> <MeshGeometry3D.Normals> <Vector3DCollection> 0,1,0 0,0.97959799,-0.200969 -0.039207, ... </Vector3DCollection> </MeshGeo ...Show All

  • Visual Studio Team System Load test response time identical with or w/o gzip compression

    We have two web servers: one is configured with gzip compression while the other one is not. I'd expect that when we run the load test against the web server w/gzip compression, the response time would be faster. But our testing shows both servers have similar response time. Any idea why Was this issue reproduced and/or fixed for VSTS 2008 RTM There is talk about experimenting with HTTP compression, and I've been asked whether VSTS can test it. Thanks, ~Alan ...Show All

  • Internet Explorer Development Changes in WinInet in IE 7 ?

    I noticed that calls to HttpOpenRequest that worked flawlessly in IE6 are now giving a nice ERROR_INTERNET_UNRECOGNIZED_SCHEME error in IE7 Here is an excerpt of the code I use: DWORD dwFlags=INTERNET_FLAG_TRANSFER_ASCII | INTERNET_FLAG_RELOAD | INTERNET_FLAG_NO_CACHE_WRITE; hOpen = InternetOpen (_T("Toolbar"), INTERNET_OPEN_TYPE_PRECONFIG , NULL, 0,dwFlags); HINTERNET hSession=::InternetConnect(hOpen,sServer,nPort,NULL,NULL,INTERNET_SERVICE_HTTP,dwFlags,dwContext); hReq=::HttpOpenRequest(hSession,_T("GET"),fullUrl, NULL,sServer,NULL,dwFlags,dwContext); Where sServer is in the form "mydomain.com" and fullUrl is in the form /root/file.ext So how is this fixable Sincerely RyomaEchizen ...Show All

  • .NET Development check sum crc-16

    Is there any build in function that computes the crc-16 check sum of a stream Not to my knowledge, though it should be relatively easy to create it yourself if you study the CRC16 specification. -Ryan / Kardax ...Show All

  • Visual Basic Locate a specific row in a datatable

    I am having a problem using the method of finding rows by column values using the following code: Dim FoundRows() as Data.DataRows Dim NeededExpression as String NeededExpression="Name= 'John's Car' " FoundRows=Dataset1.Tables("Cars").Select(NeededExpresion) The above cannot find the name I need and I think the cause of this is in the data itself because it has the character " ' " typed in the Data Table. Is there a way of working around this problem Thank you Batico, Modify the two lines in your program like this: NeededExpression="John's Car" FoundRows=DataSet1.Tables("Cars").SelectedItem("Name",NeededExpression) ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. The Unofficial "Hooray I'm Done With my DBP Game" Thread

    When you get done with you game and sumbit it, crow about it here. A little over 24 hours left until the deadline and I'm so amazed I'm done, so much better than college Thanks to ZMan for his help, good luck all. I'll post the source code for my submission once the deadline hits. Bill Dan Lingman wrote: The quote about adding people to a late project will make it later is very true. I'd started with a team size of three - Me, my wife, and my 3.5 year old playtester, Katrina. Feb 27th we added a new team member - Naomi. Yeah I had a team very similar to that, my 8 year old daughter was my main playtester and my wife was the "novice gamer" to make sure it wasn't ridiculously hard. By new team me ...Show All

©2008 Software Development Network