199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Sonia11

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? …

Member Avatar for smantscheff
0
87
Member Avatar for tashee2007

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 …

Member Avatar for Reverend Jim
0
929
Member Avatar for zachattack05

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 …

Member Avatar for zachattack05
0
103
Member Avatar for harintfs

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.

Member Avatar for harintfs
0
187
Member Avatar for robgeek

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 …

Member Avatar for WaltP
0
201
Member Avatar for while(!success)

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. …

Member Avatar for while(!success)
0
244
Member Avatar for osiron

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 …

Member Avatar for osiron
0
188
Member Avatar for FraidaL

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 …

Member Avatar for FraidaL
0
190
Member Avatar for vinnitro

I need help on my project that 1) what are the administartor privilages? 2) what are database except Customer, Product & Transaction?

Member Avatar for hericles
0
105
Member Avatar for userct

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: ## …

Member Avatar for userct
0
643
Member Avatar for Twin802

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, …

Member Avatar for Twin802
0
171
Member Avatar for witchDoc

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 …

Member Avatar for Akill10
0
194
Member Avatar for vbDotMe

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 …

Member Avatar for vbDotMe
0
128
Member Avatar for Usmaan

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: …

Member Avatar for thines01
0
586
Member Avatar for C0ding

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 …

Member Avatar for C0ding
0
324
Member Avatar for gotboots

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 …

Member Avatar for gotboots
0
661
Member Avatar for gotboots

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 …

Member Avatar for gotboots
0
209
Member Avatar for Begginnerdev

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 …

Member Avatar for Begginnerdev
0
161
Member Avatar for TrustyTony

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 …

0
412
Member Avatar for phummon

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 …

Member Avatar for phummon
0
336
Member Avatar for newbie12345

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?.

Member Avatar for smitty68503
0
5K
Member Avatar for SpartanIE

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. …

Member Avatar for TrustyTony
0
2K
Member Avatar for guidely

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 …

Member Avatar for Biiim
0
758
Member Avatar for Sahil89

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!

Member Avatar for Sahil89
0
178
Member Avatar for AirmanTheGreat

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 …

Member Avatar for AirmanTheGreat
0
135
Member Avatar for dheredhere

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 …

Member Avatar for deceptikon
0
327
Member Avatar for 46agogo

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 …

Member Avatar for histrungalot
0
486
Member Avatar for imti321
Member Avatar for cpat258

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 …

Member Avatar for emclondon
0
131
Member Avatar for jdh1231

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 …

Member Avatar for Marcusflint
0
199
Member Avatar for cr7489

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 …

Member Avatar for cr7489
0
182
Member Avatar for dinners

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 << …

Member Avatar for m4ster_r0shi
0
101
Member Avatar for paoi00

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 = …

Member Avatar for paoi00
0
90
Member Avatar for Sawamura
Member Avatar for Sawamura
0
326
Member Avatar for desup

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 …

Member Avatar for desup
0
178
Member Avatar for arunkumars

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 …

Member Avatar for darkagn
0
237
Member Avatar for Kaptain Khronic

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'] …

Member Avatar for TrustyTony
0
305
Member Avatar for sssabita

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 …

Member Avatar for siva111
0
176
Member Avatar for raviaaaa

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 …

Member Avatar for NormR1
0
216
Member Avatar for sbutt

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 …

Member Avatar for sbutt
0
897
Member Avatar for kram54

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 …

Member Avatar for Mitja Bonca
0
220
Member Avatar for DreamTheater85

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 …

Member Avatar for NormR1
0
183
Member Avatar for eltonpiko

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 …

Member Avatar for Biiim
0
188
Member Avatar for arathy nair

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 …

Member Avatar for NormR1
0
181
Member Avatar for Sawamura
Member Avatar for Sawamura
0
2K
Member Avatar for dwlamb

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 …

Member Avatar for FelineHazard
0
152
Member Avatar for frank33

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 …

Member Avatar for frank33
0
135
Member Avatar for Sturdy

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 …

Member Avatar for Sturdy
0
897
Member Avatar for KE50

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.

Member Avatar for KE50
0
301
Member Avatar for tendaimare

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 …

Member Avatar for Jx_Man
0
275

The End.