451 Posted Topics

Member Avatar for andrewliu

Have you tried inner|outer joins? Perhaps that should do the trick... Exactly what information is your search engine after?

Member Avatar for andrewliu
0
227
Member Avatar for vizz

Try AJAX. It will not refresh the webpage, though it will send a separate request to the server asking for the information you need. [code=JavaScript] function showRecords(str) { if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } …

Member Avatar for ndeniche
0
80
Member Avatar for adriansen

I personally rather use SQL Sqrver, since integration with .NET is almost seamless, and it's got pretty easy to use tools... Look for the msdn sheet on connecting to SQL Server in microsoft's site

Member Avatar for ndeniche
0
134
Member Avatar for Vindal

Or, you can create a constructor for your class, so that it initializes the class's members so that they don't store garbage. You then call the constructor when declaring your class array. Or, as you are doing it, instead of [code=c++] for(counter = 0; counter < MAX_ACCOUNTS; counter++) { accounts[counter].computeInterest(); …

Member Avatar for Vindal
0
171
Member Avatar for Vindal

In the first place, you cannot assign a [icode]const[/icode] value in the class header. Second, you didn't declare the variable [icode]balance[/icode] in the [icode]void computeInterest()[/icode] function

Member Avatar for jonsca
-1
166
Member Avatar for Tinee

what the program does is, instead of overriding, replace the numbers to order them from largest to smallest... Let me explain: Suppose the original input is [icode]| 5 | 7 | 1 | 3 |[/icode] Enter the loop: is [icode]5 < 7[/icode]? Yes Since it is, it assigns [icode]5[/icode] to …

Member Avatar for Tinee
0
316
Member Avatar for Agni

I agree with Agni: In the first place, DaniWeb is a place where people search for tech advise or programming solutions. If someone has anything to say, they'll say it by posting a reply to the thread. There's no need to implement a Facebook Commenting API. Second, Anonymity is a …

Member Avatar for Dani
0
285
Member Avatar for chanthung

That's because you're not specifying the Connection Property for da.SelectCommand (da.SelectCommand.Connection) Try [CODE=VB.NET]da.SelectCommand.Connection = con da.SelectCommand = cmditem[/CODE]

Member Avatar for chanthung
0
1K
Member Avatar for linezero

What do you mean by "grabbing"? Btw, you should consider formatting and indenting your code for easier comprehension.

Member Avatar for codeorder
0
251
Member Avatar for adam2009

This post might go better in the JavaScript forum, but here is an idea: Try javascript to check on that elements value every time the page is loaded: [code=html] <!-- Header --> <script type="text/javascript"> function checkCounter() { if (document.getElementById("counter").value == 1000) { alert("you arrived to 1000"); } } </script> </head> …

Member Avatar for ndeniche
0
66
Member Avatar for thekitoper

There is an html attribute called "width". You can specify an element's width with this attribute. Do a quick google search for css and you shall get along pretty good.

Member Avatar for thekitoper
0
123
Member Avatar for MaddTechwf

Ok, where you put [icode]HOME[/icode] you should put [icode]Main[/icode], which I suppose is the name of the parent's class

Member Avatar for ndeniche
0
1K
Member Avatar for HelloMe
Member Avatar for marufsiddiqui

first of all... you will have to [U]explain[/U] to me what do these operations you want to do mean, cause i'm a little rusted in terms of determinants and that stuff... (it's been a long time since i work with matrixes)... i guess with a double for loop will e …

Member Avatar for idriz12
0
2K
Member Avatar for bala24

there are some posts about optimizing c++ that might come in handy too... just search for them...

Member Avatar for a900nasaslam
0
182
Member Avatar for ~s.o.s~

i'm not married... but i'm seriously thinking on marrying this one... though i think it is a good idea to live together, to see how things work out... what do you think?

Member Avatar for Borzoi
0
726
Member Avatar for ndeniche

Hello fellas I'm actually developing some web applications in Ajax, and have been trying them in my Wamp server for Windows 7. I've been using the php_sqlsrv module since its release, because of its new features. The thing is, my office has a fedora webserver, and I'm looking for a …

Member Avatar for sourcebits
0
141
Member Avatar for ndeniche

Hello guys... I'd like to make a login form that popups just like the one here at daniweb, but I don't know what is it called... Can someone give me a heads up, and maybe some code?

Member Avatar for drewpark88
0
125
Member Avatar for ak_2005

[quote=Narue] >which runs a WindowsXP OS.... It might start without crashing, but a lot of old programs start on Windows XP and don't work correctly due to their age.[/quote] I, as well, use Turbo (cause that's the one used @ the university [thing i don't actually like...]), and i installed …

Member Avatar for shriniwas
0
5K
Member Avatar for ndeniche

Hello mates I've got a database with tables for Job Department and Job position. Every Positions has a respective Department assigned by the id. So, when the user selects a Department, the program deploys into the combobox the values of the Positions assigned to that department. The thing is, the …

0
119
Member Avatar for ndeniche

Hello ladies and gentlemen I've been trying to find a workaround this issue, and maybe you can help me find a solution. I've got a signature footer bar in a html document. This footer bar must display in several websites, in several domains, so i've been looking for an include …

Member Avatar for ndeniche
0
97
Member Avatar for pavani2006

why son't you create an array of strings, and store in each string each word of your sentece, so you just have to print your array of strings backwards... i'm sorry... but as narue, and our queen of daniweb, her majesty dani (in the anouncements posted in every forum) have …

Member Avatar for devaru2003
0
222
Member Avatar for Dani
Member Avatar for kymarscheng

I usually prefer an IDE that will aid me on my coding (like with intellisense, documentation, indenting, for instance) since it's easier that way to track my classes, functions, variables, etc, so I use VS2010

Member Avatar for tokenjoker187
0
257
Member Avatar for sofia24
Member Avatar for DelilahDemented

Because, in checking the current char, if there's a non-numeric character, the subscript's position is not changing, so it keeps checking the same character oiver and over again. Maybe you could try a validated loop exit? [code=c++] bool valid = true; while ((subscript < numChars) && (valid)) {... if(...) {...} …

Member Avatar for DelilahDemented
0
237
Member Avatar for dhruv_arora

[icode]Exit(0)[/icode], is commonly used as a successful exit message. Usually, you don't use it, use instead [icode]Return 0;[/icode] [icode]Exit(1)[/icode] Is used to reference some kind of abnormal program termination.

Member Avatar for dhruv_arora
0
117
Member Avatar for Feisu

why don't you store each line of the textbox into an array, so that, on TextChange, you can count how many words are in the actual index of the array, and when 7 words is reached, you pass on to the next line, and at the end of each index, …

Member Avatar for apdbrl1
0
946
Member Avatar for dhruv_arora

[QUOTE=Bench;1252442]Write her a poem using your favourite programming language! :D[/QUOTE] You know, I've done that... It's awesome!! :P (Specially when the girl knows her codes)

Member Avatar for dhruv_arora
-1
134
Member Avatar for Narue

I differ on the opinion of renaming the [noparse][icode][/icode][/noparse] tags, since the tags for placing a code snippet are [noparse][code][/code][/noparse], the 'I' in 'ICODE' menaing the 'Inline'

Member Avatar for TrustyTony
0
152
Member Avatar for vibrations

somewhere out there i read that microsoft screwed up all sund cards with vista, since vista only plays certain kinds of sound files... though i solved my problem by downloading brand new vista-compatible drivers for my creative sound card from the site... maybe if you search for vista-compatible drivers for …

Member Avatar for abrar417
0
130
Member Avatar for Keep

[code=sql] SELECT TOP 1 Columns /*The columns you want to select*/ FROM Table /*The table you're looking in*/ WHERE args = TRUE /*The arguments you intend to evaluate*/ [/code]

Member Avatar for ndeniche
0
98
Member Avatar for kunkunlol

You could create a [icode]struct[/icode] containing a [icode]char[/icode] and a [ICODE]bool[/ICODE], which will be your 'board'. Then you could randomly assign a position for a word and the direction you want to place it in. Then, check through a loop if another word is positioned in the spaces that the …

Member Avatar for ndeniche
0
913
Member Avatar for ndeniche

Hello guys. I'm building an application that connects to a SQL Server 2008 database via connection string. The thing is, since the computer loading the app (or the user, in either case) is outside the Active Directory domain, I can't use Windows Authentication to connect to the DB. But when …

Member Avatar for ndeniche
0
844
Member Avatar for Mongooseman

IMO, the implementationof a database with an AJAX front-end should do the trick (a little hypocritical, since i've ujust done the same thing in my company, but with Joomla)... But since there's much more content (like news posting and bulletin boards), I kinda needed the implementation of a CMS to …

Member Avatar for Mongooseman
0
161
Member Avatar for ndeniche

Hello Recently I've been started to get curious about mobile development, specially Geolocation applications, how do they work and stuff... Can anyone point me in the right direction? What should I study, any references and things like that... Specially the following: 1.- How to implement the imagery (like, can i …

Member Avatar for peter_budo
0
231
Member Avatar for ndeniche

Hello guys... First of all, I'd like to excuse myself for being away for so long (for those who know me from a while ago), but I've been up to soooo many many things lately, that it's been hard to keep up... but lemme say: "I'm baaaack" Second, as I've …

Member Avatar for happygeek
1
171
Member Avatar for mayanktalwar
Member Avatar for toasty525

You can set your js to refresh every once in a while to recover the latest data from the database. Create a dataset to read the results from the db, and another one to store the one that was used last, and compare the new one with the last one …

Member Avatar for ndeniche
0
164
Member Avatar for eXceed69
Member Avatar for misvampire

uh huh... As far as you've posted, you've got nothing in your code... try a little bit harder, take some [URL="http://www.daniweb.com/code/forum8.html"]code snippets[/URL] as a reference, [URL="http://www.google.com"]google[/URL] some tutorials, and come back when you've got a real [b]CODE[/b] issue, ok?

Member Avatar for ndeniche
0
205
Member Avatar for ndeniche

I'm building an AJAX application for my company, and in the main screen there is a login form. The login form has a submit button which calls an ajax function that checks with a php page the validation for the login credentials, and sends back a confirmation message. This message …

Member Avatar for achinaseller
0
382
Member Avatar for koved

you can always look for your header files in your library folders. Look for the address in the "Options" or "Preferences" of your c++ compiler, or go to the folder you configured when setting it up. Once you reached the folder, look for the library you intend to study. That …

Member Avatar for 0x69
0
81
Member Avatar for naseerhaider
Member Avatar for The Dude

sometimes like it, sometimes hate it... sometimes never tried it (kidding :D)... skinny dipping

Member Avatar for maydhyam
1
2K
Member Avatar for ndeniche

Hello guys... I'm trying to develop an application with a GUI that sends and receives data via http, by sending a url via POST and eading the content generated by the url. or instance, if i send a nick and order number, the server generates a SessionID via html. My …

Member Avatar for ndeniche
0
210
Member Avatar for Learning78

what anout a function that will break up both strings (the one from the input and the one from the access db) into string arrays and compare them in a [icode]double[/icode] function, constituted by nested [icode]for[/icode] that will go through both arrays, counting the amount of matching words, loops that …

Member Avatar for WaltP
0
272
Member Avatar for COKEDUDE

Well... it's pretty implicit with the whole [icode]while([B]getchar() != '\n'[/B])[/icode] part

Member Avatar for sumitunya
0
2K
Member Avatar for darkagn

[QUOTE=cscgal]Reputation is just like it's real-world counterpart. It's all about what other members of the community at large think of you. Members with more reputation themselves can affect other people's reputation by more. The reputation system also comes armed with a way to comment on why you gave the reputation …

Member Avatar for Ancient Dragon
0
469
Member Avatar for COKEDUDE

it depends on what you're trying to do: when declaring variables in the [icode]main()[/icode] procedure, is because you intend to use them throughout the whole program, though you can't use them in a function (unless you pass them as parameters by reference, not by value); when you declare them in …

Member Avatar for WaltP
0
153

The End.