Ukram's Q&A profile
Visual C++ help for Visual Studio 2005 and ddraw
Hi, guys, I got a project with existing source code where ddraw is used. But now I am using visual studio 2005 to compile and build the existing solution. I have some problems as follows: 1. Shall I install directX SDK again after the installation of PSDK 2. There are always some compiling problems in the existing solution when using the VC 2005. Although I did not try VC6, are there any version problems to compile an existing VC6 project using VC 2005 express Thanks a lot. Damon Thank you for your reply. Another question is why I cannot find the file ddraw.h in SDK ...Show All
Software Development for Windows Vista Next CTP or Beta 2
There seems to be little information as yet when the next release date will be. Anyone heard anything. Some sites state April some May Pitty that MS don't keep an upto date roadmap that the puplic and MSDN subscribers can look at, rather than relying on other none MS sites. The next major Windows Vista release is expected May 24, 2006, when Microsoft will ship the Beta 2/RC0 (release candidate 0) version of the operating system to testers and others during the Windows Hardware Engineering Conference (WinHEC) 2006 in Seattle. ...Show All
Windows Forms MultiColumn ComboBox Column in datagridview
Hi all I have to show a column in the datagrid view which is having a combobox with the multiple columns So how should i start Make a user control of multicolumn combo box ]then add that in tha column of the datgridview How to craete that control (MultiCOlumn COmbo) Any source ,link,help, direction is highly appreciated Thanks a lot I don't know of any sample code for this. I guess the first thing is to find out how to create a multi column combobox, then take the custom calendar cell sample and change the editing contorl to be your multi column combobox. Good luck! -mark ...Show All
Visual C# Variables
Hi. I have an event with a variable declared as an arguement like so.. private void Hypo_Event( int StreamNumber, object StreamPosition, ISpeechRecoResult Result) { } I can access the variable from everywhere, except from a method I create myself. Like so.. private void getInput() { Result.PhraseInfo.GetText(0,-1,true); //When I try and use the variable in a method I create, I cannot access it and it says it does not exist in the current context. Can someone tell me what the problem is } >> I can access the variable from everywhere No, you can't. The variable exists for the sco ...Show All
Visual Studio Tools for Office Help with Outlook Object Model Guard...
Hi, I've always had problems accessing an AppointmentItem body...and someone pointed me this: http://msdn2.microsoft.com/en-us/library/1thd35d7(vs.80).aspx However, I've this scenario: first of all, I'm accessing to the AppointmentItems from another class, which is not the ThisApplication (and it's not in the same library --> it's another C# project). Second, instead of create an item,I've to READ the items...this is the cycle I'm used to make: foreach (object o in remoteCalendar.Folder.Items) { AppointmentItem appointment = o as AppointmentItem; ... } I tried something stupid like creating an Appointe ...Show All
Visual Studio Express Editions Checking if application is already running
I have added a context menu item to my application. The problem is that, if it is already running and I right click a file, another instance of the program opens up. How can I check if the program is already running, and if it is, how can I pass control to the existing instance Thanks in advance. Thanks to everybody who replied. I now have a lot to read, but I'm sure I will find answers there/ ...Show All
Visual Studio Team System Workspaces meant only for filtering?
Is filtering is the sole purpose of the workspace feature http://forums.microsoft.com/msdn/ShowPost.aspx PostID=97724#97724 Will it get the latest version of the build if it is specified as < Project DefaultTargets = " DesktopBuild " Hi Nike Yes the workspace is used to filter files that you select to build through Team Build. We have an MsBuild 'Get' task which does the job of getting the sources on the Build Machine for us. If you need to get the latest version instead - you can customise this behavior by writing your own Get task with this behavior and plug it in the Microsoft.TeamBuild.targets file instead of th ...Show All
.NET Development MMC 3.0 SDK
From the MSDN site there are several samples and documentation about the new managed MMC 3.0 extensions. I tryied to look in the april platform SDK (the last one I found) but there isn't any MMC 3.0 sdk. Does somebody knows where can I get it Thanks, Pierre russian, I'm not sure whose instructions you mean, but if you're refering to my post of 10-17, you do want the dll, but you shoudn't be trying to "register" it, as it is a .Net assembly, not a COM component. In your .Net project, right-click the references folder in the solution explorer and select Add Reference." In the dialog box, click the browse button and brow ...Show All
Windows Forms DataGrid and collections
Hi all, Is it possible to Get data from 2 collections into one datagrid. Is there some sample available. Thanks, Jkj. What he means is create a new collection that returns all of the results of the 2 or 3 that you currently have. This new collection would simply take an array of ILists in the constructor and then merge all of the&nbs ...Show All
.NET Development problmes with xml attribute - parse attributes in xmldocument
Since one can access attributes in DOM via XmlNode.Attributes or as code example ------------------------------------------- dim j as integer Dim attrNode As XmlNode If inXmlNode.Attributes.Count > 0 Then For j = 0 To inXmlNode.Attributes.Count - 1 'strip off each attribute, one at a time attrNode = inXmlNode.Attributes(j) 'check to see if the element containing the attributes is order or lineitem, if so, we want to display their attributes ...Show All
Visual Basic COM Interop, Property Get,Let,Set Interface Attribute?
Hello, We are in the middle of a rather large piecemeal upgrade of our VB6 system to .NET 2.0. We started in 1.1 and have sence migrated that code to 2.0. We have done a few of our libraries to this point, and are gearing up to upgrade a lot more of them in the next month or so. We ran into a problem in our first library that required a rather nasty fix and I was hoping someone could point us to a better solution. Problem: The problem we are having is in VB6 we defined many properties of type Variant for the sole purpose of being able to store Null. These properties are typically used t ...Show All
Visual Studio Team System VS 2005 Code Analysis on Web Project Get Error Code 65 ? HELP
Hi. I have apply the Code Analysis in My Web Project. but I got a Error 14 FxCopCmd.exe returned error code 65. Did some one know what's up for this please advice. thanks Hi Polo, Exit code 65 means that analysis errors occured (exit code 1) and that the report could not be written (64). This probably is happening because the solution folder is not writable. Check if the solution folder for the website (commonly under My Documents\Visual Studio 2005\Solutions) is read only or has security restrictions. Regards, Jeffrey ...Show All
Visual C++ What's wrong here with _wfopen
I have this code line with very strange behaviour: FILE* fp = _wfopen(( const wchar_t *)_T("c:\\Hello.txt"), ( const wchar_t *)_T("r")); Here fp pointer is always equal to null. When I debuged i found that filename was with strange symbols, not normal letters. I'm on Windows XP SP1. Please somebody help me. Any help will be greatly appreciated. Why are using the _T macro If your are using an unicode function version you should be using the L specifier and drop the conversion to wchar_t * like in: _wfopen(L"c:\\Hello.txt", L"r"); ...Show All
Smart Device Development Change the PictureBox size to fit the image
Hi there, I have a general question to ask. Is it possible to change the picturebox attributes to fit the image size The reason I ask is this: I would like to show an image in its original size, yet all images I have are different sizes. (I'm using scrollbars right now to view the image) Thanks, Martina SpeBeeTo wrote: Is it possible to change the picturebox attributes to fit the image size <snip/>The reason I ask is this: I would like to show an image in its original size, yet all images I have are different sizes. (I'm using scrollbars right now to view the image) I ...Show All
SQL Server Source control and migration utility?
Hi I am a newbie to Analysis services. I am wondering, there exist any migration and source control utilities for AS objects (viz. Cubes, Dimensions, etc.). Moreover is it possible to retrieve the cube, etc attributes from the SQL server itself. Any help is highly appreciated. TIA Jag It is not all clear what you are trying to do. Can you try and explain the problem you trying to solve. Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All
