199,114 Archived Topics
Remove Filter ![]() | |
Hello, Is there any way of restricting the values returned in MySql? For Example: There's a field in my table called points whihc I want to restrict from 0 to 17 only. This means the values more than 17 are unacceptable for field. Is there any way of implementing that? … | |
Dear All, I have few question regarding using Treeview in my project. The screen of my project is been attched. I can populate the data from database in treeview using following code: ~~~ vb Imports System.Data.SqlClient Public Class Tree Private Sub Tree_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles … | |
I was thinking that in the future I might be updating some of my class libraries and when I do that, it might be useful to keep old classes, namespaces and objects in the updates just for backwards compatability. I was wondering what you guys and gals thought of naming … | |
![]() | Dear I would like to set session expire time to 3hrs, Which one is best ? `ini_set("session.cookie_lifetime","10800");` or `session_set_cookie_params(3600 * 3);` Or can I use both? And one more, Is it compulsary to place every page b4 where ever session_start() Thanks. Pls help me. ![]() |
Hello everyone, This is my first program in C and I have ran into weird issue. I am implementing a simple server & client program in C. From my main() in client I call a send_message() function which I believe binds with server and sends the message to the server … | |
Hey guys, I am writing a program which uploads a text file into a linked list then displays a menu prompt to the user. All of my functions work fine except when I try to exit the menu/program. The program crashes and I don't see where it is coming from. … | |
Hi everyone, I'm working on an assignment that takes a record of student ID, student last and first name and their score, using array of pointers, qsort to sort in alphabetical order, typedef structs, malloc and calloc, etc. and the program prompts those records and it is stored in dynamic … | |
This code is supposed to output a hollow square (size and symbols to be determined by the user), but it doesn't do that. First of all, if I set the size of the square to be 5, it outputs 10-5 sets of both symbols. Also the right column is in … | |
I need help on my project that 1) what are the administartor privilages? 2) what are database except Customer, Product & Transaction? | |
I'm having trouble finding where I am going wrong with this program which checks for perfect numbers. Here are my errors: I ran it but it's giving me an error saying Exception occurred at PC=0x00000000 Bad address in text read: 0x00000000 Attempt to execute non-instruction at 0x80000180 ## Registers: ## … | |
As you can tell I am very new to python...I stumbled upon pygame and it looked fun. So I started to build a game and I got stuck right away...Player controls. I would like the player to be able to contorl the person. Thank you. import pygame, random import random, … | |
Hello everyone. I need a solution for a COMPLETELY FREE game development combo for 2D/3D games and i can't figure out what is best. Does C/C++ (with MS Visual C++ Express) and Direct3D combo do the trick? Are there any licensing issues? Or can u write (and possibly SELL) games … | |
Hi, I'm trying to setup sort of a LAN keep-alive proxy... Ex.: * My Xbox 360 is connected strait to my computer via an ethernet cable. * My computer is connected to the internet via a Wi-Fi adapter. * Everything works fine and I can access the internet on the … | |
I am using: underscoredWord = Regex.Replace(word, "[^" + correctLetters + "]", " _"); for my Hangman game. It basically chops the word up and replaces all the text with an underscore. This works fine if the guessing word is only "one word". So the word: "Building" will get converted to: … | |
Hello everyone, I search for this answer, and yeah, it looks like many asked this question before, but my answer was not on those posts. now i would liek to double ask the same question again... how can i invoke a python script from command pronpt? this is the way … | |
Hi all, I was wondering if it is a common thing to do when requesting variables to have the request names in an array and use a for loop to request the submitted variables. (will it hold the values if its a for loop?) What i have at present is … | |
Hi there, I have recently been looking into encryption, for MySQL and php, to figure out someway to encrypt the information in the database, or more to the point before it goes in, or decrypted when it comes out. What I'd like to happen is for the info submitted from … | |
Hello my fellow daniwebbers, I have yet another question. I have a date, which is pulled from a database, that I need to convert to another form of that date. Example. Date1: 1/2/2001 Date2: 01/02/2001 What i am wanting to do is turn the current date format into two digit … | |
Here is an amazing article. Peter Norvig does not let small detail, that the language was never implemented in it's time, disturb his debugging the code written without implementation, but single handedly implements it with Python parser. Frustration warning, this is frustratingly amazing stuff: [Prescient but Not Perfect: A Look … | |
Hola code gurus, I’m wondering if there’s a way to use a string to access a specific item in a matrix of int[X]. I have a program which uses enums as iterators to reference a large amount of data. To select an item in the matrix, the user will enter … | |
Good day programmers!. i have here a login in form1 that is connected to my sql database. i want that if i login in form1. the form2 will show my name. can anyone help me?. | |
I'm trying to design a function that accepts a list of numbers as an argument. I can get the program working when i put a list into the programme but I can't figure out how to allow a user to enter a series. What i've got so far is below. … | |
Hi, This is part hotel managment system but we want to create new feature where we can edit room type but this is not my code but it my program because I cant contact programmer so end up need to do my self, so got problem where cant update Here … | |
Hello guys is there any way to run the WPF storyboard using code in VB.NET? If yes how can we do it? And if i am not gonna get answer to this question too then let me know. Thank you! | |
Hi, I'm writing a simple page for University. I need it to basically just echo user input from a text box back onto the screen. Here is the code I have so far: Code blocks are created by indenting at least 4 spaces ... and can span multiple lines <!DOCTYPE … | |
Hey guys! I have an encryption project for school and i have to randomly generate a 3x3 matrix. I know how to assign the values to the 2d array but i am unsure how to return the array. I know it is possible to return a vector of a vector … | |
Hi, I'm making a windows port of some tftp client / server code [from here](http://www.applied-mathematics.net/myself/myself.html) I've got the server working sucessfully with a diffrent client, however I have come to an impasse with the client code. As I keep getting a server unreachable error, having tried over my local network … | |
I want to know how M/S ACCESS database can be connected to html page hosted on local host | |
I have an assignemnt due this week and i cant figure out why i my code wont work. i have very little knowledge about javascript and HTML so please help!!!!! Make HTML5 page that can either retrieve data from a database table based on a user_name and user_password on the … | |
This is a simple tictactoe game using Constructor member function I have a problem of outputing if someone won the game or tied. Everything seems working fine. Can anyone mind check for me? I tried to find the problem for so long. Thank you. #include <iostream> #include <iomanip> using namespace … | |
hi, i am trying to write a method that looks for the word 'not' before another word and these words i.e being positive or negative are stored in my database so for example this is not good, the problem im having is getting the word from my DB to be … | |
I want to read the contents of a file and input them as variables. I have written this code: while (!numbersList.eof()) { numbersList >> type >> num1 >> num2; Complex *object = new Complex(type,num1,num2); cout << "For line number " << n << ": " << endl; object->printAll(); cout << … | |
hello ! can you please help me..? i want to limit the number of students(60) that will be enrolled in one section and prompt a message that it surpass the limit.... i inserted it in my combobox1 ..here's my code : strsql = "select * from Schedulings where Sections = … | |
Hi again, Does anyone know how to change file extension? Please help me. Thank You | |
Hi, I've got 2 forms, after click on the button I'm hiding first and showing second.. How to put the second form to the same location as first one? I've tried: MMenu m = new MMenu(); // MMenu is the first form this.Width = m.Width; //Width and Height lines are … | |
Hi, There are multiple threads runing in my application, the application is very huge. A client server architecture, though the client stops, the server keeps running at the back ground. It so happens that sometimes, even after i click the exit button which has "this.Close()" called inside the click event … | |
Whats up guys! To start off I am really new to python. I got this program that keeps giving me this error message. I was wondering if anyone could help me. Heres the code: from math import * from numberTest import * Lname=['Zdofalos','Johnson','Terrell','Wilson','Key','Smith','Alfonso'] Fname=['Fred','Malcom','Monkey','Wilson', 'LeDoor','Jim Bob','Ralph'] City=['Charlotte','Monroe','Broken Pine','Hogwart','Spot In Road','Denver','Gastonia'] … | |
I am doing project in java that analyzes tweets related to a particular topic and categorizes them as positive,negative or neutral.I have been able to extract the tweets but donot know how to build a classifier to categorize them.How do i build a classifier and how do i train it?Please … | |
HI All iam using applet tag in html file ex: <APPLET name="TreeMenuFrom" code="com.scand.jtree.TreeApplet.class" width="300" height="250" codebase="./com/scand/jtree" MAYSCRIPT> <PARAM NAME="root_closeable" VALUE=""> <PARAM NAME="menu" VALUE="treeMenuFrom"> <PARAM NAME="image0" VALUE="images/item_open.gif"> <PARAM NAME="image1" VALUE="images/item_node.gif"> <PARAM NAME="image2" VALUE="images/item_open.gif"> <PARAM NAME="image3" VALUE="images/item_closed.gif"> </applet> TreeApplet.class is exist under com/scand/jtree but iam getting following error while loading the applet … | |
Hi Folks, I am looking for a solution as to how I can mask some data that is part of a CDATA element. My currently implemented xslt-1 script works fine when my xml element/attribute is not placed inside cdata, for example, in the following xml snippet, I masked <CreditCardNumber> element's … | |
hi eveyone i have to big problem so this problem have two datatable first table like column1----column2----column3 row11-----row21-----row31 row12-----row22-----row32 i want to inset to other table column1---row11 column1---row12 column2---row21 column2---row22 column3---row31 column3---row32 my code: DataTable orjiTable = new DataTable(); DataTable gecicitable = new DataTable(); adptr.Fill(gecicitable); // orjiTable.Columns.Add(gecicitable.Columns[0].ColumnName.ToString()); // MessageBox.Show(gecicitable.Columns[0].ColumnName.ToString()); foreach … | |
Hi, I've been working on this k-means clusterization program. I made mistake somewhere in the code, and program outputs only zeros. I tried to debug it, but I was not able to solve the problem. I would like to ask for suggestions how to fix my program. Thanks, public class … | |
hi im trying to accomplish something is there a php script that already do this that i can buy or downloap for free. were user can login and get a personal calader they enter detail in the calander for each day and in the back admin the administrator can view … | |
Hi, I am having a code which fetches say 200 records,after 6 records i got an exception..So after my exception is caught in catch block i have 2 call a method which can help continuing the exception starting from the 7th object. Can anyone help with some piece of code … | |
Hi all, I need to list all files in directory. How i can do this. Thank you | |
I am new to bash shell scripting. Converting over to Linux before support for Windows XP fades into the sunset, I am redesigning and rewriting many scripts that worked using enhanced scripting language Take Command. I am trying to evaluate whether a directory exists based on a list of directories … | |
While I am reasonably familiar with the use of threads in Java ( or at least the syntax ), the question is exactly when should they should be used and in particular how 'fast' things must be before you use them ? I had thought they were used to prevent … | |
Hi all, I want to clear all items of comboboxes in my form I can clear all textboxes using looping and check if control is textbox then clear textbox. But when i implement it to combobox it just clear the combobox text not all of items on combobox. Private Sub … | |
Hello Am running into a problem on how to store the TFont properties of a memo (or any component at that) to a database Please help. | |
I am trying to have a situation where if a user clicks on a certain row in a datagridview control the value in the datagridview row will be shown for a a certain column. Column 1 in my datagridview control has Names in it so I want if a user … |
The End.