15,300 Posted Topics

Member Avatar for sunpk2003in

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.

Member Avatar for david.phillips.902
0
302
Member Avatar for t2nator

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). …

Member Avatar for Ancient Dragon
0
176
Member Avatar for Strange&Evil

std::filestream is not c++, it's CLR/C++ (for .NET) which is a different language.

Member Avatar for mike_2000_17
0
300
Member Avatar for selcabs

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?

Member Avatar for Lucaci Andrew
0
106
Member Avatar for Prysm[VA]

>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 …

Member Avatar for Ancient Dragon
0
3K
Member Avatar for vikuseth

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 …

Member Avatar for vikuseth
0
158
Member Avatar for tadas.bareikis

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 …

Member Avatar for deceptikon
0
112
Member Avatar for amt_muk

License is shown at the bottom of [this page](http://otl.sourceforge.net/otl3_intro.htm)

Member Avatar for Stefano Mtangoo
0
315
Member Avatar for RIJIN

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.

Member Avatar for RIJIN
0
2K
Member Avatar for chris.italia.31

Have you tried [this suggestion?](http://www.vbforums.com/showthread.php?573455-Print-Document-in-VB6)

Member Avatar for Ancient Dragon
0
90
Member Avatar for Ancient Dragon

I can't edit a post I just made. The edit button does nothing but take me to the top of the page.

Member Avatar for deceptikon
0
232
Member Avatar for <M/>
Member Avatar for 2mhzbrain

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 …

Member Avatar for AndreRet
0
270
Member Avatar for mklove999

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.

Member Avatar for Jx_Man
0
110
Member Avatar for rkumaram

you need to add the include path to mysql.h INCLUDES="c:\mysql\include" $(CC)-o mysqlrun $(INCLUDES) $(MYSQLCFLAGS) mysql.c $(MYSQLLIBS)

Member Avatar for gut.besserwasser
0
6K
Member Avatar for efe.ozyer
Member Avatar for robinotje

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.

Member Avatar for Ancient Dragon
0
15K
Member Avatar for happyHacker

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.

Member Avatar for happyHacker
0
462
Member Avatar for Ancient Dragon

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 …

Member Avatar for Reverend Jim
2
2K
Member Avatar for Java is King

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.

Member Avatar for deceptikon
-1
66
Member Avatar for tensity

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) …

Member Avatar for Ancient Dragon
0
104
Member Avatar for markwiering
Member Avatar for innocentmeshi
0
479
Member Avatar for silvercats
Member Avatar for Mike Askew

Just in case the world does not end tomarrow (21 Dec), Merry Christmas everyone, even if you don't celebrate it.

Member Avatar for azareth
4
213
Member Avatar for nathan_jun2

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 …

Member Avatar for Ancient Dragon
0
3K
Member Avatar for kjk86

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

Member Avatar for Ancient Dragon
0
287
Member Avatar for <M/>

>atleast you guys don't need to see my dogstich avatar :) [Hallelujah](http://www.youtube.com/watch?v=76RrdwElnTU)

Member Avatar for <M/>
0
122
Member Avatar for Ancient Dragon

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 …

Member Avatar for happygeek
0
289
Member Avatar for anuran

[Here is a demo program](http://www.codeproject.com/Articles/15627/SplitButton-an-XP-style-dropdown-split-button)

Member Avatar for Ancient Dragon
0
350
Member Avatar for tapananand

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.

Member Avatar for deceptikon
0
777
Member Avatar for Karlwakim

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 …

Member Avatar for Karlwakim
0
265
Member Avatar for <M/>

Purle is ok, it just needs a scattering of pink polka dots :) ![purple_polka_dots1](/attachments/small/0/purple_polka_dots1.png "align-left")

Member Avatar for diafol
0
414
Member Avatar for owenransen

> 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.

Member Avatar for Ancient Dragon
0
275
Member Avatar for kpele1
Member Avatar for PrimePackster
0
180
Member Avatar for aslam.junaid786

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 …

Member Avatar for john.w.austin.39
0
193
Member Avatar for aslam.junaid786
Member Avatar for dshiells

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)

Member Avatar for dshiells
0
224
Member Avatar for Ancient Dragon

[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.

Member Avatar for <M/>
0
126
Member Avatar for CodyOebel

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 …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for THEboss007

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 …

Member Avatar for THEboss007
0
959
Member Avatar for newbie14

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 …

Member Avatar for newbie14
0
300
Member Avatar for karan.rks

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.

Member Avatar for Ancient Dragon
0
371
Member Avatar for ImZick

[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.

Member Avatar for Ancient Dragon
0
204
Member Avatar for opel123

Is [this](http://stackoverflow.com/questions/72264/how-can-a-c-windows-dll-be-merged-into-a-c-sharp-application-exe) what you want?

Member Avatar for opel123
0
90
Member Avatar for general2012

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.

Member Avatar for Ancient Dragon
0
193
Member Avatar for richjohn.bulante

sql databases can generate the numbers for you, just make one of the columns auto increment.

Member Avatar for sandeepmittal11
0
3K
Member Avatar for HunainHafeez

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)

Member Avatar for HunainHafeez
0
149
Member Avatar for Alexkid

Then just change his code like this: (notice it should be 9 instead of 8) `char SOURCE[9] = "39 04 7d";`

Member Avatar for deceptikon
0
4K
Member Avatar for guivon

Probably not. EVERYTHING in Windows 8 is diffeent than in previous versions. Either get used to it or reinstall Windows 7.

Member Avatar for Ancient Dragon
0
68
Member Avatar for Zaina jee

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 …

Member Avatar for Ancient Dragon
0
94

The End.