Martin2006's Q&A profile
Visual C# sapi DisplayUI problem
Hi, I am using visual studio .net 2003 and I am trying to call the voice training UI programmatically, I get the following errors Argument '1' : impossible to convert from 'int' to 'ref SpeechLib._RemotableHandle' Argument '5' : impossible to convert from '<null>' to 'uint' Argument '4' : impossible to convert from 'ref object' to 'System.IntPtr' Argument '3' : impossible to convert from 'string' to 'ref ushort' Argument '2' : impossible to convert from 'string' to 'ref ushort' private void mmO_Entrainer_Click( object sender, System.EventArgs e) {   ...Show All
Visual Studio Team System What is the purpose of the standard categories of checkin notes?
I can understand why a developer might want to add some notes to describe a changeset, but I can't see the purpose of the standard categories of: Code Reviewer Security Reviewer Performance Reviewer If you make it mandatory to provide these three types of notes before check-in are you envisaging that three different people will have to call by your desk and type-in some comments before you can submit your changeset Hopefully not! It would make more sense for you to simply type the name of the person who was responsible for performing these reviews in respect of the changes you are making. Is this the intent of this feature What are people ...Show All
Software Development for Windows Vista Report a BUG about 'Recycle Bin'
Well, when I run my Windows Vista build 5112. I emptied my recycle bin and it certainly success beacuase when I open it then, there is no file!. The most strange thing is that the icon of the Recycle bin do not turn to empty! When I reboot my computer, it can goes well again. Are you sure you made such a BUG in that version. And how can I get the latest version. how can I become a beta tester without selling loads of chash on a subscription or buying someingthing of somesort ...Show All
Windows Forms Is it possible to change a control's "disabled color"?
Hi everyone, Is it possible to change the colors to a control when it's "disabled" For example, we have checkbox controls on a dark blue background. The foreground color is white. When we disable the control, it gets set to black (both the box and text associated with it). We want to change the color to something else like red when it's&nbs ...Show All
SQL Server MS OLEDB for DB2 Destination errors
When I try to push a recordset to an AS400 database I cannot get the driver to work properly. I keep getting errors when it first starts to write the records. I also have the errors about the codepages not being found I have turned that off. but it still keeps failing and I see alot of people posting with the same exact errors but I don't see a resolution to them. I have gone down the road of doing the script component for a destination adapter and scripting in the odbc driver but it is 10 times slower than in SQL2000. Please help. I need to try to get this package working faster. Thanks ...Show All
SQL Server execute DTS from asp.net 2.0 - package does not exist error
I am trying to execute a dts from asp.net, but getting an error “The specified DTS Package ('Name = 'DTS_USERS_LIST'; ID.VersionID = {[not specified]}.{[not specified]}') does not exist.” I know I have saved the dts package on the sqlserver, and have run it from the server successfully. Here is my code: Package2Class package = new Package2Class (); object pVarPersistStgOfHost = null ; package.LoadFromSQLServer( sServer, sUID, sPWD, //DTSSQLServerStorageFlags.DTSSQLStgFlag_UseTrustedConnection, DTS. DTSSQLServerStorageFlags . ...Show All
Visual Studio 2008 (Pre-release) Interop Between WPF and GDI+
I want to write a simple application which can capture the whole screen, and this is what I do: private void captureButton_Click(Object sender, RoutedEventArgs e) { Int32 height = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height; Int32 width = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width; System.Drawing.Bitmap captureBitmap = new System.Drawing.Bitmap(width, height, System.Drawing.Imaging.PixelFormat.Format32bppRgb); System.Drawing.Graphics g = System.Drawing.Graphics.FromImage(captureBitmap); g.CopyFromScreen(0, 0, 0, 0, captureBitmap.Size); g.Dispose(); captureImage.Source = Cr ...Show All
.NET Development TableAdapter problems
Error 8 C:\Inetpub\wwwroot\RECS LS\App_Code\DataAccess.vb(15): error BC30516: Overload resolution failed because no accessible 'Update' accepts this number of arguments. / Public Class DataAccess Public Function GetTrailers( ByVal Trailer As String ) As TrailersDataSet Dim trailersTableAdapter As New TrailersDataSetTableAdapters.TrailersTableAdapter Dim trailersData As New TrailersDataSet() trailersTableAdapter.Fill(trailersData.Trailers) Return trailersData End Function Public Sub UpdateTrailers( ByVal Location As String , ByVal Status As String , ByVal Commen ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX February 2006 SDK has Conflict with other DLL
Hello! I loaded down the new DirectX SDK form February 2006. After installing and doing a device creation test, i've got an error telling me, that two dll's are in conflict with each other. So I went into my C:\WINDOWS\Microsoft.NET\DirectX for Managed Code directory and deleteted all subdirectorys in there. I've reinstalled the February SDK but he again tells me that their is a conflikt between two DLL's. Here is the error: The type "Microsoft.DirectX.Direct3D.Device" exists in both "C:\WINDOWS\Microsoft.NET\DirectX for Managed Code\1.0.2902.0\Microsoft.DirectX.Direct3D.dll" and "C:\WINDOWS\Microso ...Show All
.NET Development Is the release of the .Net framework 2.0 tied to the release of Visual Studio 2005
I'm trying to determine if I should switch development to Visual Studio 2005 beta 2. The product appears to be stable enough for me, however my concern is that the release date of the .Net framework 2.0 is tied to VS2005, and won't be for quite some time. I'm developing a WinForms product aimed at the retail market, so the "go live" license isn't an option. but if the release the .Net framework is expected shortly, then it becomes feasible for me to switch. Thoughts I think, as of now, the .NET Framework is stable enough for Release to Market and the developer teams are waiting to bug-free VS2005, so as to enable a simultan ...Show All
Visual C# Listing files ASP.nET C#
Hi, How can I list all images files in a webfolder Linke I just want to print their names like image.gif image.jpg ... Thanks You can list the names of the files contained in a folder with something like: string folderName = @"c:\inetpub\wwwroot\mysite\images"; string fileTypes = "*.gif;*.jpg;*.png;*.bmp;*.ico"; // add any other extension you may be interested in string [] images = System.IO.Directory.GetFiles (folderName, fileTypes); foreach (string file in images) Console.WriteLine (System.IO.Path.GetFileName (file)); If you only have a relative URL, like "~/images", and you ...Show All
.NET Development Unusual behavior on form controls
Hi All, I have just set up a new application to be run from within another windows application. The project is of type class library and consists of a class and 2 forms. The problem I am experiencing is when I am working on either of the 2 forms some unusual behavior is taking place. Whenever I try to use the space bar, nothing happens. No spaces appear whatsoever. Another problem I am having is when tabbing through the contols on the form, it minimizes the app. So when ever I press tab, it minimizes insteard of setting focus to the next control. Has any one ever come accorss similar behaviour Thanks in Advance... Todd. ...Show All
Windows Search Technologies WDS3 and Outlook2007 Beta2 German Problem
Hello I installed Office2007 Beta2 German on a German WinXP Pro system. We work in a domain and ExchangeServer. The Quicksearch and the advanced search in Outloom doesn’t find anything with WDS3. When i remove WDS3 and install the actally WDS the search function works fine, but i get a message in Outlook to update the WDS to WDS3 Beta. Reinstall of Office2007 or WDS doesnt help anything. Anyone a Idea regards HGChrist, I just wanted to know that I'm looking into this issue for you. I'm going to see if I can replicate it on my end (which could be fun given my lack of German skills). I will keep y ...Show All
Visual Studio Crystal XI release 2, VS 2005 , dynamic image location
Hi all, Can any tell me to pass dynamic images from ASP.NET (VS2005) web application to cyrstal report. I want to use the dynamic image location feature of cyrstal XI. I installed cystal XI relase 2 version and using VS 2005 for developing web application. Any help will be appreciated...... Thanks manche ...Show All
Visual Studio Express Editions How to print receipt in a picture box?
Hi, I made a simple program that would generate a receipt preview, but I wander on how to do it in Visual Basic Express. I am going to use Picture Box because, other said that picture box can hold up a text or an image. How can I do this with my example format below: MyCompanyLogo MyCompanyAddress DATE: 05/06/2006 RCPT: 34566 STAFF: 23455 SND: 3467785667 1 480MLNSTEA ICE 18.00 2 SFGUAR SOAP 5.50 ------------------------------------------------------- TOTAL 23.50 CASH 25.00 CHANGE 1.50 VAT ...Show All
