64,152 Solved Topics
Remove Filter ![]() | |
Ok, I'm not exactly great at PHP, but I'm learning... Here's what I would like to do: An event occurs every Tuesday and Sunday. I would like to echo out the "next" date for the event. For example- "Yardsale every Tuesday and Saturday Next Yardsale: " [echo the next event … | |
Hi, I'm deploying a VB.NET application with Inno installer. In the past I've used the one Click installer but now require a setup with more options. What needs to be included when deploying a VB.NET application (developed in VS 2010). I understand that the .NET Framework needs to be installed … | |
Can you show me the way about storing the special characters into mysql database using php. Actually,I'm working on such a website where user can upload text and programming codes into mysql. Thank you in advance. | |
hi i am using this code to get the checked treeview node name.... it goes inside the loop only if the parent node is selected... I have to get the node name if any node is checked... this is the code i am using.. [CODE] public void CheckedNames(System.Windows.Forms.TreeNodeCollection theNodes) { … | |
Hey Guys, I have a quick question for you. I display a new event every day that allows users to attend that event. The event id and user id are added to an event participants table. I have 3 tables in my DB: "userinfo" which holds stuff like id, Name, … | |
Hello Quick question: Does anyone know why my window doesn't show frame? Thank Mark [CODE] import sys from PySide import QtCore, QtGui class UI_CMDTester: def __init__(self): self.__app = None self.__win = None def init(self, \ w_title, \ w_width, \ w_height): self.__app = QtGui.QApplication(sys.argv) self.__create_win(w_title, w_width, w_height) sys.exit(self.__app.exec_()) def __create_win(self, w_title, … | |
Hi, Can someone help me pls why this doesn't seem to work? [CODE] private void dataGridViewempl_CellContentClick(object sender, DataGridViewCellEventArgs e) { if (dataGridViewempl.CurrentCell.ColumnIndex == 6) { CheckBox deletebox = new CheckBox(); deletebox = (CheckBox)dataGridViewempl.CurrentCell.Value; if (deletebox != null) { if (deletebox.Checked == false) deletebox.Checked = true; else deletebox.Checked = false; } … | |
Need help building a phonebook that will store and produce a telephone directory. The phonebook needs to be able to order the data by first name, last name or birthday, and produce output as such. The data is to be stored in a text file (simple database), and can be … | |
I made a mysql table on my website with backend that allows me to upload images of affiliate companies i deal with. I used this script and it works. I now have need to add URL to these. As you can see i select the directory the iamges are in … | |
Hi there, I have been having some problems with my Visual Basic. In trying to figure that out, un-installing, and reinstalling, running virus scans, etc, I have lost a lot of my time to get this assignment done. I would just keep messing around with it and try to be … | |
I have been working on a massive project for awhile now to help do the scheduling at my work. One now I am working on a form design for entering in data to create a shift. Part of this is the start time and the end time of the shift. … | |
Hi there, I am working with a 2D array, my c++ program reads input from an external file and stores it into a 2D array. Say, for example, this is my input file: 9 5 6 2 4 1 0 8 6 7 3 5 2 9 5 8 My … | |
Hi guys , I have the following code : [CODE]x=int(input())[/CODE] If I get a string from the user string ,list or a double , then I'd an exception . Is there a way to get any input from any type , and store it within "x" , even though I … | |
Alright, I am working on this for an assignment and I cannot seem to figure out where I went wrong... My first problem, whenever I input the CC number, the only one it accepts is the last one in my text file... My second problem, when it does accept a … | |
hello the problem is about user when click button coin and it will display the decimal number and suppose to be like this : 0.10 also , i have made code about notes amount like RM 1.00 and RM 5.00 . here it is: [CODE] Private itotal As Decimal = … | |
Hello guys, I am trying to declare a two dimensional array in C++ on runtime. For this purpose I am asking the user about how many rows and columns should be created in the array. I have written the following code for this purpose. Apparently it is working just fine. … | |
Let me tell you I already got the tutorial on how to do this [url]http://db.apache.org/derby/docs/10.3/adminguide/tadminconfig814963.html[/url] But sincerely speaking I did not understood how to do any of the two methods described. Let me tell you my confusions and what I didn't understood and I am developing my project in netbeans. … | |
I'm having trouble getting my queries to insert properly. this is my table structure books(ISBN(pk), authorID(fk), formatID(fk), publisherID(fk), titleID(fk), yearPublished) the ISBN and year are past directly via a form but the foreign keys are all auto incremented in their own tables. I was trying this: [code] mysql_query("insert into authors(authorName, … | |
I've got lists of links which change order when you click the "most" or "least" buttons, have a quick look at it, easier to understand: [url]http://pinchweb.com/browse/[/url] The problem is, I see a lot of repeated code, which seems pretty inefficient. There's 4 filters - leastrec (least recent), mostrec, leastpop (least … | |
I need to make a function: [CODE]void GenerateNormal(float x[3], float y[3], float z[3], float &ox, float &oy, float &oz) { //Calculate coordinates for a glNormal and return them ox,oy and oz }[/CODE] I have a sinking feeling that the math will be quite difficult. Can anybody help me? | |
I have a List [CODE]List<Food> item[/CODE] , which holds the following. 'Food foodID', 'Food foodName', 'Fruit fruit' Fruit is an Object. It is being saved into the 'List<Food> item' . Now i need to create an Object of 'Fruit' , and save all the 'Fruit' elements in the 'List<Food> item' … | |
Hi, I'm doing a short test for a job interview that I have. The code is C# and I am very new to this (2 days :S). One of the questions is. Write method to get all IPeople - Write a method in the SchoolManager to get all IPeople (Teachers … | |
Hi, This is a good snippet: [CODE]dim strSQL as String = "INSERT INTO tbl_civil_works(orgcode, item_works, descr, qty_area, " & _ "units, rates, amount, timestamp_now) VALUES(" & intOrgCode & _ ", '" & param(0) & "', '" & param(1) & "', '" & param(2) & "', '" & param(3) & _ … | |
Hi, here's the site I'm currently working on: [code]http://www.johnernaut.com[/code] Under the 'contact' tab I have some behind the scenes C# code that SHOULD send me an email whenever the submit button is pressed and all fields are validated. This isn't working for some reason. The host I'm using is GoDaddy. … | |
so im very new to programming, its a miracle and a half i managed to get java reinstalled after a year and a half of not using it im taking a cryptography class, the teacher wants to show us the code behind some algorithms, like des and 3des, and in … | |
Hi all, I have a problem in creating a matrix table using a PL SQL select query. The table should look like: [CODE] |---------------------------------------------------------| |--|-1-|-2-|-3-|-4-|-5-|-6-...-----------------------|100 | |---------------------------------------------------------| |A |A1 | A2| A3| A4| A5| A6|.........................|A100| |B |B1 | B2| B3| B4| B5| B6|.........................|B100| |.........................................................| |Z |Z1 | Z2| Z3| Z4|.................................|Z100| … | |
[CODE] cout<<(char)290<<endl; [/CODE] I get " as the answer. [CODE] cout<<(char)20000<<endl; [/CODE] Here I don't get anything. When char can take integer values from -128 to 127 and both 290 and 20000 are welll out of this range, then why is there an output in the first case? | |
Hey Guys, I have a Data Grid View which displays a few things from the database, one of the information being displayed is the Date,The date is set in Clarion and i want to change it so it gets changed to the date we see it as today. I have … | |
Hi guys, I am trying to get contents of a page into a popup div when user clicks on the View sample plan link in the table with the id='plans' below. I will change the contents of junk.php once I can get it working. Thanks to everyone who can help … | |
Hi. I have a page with 3 frames. One on the left, one up as a title and the main one which takes most of the page. On the left frame i have some radio buttons. What I want to do is to open / load a page in the … | |
hi, I wants to do register function in window form application microsoft visual studio 2008 and insert the data into microsoft Access 2007 table by using C#. Below is my codes: [CODE] SQLStr = "INSERT INTO RegisterEmployee(EmployeeName,Password,Gender,ContactNumber)" + "VALUES ('" + SQLStrCmd.ReplaceStr(nameReg.Text) + "', '" + SQLStrCmd.ReplaceStr(passReg.Text) + "', '" … | |
hey i just started learning php programming, i wrote this code, although the HTML code and forms and everything is working but when i click on submit nothing happens. the code :- [CODE]<?php include("header.html"); include("nav.html"); include("sidebars.html"); ?> <?php if(isset($_POST['submitted'])) { if((isset($_POST['name']))&&(isset($_POST['school']))&&(isset($_POST['marks']))&&(isset($_POST['sex']))) { if($_POST['marks']>=80) $grade='A'; else if(($_POST['marks']>=70)&&($_POST['marks']<80)) $grade='B'; else if(($_POST['marks']<70)&&($_POST['marks']>=60)) $grade='C'; … | |
Hi guys, I have a problem which make me headache. Suppose I wish to download excel file from what I have browse and some logic processing. But it returns me aspx.page content, in short a html page. [CODE] String FileName = excelApp.ActiveWorkbook+".xls"; String FilePath = input.PostedFile.FileName; System.Web.HttpResponse response = System.Web.HttpContext.Current.Response; … | |
I feel like I am having every possible problem this term, (good learning experience, right). Hopefully you can help me. I started this weeks program, had some glitches and restarted. I deleted the first project, began again and got an error when I saved saying that file already existed and … | |
This error (HTTP 403 Forbidden) means that Internet Explorer was able to connect to the website, but it does not have permission to view the webpage i have solve this problem by simply right click on default in IIS and mark "Execute (such as ISAPI application or CGI)" as check | |
Hello Friends. Im a final year student for COmputer Security / Forensic. Im planning to do a project which requires me to do encryption and decryption. My possible choice of language would be VB.Net. I was wondering if wad is running in my mind can be executed. Well, I would … | |
hey, I was recently programming my own variable equation solver in C++ and out of nowhere, my computer crashed and all my code was erased. My computer booted up just fine but none of my code was there. i dont have the guts to start all over again. I dont … | |
Hi I am in a bit of trouble. what is nedded: Reading a text file character-by-character, using the "get(char)" function. Count the words in the file which contains "w" or "W". The possible delimiters are: '\t','n',' '(space). Do not use arrays. The codes: [COLOR="Red"]MAIN.CPP[/COLOR] [code] #include <iostream> #include "enor.h" using … | |
Hello, I am very new to C++. I am learning the language by myself. I tried to make a program where the user inputs how old they are (in terms of years) and the program will output how old the user is, in terms of months. The problem I am … | |
I am trying to deploy an application that uses JOGL for 3D rendering, so it is platform dependant. If a user with 64 bit windows tries to run it with a 32 bit Java it hangs or crashes. The java installations on windows 7 seem to be varied and I … | |
I am replacing some very small bash scripts with Mono (C#). I have noticed some differing practices in C# tutorials online regarding convention. I'd like to know the reasoning behind them. If I should break this question up into multiple questions, let me know. 1) Use a namespace? I see … | |
Hey there, was wondering if anyone else has this issue. I've checked to see if it was my drivers, but no. the GL window wont move, it won't accept any inputs at all. but it shows everything else. I've tried everything in my memory bank.. and still nothing. this is … | |
Hi, I've been teaching myself php out of necessity for a web project at work and I've run into a situation in which I currently have three different php pages that are used to display three different data grids. However, most of the code is the same, aside from the … | |
Hi guys!) There's a peace of code and I can't understand - what's wrong in it - [CODE]#include <unistd.h> #include <stdio.h> #include <sys/types.h> #include <sys/wait.h> int main (void) { int status; pid_t pid; if (!fork ( )) return 1; pid = wait (&status); if (pid == -1) perror ("wait"); printf … | |
In the book "How to Think Like A Computer Scientist" on the website openbookproject.net the tutorial leads you to draw a house with a pre-written script. It then instructs you to: # Wrap the house code in a function named draw_house(). # Run the script now. Do you see a … | |
Hi All, i'm here due to an unexplainable winsock problem. I've wrote a simple TcpSocket class to wrap in an object oriented way, the winsock functions. For testing purposes i've written two applications too, a client and a server, wich just send/receive 10 bytes in a giant loop. Now the … | |
Can someone please tell me about an alternative command that I can use instead of the [B]system()[/B] function? I have another question - If [B]system("pause")[/B] only pauses the program before it exits, can I use [B]getch()[/B] funtion from the [I]conio.h[/I] header file for that purpose.(I know i can use the … | |
hi guys i am wondering if anyone can direct me to a beginners tutorial on creating crystal reports that are specifically based off the sql server compact 3.5 database in visual studio 2008? most of the examples i can find are all related to Sql Server Full..or Access..ect. i have … | |
I have a table for Account Transaction. For each transaction a user must select a transaction category. These are stored in a second table which has a categoryID, description and a text box with only two values {'Income', 'Expense'}. Now in the report, I am grouping by Income/Expense. However, I … | |
when i try to use a sql sentence i juts get this error: An attempt to attach an auto-named database for file C:\Documents and Settings\User1\Desktop\aweb1\User\App_Data\ASPNETDB.MDF failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share. now i am stucking … |
The End.