Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

Search the Tips
Tip Bank > C++ > Debugging

Debugging - Page 4

61-80 of 275     Previous     Next
Workaround for SendKeys
by Bobby Orr
Sendkeys "{TAB}" can lockup the keyboard in Windows 2000. Here's how ...
Debugging in Visual C++
by DevX Pro
Is there a way to access the call stack debugging information from the code? I would like to print the call stack inside a function, each time it is called.
Help Files in Applications
by DevX Pro
I created a "help" button in a form and coded this button's click event as: { help } The code { set help to MyHelp.chm } is included in the main program before the "do form." When I make an application through Setup wizard and install it in a computer that has no VFP, the help button does not display the help window and doesn't give an error message either. What's going on?
Implement Catch All Blocks for Robustness
by Deepak Pant
You can use Throwable class in catch block to ...
Problem with Multiple Table Joins
by DevX Pro
I have two tables Region(RegionId-PK, RegionName) and District(DistrictId-PK, DistrictName, RegionId-FK). When I open a recordset (rs) like : Dim rs as new ADODB.Recordset rs.Open "SELECT District.*, Region.RegionName FROM District INNER JOIN Region ON District.RegionId = RegionId", cn Now, with this recordset, it gives an "Insufficient key column information..." message on rs.Delete method. Moreover, when I update the value RegionId like : rs!RegionId = 3 rs.update The value of 'RegionName' should be updated correspondingly. But it doesn't happen. It will only be updated when I re-query it. But it will be unnecessary extra work and more importantly, the record pointer will be changed on re-query. So could you give me solution to both update and delete problems. Please note that, the same query works well in Access.
Image-Based Menu Problem with Internet Explorer 5.0
by Ajith Prasad
With the introduction of Internet Explorer 5.0, many people had to remove the image-based menus from their Web sites. The reason for this is bad performance. When the file-caching mode is set to ...
Visual FoxPro App Shuts Down in Runtime
by DevX Pro
I have my first Visual FoxPro app that runs fine in the development environment, but will not run in runtime. What do I need to do to keep it going in the runtime?
All-Encompassing Try
by DevX Pro
I was told that in order to make my program easier to read, I should use try to cover all of my program, then catch every exception at the end of the program. Does this make any sense?
Invalid Seek Offset
by DevX Pro
What causes the error message "Invalid seek offset"?
Location of Wizards
by DevX Pro
Every time I try to use a wizard, I get the following error message: "Cannot find the Wizard Program." The wizards are located in the same folder that I am working in, and when I use "Find" and then click on the wizard, it will load and work OK. Any suggestions?
Exception.what() Gives Vague Description
by DevX Pro
I'm using a catch(exception e). When I come in the catch-block and print the message belonging to the exception, I receive the message "9exception." What does it mean?
Standard Input Exception
by DevX Pro
Why do I have to catch an exception when I use System.in.read()?
Error 2374 for loop-scoped variable declaration
by DevX Pro
The following code produces an error when compiled on Microsoft Visual C++ 6 SP3: for (int i = 0; i error C2374: 'i' : redefinition; multiple initialization But it compiles cleanly on gcc. Why? Which interpretation of the language specification is correct?
Function to create a folder/subfolder
by DevX Pro
How can I write a function in C++ that would create a folder/subfolder on the hard-disk?
Turn Off Explicit ASP Error Messages in IIS
by Roger Oney
Of course no one ever sees an error on your Web site—but just in case, you can turn off explicit ASP error messages on your live site for better security and a more user friendly experience. ...
Clearing the Screen
by DevX Pro
What is the "clear screen" function in C++, and which library is it in?
Fix Justification Glitch in MSFlexGrid
by Pat Labelle
The MSFlexGrid tries to automatically determine how to justify text. If the first character is numeric, then that cell will be right-justified. If it is an alphanumeric character, then that cell will ...
Use Windows Script Host to Rename Existing Files
by Manoj K.
You can rename files through the use of the FileSystem object. The problem is that you ...
SQL query results error
by DevX Pro
To show my SQL query results in paged fashion, I used your article as reference. This error message appeared: ADODB.Recordset error '800a0cb3' The operation requested by the application is not supported by the provider. I checked the specified code where the error was generated, and it was the RS.AbsolutePage property. What should I do to fix this error?
Playing Sound Files in FoxPro Apps Quickly
by DevX Pro
I write language instruction programs and have been calling mplayer2 to allow students to hear the pronunciation saved in recorded sound files. But mplayer takes forever to load and play. So do all the other executable programs that I have, such as xrecord. By contrast, Windows can play .wav files instantly. If I could load and play small .wav files that fast I could greatly improve my language program. (There must be some subfile of Windows that plays its sound files so quickly.)What other .exe files are there that load and play very quickly under FoxPro? Using verbs in FoxPro is even slower than calling .exe files for some reason.
61-80 of 275     Previous     Next
Thanks for your registration, follow us on our social networks to keep up-to-date