64,152 Solved Topics
Remove Filter ![]() | |
Hello! any expert can help me. Please. I'm design a form with click Search button to search date and display data in datagridview. but when I set my access database OTDate column as Date, It will cause data mismatch problem. however, set OTDate column as Text is fine. But it … | |
Hi, I am a very new programmer, I started dabbling with python script only 2 days ago because I was on a quest to build a [URL="http://en.wikipedia.org/wiki/Roguelike"]roguelike[/URL] game, and I found a good informative tutorial on how to do this using python and an API called libtcod. So I figured … | |
my project is on education with fun so i want to add sound API for alphabets for example:if alphabet a is pressed then in picturebox image of apple is diplayed and we can hear a sound that is "a for apple"....how to do so???? | |
Hi I am trying open a record from a shelve db I Know that it stops working at `copy = db[opened]` But why please help ASAP #*****START VARIABEL BLOCK***** #file = the database/shelf file #db = the database/shelf object #tapp = to be appended/recorded to the database #keys = a … | |
Hi, This is just part of a bigger program I'm writing, but at the moment I don't know how to do what I'm about to say. So first, the user enters a sentence. Now, I have a text file with sentences to match it to. So let's say the first … | |
hi. I need to create a table, but I want to set three forgein key each one of different tables. Is that posible to do with oracle? | |
Ive wrote a small program to open at startup, but i want to give the user a chance to delete it from showing on startup by clicking a button. But it needs to be compatible on XP, Vista and Windows 7. Is there a line of code which will get … | |
Hello, currently new to C++ and learning the ropes. I'm trying to create a simple database-like program, but the following code doesn't output any meaningful data. The program compiles fine, though. The rest of the program is still under work, so I'm just posting the relevant parts which I think … | |
[B][/B] Hi all, I am trying trying to make both the "Tab Key" behave as the "Enter" key. keys. In otherwords, both the Tab and Enter should acheive the same objective. I am using the code below but only the "Enter" key is working, but the "Tab" key is not … | |
Hi, I wants to display my results on the browser. Table1 Table2 sno name sno name 1 sss 3 kkk 2 aaa 4 xxx I need the tables on both side. How can i do this ? Thanks | |
Well, i was wondering if this is possible . If it is possible, can somebody show me how or give me the code ? Im pretty newbie in coding as my only resource of learning Visualbasic is from the internet :/ And , I would like to disable some key … | |
I am writing some learning code to convert an XML file to a JavaScript array. So far I can convert from XML to JSON with this: [code] <?php $xmlStr = simplexml_load_file("xml/galleryXML.xml"); $jsonStr = json_encode($xmlStr); ?> [/code] I don't know and can't find a way to convert to a JavaScript array … | |
This code: [CODE] int array1[5] = {1, 30, 90, 40, 3}; char array2[] = {125, '}'}; cout << array1 << endl; cout << array1[0] << endl; cout << array1[1] << endl; cout << array1[2] << endl; cout << array1[3] << endl; cout << array1[4] << endl; cout << array2 << … | |
I am using a PictureBox to display images. I have SizeMode set to StretchImage. While this does indeed show the whole image, it is of coure stretched. Is there a way to prepare the image to be displayed so it will fit correctly in the PictureBox? I just want it … | |
I'm using Visual C# Express 2010, on Windows XP SP3. I took pain to define the var collBlock in the class directly, however, when I try to use it, it works once and then NOT. Google searched all and tried a lot of solution. Error stil comes up. The code … | |
Hi All, I am new to the site, and also to PHP and MySQL, so please go easy on me for asking what may be an obvious question for many. I am wanting to store the data from a sign-up form in a MySQL DB, but I cannot get my … | |
Hey , yeah. I was wondering if it is possible to hide all desktop icons EXCEPT my application's shortcut ? If it is possible, please tell me how . It is the best if you can provide the code for me. As im a very noob in coding cause im … | |
I have made a simple java program that gets a user to fill out a form, and then checks if all the parts were filled out. I am now having trouble with how to send the file in an email to a set users email account. How could I do … | |
I have been working a program that allow the user to perform the following task, add student, display student, delete student, and find student. I need help with add student name, gpa..etc to the arraylist. But I keep getting either compiler messages or other error message. I have been trying … | |
hi i got a problem when try to use pointer and struct..somehow ive manage to compile my coding but the main prob is that the output is not what ive keyed in.. [CODE]#include <iostream> #include <conio> #include <string> #include <stdlib> void printtable(); void input(); void calculate (); void scorecard(); void … | |
Hi plz help me with a code that can detect when a pin number is entered in reverse. and alerts the user that he has entered pin number in reverse ..thanx | |
I have no idea what went wrong with my most recent code, but I suspect it has something to do with the following so I'll start there. Did I do something wrong in this? [CODE]cards=['1','1','1','1','2','2','2','2','3','3','3','3','4','4','4','4','5','5','5','5','6','6','6','6','7','7','7','7','8','8','8','8','9','9','9','9','A','A','A','A','K','K','K','K','J','J','J','J','Q','Q','Q','Q'] import random random.shuffle(cards) h1=[] for card in cards[1:7]: h1.append(card) cards.remove(card)[/CODE] | |
Hi! I have recently started using linux and I was recommended gcc compiler. I have written a basic program just to see if it works. And it doesn't. I am trying to compile it with Terminal, and with the following command :[CODE]gcc ~/Desktop/C++/test.cpp -o testing)[/CODE] My program it responds with: … | |
Hi team, i write some logic in my page. here i am using this $x is getting by POST method... Logic :[CODE] if($x>10) { $amount=$amount+400; } [/CODE] It is working fine. Hare the problem is after entered into the page...incase user refresh the page that logic repeated. i dont want … | |
Hi everyone. I spent a lot of time figuring out how to get my code to check for user errors and types. I finally got it set up properly, but now I'm getting an error. A number is required on my input. If someone doesn't enter a number or leaves … | |
Hi all, I am trying to extract some text from a HTML page using regex. [CODE]<html> ...some code.... <B><FONT color="green">TEXT to BE EXTRACTED 1</FONT></B><br> <P> <B><FONT color="green">TEXT to BE EXTRACTED 2</FONT></B><br> <P> <B><FONT color="red">TEXT to BE EXTRACTED 3</FONT></B> ....some code.... </html> [/CODE] I want to make a script which will … | |
I was installing Turbo C on my PC and it says "Make sure you insert \TC\Bin into your DOS path". Now how is that done. | |
Umm I created a code which will create many results with specific ints(integers).I use Code::Blocks as my compiler.The code works inside the compiler,but when I go to the saved folder and run the batch file this is what happens-I enter a number and press enter and it simply closes itself!@What's … | |
Hello , I would like to enquire if how could I put MYSQL Row to a TextBox ? Here is my code [CODE]Private Sub Form1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load MySqlConnection = New MySqlConnection MySqlConnection.ConnectionString = "server=localhost;Port=3306; user id =root; password=****; database=visualbasic" MySqlConnection.Open() Dim Myadapter As … | |
So for the admin page of where "reviews" can be written and posted, I've created a delete article function but it's not one I wanted. The one I have now works the following way... A while loop prints out the specified information with their associated IDs. After they are all … ![]() | |
hi there please see my header file and cpp file, when i compile them i get these error classes.cpp:86.1: error: "vehicle::vehicle" names the constructor, not the type classes.cpp:172.1: error: "driver::driver" names the constructor, not the type here is my header file [code]#ifndef CLASSES_H_INCLUDED #define CLASSES_H_INCLUDED #include <iostream> #include <string> using … | |
[CODE]select CS.Ref, CS.C, DT.ID, DT.Init, DT.Surname, 'C' [P], 'C' [A], 100 [M], case when Convert(Varchar(10),CA.A,120) is null then Convert(Varchar(10),CS.DC,120) else Convert(Varchar(10),CA.A,120) end, C.R, Convert(Varchar(10),C.CDate,120), Do.Outcome, CT.PhysicalOwner, Convert(Varchar(10),CS.CDate,120), Convert(decimal(8,2),CS.B, Convert(decimal(8,2),CS.CB), Convert(decimal(8,2),CS.IB), Convert(decimal(8,2),CS.Calance), Convert(money,SUM(dd.C)), Convert(money,SUM(cl.C)), CT.CID[Cust_ID], Convert(varchar(10),CS.JDate,120), CS.JCN, CO.C, Convert(varchar(10),CS.OD,120), CS.OCN, CO2.C from table1 CS inner join table2 DT on DT.DID = … | |
value is not showing in the combo box <? $cn=mysql_connect("localhost","root"); mysql_select_db("test",$cn); // Make a MySQL Connection // Construct our join query $query = "SELECT one.name,two.address FROM one,two where one.name=two.name"; $result = mysql_query($query) or die(mysql_error()); echo " name "."address"; echo "<br />"; while ($row=mysql_fetch_array($result)){ echo $row['name']. " - ".$row['address']; echo "<br … | |
Hi I have a form which populates a TextBox I want to use the textBox.text to then load a gridView with the results something like [CODE]Private Sub TextBoxId_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBoxIdSearchExist.TextChanged Dim cmd As New SqlCommand("select * from pay Where t_id='" + tId.Text + … | |
I have a log in page for users, which if the login name is valid takes user name and puts it into a session.setAttribute(“user”, String); the user then gets redirected a userspage.jsp. At that page I can get the “user” using : <% getAttribute = (String)session.getAttribute("user"); %> the user is … | |
Hi, I just started programming in Java, and now i tried to compile a file with the Mac Terminal (Command-line), but it did only give me an error which i couldn't explain, because this code did work in Eclipse compiler. Here's my code: [code="java"] class HelloWorldApp { public static void … | |
| |
Hey all, Just trying to build a program in VS2008 using the Allegro library. When I try to build (debug or release), the build completes, but when the program tries to run, I get an error saying that a file called "MSVCR80D.dll" is missing and suggests reinstalling the program. I … | |
Hello, Help please! I am using XAMPP for my website. My website is almost ready now. It is working fine in localhost. Now I would like to make it online (public). And, this is my main OBSTACLE. I have already bought a domain. I also configured the Port Forwarding in … | |
Okay so right now I am working on a program that gathers data and then displays it. For instance how many items exist and how much of them exist and what is their rank. Well I want to display these count of how much each rank exists with a bar … | |
[CODE]#include <iostream> #include <string> #include <windows.h> using std:: cout; using std:: cin; using namespace std; int main() { unsigned long n; char Answer; string mystr; do { cout << " What is your name? "; getline (cin, mystr); cout << "Hello " << mystr << ".\n"; cout << "What is … | |
Id Product Quantity Amount Date 1 Shoe 4 200 2011-08-27 2 Shoe 2 100 2011-08-28 3 Cap 2 50 2011-08-28 4 Shirt 1 300 2011-08-28 5 Cap 1 25 2011-08-29 6 Shoe 1 50 2011-08-29 7 Shirt 2 600 2011-08-29 This my database structure. what I want to know is … | |
hey how to answer to these questions Table: Sales(CustomerID , RepID , Area , SaleDate , ProductNo , Quantity , UnitPrice , ItemTotalPrice) a)considering the above table write a function to calculate the IemTotalPrice as ItemTotalPrice=Quantity*UnitPrice b)Write a SQL statement to create the above table (you must use the above … | |
hello! i want to display all the transactions within a month...but an error occured says... data type mismatch in criteria expression...pls help me..here is my initial code... [CODE]If rs.State = adStateOpen Then rs.Close rs.Open "Select * from tblsupplier where date between '" & DTPicker1.Value & "' And '" & DTPicker2.Value … | |
I got some problems with my program here. There are lots of lacking in my code. Hope you can help me with this guys. I'm still a student. Here's the problem: A program that prints figures of (*): 1. Displays a menu [1] Figure 1 [2] Figure 2 [3] Figure … | |
Guys, I have records from table 1. the objective is to get the date from Table 2. when i try to use select statement to obtain the records it pull all itemnumber with the same item number in TABLE 2. is there any idea to to this using the result … | |
After updating mysql from 4 to 5, I'm now getting this error: [CODE]Invalid SQL: SELECT HRS.Hrs AS Val, HRS.Job_ID, TS.Staff_ID, Staff.First_name, Staff.Last_name FROM Timesheets AS TS, Timesheet_hrs AS HRS LEFT OUTER JOIN Staff ON (TS.Staff_ID=Staff.ID) WHERE TS.ID=HRS.Timesheet_ID ORDER BY Staff.First_name, Staff.Last_name, HRS.Job_ID DESC: 1054 (Unknown column 'TS.Staff_ID' in 'on clause')[/CODE] … | |
Hi guys Hoping you can help me I have designed a form when you click on Attach it opens a pop up window with the upload script, uploading is not a problem but returning the value from the pop up text field to the main form is not working. Main … |
The End.