pdb's Q&A profile
Software Development for Windows Vista WF & ASP.NET examples (VB.NET)
Where I can find samples code about WF and ASP.NET using VB.NET All the example in http://wf.netfx3.com/files/13/default.aspx are C# only. Thanks Luca You can find more than one project for windows workflow foundation using vb.net at this link http://msdn2.microsoft.com/en-us/library/59272cf4-bc98-439c-bcfa-b66999ebce5c.aspx download allSample and extract the file that contains Technologies folder and application. good luck and best wishes and more in the msdn. ...Show All
Software Development for Windows Vista play video on 3D object
Hi Is it possible or anyone has done it before.. to play a movie on 3D object like a sphere.. or something My idea is to ge each frame.. and set it as texture.. but that will strech the image.. and that not good .. anu ideas Thanks! ok i now have a more clearly defined description of what it is i need to do. i have checked out the samples....and i am on the right track.. let me define what it is i have to do.....we are making a spherical display...and want the video or object to display square on it. to do this we have to predistort it so that when applying it to the display it will look square. so....to work backwards i will need to make an object that is related to the coordinates of the face of a sphere based on the ...Show All
Windows Forms Form that never loses focus
I have created a form with SetTopmost set, and shown it with dlg.ShowDialog(), but I really need it to keep the focus EVEN if the user clicks on another application. Has anyone got a bit of windows magic that means that my dialog box keeps the focus whatever happens, until I dismiss it in code (with dlg.Close() or whatever). I've tried catching the 'Deactivate' event and so on, but that doesn't seem to solve the problem. Thanks for any clues or thoughts..... Yuck, you are trying to do something that Windows makes, quite intentionally, very hard to do. Your best bet is trying to enumerate the windows with the EnumWindows() API function and calling EnableWindow() to disable/enable them. You'll find ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Skinned mesh shadow volume
Using the DX9 "Shadow Volume" sample from the SDK as a base, I tried to generate a shadow mesh from a skinned mesh, but the bone indices do not seem to be copied into the newly created shadow mesh. The only alterations I made were changing some structs to conserve the bone indices, which now look like this: struct SKINNEDSHADOWVERT { D3DXVECTOR3 Position; D3DXVECTOR3 Normal; signed short BoneIndices[4]; const static D3DVERTEXELEMENT9 Decl[4]; }; const D3DVERTEXELEMENT9 SKINNEDSHADOWVERT::Decl[4] = { { 0, 0, D3DDECLTYPE_FLOAT3, D3DDECLMETHOD_DEFAULT, D3DDECLUSAGE_POSITION, 0 }, { 0, 12, D3DDECLTYPE_FLOAT3, D3DDECLMETHOD_DEFAULT, D3DDECLUSAGE_NORMAL, 0 }, { 0, 24, D3DDECLTYPE_SHORT4, ...Show All
Visual Studio Express Editions InputBox won't run from a shared Network Location
I get the following message with the InputBox: System.Resources.MissingManifestResourceException was unhandled Message="Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "Microsoft.VisualBasic.CompilerServices.VBInputBox.resources" was correctly embedded or linked into assembly "Microsoft.VisualBasic" at compile time, or that all the satellite assemblies required are loadable and fully signed." Source="mscorlib" StackTrace: at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents) at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean cre ...Show All
SQL Server Test deploying WinForms app with SQL/e
Hi all, Am I right in my understanding that I cannot deploy SQL/e to a machine that isn't running Visual Studio 2005, if I'm trying to ship within a winforms app Is this being fixed in the final release, or RC1 What timeline is there for the release of SQL/e With the CTP of Sql Server Everywhere Edition(SSEv), we have removed the restriction of VS2005 running on a machine to as pre-req. Now with SSEv CTP edition we can create win form app and deploy it on desktop without having VS2005 or SS2005. To help the deployment process, we have integrated new features like |DataDirectory| and ClickOnce deployment. Please visit our blog http://blogs.msdn.com/sqlservereverywhere to see more info on the CTP. ...Show All
Windows Forms Run form over network
After building the windows form I put the .exe file on the server and want users that have access to the server through My Network to be able to run the file and use the windows form. But when I try to run an the application it gives me an error. It works fine when it is on the local computer been does not work when you try to access it over the network. I am guessing that it is because of some security issues but I don't know how to resolve this issue.The error is:test.exe has encountered a problem and needs to close. We are sorry for the inconvenience.and then it has the "tell Microsoft" text and buttons.TIA Hi, Please go through the following link. This should help you resolve your problem. ...Show All
Visual C++ Creating a new Task Object with CDOEX
I am attempting to create a new Task object for a given Exchange 2003 user via CDOEX, but do not know how to reference Task objects. Using the Exchange 2003 SDK (and the instructions found here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/e2k3/e2k3/_esdk_samples_createappointment_intro.asp ), I can easily and reliably create a new calendar item for a given user. I would like to do the same thing with a Task item, but am not sure how to go about this. Any help would be greatly appreciated! Thank you! This forum is C++ language issues. For Exchange questions, try one of the MSDN discussion groups such as: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.exchange.applications&lang= ...Show All
.NET Development Project failing on 64bit
I have a c# Vista project, actually started with Expression and so of course uses WinFX, that works fine on Win32. It crashes immediatly on x64 Vista. So I installed VC2005 on the x64 system and it builds fine but crashes immedialty if I try to debug it. "Error while trying to run project. Unable to start program myapp.exe" So I tried going to "configuration manager and setting the processor to X64 and rebuild. I get these warnings: "Referenced assembly PresentaitonCore.dll targets a diffrence processor" "Referenced assembly MSCoreLib.dll targets a diffrence processor" I'm thinking maybe these two dll files are 32 bit only and/or the OS doesn't have an update for them or I need to install a winfx ...Show All
Visual Studio Team System Getting Errors with Team Builds - no idea what to do.
I'm once again trying to get these Team Builds done properly. I am doing this in Vista Ultimate, and Vista Ultimate is the Build Machine and Drop machine (I'm not sure if this is the problem). The project I'm using is a Web Application Project, and here are the only errors I'm getting during building with Team Build: Solution: ActionItems.sln, Project: DataAccess.csproj, Compilation errors and warnings C:\Windows\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(2798,9): error MSB3491: Could not write lines to file "obj\DataAccess.csproj.FileList.txt". Access to the path 'D:\Development\Release\AI Deploy\Build\AI Current Platform\AI Release - Debug\Sources\DataAccess\obj\DataAccess.csproj.FileList.txt' is deni ...Show All
Audio and Video Development Additional requirements for a WMP plugin on Vista 64?
I have a WMP plugin (as a DMO) that works with Media Player 10 and 11 on Windows XP and Vista (32-bit). That same DMO does not work on Vista 64-bit. My DMO registers with IWMPMediaPluginRegistrar::WMPRegisterPlayerPlugin() and ThreadingModel = 'Both'. () My plugin will support IEEE_FLOAT as well as PCM audio, but it does not appear to get the chance. I usually see my DMO loaded into multiple processes on Vista 32, and the rendering always occurs in an MFPMP.exe process. I do not ever see my DMO getting loaded into the MFPMP.exe process on Vista 64, and I suspect that is where the audio rendering is occurring since I do see an MFPMP.exe process starting when audio playback starts. What more do I need to do to get my DMO picked-u ...Show All
Windows Forms Rotating rows and columns in DataGridView 2.0
If only there was a way to display rows instead of columns and columns instead of rows in DataGridView .NET Framework 2.0! In another word rotate the DataGridView 90 degrees. In one of the responses that I found in my google search, posted by Jeffrey Tan (Microsoft Online Partner Support), he indicates that it is do-able in DataGridView 2.0 using Vitual mode, as he says: "Anyway, we can do the rotating in .Net2.0 DataGridView control without resorting to third party control now.". Well, if all the columns were the same, simple TextBoxes it would have been easy I imagine and I think that is what he may have been thinking. However, I have a DataGridView that the columns have different type of controls, like one column has ...Show All
SQL Server How do I total a sub group like in Crystal
I'm converting some crystal reports and can't seem to find a function in SRS that does totals by group. Here is the crystal function: Sum ({rdo.TimeWorked},{rdo.JobID} ) It takes the sum of time worked for each job id. I tried using RunningValue with a scope but that didn't work because I'm not grouping by Job ID in my report. If it helps here is what I'm trying to do. Snapshot of data: Weekday JobID Estimate Name TimeWorked Monday 452536 90 HARDWI 16 Monday 458924 240 VONIER 65 Monday 458946 90 THOMSO &nbs ...Show All
Software Development for Windows Vista Attn: David Weller
.Net 2.0 C# VS2005 SQL Server 2005 I am developing a Windows Forms training application using numerous avi files and AudioVideoPlayback.Video to play them. The file names are stored in a SS2K5 database and the files themselves are encrypted using System.Security.Cryptology. I decrypt the file into a temporary file and play that file. The problem I have is that I cannot delete the file until the application exits. I have tried Video.Dispose() and it doesn't release the file lock. The player is an MDI child form. Any suggestions Thanks for the reply. Unfortunately I am already doing what you suggest but the file just refuses to go away until the application ...Show All
Smart Device Development Removing the Title Bar from the Form using Compact Framework
Hi All, i was wondering if anyone knows of a way that I can remove the Title bar from the UI forms using C#. You used to be able to do this using Win32 dialog boxes, however I can't seem to find out how you can do it using managed code. Anyone know Thanks, Hi Richard, I have developed a custom application that uses the whole screen. The OS is not used for any other purpose other than running the custom application, so the title bar is not required. I have developed the application for a custom device and for this application, the title bar is considered a "waste of space". When testing out the application, I used a pocket PC and was able to achieve a window without a title bar. However, when tra ...Show All
