15,300 Posted Topics
Re: no, you can't get it free. You can get [OpenOffice](http://download.cnet.com/OpenOffice-org/3000-18483_4-10263109.html) for free, the files are compatible with Microsoft Office. | |
Re: Yes you can make libraries that interface with VB. The major changed is in the way strings are handled. Depending on the version of vb you want to use, [here is an article by Microsoft](http://support.microsoft.com/kb/106553?wa=wsignin1.0) that illustrates how to call DLL written in C by VB. Another article is [here](http://support.microsoft.com/kb/187912). … | |
Re: std::filestream is not c++, it's CLR/C++ (for .NET) which is a different language. | |
Re: The example you posted doesn't make any sense to me. If you input 5 numbers 1 2 3 4 5 the inverse is 5 4 3 2 1, is that what you want? | |
Re: >My question however; Is it a good idea to "generally" stick with getline input, or can I use getchar when only needing a character (such as a 'y' or 'n'). When you type the 'y' or 'n' you also type the Enter key. You have to call getchar() twice if … | |
Re: gdeneral.h is declaring two variables and that header file is included in both analyzer.h and test.h. The same variables can't be declared more than once or you get that link error. The work around is to use the **extern** keyword in general.h and then declare the same variables again but … | |
Re: line 10 is incorrect. The = is an assignment, and the == is comparison (boolean). The mikddle part of that loop statement tells how many times the loop is to run, so if you say c == 0 then you are saying the loop continues until c becomes 0. Since … | |
Re: License is shown at the bottom of [this page](http://otl.sourceforge.net/otl3_intro.htm) | |
Re: All those unresolved externals means that you have not written the implementation code for those functions. Make sure spelling, capitalization, and parameters are correct in all the \*.cpp files. | |
Re: Have you tried [this suggestion?](http://www.vbforums.com/showthread.php?573455-Print-Document-in-VB6) | |
I can't edit a post I just made. The edit button does nothing but take me to the top of the page. | |
| |
Re: Depends on the database, you need to check with the database manager (maybe its you) to find out what format the database expects. MS-Addess wants dd-mm--yyyy format while others may want dd/mm/yyyy or yyyy/mm/dd or yyyy/dd/mm or something else. Before sending to the database I suppose you need to validate … | |
Re: why use that old vb.6 when you can get vb.net for free? vb.6 is old and very obsolete. No serious programmer will use it except to maintain old lagecy code. | |
Re: you need to add the include path to mysql.h INCLUDES="c:\mysql\include" $(CC)-o mysqlrun $(INCLUDES) $(MYSQLCFLAGS) mysql.c $(MYSQLLIBS) | |
Re: Standard C function remove() will delete a file. If the folder contains other folders than its a little more complicated because the code will have to be recursive (function calling itself) to process all the sub-folders. | |
Re: Not only are fibers invisible to the kernel but they are invisible to all other threads. Fibers can only call other fibers and fibers never exit. [Here ](http://www.flounder.com/fibers.htm)is a decent article about c++ fiber class. | |
I'm trying to write a simple program that detects when files are changed in a folder (for another question here). It has a standard Windows with a TextBox and a couple buttons. Upon program start it calls .NET function FileSystemWatcher then sets up four event handlers for it. What I … | |
Re: I would highlight the text The Future, click the Link in the purple ribbon above the editor then enter the URL in the Link's edit box. | |
Re: If you use std::string for the input line and the search line, then when a line is read just use std::string's find() method to see if it contains the search line text. std::string line; std::string search_text = "World"; // read file not shown. When line is read, do this: if(line.find(search_text) … | |
Re: >I think a lot of people are interested in updates! Name one. | |
Re: There's probably an answer book for TEACHERS only. | |
Re: Just in case the world does not end tomarrow (21 Dec), Merry Christmas everyone, even if you don't celebrate it. | |
Re: You will have to read the file sequentially -- from start to finish -- until you find the line you want. Here is one solution to the problem, which may not actually work well if there are no spaces in each of the lines. [code] ifstream in("myfile.txt"); int id; std::string … | |
Re: I think what you really need to do is let win32 tell your program when the file has changed. See this article [how to get a notification if change occurs in a specified directory](http://www.codeproject.com/Articles/4692/How-to-get-a-notification-if-change-occurs-in-a-sp), and [this one too](http://msdn.microsoft.com/en-us/library/chzww271.aspx). [Here ](http://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher.aspx)is an article more specific to VB.NET | |
Re: >atleast you guys don't need to see my dogstich avatar :) [Hallelujah](http://www.youtube.com/watch?v=76RrdwElnTU) | |
Anyone into tattoos? I'm not, never had one and don't intend to get one, but there's a couple new reality tattoo shows that I find interesting. One is [Ink Master](http://www.nydailynews.com/entertainment/tv-movies/exclusive-behind-scenes-ink-master-article-1.1190577?localLinksEnabled=false). Another is [Tattoo Nightmares](http://www.spike.com/shows/tattoo-nightmares) One thing these shows told me is that you have to be very very careful about … | |
Re: [Here is a demo program](http://www.codeproject.com/Articles/15627/SplitButton-an-XP-style-dropdown-split-button) | |
Re: try it in a tiny program and you will find out. The best way to find out such things is to write a little program to test it yourself, you will learn a lot more that way. | |
Re: Use an IDE that is available on both operating systems, such as Code::Blocks or QT. Actually you might want to learn both CB and QT as well as portable libraries such as wxWidgets and boost. Which you will need to learn depends on what company you work for. So I'd … | |
Re: Purle is ok, it just needs a scattering of pink polka dots :)  ![]() | |
Re: > you need VC.net There is no such animal. You progably mean CLR/C++. The last I knew MFC is not managed code so can't access .NET API. | |
Re: Your instructor is a big fat scrooge! How far along are you in school? | |
Re: Rows can not be deleted from arrays. The best you can do is to mark the row for deletion, one way to do that is to replace one of the structure members, such as bookname, with "", then as your program searches through the array if bookname == "" then … | |
Re: Is MainWindow::MainDlgProc() a static method? Only static methods can be used as callback functions. Check out [this link](http://winprog.org/tutorial/dialogs.html) | |
[Here is a link](http://www.facebook.com/photo.php?fbid=560158160680308&set=a.223098324386295.105971.205344452828349&type=1&theater) to some texting acronyms for senior citizens and their friends/loved ones. | |
Re: 1. Don't use that compiler because its too old and use obsolete version of MinGW. Replace it with Code::Blocks 2. You have to download and install the free Microsoft Windows SDK from [URL="http://msdn.microsoft.com/en-us/windows/bb980924"]here[/URL]. 3. After you do the above, reverse lines 1 and 2 so that windows.h is included before … | |
Re: In many cases there are no equivalent header files. MS-Windows compilers do not normally support POSIX standartds or functions. However the MS-Windows port of GCC has ported many of the \*nix POSIX functions to MinGW compiler. If you want to find out what header file contains a specific function then … | |
Re: line 22: cknull macro is useless waste of cpu time becaye strcpy() will never return NULL unless a NULL pointer is sent to strcpy() as the destination string. If that happens strcpy() will just crash the whole program because it will attempt to write to memory address 0. The value … | |
Re: Are you using Turbo C++? What version of MS-Windows are you using? The number of lines of code is not relevent. What is relevant is how much memory your program uses. Are you compiling with Large memory model? If not, try that and see if it helps. | |
Re: [Here](http://www.homeandlearn.co.uk/net/vbnet.html) is a great tutorial, After reading some of it I got the (not free) ebook. It covers many things pretty thoroughly. If you have programmed befoe you can just skim over parts of it. But it will get you going pretty quickly on vb.net. | |
Re: Is [this](http://stackoverflow.com/questions/72264/how-can-a-c-windows-dll-be-merged-into-a-c-sharp-application-exe) what you want? | |
Re: You failed to initialize and set the value of variable i. It just contains some random value. A for loop would be better than the while loop. | |
Re: sql databases can generate the numbers for you, just make one of the columns auto increment. | |
Re: do you mean you want to list all members so that they are ordered by teamid? Or do you just want to select rows which have temaid = 2? Do you know SQL? If not, then you need an [SQL tutorial](http://www.w3schools.com/sql/default.asp) | |
Re: Then just change his code like this: (notice it should be 9 instead of 8) `char SOURCE[9] = "39 04 7d";` | |
Re: Probably not. EVERYTHING in Windows 8 is diffeent than in previous versions. Either get used to it or reinstall Windows 7. | |
![]() | Re: If you rebuild the program VS will re-generate the pdb file in the same folder as the \*.exe file. The default folder is either Debug or Release. If there are any compiler errors the \*.pdf will not be generated. The only time it is needed or used is if you … |
The End.