64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for masonketcham

I have an assignment that is due tonight and I ran into a few errors. The first two parts compiled successfully just the third one ran into errors. I don't know what went wrong. The errors I am getting are C:\Users\Owner\Desktop\Inventory Part 3\inventoryTest.java:51: error: cannot find symbol NumberFormat nfc = …

Member Avatar for masonketcham
0
268
Member Avatar for mohamedasif18

Hi, Am currently doing a PHP project which was full of SMS sending from my site to my client mobiles in india. I have searched and get lot of sms gateway api's worked fine . But now i want to create my [COLOR="Green"][B]OWN SMS GATEWAY API[/B][/COLOR] for my site in …

Member Avatar for sam4444
0
311
Member Avatar for Milton Neal

I'm working on a bit vector class that I'm using in a current project. Basicly BitVector is a container class for storing and manipulating data a bit level. I have two member fuctions for "setting" and "getting" bits at a given index. // Returns the bit at the specified index. …

Member Avatar for Milton Neal
0
321
Member Avatar for Centorpe

I have a form which contains a datagridview and 2 textboxes. I have managed to populate the 2 textboxes as required by click of relevant row in datagridview. With the same click I also open another form which also contains 2 textboxes of the same name and these require the …

Member Avatar for Centorpe
0
202
Member Avatar for nadiam

hey guys so i have a table where the `<tbody>` is populated by data in php. a row has 4 columns: name, unconfirmed, attending and unattending. the last 3 columns are radio buttons(echoed). the problem is that the radio buttons cannot be checked. for example for first row unconfirmed is …

Member Avatar for nadiam
0
2K
Member Avatar for nadiam

Im trying to delete from multiple tables using full outer join like this: $del_id = (int) $del_id DELETE contact, child, spouse FROM contact FULL OUTER JOIN child ON child_name = c_name FULL OUTER JOIN spouse ON s_name = name WHERE contact_id = $del_id I get warning/notice: unknown table contact in …

Member Avatar for nadiam
0
196
Member Avatar for MasterHacker110

I'm trying to write a search enigne. Nothing fancy like google or so, just a simple one for educational purposes. I have done a little research and I know that Google uses Python, Java and C++. I on the other hand know C++, PHP, some Java and C# and even …

Member Avatar for kindo
0
247
Member Avatar for johndohmen1963

Who can help me with the folowing I have javascrip variable and a php datatable And i wand to read the datatable with the javascript variable here is the code i have if(!isset($_POST['bewerk_gegevens'])) { ?> <script language="javascript" type="text/javascript"> var newland = document.getElementById("geboorte_land").value; if ((newland != "" && newland != "Duitsland") …

Member Avatar for johndohmen1963
0
402
Member Avatar for PerplexedB

Until now I've been replacing Enter key behaviour in controls (in base classes) with Tab key behaviour with the following code in the keypress event handler : If e.KeyChar = Chr(13) Then SendKeys.Send(vbTab) e.Handled = True End If Although it's worked for me until now, I have serious doubts about …

Member Avatar for Reverend Jim
0
1K
Member Avatar for uday.raj.73345
Member Avatar for cambalinho

i'm testing the win32 scrollbars, but i'm with 1 problem: when i use the SB_THUMBPOSITION message, why the window isn't repainted( the WM_PAINT message isn't used)? case WM_VSCROLL: switch (LOWORD (wParam)) { case SB_LINEUP: VerticalScroll-=1; break; case SB_LINEDOWN: VerticalScroll+=1; break; case SB_THUMBPOSITION: VerticalScroll=HIWORD (wParam); break; case SB_PAGEDOWN: VerticalScroll+=10; break; case …

Member Avatar for cambalinho
0
977
Member Avatar for TheFearful

I am confused on how to implement this. I was thinking a loop, but the loop I was doing would only fill the array and make the stack full. Any tips/suggestions I can use to help me get through this mental block? I put the code for all three of …

Member Avatar for TheFearful
0
217
Member Avatar for OsaMasw

Hello guys I want to create something like SEO link i have website with three pages, but the header is the same **header.php** <!DOCTYPE html> <html> <head> <style> .active{ background-color: #365214; } ul{ display: inline; } li{ display: inline; } </style> <title></title> </head> <body> <ul> <li><a class="active" href="index.php">HOME</a></li> <li><a href="a.php">ABOUT</a></li> …

Member Avatar for OsaMasw
0
236
Member Avatar for castajiz_2

Is there a easier way to move and postion the object from the toolbox in visual studio asp.net framework.When I say easier i reffer to windows forms framework object positiong where moving objects accross the form is a piece of cake.

Member Avatar for castajiz_2
0
291
Member Avatar for mark103

Hi all, I need some help with my php script. I'm working on the script to parsing the time from my other script so I can convert the hours into format, example: the hours I parse is 1:00 AM so I can convert it to 20140427010000. Here is the list …

Member Avatar for diafol
0
323
Member Avatar for george08.08

I am trying to get my head around the functions etc in xslt with xml. I have made a dummy xml file <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="books.xslt"?> <books> <book> <title>Hello Dolly</title> <author>John Thumb</author> <readers> <young_readers>17</young_readers> <older_readers>23</older_readers> <total_readers>40</total_readers> </readers> </book> <book> <title>Goodbye John Thumb</title> <author>Dolly Smith</author> <readers> <young_readers>12</young_readers> <older_readers>3</older_readers> <total_readers>15</total_readers> …

Member Avatar for george08.08
0
280
Member Avatar for Mike Bishop

I have a datagridview with 10 rows I can select mutiple rows by using Ctrl & Mouse click but what I would like to do is use a button to select the row. I.E the user could select row one, click the button and row one would be selected then …

Member Avatar for Mike Bishop
0
4K
Member Avatar for Alxprog

In my book a new tabpage is created programmatically this way: auto tabPage3 = gcnew System::Windows::Forms::TabPage(); but I want to do it without "auto" word because that's a new 2010 feature and I use VS2008. The MSDN solution didn't help. I hope it'll take just a little tweast to solve …

Member Avatar for Alxprog
0
234
Member Avatar for smitsky

If I prompt the user for n number of printers, is there a way of creating n number of vectors on the fly as opposed to creating vectors and putting them in your class structure at the start? I have to create as many printer queues as a user specifys. …

Member Avatar for smitsky
0
209
Member Avatar for Alxprog

There are tips on how to install Boost with Visual Studio, there are tips on how to install Boost with Qt , so my questions is : is it possible to install and later work with Boost with the two IDE's mentioned above ( I have them both on my …

Member Avatar for Alxprog
0
127
Member Avatar for James_30

What is a goodway to code a btn ation. To inialize adeaktop app from another desktop app. More over,run thejar use a eclipes build.xml . I built both apps in netbeans environment .

Member Avatar for James_30
0
166
Member Avatar for huzeifa
Member Avatar for surferbloggy

Hi i've done a wordpress plugin, i've done th the localization as explained [here](http://www.wdmac.com/how-to-create-a-po-language-translation#more-631) so i've generated the po and mo file for the new languages and i've done the traslations the words to traslate are this way <?php _e('System Settings', 'wp-myplugin-name'); ?> or _e('System Settings', 'wp-myplugin-name') but in the …

0
167
Member Avatar for mpc123

Hi I need to delete words before a set of words in a field. eg delete the words before the word price in that field. I already have a query to replace a certain word but cant see how adapt it to do what I require update TABLE set `field` …

Member Avatar for diafol
0
189
Member Avatar for sasi_88

hi, i want to disable the back button in IE browser. i have the code but it's not working logout.jsp [CODE] <script language="javascript"> window.history.forward(); </script> [/CODE] i don't know where to put the script code it is put in the logout.jsp file or before please help me out of this

Member Avatar for Satyaveer1990
0
5K
Member Avatar for Q8iEnG

Hi guys.. I'm still going through C++, learning new stuffs. It is true that I have finished my C++ course two years ago. But, you all know C++ have too much things to learn! Anyway, I need help guys "kindly" how can I open a program/or any file using C++? …

Member Avatar for shayan_doust
0
741
Member Avatar for theashman88

I'm having an error when I run this code any ideas? When I run it and enter the code it works if I enter the same numbers I had entered before his turn, but if i enter different numbers I get Unhandled Exception: System.IndexOutOfRangeException: Index was outside the bounds of …

Member Avatar for Momerath
0
193
Member Avatar for ravi142

Hello, I am learning codeigniter So I have 3 radio button. My code as under **View Page** <li id="AgencyType" style="z-index: 93;"> <label class="mandatory" for="ExternalAgency">Are you an employment agency?</label> <ul> <li style="z-index: 92;"> <?php $data = array( 'id'=>'ExternalAgency', 'name'=>'ExternalAgency', ); echo form_radio($data);?> <label for="ExternalAgency">No, we recruit directly.</label> </li> <li style="z-index: 91;"> …

Member Avatar for iamthwee
0
139
Member Avatar for annain

hi, I need a help.how can i SEARCH a record in a database using listbox and display the results?? For an example: if i select a destination on the listbox and it will look for the records on database and display it. im using ms access and adodb connection.Below is …

Member Avatar for annain
0
547
Member Avatar for annain
Member Avatar for annain
0
174
Member Avatar for N1GHTS

Say I have code like this... typedef struct { unsigned A:1; unsigned B:1; } FlagStruct; extern FlagStruct *Flags; Imagine that the Flags instance is a shared resource in a multi-threaded application. Say thread #1 decides to read the value of Flags->A but thread #2 decides to set or clear Flag->B …

Member Avatar for N1GHTS
0
244
Member Avatar for Sulaiman_1
Member Avatar for 111100/11000

//**numHits and numHalfHits give incorrect values.I don't know why** #include "Mastermind-game.hpp" using namespace std; int main() { bool choice = false; cout << "This is a game of MASTERMIND v.0.1" << endl; while(1) { cout << "Enter 1 if you want to solve game for your self" << endl; cout …

Member Avatar for nullptr
0
539
Member Avatar for engrjd91

I am trying a query in mysql. I have 3 tables which are linked by the same foriegn key ... Table 1 = students (PKey - stdnt_rfid_tag) Table 2 = student_attendance ( FKey - s_id for stdnt_rfid_tag ) Table 3 = users ( Fkey - s_id for stdnt_rfid_tag) In the …

Member Avatar for diafol
0
213
Member Avatar for mavtcr

Friends , Is there any way for data alignment in the list box. My code is given below Private Sub TxtFdt_KeyPress(KeyAscii As Integer) Dim L, L1, L2, L3, L4, L5 As Integer Select Case KeyAscii Case vbKeyReturn If TRS.State = adStateOpen Then TRS.Close TRS.Open "SELECT * FROM Tran WHERE Ac …

Member Avatar for Aslam Mansoor
0
1K
Member Avatar for amanda.hearon

So basically I was supposed to take my prior lab which read a text file that had the hours and wage: 15 10 50 15 30 10 I needed to add the name to my text file Doe Jane 15 10 Doe John 50 15 Doe Joe 30 10 My …

Member Avatar for amanda.hearon
0
274
Member Avatar for SintherPal

I struggle to find a solution at my java project... It gives a lot of bonus as well.. so, i would really appreciate it if someone is willing and expert with java and can help me with my project, if he has time to help me with it. :) If …

Member Avatar for SintherPal
0
283
Member Avatar for chrisschristou

hello friends. i just start with android and i got many trouble one is the image size so i can undestund ldp is for low density and it's grow to hdp xhdp, xxhdp...., but i can't undestund how to edit image for the different screen. for exemple i have a …

Member Avatar for peter_budo
0
377
Member Avatar for SimonIoa

I cant log in to wamp server although i get in the phpmyadmin. When i try to open my project i get access denied for user 'root'@'localhost' (using password yes)

Member Avatar for SimonIoa
0
212
Member Avatar for kal_crazy

try { /* Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver"); String loc = "jdbc:odbc:Library"; String filename = "C:\\Users\\Krishal Lad\\Desktop\\Library.mdb"; String database = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb, *.accdb)};DBQ="; database+= filename.trim() + ";DriverID=22;}"; // add on to the end con = DriverManager.getConnection (database);*/ Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); String database = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb,*.accdb)};DBQ=Library.mdb;"; System.out.println("connecting to database..."); Connection conn = …

Member Avatar for 203428
0
430
Member Avatar for malatamil

i have a pagination code but the problem is i have 2 tabs one is test and test2 if i want to see that test second page click 2 that url showing url?test=page&page=2 and i want to see test2 tab, so if i click test2 that url was not changed. …

Member Avatar for diafol
0
548
Member Avatar for chrisschristou

hello dear friends i'm not a developer not app designer what i know is just buiding website and i'm an autolearner. i have a national champion to make an app mockup in photoshop it is litle hard beacause i must show it with basic function. and i want just to …

Member Avatar for chrisschristou
0
245
Member Avatar for Nebil

Hi, I was wondering if there's a way to check an existing id in the main table when using temporary table,then use another id for inserting records.Since it may cause error for using the same id in the main table. Is there a way to do that?

Member Avatar for Nebil
0
568
Member Avatar for pars99

So, I was doing some doing some research for a program I'm working on and I stumbled upon the information that clang++ is a better alternative to g++ on Mac. I've been trying to use it because I can define that I want to use C++11, yet, the file output …

Member Avatar for pars99
0
162
Member Avatar for abaddon2031

I have a code that i have made that appends a file then uploades the output of the appending to my websites database. In the code i have 2 def statements that i would like to put into modules. I was wondering if omeone could tell me a simple way …

Member Avatar for TrustyTony
0
213
Member Avatar for masonketcham

Not sure what it is nedding I'm needing help on coding this program I get back some 2 errors. What I have is: public class Inventory { private double ItemNumber; //to store Item number private String ItemName; //to store Item name private double UnitsInStock; //to store number of units in …

Member Avatar for Doogledude123
0
330
Member Avatar for mitchems

It's been a long while since I've been here. I am trying to use Win32 IEAutomation to automate IE to login to SharePoint, read some information, download some files and some other junk. I installed WIN32 IEAutomation. When I run the simple script: use Win32::IEAutomation; my $ie = Win32::IEAutomation->new( visible …

Member Avatar for mitchems
0
543
Member Avatar for junaid_5

I have two problems with this code. 1. when i refresh the page it uploads the file again. 2. how to i validate the form if required fields are not filled ? i have added the code validation but its not working and there are no errors. <?php if (isset($_POST['upload'])) …

Member Avatar for junaid_5
0
626
Member Avatar for IsaacMessi10

onsubmit return false still submitting form HTML: <!DOCTYPE html> <head> <script src = "Scripts/script.js"></script> </head> <body> <form action = "http://posttestserver.com/post.php" method = "post" onsubmit = "return age()"> <label for = "dob">Date of Birth</label> <input class = "TextArea" type = "date" id = "dob" name = "dob" required/> <br/> <p><span id …

Member Avatar for IsaacMessi10
0
294
Member Avatar for ivan3510

Hi! I have this code and getting this problem: undefined reference to 'vtable for Triangle'. Thanks for your help! #include<iostream> using namespace std; class Point { public: float x,y; Point(){} Point(float x,float y):x(x),y(y){}; Point operator=(Point &X); }; Point Point::operator=(Point &X) { this->x=X.x; this->y=X.y; return *this; } class Figure { public: …

Member Avatar for ivan3510
0
4K

The End.