Captain119's Q&A profile
Visual Studio Express Editions Strange string problem in vb?
I am currently making a program that reads the ID tags from an MP3. Here is my problem or an example of my problem. Lets say I have the artist showen in a msgbox and the song title showen in a seperate msgbox like so: msgbox(artist) msgbox(song) The msgbox will appear and show the correct info. But lets say I do something like this: msgbox(artist & " - " & song) it will ONLY show the artist, but this doesn't happen all the time, depending on the MP3 that is read, it will display just as I want... What I really want to know is what can cause it to not display the rest of the string like I want it t ...Show All
SQL Server SQL2005 Notification Services Workflow for MOM2005_SP1
Greetings All We are trying to install Notification Services Workflow Solution Accelerator and have not been successful. We have come across a situation where notification services wont start. It just times out with error 1053. We have tried couple of things as admin, etc, but to no avail. Is Notification Services Workflow Solution Accelerator compatible with SQL 2005/MOM 2005 sp1 combo *silly me* Database is not on cluster, so that is out... If the question is not in the appropriate forum, then where do i go Thanks for your time SSNS is very dependent on the version of SQL Server. SSNS v2.0 will only work with SQL S ...Show All
SQL Server CreateSPs Sample Application Causes Exception.
When I use the CreateSPs sample app on a sample database (Person), with a sample table (Contact), the following exception occurred. ============================================= Add object to collection failed for StoredProcedureParameterCollection of StoredProcedure 'SmoDemo.uspContactSelect'. (Microsoft.SqlServer.Smo) ---------------------------------------- For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft SQL Server&ProdVer=9.00.1116.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Add object to collection+StoredProcedureParameterCollection&L ...Show All
.NET Development Assembly version mismatch
My assembly references another assembly whose version is 11.0.0.0, but now I want to use my assembly on another machine, which only have the same reference assembly whose version is 12.0.0.0. Now the application throw an error that can not find 11.0.0.0 dll, Can I let the applcaition use the higher version assembly automatic (the two referenced assembly strong named with same public key token) give this a shot: http://blogs.msdn.com/junfeng/archive/2004/11/16/258081.aspx ...Show All
Visual Studio Tools for Office Action Pane VS ModalForm
Hi, I'm developing a User Control inside a Action Pane, but user find it's not acceptable to view so many controls (e.g. DataGridViews, ComboBoxes, TextBoxes...etc) in this little area. So I'd like to know is it possible to create a "floating" form, such that user can drag the user control into the main window, or drop to the margin of XLS / DOC file and docked. (In short, to make something like VS2005 and we can resize the "Property Window" and drag&drop freely, or docked to left / right hand side with a "shadow" image. Thanks, Peter, The ActionsPane can be resized and ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Stretch texture
Based on the following code that uses a Sprite and Texture to draw a textured square... _sprite.Begin( D3D.SpriteFlags.AlphaBlend ); _sprite.Draw( _texture, new Rectangle( 0, 0, (int)_width, (int)_height ), new Vector3( 0.0f, 0.0f, 0.0f ), new Vector3( (int)_left, (int)_top, 0.0f ), Color.FromArgb( 255, 255, 255, 255 ) ); _sprite.End(); ...I am confused as to what part of this code I can change to stretch my texture horizontally or vertically. According to intellisense, the call parameters break down as follows: the texture (obviously), the area of the texture that ...Show All
Windows Forms DataGridView changes not saving!
Hey Guys, I am writing an app with Visual C# Express and have put a DataGridView on my form. It pulls data from an Access database and displays it fine, but when I edit, add, or delete a record from the DataGridView control the changes "appear" to have taken, however once I close the app and reopen or check the Access database none of the changes have taken affect. I didn't write any insert, update or delete statements as I thought that funtionality came out of the box with the DataGridView as it does with the new GridView control in ASP.NET 2.0 Could someone please help me with this Thanks, Chris Hi, ...Show All
Software Development for Windows Vista Visual Studio 6.0 SP5 setup on Vista Beta 2 (5384)?
Does anyone know how to get around the MDAC check in the Service Pack 5 setup of Visual Studio 6.0 For some reason it doesn't detect MDAC 2.5 or higher which it requires (even though Vista obviously has a later version - 6.0) and the setup will not continue from that point. I've tried every registry key I could think of to trick it into thinking MDAC is installed. Thanks Ted. Totally untrue - the support on Vista has been committed to by Microsoft until March of 2008 http://msdn2.microsoft.com/en-us/vbrun/ms788708.aspx I know for a fact that it runs perfectly on Vista as I have run i ...Show All
Visual C++ Processing video from a webcam
Hi, I wrote oone app that captures video from a webcam (it's the one in Mark Pesce's book of DirectShow). It works perfectly but it only records around 7-8 seconds. I want to make this modifications but I don't know how so I ask you to help me: 1. I want the app not to stop recording at 8 seconds, I want me to stop it when I want. 2. I don't want sound. The app shows a window with the video it is recording and writes it into a file. I want it to filter those frames with another kind of filter (a Sobel one for example). 3. In order to make this I think I have to connect the output file of the Smart Tee Filter (Capture or Preview, ...Show All
Visual Studio Team System Change priority from integers to strings
I've been customizing the Work Item template in the MSF Agile template. So far I've made good progress in implementing the states (Active, Closed etc) that we currenlty use. For Priority, we currently have High, Medium, Low, Memo but when I change the Microsoft.VSTS.Common.Priority type from Integer to string and added these values, it throws the following error when I import the template: Exception Type: Microsoft.TeamFoundation.WorkItemTracking.Client.Provision.ProvisionValidationException Exception Message: TF26038: Field type for Microsoft.VSTS.Common.Priority does not match the existing type. It was Integer, but now is String. ...Show All
Visual C++ Poly-Threaded C++ Applications
I have a few programs that I am converting to be threaded. At present I have a couple of programs, computer chess engines, that are threaded and work fine with Microsoft's C++ compilers. When the SMP.H #define's detect _WIN32 || _WIN64 it calls up process.h functions but on other platforms it need to use a bit map in ASM to manage the threads properly. Other considerations include inter-process communications etc. If threads dont need to speak to each other then the situation is simple, if not then some form of signalling is needed and the program becomes more complex. One program I use computes end game positions for chess, usin ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA on Windows XP ??
Hi people. This is my first post in MS forums, so please, don't make me alone in this thread :) I found on Wikipedia that "The XNA Framework is based on the .NET Framework 2.0. It will also include a version of the Common Language Runtime, which is optimized for gaming requirements. The runtime will be available for both Windows XP, Windows Vista and the Xbox 360." Does it mean, and it is true, that some version of XNA will be made for Windows XP I know that DX10 is Vista only, but I was hoping that some version of XNA, (I assume XNA will have DX9 support too ) would be running on Windows XP too, so my ...Show All
Windows Forms Loading a to bitmap converted animated gif into a picturebox.
It works like this: 1. I load a gif/jpg/bmp/png or whatever from a file location into a filestream. 2. I define a new Bitmap with the filestream as argument. 3. I assign the bitmap to the picturebox. The problem is that when my program loads an animated gif, I get an external exception. This is the error:('bij' means 'at' in Dutch) ************** Tekst van uitzondering ************** System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+. bij System.Drawing.Image.SelectActiveFrame(FrameDimension dimension, Int32 frameIndex) bij System.Drawing.ImageAnimator.ImageInfo.UpdateFrame() bij System.Dr ...Show All
Windows Forms Creating Buttons at Runtime from Data?
I am trying to create a series of buttons based on row data from a database at runtime, currently I use a panel and add a new button each go around in a loop. However I do not know how to create a dynamic method for each new button click....also there is no way to control the spacing in the panel so all the buttons jumbl ...Show All
Visual C++ Creating views for static splitter
I have a working shell namespace extension with a listview in the shellview window in the windows explorer. Now, I want to make a static 2 row,1 col splitter in the shellview with the previous list in a top row and another CWnd derived class in the lower. The problem occurs later, read on. Here's what I have in the CreateViewWindow: STDMETHODIMP CIsdShellView::CreateViewWindow(LPSHELLVIEW pPrevView, LP ...Show All
