199,114 Archived Topics
Remove Filter ![]() | |
Hey all! I've been working on a website but have been having a bit of trouble with dynamic linking using php. I've tried (and failed) with different methods to get it working but i need the help of some very talented coders :) I currently have a webpage which extracts … | |
Hi, I've to send a string using serial communication. I've tried to use WriteFile function but maybe I wrong something, because I cannot send my data. I hope someone can help me! Tnx everybody Bye Alex | |
Hello everyone, I need Help connecting my website to a database. i could use anyones help. Thanks | |
Hallo, can someone please help. I've got 2 calculations, and they need each other for the calculation, I've declared both global, because H44_Out is first 0 is used as H42_Out and therefore giving a wrong value to H42_Out, is their a way to do this? [code] H44_Out = (G123_Calc + … | |
Plz help me out i want a a forum from where i can download it and also lict neccessar changes plz contact me on orkut [url]http://www.orkut.co.in/Main#Profile?uid=8823312722782927827&rl=t[/url] | |
Please someone can help me. I need a function which just returns the number of rows from known table. I tried it like: [CODE] CREATE FUNCTION getRows ( @id int ) RETURNS int AS BEGIN DECLARE @rownums int SELECT Count(*) FROM dbo.MainData where id=@id RETURN @rownums END [/CODE] But it … | |
I have run the website some error are displayed. It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. Pls. give solution for me. | |
Hi friends, I need to know how can we achieve this? Once the user navigate from a page,the cache should be clear and if they press browser back button, it should display the "page has expired" error message. Can anybody help me on this? | |
I have a page which has datagrid on it, and the datagrid is populated automaticly from access database so I don't have anything defined manually, except for the edit column. What i would need to do, is to make an empty editable row on the bottom of the datagrid, so … | |
Write a program that simulate a die roller. The user should type in the number of the throws. Let the program count how many ones, twos, threes... are in the series. In the end the program should write down how many ones ... that was and also figure out the … | |
What is the method of passing user inputs to database in Joomal or where the places handling the user inputs to send to the database. eg: localhost\Joomla\components\com_user\views\register in this directory have a module for handle new user registration. I need to know how joomla carry the user input values for … | |
Hey guys. Im new to PHP but I know the basics and I know C++ pretty well. Im trying to develop a marketplace module for the Joomla CMS. I was wondering if any of you could help or had experience with Joomla. Any suggestions? Thanks. | |
Hey guys, Can someone please take a stab explaining PHP!!! I upload files through dreamweaver and get a huge mess. How does it work? What makes it better or worse? I'm not completely code illiterate, I've worked in c++, java, I know basics in HTML and some actionscript as well. … | |
Hi All, I'm developing a Calendar project . I have all the concepts and framework with me upto my knowledge. I need to show the events on a particular day which i will fetch it from mysql values by PHP. Forgive me if im not posting in a professional way. … | |
![]() | [CODE] StringTokenizer st = new StringTokenizer(line); while (st.hasMoreTokens()) { String wordIn = st.nextToken(); if (wordIn.endsWith(".")) wordIn = wordIn.replace('.', ' ').trim(); if (wordIn.endsWith("?")) wordIn = wordIn.replace('?', ' ').trim(); if (wordIn.endsWith(",")) wordIn = wordIn.replace(',', ' ').trim(); String result = bd.searchBase(bd.getWords(), wordIn, 0, bd.getWords().length -1); if (result != null) System.out.println("Word found \n"); else … |
Hello. I have a string that im trying to pull text from. But I want it to pull the text between certain points. Is this possible? For Example: DABHolly,BuddyDAL1466 N Scooby AveDAIAtlantaDACGADAQ =========================== ========= Is there a script that can pull the text between DAB & DAL, DAL & DAI, … | |
Okay, like my other thread says, I'm working on a game engine. A couple if minutes ago, I compiled, and it ran perfectly. Now, when I compile it, I don't even see a DOS prompt or anything. I'm really confused, can someone help me and tell me what I did … | |
My javascript function setHw is not called by pressing the return key in all of the following pages. Please help. [CODE]<div id="rowPerPageDiv"> <form name="tagform" action="Hw.htm" method="post"> <input type="hidden" name="currPage" value="0"/> Rows Per Page<input type="text" name="rowsPerPage" id="rowsPerPage" value="20" onsubmit="return setHw()"/> <input type="button" value="Apply" onClick="setHw()"><br> </form> </div>[/CODE] [CODE]<div id="rowPerPageDiv"> <form name="tagform"> <input … ![]() | |
Hello, I'm pretty new to C# and .NET. I have been working with the arrays within comboBoxes I have created a method to add multiple comboBoxes, each with defined items to select from (1,2,3,4,5,6,7,8,9,10) When I run the program, comboboxes get created automatically. When I select the value from a … | |
Hey guys, I've recently started learning WinAPI and I want to make a Tic Tac Toe game with it but I have a problem I have a main window ("field") and 9 child windows ("tiles") and I want to make the tiles clickable so that a click calls the Beep() … | |
Good afternoon. I was hoping to get some query optimization tips. I am writing a php script to retrieve data from a mySQL database. Table A, which contains most of the fields that I need, contains just under 11,000 rows. Table B, which contains 3 fields that I need, contains … | |
Hello everyone; Forgive me if I'm posting in the wrong forum. I have scoured the web playing with 20+ CMS systems all with great pros and horrible cons - nothing has completely worked for me. I have limited but some php experience and I want to take the next step. … | |
can any one suggest me solution please [CODE]//CAtlString str=(_T(buffer)); //buffer wil have{{ ( ab != cd } == true }} as my input CString str=(_T(buffer)); CString symb[10]={ "{{","}}","==","<=",">=","!=" , "true", "flase", '(', ')' }; (LPCTSTR)str.trim(_T(symb));[/CODE] if i am trying to execute this code iam getting some errors like 1>d:\c++_test_code\simple\simple\simpledlg.cpp(197) : … | |
Hi, im still pretty new to PHP and I have just started looking into classes / functions and OOP - I have done loads of searching and watching tutorials and learning from others here on daniweb with great pleasure, I was hoping that someone could fix the problem im having … ![]() | |
Hello Daniweb, I am writing a game engine in C++ with SDL, and am faced with a problem. I need to store the sprite animation coordinates for every different animation in a different array. The problem I am facing is, since I am putting the arrays in one single Player … | |
Is there a way to append the current date to an output file. My output statement looks like, [CODE]result=open('Results.csv','wb')[/CODE] If I run it today, I would like the file name to be something like Results20100528 (for May 28, 2010). If I run it tomorrow, I would like it to be … | |
Hi Friends, I want to search a table with 25 columns using multiptle fields, i.e. Multiple column search Please help me with the query, i have tried using AND but no luck Field to search 1.Date 2.Name 3.Surname 4.Fathername 5.MotherName Rgrds Sachin ![]() | |
can any1 kindly help me how can i wirte in database using JDBC, i had alredy made connection with me database,,, so plz tell me how to write in database access file? | |
I have a problem in getting data in a textbox from a query, actually its like getting Item_code from Inventory table and the corresponding Unit_Price from related table Inventory_Price If i write a constant value of Item_Price in the query, the textbox shows the corresponding Unit_Price... Code: [code] sql = … | |
I am using savesetting and getsetting in vb6, W2k. I am still in the testing stage. The savesetting and get setting are working correctly. I would now like to use the deletesetting function to remove the registry entry but I have found no examples to initiate this function. I want … | |
Hi folks, Can someone tell me what is the meaning of this line? and how to use this command properly? [CODE] Lock::~Lock() { DEBUG('t', "Deleting lock \"%s\"\n", name); [/CODE] Thanks | |
[CODE] private DataViewManager dsview; private DataTable dtgen; MySqlConnection myconn = new MySqlConnection("server=localhost;database=octupus_db;userid=root;password=sys"); MySqlDataAdapter sqlgender = new MySqlDataAdapter("Select * from gender", myconn); MySqlCommandBuilder comgen = new MySqlCommandBuilder(sqlgender); sqlgender.TableMappings.Add("gendermapping","gender"); DataTable dtgen = new DataTable("gender"); sqlgender.Fill(dtgen); cbxgender.Items.Add(dtgen.Rows()"sex".ToString); [/CODE] My problem looks simple, but i cannot crack it. I have connected to my DB, … | |
Okay, I have absolutely no idea what is wrong with this code. When I comment out the parameters of the functions, everything works fine. Just like last time, it may be something obvious, I don't see it, though. [CODE] #include <SDL/SDL.h> #include <iostream> class tnt_Player { private: SDL_Surface *Sprite; int … | |
I am trying to make a checkers game for php two players on the same computer here is what I got and was wondering if there's anything wrong with this code note: piece movement would be based from text move A1 to B2 [CODE]function drawBoard() { global $cBoard; $R = … | |
I have a need to do this: Receive a URL that looks something like this: [url]http://www.somesite.com/[/url][something]?title=ABCTitle&name=ABCName Then the [something] takes the key/value pairs and redirects them to: [url]http://www.someOTHERsite.com/?title=ABCTitle&name=ABCName[/url] Basically I want to take the data after the '?' and send it on to another site. What would the code look … | |
hey hello this is my first time..... i wan't to ask in php, how we can update a table without a submit(button)...is that possible?if yes tell me how?tq everybody | |
I'm pretty new to JavaScript. I'm trying to define my custom errors, but it doesn't seems to be working [CODE] function MyError(msg){ this.message = msg this.name = "My Error" } window.onload = function(){ try{ throw new MyError("Test Message"); } catch(e) { alert(e.name + ": " + e.message); } } [/CODE] … | |
How do I call a pointer to a member function? doing it like this gives the error 'term does not evaluate to a function taking 1 argument' ent->GetInputs()[i]->function(i); where function is of the type void (__thiscall CBaseEntity::* inputfunc_t)(inputdata_t *data) and ent is of type `CBaseEntity*` | |
I have written my code for my class and i keep getting a couple of errors. Could someone take a look for me and point me in the right direction. Here is my code: // DateProject.cpp : Defines the entry point for the console application. // /*specification: Create a date … | |
I am trying to compile code that will perform an http POST using the GNU c++ compiler, and I get the following error: http_post2.cpp:93: error: ‘strlen’ was not declared in this scope The line that it points to is simply: [CODE]SEND_RQ("POST ");[/CODE] I went up to see where SEND_RQ is … | |
I have an image rotator that uses nested intervals. The outer one switches the images, and the inner one preforms the fade. The problem is is that the display is not updated during the interval function, and so, the fade is not displayed; the new image just appears- no fade. … | |
Hello everyone, I'm attempting to write a program for an assignment dealing with a class in C++. As you may have guessed, classes are new to me. And it seems as though that is what is giving me these errors: [QUOTE]1>c:...main.cpp(90) : error C2228: left of '.number' must have class/struct/union … | |
I use python for various personal projects and hobby stuff. I do mostly command line stuff, just cuz I don't need the gui for a lot of it. I would like to start moving on to GUIs, but I have run into a problem. I started with Python v3. All … | |
I'm teaching myself C++/CLR using Visual C++ 2008 (I'm so new I'm not too sure how even to phrase that all) and just as soon as I think I understand something it turns around and bites me. I have a class that looks like this: [CODE]public ref class TABLE_KeyData{ public: … | |
Good day i have stumbled upon this forum and browsed some of its threads and found them really interesting. I am starting to code my own batchfile, much like it kills some pesky exe's and removes some malware generated registry entries. My problem is "How can i search and delete … | |
Hi I'm new to Javascript and trying to get a layer div to display next to the mouse cursor. My code works great in IE and Chrome browsers but won't work in Firefox. If I remove the part bewteen the asterisks which gets the cursor position it works fine, but … | |
I'm writing a cross-platform code and I need to be sure the following won't make me trouble. [code=c] struct X { unsigned char a:3; unsigned char b:5; }; [/code] Is using other then int types is part of the ANSI C? Will it be compiled with every compiler? | |
What will be in CH and AH after these commands? MOV AX, 1234 MOV BP, AX MOV DX, 999 MOV DI, DX MOV CH, 222 [bp+di] | |
Hello The ActionPerformed will not unload the viewPort to load the new viewPort that holds a table. is there a way to reload the table? The first actionPerformed supplies the table but the next will not remove table and add the new one. [code] package view.content.panels.guide; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; … | |
Hey all, having a little trouble transferring my listview items into a database. I have transfered all of the listview items into a List<> for use during the population of the items in my database here is my dataaccessor class, it contains the reader writer and writer statements generator: [CODE] … |
The End.