199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for reet_bahl
Member Avatar for arezz09

i founds this code to search data in datagrid.. [CODE]Me.BS.Filter = "date = " & DateTimePicker.text "'"[/CODE] what BS mean & are this code true ??

Member Avatar for debasisdas
0
89
Member Avatar for muzikhera

Guys need help with this one. Here's the condition / algorithm. "If first digit is number/int and last digit is letter add two zero in front of the string" Hoping for any idea! Thanks.

Member Avatar for Mitja Bonca
0
385
Member Avatar for irisadaf

In the name of God my IDE is visual studio 2010 (c#) I want to create 3 threads for 3 sort(bubble sort,quick sort & merge sort) to show which function sort quickly? for showing this I make 3 array of buttons(for every func. 1 arr) & I want to sort …

Member Avatar for Wegginho
0
206
Member Avatar for newack

Hello, I have not used Sql server. I have microsoft sql server 2008 installed. but when i click management studio, it says evaluation period expired. I can download sql server 2008 r2 developer from my university site. Should i go ahead and download sql server 2008 r2 developer and uninstall …

Member Avatar for debasisdas
0
122
Member Avatar for techie929

Hi, I have to create a tree for Minimax algorithm upto depth d. I am not getting how to create.Could anyone please suggest me a method? Thanks.

Member Avatar for qlipboard
0
76
Member Avatar for turt2live

Hello, I have a PayPal button that uses a submit button to pay, but I have a small problem with it. The client I'm making this for also wants tracking (Hits). Is it possible to have the submit button also run a javascript before going to paypal? If you need …

Member Avatar for turt2live
0
160
Member Avatar for kasraluckblack
Member Avatar for jwenting
0
71
Member Avatar for cretaros
Member Avatar for masijade
0
65
Member Avatar for AndreRet

I have been stuck on this for 2 days now. There were a ton of code available, but not one working solution. Below is my code to send the mail once a user requested a service at an auto repair shop. It updates mysql with all of the data and …

Member Avatar for AndreRet
0
282
Member Avatar for koveras vehcna

Hello everyone, I have created my own random text generator with a custom method, no Markov chains included, and now I would like to try it on a different text corpus that is larger from that of NLTK's and I wanted to know which Data structure should I use in …

Member Avatar for koveras vehcna
0
241
Member Avatar for Japracool

Here's my code: [CODE]#include <iostream> #include <iomanip> #include <string> #include <vector> #include <fstream> #include <stdlib.h> using namespace std; class employee { /* Employee class to contain employee data */ private: string surname; double hourlyRate; int empNumber; public: employee() { hourlyRate = -1; empNumber = -1; surname = ""; } employee(const …

Member Avatar for Japracool
0
290
Member Avatar for sdr001

Does anyone know why I am getting an error on this line of code below? Thanks for you help in advance. [CODE] vector < vector < htNode<B> > > table; [/CODE]

Member Avatar for sdr001
0
191
Member Avatar for arezz09

i hve crete information application... i using this code to save employee information into accessdatabase [CODE]If _contactIC = 0 Then sql = "insert into employee_table (firstname,lastname,ic,address,gender,phone,status)" & "values ('" & firstname.Text & "','" & lastname.Text & "','" & em_id.Text & "','" & em_address.Text & "','" & em_gender.Text & "','" & …

Member Avatar for debasisdas
0
139
Member Avatar for ROTC89

Hi, i am try to display and insert info on a person into my database but i keep getting this error whenever i enter the info You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use …

Member Avatar for vibhaJ
0
204
Member Avatar for arezz09

i using this code to load data from accessdatabase to 2 combobox [CODE] Dim cmd As OleDbCommand = New OleDbCommand("SELECT product,model FROM combo_table", conn) conn.Open() Dim sdr As OleDbDataReader = cmd.ExecuteReader While sdr.Read() old_product.Items.Add(sdr.Item("product").ToString) old_model.Items.Add(sdr.Item("model").ToString) End While conn.Close() conn = Nothing[/CODE] [ATTACH]20620[/ATTACH] use can see in this picture hve 2 …

Member Avatar for P.manidas
0
103
Member Avatar for shyla

i am trying to solve that assignment and this is what i have so far [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace CarInsurance { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, …

Member Avatar for pseudorandom21
0
184
Member Avatar for skips

I believe this to be a simple problem. My program runs fine, but I cannot figure why the variable "final_grades" is not being passed to the function and output. alternatively, I may be calling to the function incorrectly. This is the first class that I have written, so it may …

Member Avatar for skips
0
171
Member Avatar for JakeA

hi! how can i get the column name of the current cell in the radgridview? RadGridView1 is the name of my datagrid. these doesn't work: [CODE]RadGridView1.CurrentCell.Column.ToString(); RadGridView1.CurrentCellInfo.Column.ToString(); RadGridView1.CurrentColumn.ToString();[/CODE] help me please...

Member Avatar for abelLazm
0
348
Member Avatar for pseudorandom21

I have a C++/CLI form, and a native class in separate files. I include the header file of the native class at the top of the Form.h This causes the compiler to try to compile the constructor of the Form as a native function and spits out 100+ errors and …

Member Avatar for jonsca
0
128
Member Avatar for techie1991

I was looking at a question: Q. Given n numbers of which all numbers are repeated (at least once) other than one. We have to find that number. Numbers range is to 10^9, thus using count sort would do no good.! Adding the numbers one by one to a dictionary …

Member Avatar for youwill
0
104
Member Avatar for atticusr5

Hello all, I am trying to debug some code that I have come across. It is an array based BST, and I can not figure out why the parent's are not being recorded correctly. Essentially the first few inserts work, and then the parents become incorrect. Can anyone give me …

Member Avatar for mike_2000_17
0
148
Member Avatar for Jaseem Ahmed

heloo... i want t o develop a data report in vb 6. i have genetared some reports, whose allo fields are from one table.. now i have a table, in whicnh two tables will be datamember.. ed. Sales mancode,Salesman name will come from table one. sales, Empty Return will come …

Member Avatar for reygcalantaol
0
98
Member Avatar for stephenk291

Any help with this would be appreciated. Basically I need to setup a function that will track both the getUserChoice/GetCompChoice scores for each of the 10 Games, however lets say out of 8/10 games the user has won 6 so therefore the user cannot come back to win the most …

Member Avatar for VernonDozier
0
1K
Member Avatar for vinothmca
Member Avatar for Jx_Man
0
68
Member Avatar for LogicWeb

Greetings folks, There seems to be an odd problem with Chrome / Cufon js. Cufon works fine in IE and Firefox, but Chrome is for whatever reason top aligning (vertically) the menu text. Odd enough, when you load the page, it shows you the text align and quickly top aligned …

Member Avatar for LogicWeb
0
434
Member Avatar for arezz09

i hve 2 form..first for insert dat & second for preview data..i'm using datagrid to preview data from accessdatabase.. how to make datagrid automaticly load data form database after insert new data..data grid only load after i relaunch my application...do i need create refresh button or anything else??

Member Avatar for Jx_Man
0
166
Member Avatar for toferdagofer

i am writing a decryption program that reads a file from another project solution and decrypts it then writes it to a new file in its own project folder. For some reason when i try and read the file in the program says that file doesn't exist. Im pretty sure …

Member Avatar for Moschops
0
161
Member Avatar for irinaki

I'm very very new to c++.I'm truing to built a program to make new appointment etc. [CODE]#include <iostream> #include <vector> #include <string> using namespace std; class Appointment; class MyDate { private: string date; string hour; public: MyDate();//constructor xoris parametrous// void set_date(string _date) { date=_date; } void set_hour(string _hour) { hour=_hour; …

Member Avatar for chrjs
0
180
Member Avatar for triple_A

Hey all. I am making an application through 10 exam scores (integers 0-100) are entered into separate text boxes within a group box, and are analyzed with the click of a button. The list box should then display the mean, standard deviation, and the list of scores and corresponding grades. …

Member Avatar for triple_A
0
178
Member Avatar for bobgodwin

I'm using this code to check if a record exists or not: [CODE] $filename = $_FILES["file"]["name"]; /// FROM FORM $ext = substr($filename, strpos($filename,'.'), strlen($filename)-1); $bull = substr($filename, 0, strpos($filename, '.')); $myQuery = "SELECT * FROM $media WHERE label='$bull' "; $result = $dbh->prepare($myQuery); $result->execute(); $cont = $result->rowCount(); if ($cont == 1) …

Member Avatar for bobgodwin
0
151
Member Avatar for Wakesta

Please can someone check that I have understood this part of the code for my game or advise a better way of showing this? [CODE] //-------------------------------- // DIFFICULTY //-------------------------------- void Difficulty() { Top_Border(); cout << "\n Choose computer difficulty level.\n" " (E)asy\n" " (A)verage\n" " (H)ard\n\n" " ? "; cin …

Member Avatar for mrnutty
0
153
Member Avatar for Nony2007

Hi All, My data set consist of numeric values 0s and 1s. I have designed a code that enables me to compress the string (rwo) to substring based on LZ algorthim. However, it seems that the substring is not correct as you can see in the following example: reading file …

Member Avatar for Nony2007
0
122
Member Avatar for Arikon

I am making an english to pig latin translator and I cannot quite get this right! For some reason i can always get the first word to translate but the other words jumble together and sometimes repeat themselves. The rules for this program are as follows: To translate an English …

Member Avatar for Arikon
0
1K
Member Avatar for navp

Hey guy, I want to know if there is a way of using PHP in JavaScript. I have no idea how can i get the variables from PHP into JavaScript. I am making a pizza application, the php file is a confirmation page. The user can either go back to …

Member Avatar for navp
0
265
Member Avatar for eman 22

Hi all during my implementation to tree data structure, I make a method which combine two trees in one tree and called it attach. I declared 3 trees t1,t2,t3. and then called method attach which will create new tree and put t1 in right and t2 in left and then …

Member Avatar for eman 22
0
93
Member Avatar for jimmyo88

I'm about to start an assignment and am just trying to think of the most logical waysd of doing things at the moment. The assignment involves using mysql and php to create a website for a training company. The part i am having trouble conceptualizing is this: "Tutors are created …

Member Avatar for jimmyo88
0
113
Member Avatar for mkab

Hello everyone. Let's say i have 2 scripts called "fill_cup.sh" and "empty_cup.sh" and i create a 3rd script "cup.sh". How can i run/execute the scripts "fill_cup.sh" and "empty_cup.sh" in the script "cup.sh". I tried with sh fill_cup.sh and ./fill_cup.sh but it doesn't work. for example Script cup.sh #!/bin/sh [CODE]echo enter …

Member Avatar for SakuraPink
0
245
Member Avatar for branding4you

I have textarea comming from mysql. In the backend the user tyes a letter type format in a textarea They ise Enter to make new rows etc __________________________________________________ Dear john Welocome to our website hope you find it usefull Thank you The Team ___________________________________________________ When I pull the data from …

Member Avatar for branding4you
0
90
Member Avatar for SakuraPink

Hi all, I'm trying to read data from this xml file that looks like this: <VEGETABLE > < FRUIT > <FRUIT name="apple">1</FRUIT> <FRUIT name="Orange">2</FRUIT> <FRUIT name="Benana">6</FRUIT> I wrote the following script:[CODE]import sys from xml.dom.minidom import parse from cmath import sqrt # Load XML into tree structure tree = parse(sys.stdin) #Find …

Member Avatar for SakuraPink
0
4K
Member Avatar for Agni

I have been reading the 'inside the c++ object model' by Lippman and one of the sections has me a little confused. It is the section where the author explains how virtual tables are created and virtual pointers assigned, in the scenario of multilevel, single inheritance. If anyone here has …

Member Avatar for Agni
0
327
Member Avatar for hawita

Hi, i am writing a program that plays “guess what number I’m thinking of…” with you. User Inputs guesses and output whether the number is too low, too high, or right-on. I already wrote the program to have the user guess what number the computer is guessing; however, can anyone …

Member Avatar for Moschops
0
152
Member Avatar for reet_bahl
Member Avatar for Auraomega

Returning back to asm and coding in general, got an issue with what's probably an obvious mistake but I'm stumped non-the-less. [CODE='c']kputs("Testing");[/CODE] [CODE]; ; Print a single character to screen ; kputchar: ; assumes the register ax will contain the character to print mov edx, [SCREEN] ; edx = screen …

Member Avatar for Auraomega
0
106
Member Avatar for ctpsolo

I've created a program that will process a file in a certain manner. The processing works fine, the problem I'm having is to open files that has a " " (space) in their dir or filename. See I wanted to be able to use my program in a easy manner …

Member Avatar for ctpsolo
0
446
Member Avatar for TechySafi

[CODE]<?xml version='1.0' encoding='UTF-8'?> <response> <status>get_ticket_ok</status> <ticket>bxquuv025arztljze2n438md9zef95e8</ticket> </response>[/CODE] This is all you got! How you will convert it into php array or something?

Member Avatar for TechySafi
0
310
Member Avatar for LloydFarrell

Hi everyone, I have been asked to help extract data from a xml file and use the data to input into html form designed in php I have read a few articles but im missing the point some how... On the file that im trying to get the data to …

Member Avatar for LloydFarrell
0
609
Member Avatar for LloydFarrell

Hi all - I have a xml file that I am trying to extract data from and create variables to use in a PHP / html form. I am new to extracting information from xml and creating variables The XML file is show below and what I would like to …

Member Avatar for LloydFarrell
0
149
Member Avatar for ofir0803

Hi [CODE]$asking_price = "20"; $original_value = "100"; $discount = (1-($askingPrice/$original_value))*100; echo $discount;[/CODE] why $discount always equal to 100 ? it supposed to be 80.

Member Avatar for ofir0803
0
134
Member Avatar for Shantanu88d

I have Mozilla Firefox 4.0 Beta 12 I have written a small javascript to detect ' and avoid it from getting typed in textbox. This works in IE but not on mozilla. Any suggestion ??? If that is not possible then any other logic to achieve same results ?? [CODE] …

Member Avatar for Shantanu88d
0
247

The End.