64,152 Solved Topics
Remove Filter ![]() | |
Hi I have a form which adds data to a dataset, which can be viewed in a datagrid as it happens and then they finish and this adds it to the database - but after a short while the data that was added seems to rdissapear ffrom the database! Wondered … | |
In the JFrame I have two components JMenuBar and JPanel. A selection in one of the options in menu bar change the content of panel as [code=Java]JMenuItem jmiAddEmployee = new JMenuItem("Add Employee"); jmiAddEmployee.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent ae) { mainPanel.removeAll(); mainPanel.add(addEP); validate(); } });[/code] This will replace the content, … | |
Hi i have made a stupid mistake in my code which i cannot find,and i am getting this error Parse error: parse error, unexpected T_STRING in /home/content/d/r/a/dragun/html/vote.php on line 107 According to my eye sight it should be o.k. but apparently not. Can anyone give a helping hand. As far … | |
Ok ... after receiving some great help and education as to how to design a relational database, I went on to try and create the front end for one. I am learning here so bear with me. To put this into context, so you know, I am using DreamWeaver and … | |
I'm trying to get to grips with using files, particurlarly saving a set of inputs from the user into a file and then load it all back up again. I have a program which, through a little object oriented interactivity, allows the user to pair up names and numbers in … | |
Hello. I have a problem sending a string to a serial port. I am using the MScomm to control a motor . to get a full status form the motor I need to send the strng "R01 99" and a CR LF. when I use MSComm1.Output = "R01 99" & … | |
Hi fellows, My problem is, i have a datagrid where there is a boundcolumn which consists of Cadre(E1,E2.....E7). In the same datagrid i also have two template column which consists of a textbox and a checkbox.I need to enable the textbox and check the checkbox by considering the cadre.The logic … | |
hi, in my MS ACCESS front end, when i press TAB to jump to next text box or button focus is shifting in a disorderly way with no proper pattern. What might be the reason. Please help me. Regards Jagadeep | |
I have a document/view aplication that opens a bitmap I use the following OnDraw override to draw the bitmap on a window and OnOpenDocument to opening the image from file The bitmap handle ( HBITMAP bmaphandle ) is taken from the Document object that does LoadImage in it's OnOpenDocument method … | |
Hi.. I have a table: PROFESSOR in ms access, that has 2 fields: "Name" and "Location". The table has 10 records. And i have made a vb form with a combo box that will show a list of available locations from the database table, when it is dropped down. So, … | |
I work in a project with 12 chekbox(12 monthname) and a textbox. when I check a box a month name like "january" show in textbox. when I check another checkbox "February" show in that textbox after january. like "January February" as like same 12 checkbox. but when I uncheck any … | |
I'm interested in the limit parameter. When ever I try to use that I get this error: "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(0,5)' at line 5" this is the line … | |
Hi, I'm having some frustrating issues with char/strings. I have a function which returns an unsigned short integer, the unsigned short integer is ALWAYS 1 char long. So if I try this code: [code] number[2] = function(); [/code] So, number[2] should give me the number I want, however, it gives … | |
[quote] Once my dynamic table is populated with names entered by user, it should no longer include the initial text: Your name list is empty. Can anyone help me with this final code? [/quote] [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>My Dynamic Table</title> <script … | |
I am having problems retrieving distinct records from a XML record. I am using the following code but seem to have the same image in an entire row. Thanks in Advance! view demo [URL="http://www.buildasearch.com/_B/fotos/fotos.php?start=0&paginas=10&e=kites"]code demo[/URL] [code] <?php $display_number = 15; $tmp .= '<table width="100%" border="1" cellspacing="1" cellpadding="1">'; for ($i = … | |
I am writing a page for work that uses php and mysql to store and view a list of common commands used on our servers. I want to make it fully dynamic. By this I mean the command field names are pulled from the database. This is so the managers … | |
I'm working on a problem where I need to use a one-dimensional array to write an application that inputs five numbers, each between 10 and 100, inclusive. As each number is read, it displays it only if it is not a duplicate of a number already read. The program should … | |
i am working on a project on online railway reservation in asp.net using vb.net.in this,i want to use credit card for the payment of reservation of tickets .tell me how can i do this | |
I wrote this program that reads data from a txt file named books,and then arranges the data by name and price. that part works fine ,my problem is that I want to sum up the total price of the books and display it. I've tried a couple of ways to … | |
Hi, the following code works fine, that is, strcpy effectively copies the whole string on temporal to word. [CODE=cpp] char word[20]; char temp[ ] = "hola"; cout << temporal << endl; strcpy(word, temporal); cout << word << endl; [/CODE] However, if I try to use the heap to store the … | |
I only made an on and addition button with actual functions[ICODE] #!/usr/bin/python # gridsizer.py import wx app = wx.App() class GridSizer(wx.Frame): def __init__(self, parent, id, title): wx.Frame.__init__(self, parent, id, title, size=(300, 250)) def On(self, event): x=input("") def add(self,event): return x y=input("") print x + y menubar = wx.MenuBar() file = … | |
OS: windows vista 32 bit. I was searching the web for a compiler which has lesser numbers of issues and with good written help available. I am thinking of vc++ or blood shed dev c++ Then I came across this term ANSI ..... Is it necessary for a compiler to … | |
Hello, The file name I want to use is always different, though the directory path name is the same. How can I get the variable to see the same directory path without throwing in the extra quotes? For example, I enter DE000000 for the drawing number. ScriptFileName = Drawing_Number & … | |
well im doing a program that should output: A BB CCC DDD EEEE FFFFF using 2 loops. im on Dev-C++ 4.9.9.2 im all new 2 this an this is what i got so far, some help will b great to finish this =] [code=cplusplus] #include<iostream> #include<iomanip> using namespace std; int … | |
I was trying to write a program that takes an input from a file which is located in Desktop not the default directory where the program is saved [code] #include <iostream> #include <fstream> #include <stdlib.h> using namespace std; int main() { ifstream fin; string str="C:\Documents and Settings\shankhs\Desktop\ccs\Assignment CCS.txt",temp=""; cout<<str<<endl; for(int … | |
Hello everyone, beforehand, sorry for my english... I have to do client - server application. They must interact, using classes URL, URLConnection. I understand, how to send data to server. But I can not realize server work. The common algorithm of server is: 1. Start. 2. Wait for connection. 3. … | |
[code] transactionInfo = date + " - " + _strtime( time ) + "New Customer - 1001 - Olly"; [/code] Ok so I've been trying to find it everywhere in C++ reference guides but it seems I can't do the above ^^ (says I cannot add 2 pointers). date is … | |
All, I have an issues form in a database (MS Daily log) and when you fill in the form it save the data into an issues table. Everytime you do this it gives each issue an ID number (auto number). Basically I want to fill in the form then before … | |
Hello, I'm tring to set a string variable to be a path and filename to a certain file. I need it to look like: (load "S:\Tools\Tools_Subfolder\MyStuff\\test.txt") But when I try this command: LoadCommand = "(load \"S:\Tools\Tools_Subfolder\MyStuff\test.txt \")" I get: Compile error, Expected End of Statement The cursor highlights the S … | |
There has been a lot of confusion for Binary to decimal conversion and vice versa. Today morning i came up with some simple self understandable code !!! Binary to Decimal [CODE] #include <stdio.h> #include <math.h> #include <graphics.h> main() { int dec; int total; int power; clrscr(); total=0; power=1; printf("Enter binary … | |
I've gotten a little bit furter in understanding the general workings of python, and currently I'm fidgeting with classes and objects. I was thinking of the possibilities of having a program with a whole bunch of user defined classes that the user can use (hey, almost a repetitive aliteration there...) … | |
Hi All, Can someone suggest me how to solve the following issue? I have an Excel(macro enabled) consisting a registration form. Based on selection of a certain field, some chosen fields have to be disabled. Example: I have 2 forms , employee and vendor maintainance forms. Based on choice of … | |
Hello, I've to build a database of students in a certain school in which each student has a list of her/his passed exams along with the grade gotten. I have 3 structs and I need an advice on how to carry out memory allocation, eg. when I add a student. … | |
Hi all, I have a server in our network contains the database of the project (SQL Server 2005). Suddenly a developer computer couldnot connect to the database which in that server. and now another computer did the same. The strange is the designer computer which still connecting to the server. … | |
hii While i am accessing a PHP web page,time out occurs. But the max_execution_time in php.ini is set to 300 seconds. But timeout occurs after 2 or 3 minutes. How can solve this pblm. Please help me | |
Hello All, Greetings!! I was thinking of making MP3 Encoder. This is because I cannot find Exact encoder so I was finding some bindings for Lame Mp3 encoder and CD extractor/any cd to wav Library Thanks all Steve | |
Hello all. I have this problem. I have a div with inactive buttons in a jsp page, buttons like select all | add to basket | compare | .... and some java logic determining whether any products (coming from a backend) are found on page load. I want to make … | |
:sad: Hello guys, This is my first topic in this forum.. I need your help, I am trying to develop an Arabic voice recognition application using vb 6, does anyone know the code or what add on I should download, I am a total beginner… ((All I want it to … | |
I do not want a negative number input for radius, length, width, base, height. How would I do this. My code is below. It should be pretty self explanatory. Thanks. [CODE][code=syntax] #include <iostream> #include <cmath> using namespace std; int main () { double const pi=3.14159; int radius, length, width, base, … | |
Hi. I have written a small test socket program that uses a background thread that accepts tcp connections and adds them to a connection list that is accessed by main(). When a connection is opened, then later closed, recv() is called (see line highlighted in code below), which throws an … | |
hi, I get a crash as "Unhandled exception at 0x5f4335bb (MFC42D.DLL) in VMFirewall.exe: 0xC0000005: Access violation reading location 0x00000000." in D:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\src\mfc\appmodul.cpp in _tWinMain() funtion at call of AfxWinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow); This crash is in both debug and release....i have tried ignore of mfc42D.lib and mfcs42d.lib....but … | |
My dev-c++ compiler is telling me that ios::noreplace is not a valid member of std::ios. Why? | |
Well, this is for the same assignment as my last post. It's just a simple implementation of a bunch of Algorithm functions. It throws a runtime exception at the end saying the stack around the b variable was corrupted! I commented out all the lines with that use the b … | |
I'm working on an assignment for school where my teacher wants me to convert each member of an array of a class if it's int member is greater than 300. I can make it work for the first value of 300, since that's what find_if returns. But how do I … | |
hi everyone i am new to C++ need help; //Write a program that for 5 books with this atributes //books name //authors name //publishing year //book price to be selected only the books from the same year typed by the user(using structures) | | |
How do I stop a combo box from firing the SelectedValueChanged event when the DataSource property is added? | |
Hello All, I've been trying to implement the AutoCompleteExtender control from the Ajax Toolkit. So far everything has been working properly. The only issue I have is that after the webservice call completes the results are not being displayed. There are no error messages being displayed so I'm at a … | |
I am trying to write a program that can be used to display two random numbers to be added together. This program should wait for the answer to be input. If the answer is correct display a statement that says that is correct. If the answer is wrong it needs … | |
(Repost from Ruby-Forum.com. Sorry, but I'm really etching to continue learning Ruby..) In [URL="http://poignantguide.net/ruby/chapter-5.html"]w(p)gtr[/URL] I have found myself facing a code which, for the life of me, I just could not understand a few thing in! Seeing as this is the closest board realting to the subject, I shall post … | |
Thanks for the help. I have a workbook with VB code in it to add a new line. When I add a new line, the new cells automatically have their respective formulas in it. I also have it set so another worksheet with the same table adds a line. In … |
The End.