Romantic_touch's Q&A profile
Visual Studio Team System More about modifying web parts on Team Portal
Hi, After applying the hot fix to the previous problem I reported, I now found that any web parts I want to add can only be added to the left column of the web page, there is no other choices in the drop down list. Is this a bug too or is there anything I need to do to add web parts to the right column Thanks, Maggie This bug is related to WSS 2.0 SP2 that appears when you change WSS 2.0 to use .NET 2.0 from .NET 1.1. You can get the hotfix from http://support.microsoft.com/kb/915746 . ...Show All
Visual C++ MFC: How to wait for end of CWinThread based threads?
I have my thread function which was created using CWinThread T = AfxBeginThread(myFunc,NULL); My question is how do I wait for the end of this thread Like in win32 there was a WaitForSingleObject function. And another thing, do I need to delete T after I finish using the thread Thanks :) spree wrote: I have my thread function which was created using CWinThread T = AfxBeginThread(myFunc,NULL); My question is how do I wait for the end of this thread Like in win32 there was a WaitForSingleObject function. If needed, you can also use in MFC "plain" WinAPI function calls. In our example: CWinThread* T = AfxBeginThread(myFunc,NULL); // ... ::WaitForSi ...Show All
Visual Studio Express Editions Need help. Im new ;-)
Please correct me if im in the wrong place. Anyways im new to c# and i like it alot. Ive added what i want etc but here is my problem. I have one of them ToolStrip menu bars at the top (the blue ones with ability to do drop down) Now what do i do so that when a person clicks on one of the menu things it opens another part of the app but not in a new window. Just so the current window changes to whatever they clicked on. Sorry if thats confusing. Let me know and il try to make it clearer. Thanks Dan Yeah Thanks guys ive taken a different approach using some of the code you have supplied much appreciated. Rather then keep posting is there part of the site that displays al the functions e ...Show All
Visual Studio Install VS.Net 2002 on WinXP - VS Installer Launches Installation of Dell Modem on Hold in Spanish!!
This is very, very weird. I had VS.Net 2002 installed on Win2K, which crashed on Windows Auto Update, couldn't recover it. So I installed WinXP SP2 from scratch on new drive partition. Was able to re-install VS-97, VS-6 with no problem. On re-installing VS.Net 2002, I was prompted to install Windows components, plus security updates, IIS, FrontPage extensions, etc. I could not get the Windows Components installation CD to launch from the VS.Net installation window, so instead of select components, I installed all components on the Windows Components CD. That seemed to satisfy the pre-req, so I was able to launch the VS.Net installation--I THOUGHT--BUT WHAT HAPPENED WAS VERY WEIRD--instead of installing VS.Net 2002, the installer launch ...Show All
Visual C# Multi Thread USB port
Hi All, I am developing an application to get information through USB connected devices. Couple of same devices connected to several USB port belonging to the same PC. I tried to use multi threading to read all the devices in parallel but failed. I can only read all the devices if I am not using multi thread but instead read them using different instances of my application. ANyone have any idea what should i do to make the thread reads all the devices in parallel using USB port I agree with you on the performance aspect. I can't say I've tried to takle this problem specifically but I've seen quite a few with threading. I could help you more if you where to submit a few snippets of code wher ...Show All
Visual C++ Read a book
/* read in the parameters from the infile */ if ((fp = fopen(Infile, "r")) == NULL) { sprintf(msg, "Input Error: can't open %s", Infile); Error(msg); return FALSE; } I have this part of my code, where in another subroutine data is wrote into an input file and here I want to open the input file for the use of the data within it. When I execute my program, I obtain the error: Input Error: can't open in. 8()E where () symbolises what looks like a musical note. I ran the Debug and this is what I got back, can anyone decipher it or make any sense of it Thanks Loaded 'ntdll.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\kernel32.dll', no matching symbolic i ...Show All
.NET Development What does the grave signify?
Took my best shot at finding the right forum... I'm curious as to what the grave (`) means. Sometimes in a stack trace I'll see something like "at Csla.BusinessListBase`2.get_IsValid() in" What's the grave and number mean Thanks, Mike The tick/grave/single quote denotes that you are dealing with a generic type and that the number following it is the type’s arity which is the number of type parameters required to create the type. ...Show All
Visual C++ Can't optimize my project
I want to optimize my project's size, so I selected the Minimize size (/01) option, but I can't compile it: cl : Command line error D8016 : '/O1' and '/RTC1' command-line options are incompatible What can I do The /RTC1 compiler option means "Enable run-time error check features". It seems that this option cannot be specified together with "Minimize size". Therefore you have to disable it. It can be found at Project Properties --> C/C++ --> Code Generation --> Basic Runtime Check . Change this value to "Default". I hope it helps. It seems that you are trying to optimize your program based on "Debug" compiler configuration. In my opinion it is better first to ...Show All
Windows Forms How to validate the date entered in the text box? - Vb.net or VS 2005
Hi I have textbox. If the user enter the date higher than the present date (today) then message box should display (warning message) to the user. I am using VB.net I don't want to use datetimepicker or calender Advance thanks You will probably want to use the MaskedEditControl to enforece the user to enter a "valid" date. Then use DateTime.TryParse () to parse the inputted text. If you are using 1.x you may have to put a DateTime.parse inside of a Try/Catch exception block. Then just compare the dates. You will probably have to compare month+day+year or dayofyear and year to ensure that the user has not picked a date greater then today. ...Show All
Visual Studio Express Editions Simple math problem
This isn't exactly a VB question, but it's for a VB program I'm working on. If a^b=c, how do I find b given a &c For example, if 2^5=32, how do I get 5 given the 2 & the 32 What I'm trying to do is take an integer and round it to the nearest power of 2. (2,4,8,16,32,64,128,etc.) This should be easy, but my math skills aren't what they used to be. Hopefully somebody can help me. Thanks... dont use the Log10 which is base 10. . . you are interested in base 2 (in this case) Math.Log has two overloads - Math.Log(double) and Math.Log(double,double) Math.Log(x) → Math.Log(x, base e) ( e being the natural exponent). . . Math.Log(double) is ...Show All
Visual C++ CFtpConnection info??
Hi! I work with MFC, i need connect to FTP or HTTP server and do something. How i can in (CFtpConnection,CInternetSession classes) get all information about session when i connect to FTP or HTTP server, upload or dowmnload file etc. For example "Connecting" ,"Connect", "Uploading" and else Hi, You can use a "GetFile" method of "CFtpConnection" class to get a file from an FTP server and store it on the local machine, and "PutFile" method of "CFtpConnection" class to store a file on an FTP server. Thanks. ...Show All
Visual Studio Team System Merge error: TF14087 "Not all of the deletion is being undeleted"
When trying to merge from one line to another, I receive the following error: TF14087: Cannot undelete '$/TFProject/TargetBranch/VSProject/SubFolder/File.aspx.resx' because not all of the deletion is being undeleted. With the Show deleted items in Source Control option on, I've checked for deleted items in both the source and target directory so I don't see what is not being 'undeleted' so I'm not sure what I can do to allow the merge to happen. Any help would be appreciated. Thanks. Marty You're right, the dialog I'm thinking of is only used for rename-rename conflicts. Merge doesn't detect namespace conflicts. What I'd do is rename (or delete) the file & checkin before doing the merge ...Show All
SQL Server 70-431 (MCTS - SQL 2005)
Hi, Somebody can speak (tips) about exam 70-431 Tips Amount Questions Time .... Hello everyone, I would like to let you all know and be aware of the fact that microsoft has changed its exam pattern for 070-431 be very carefull as microsoft has changed the exam pattern and due to which i failed the exam today. Its now based on simulations questions which comes after the multiple choice questions i got 15 simulations separately apart from 35 multi choice questions along with exibits. I wasnt aware of this fact and it wasnt mentioned anywhere about simulations questions I think no one knows about it I am the first to face this type of exam.. The exams comes up with 2 sections the firs ...Show All
Windows Forms Visual Studio 2005 > Setup Project > Upgrade Questions
I have a vb.net solution with a windows application project and the application's setup project. I've built my solution and have msi file. Install my first version and I have my application working. (After while) There is a new version of my application, I've downloaded it and run the new Setup: How can I stop current application, uninstall it and continue with new setup intallation Thanks for any suggestions Hi, Hopefully this will help you out. In your deployment project, you need to change the Version property(try incrementing it), its located in the Project Properties and Version Property. After that build it, and deploy the SETUP/MSI in the target machine. It will just overwrite the old application i ...Show All
Visual C++ Several questions relating to Windows Service creation
Hi, I actually had several questions that I was wondering if people could help me with: 1. This is probably a stupid question, but I am creating a Windows Service in Microsoft Visual Studio 2005 standard edition and I noticed that it appears to default to using managed C++/CLR. I would rather NOT use managed C++ for this application and was looking around for a way to avoid using managed C++. Is there any way to avoid that and to use only native code 2. Along the same line, in said Windows Service I use the type CString. Visual Studio 2005's help files instruct you to include cstringt.h for MFC applications and atlstr.h for non-MFC applications. I have tried using both with the same results. Specifically, it is complaining about t ...Show All
