rmahaffey's Q&A profile
Visual Studio 2008 (Pre-release) VS 2005 RC framework version incompatible with WinFX!?!?
Got the VS 2005 RC while at PDC. Also got the WinFX bits. Sadly, the version of the .NET Framework that VS installs (and requires) is too new for WinFX so I’m unable to do any development. Any timelines on when there will be a refresh for WinFX that is sync’d with the VS RC Sorry, I just realized this question was already answered on this newsgroup. Too bad I can't develop WinFX with my release candidate. ...Show All
Smart Device Development communicate an external device may be an on/off device
I want to communicate an external device may be an on/off device. There are 8 devices at different places, I want to check the status of any device that is ON at my system. But I don't know about port programming. Plz help me from the scratch. i.e I want a suggestion for the reading material as well code snippets in VB.NETor C# or VC++ Kamran, I'm moving your question to the Smart Devices General forum, where you're more likely to find an answer to your question. Cheers, JJustice [MSFT] ...Show All
Visual Basic vb.net and crystal report
I am currently working in an access database.Using vb.net, I made a form wherein a user can sort data he wanted to generate in a report...sorting are done by selecting the order_date of the transaction(e.g. from 12/01/2005 to 05/03/2006) then he had to select an account(e.g. company name) and lastly exam(e.g. urine test)...Upon completing the selection on the three fields, I want to generate the report base on the selection...I am obliged to use crystal report for this...can someone please help me how can i achieve this one..I am totally new in .Net...thanks in advance... Few questions first. What v ...Show All
Windows Forms raise events for control collection
This might be disturbingly simple, I have 225 buttons on a windows form application that all need to run the same code, I can put them all in a Panel or group them in a ControlCollection Object, I just need to know how to Raise Click Events for this 'group' of controls, VB studio 2005, using Visual Basic. I found an example in help, for .Net 2003, but it doesn't work. Any help or links would be appreciated. Ben I’m assuming that in VB.NET you would have your single function being called by all buttons look something like this: Private Sub AllMyButtons ...Show All
Software Development for Windows Vista standard user cant write to admin created file
Hi, I used to have a file on XP under Documents and Settings\All Users\Application Data\AppName that contained info for all users by having each user add a section to it. On Vista I need to store All Users data under C:\ProgramData\AppName. I am using the ShGetFolderPath with CSIDL_COMMON_APPDATA, so that works out fine and I dont need to change anything. However if the first time I use my app and create that file is under the administrator account I can not write to that file while logged in as another user, a standard limited user. I can create a new file under that limited account, but I cant write to a file created by an a ...Show All
Windows Forms Detect user press the "Enter" Button
Hi All, Can i through some method to detect the user is press the "Enter" button or not ("Enter" Button on the Keyboard.) Thx a lot. Thx a lot. Thx a lot. Laputa Well, I currently use the KeyPress handler to do this: private void OnKeyPress(object sender,KeyPressEventArgs e) { switch (e.KeyChar) { case '\x0d': //handle the return key break; } } private void OnKeyDown(objec ...Show All
SQL Server Can not start Report Builder
Hello everyone, I was trying to start Report Builder, but it crashes right before i can see anything. In event viewer, i can see the following errors: This is the first one .NET Runtime version 2.0.50727.42 - Fatal Execution Engine Error (7A05E2B3) (80131506) Then, right after it: Faulting application reportbuilder.exe, version 9.0.1399.0, stamp 434f5d3c, faulting module mscorwks.dll, version 2.0.50727.42, stamp 4333e7ec, debug 0, fault address 0x000214f3. Can you help me find the reasons for those errors The report server and the report manager are both configured and working fine. I can deploy reports and access the ...Show All
Windows Forms creating an install-like wizard
hallo i'd like to supply the user a 3-steps wizard to guide the enter of some data and print out a report. I think i'll use the panel array-method, i use the same theory in developing wizards for web pages. Is there any way to use the same interface of Windows install-wizard, without having to manually recreate one similar-looking and to deal with  ...Show All
Windows Forms Plz I want every one to share me this problem
I want to use datetimepicker to display arabic calender instead of english calender so how to do that Do you mean: "Hijri Calendar" If yes, then I'm sorry to tell you that the DateTimePicker doesn't support it. This is a limitation in the OS but should be solved in Windows Vista. Or do you mean: Arabic month names and day names, in the Gregorean calendar If yes, this depends on your system setting and not CultureInfo. Check this http://support.microsoft.com/default.aspx scid=kb;en-us;889834 ...Show All
.NET Development Overwrite one section of binary file
Hi! I have a binary file that contains strings one after the other and I want to replace a string at offset x. The existing string is, let's say 10 bytes long, but the new one is 12 bytes long. How do I replace the old string at position x without overwriting the first 2 bytes of the next string and without rewriting the entire binary file from offset x. Thanks already in advance! If the SQL server setup is not too big I might do it that way, but first I'll take a look at that Intel library, although that sounds very "unmanaged" and thus probably hard to work with. Thanks for your help! ...Show All
Visual C++ Std C++ stack issue
I'm compiling code under VS 2005 as well as on Unix using Gnu compiler and libs. I noticed a difference in the accessibility of the "_Container c" member of the stack template class (in the <stack> header). It is protected on my Unix version, but the "protected" keyword is commented out on my VS 2005 copy. i.e. //protected: _Container c; // the underlying container }; Which of the two is conformant Thanks. I just checked the standard and according to section 23.2.3.3, container should be protected. It looks like it was protected ...Show All
Visual C++ vector crashes on method use on debug but not release
The std::vector class is throwing an exception when I try do add something to it by using vector::push_back(). I have declared my vector as: std::vector<MyTreeCLass *> mNodes; Actually, it doesn't just do it for that, even if I did this: // At the beginning of the class, before I add elements if(!mNodes.empty()) // it throws an exception here, but I don't even know which one it is { // foo } When I run it in the debugger, I see that the Like the subject says, this happens on debug mode. The above snippet works fine on release. The release still crashes in unexpected places, although not while something so trivia ...Show All
Visual C++ COM Interop or IJW?
I'm sure that I've read a lot about choosing between P/Invoke and IJW technologies but cannot remember a lot about comparison of COM Interop and IJW. I read that COM Interop provides the slowest among all interop options but it is very strange: We had a C++ 6.0 dll that was needed to be called from .Net code, so we wrote a COM above it and used tlbimp.exe and generated a .NET assembly, which is used by a C# application. To achieve a better performance we went for a C++ revision of the C# app and used IJW to call our old MFC Dll. But the benchmarks are showing that obviously we didn't improve the performance at all! Instead it even decrea ...Show All
Visual Studio Team System which setup directory?
in the install help file, single server install, team server install, I do not see this specific folder on the DVD download from MSDN: \vs\atdt downloaded this image, en_vs_2005_team_suite_dvd_beta2 and extracted ISO files to hard drive folder using \VS\setup.exe returns error: "setup was unable to copy file ....\vs\deletetemp.exe to your temporary directory..." deletetemp.exe is not in \vs directory Help file snippet... 5. On the autorun page that appears after inserting the installation media, click Install Team Foundation Server , and then click Single-Server Installation . If the autorun page does not appear, ...Show All
Visual Studio Team System Can not add new Work ITem
I am trying (for the first time) to add new Working Item in VSTS 2005 Beta 2. IDE crashes immediately after Working Item type selection. Anyone experience something like this Any ideas Leon, It's great to hear that you got it working without having to invest a lot of effort into trouble-shooting. Thank you for getting back to us. tony ...Show All
