199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for gracea

Hello :) is it possible in vb.net for a datagrid to take input???I have always known it to behave as a window to the database..If it's possible,how is it done?? Thanks in advance for the result of my queries!:)

Member Avatar for santhosh6am
0
66
Member Avatar for Will3Style

[COLOR="Green"]Little background info:[/COLOR] My site is gaming related; xbox 360, ps3, wii, pc an so on. I have big plans and ideas for the site. Since I can't afford vb right now, I've opted for php to code the site. The friend I did have to code the site was …

Member Avatar for Will3Style
0
169
Member Avatar for andrewh86

I am trying to learn PHP. I have set up a database, a table, and made a form that allows me to add new rows to the table when the submit button is clicked. The problem is that the form also submits any time the page is loaded or refreshed, …

Member Avatar for chrishea
0
189
Member Avatar for QWaz

Hi, I am trying to get something up where by: -> It dynamically displays input text fields that can be edited. -> However I need the current id as well as the current value to display -> when a person submits the form, it updates all / or only each …

Member Avatar for QWaz
0
211
Member Avatar for oracleruiz

Hello, I have clear the process to sign a document. You need a certificate made by a CA. You have a public and private key. With the private you sign and with the public the people open your signed document. When you sign a document a math algoritm process the …

Member Avatar for Rashakil Fol
0
142
Member Avatar for ektron

Helllloooo DaniWeb peoples!! - I have books and whatnot, but I thinks I need opinions from real people ya know? My question - What do you think are essential projects that a professional web programmer needs to know how to do? Let em fly!! - an earnest THANK YOU

Member Avatar for chrishea
0
136
Member Avatar for DizzyHead

Im quite new to C#, please forgive me if my question is stupid. Im currently doing a project (alarm clock) and encounter some problems. I need to know is there anyway to change the Time ("6:02") from textbox or other means instead of changing it from the source code itself. …

Member Avatar for DizzyHead
0
100
Member Avatar for uwmbjn

I have table that has students classes and grades. They are allowed to fail a test twice but if they fail twice they have to retake the couse in which they have two more tries. I would like to show only the most recent grade. Here is the table structure …

Member Avatar for tesuji
0
101
Member Avatar for y2kshane
Member Avatar for y2kshane
0
157
Member Avatar for aikiart7

Good afternoon, i'm getting an error when I compile "undefined reference to 'TestScores:theAverage(int *,int)" I'm not sure what the compiler is telling me. Any assistance is welcomed. Art header // this is the header file for class TestScores #ifndef TESTSCORES_H #define TESTSCORES_H //this idea with this class is to take …

Member Avatar for aikiart7
0
223
Member Avatar for emcyroyale

Hello everyone I am making a code to create a fractal using the turtle class in java. The problem is that the fractal string doesn't seem to be registering through the if and else if statements. What I would like to know is if that is the problem...or something else...Thanks …

Member Avatar for Ezzaral
0
132
Member Avatar for cac186

I'm taking on a new project and was hoping to get some help. I recently helped complete a Java application in which the user enters various inputs (of the type double or string)into text fields. The application then saves these inputs into a text document which is then used for …

Member Avatar for NormR1
0
291
Member Avatar for VBNew

Hi, does somebody knows how to convert the password input so it does not appear to the screen as what we type and it appears as special characters like******. thanks!

Member Avatar for Aslam Mansoor
0
168
Member Avatar for ronparker

Hello all, I recently made a mysql database using python and imported an excel file into the database. However, I am having some issues with some of the python. Using the following code, I have selected 11 numbers from a table in the database. # c.execute('SELECT REF_PNL FROM actual_data_table WHERE …

Member Avatar for vegaseat
0
973
Member Avatar for 0x69
Member Avatar for Rashakil Fol
0
114
Member Avatar for mike42intn

I am writing this program for class and it compiles fine but when i debug it it gives me an assertion failure any suggestions would be welcomed i need it to output 20 random sentences. [CODE]#include "stdafx.h" #include <iostream> #include <cstdlib> #include <ctime> #include <cctype> using namespace std; const char …

Member Avatar for mike42intn
0
232
Member Avatar for judithSampathwa

Hey I have a question regarding datagridview cells, I have made made the rows that display data from the database as read only, but the thing is when I click on one of the cells an event triggers out, I have coded for cellcontentclick, cellvalidating, currentcelldirtystatechanged, editingcontrolshowing. When I clik …

Member Avatar for judithSampathwa
0
488
Member Avatar for lewashby

To help increase sales, your management decides to give customers a one-time bonus. Here are the credit rules: for 1-15 credits, add 1 credit for 16-30 credits, add 2 credits for 31+ credits, add 10% and round up (10% of 35 is 3.5, rounded up to 4) Write an update …

Member Avatar for d5e5
0
104
Member Avatar for MatejM

Hello everyone, First of all sorry for my English. How can I rename headers in dataGridView? When I press on Find button all works just fine. I get the information wich I want. But headers of columns in dataGridView have names just like in database (PersonID, Name_Person,... ). I would …

Member Avatar for PierlucSS
0
458
Member Avatar for Laurence26

I found this little program for a game in a book. [CODE]class Tank (object): def _init_(self, name): self.name = name self.alive = True self.ammo = 5 self.armor = 60[/CODE] It is named tank.py When I import it in python and I try to add [CODE]my_tank = Tank("Bob")[/CODE] Python gives an …

Member Avatar for umbuty
0
173
Member Avatar for octavia

Hi everybody, how to make listview selection; i wanna make multi selection in listview ; but don't want to use ctrl key . eg; if i select 1st item , make highlight it. And then if i select 3rd item, 1st item still highlighted and 3rd item highlighted as well. …

Member Avatar for PierlucSS
0
296
Member Avatar for AngelicOne

My form1 has datagridview, that is populated by a dataset. I want to pass the selected value of the datagridview to my other form which is form2. How could I do this?

Member Avatar for SHatcher
0
1K
Member Avatar for jasleen12345

i have a program in which i have to input 2 2-d arrays and then compare the elements of both. executing for loop again and again is making the program long. can i make it short. can we pass an array into a function?

Member Avatar for dusktreader
0
86
Member Avatar for revata

I have a script working for me which loads content into an iframe on my index page based on a url query string. for example: mysite.com/index.php?two.php loads "two.php" into the iframe, heres what i have: [CODE]<script type="text/javascript"> function loadIframe() { var urlStr; urlStr = location.search.slice(1); window.frames.myiframename.location = urlStr; } </script>[/CODE] …

Member Avatar for revata
0
148
Member Avatar for heshanm

Hi guys, I have a small problem here... There is a [B]customer id[/B] field and a [B]search button[/B] in one page. In my database there is a [B]table[/B] called "[B]customer[/B]" which contains fields of [B]customer_id, full_name, name_with_initials, address, contact_number and gender[/B]. The table is filled with record of each customer …

Member Avatar for heshanm
0
86
Member Avatar for jellybeannn

hallo, I want to create a print preview for an invoice. What I'm having problems with is, most of the content in the print preview is pulled from a database and not the form, I am not sure how to implement this into the code, plus how would I change …

Member Avatar for PierlucSS
0
133
Member Avatar for acrocephalus

Hello! I am trying to redirect the stdout following the example in [URL="http://www.blog.pythonlibrary.org/2009/01/01/wxpython-redirecting-stdout-stderr/"]http://www.blog.pythonlibrary.org/2009/01/01/wxpython-redirecting-stdout-stderr/[/URL]. My code has some loops, and I would like the function to redirect stdout each time the loop is repeated, as it happens when running the code with the command line. However, it seems that in this …

Member Avatar for TrustyTony
0
866
Member Avatar for ontherocks

I have a code wherein I pass a whole array to a function. Is it possible to do exactly the same thing using pointers? [CODE]#include <iostream> using namespace std; void func(int array[]); int main() { int array[] = {10,20,30,40}; func(array); cin.get(); return 0; } void func(int array[]) { cout << …

Member Avatar for ontherocks
0
158
Member Avatar for BrandonSKeller

Over the past few years I have taken multiple comprehension courses and bootcamps related to Microsoft server administration and .Net programming and I just found a new favorite. I am currently taking the MCPD ASP.net bootcamp at CED Solutions (in Atlanta, GA - MCPD: ASP .NET Developer v3.5, MCTS: .NET …

Member Avatar for timmychandy
0
199
Member Avatar for chaienbungbu

I've done an example of 'template specialization'. Here is the code: [code] // template specialization #include <iostream> using namespace std; // class template: template <class T> class mycontainer { private: T element; public: // only prototype mycontainer (T); T increase (); }; // class method definition template <class T> mycontainer<T> …

Member Avatar for major_tom3
0
236
Member Avatar for ChaseRLewis

Wanting to create an error handling function, I want it to return the line without having to pass an int value for it. I've seen functions given to me in books and so forth do it, but I have no idea how to get that value.

Member Avatar for ChaseRLewis
0
128
Member Avatar for buster2209

How can I execute some code when the user closes the application? Where do I put this code?

Member Avatar for buster2209
0
102
Member Avatar for P00dle

Okay, this puzzle the hell out of me. I've got 2 different sets of code, one which works, one which doesn't. They are both very similar, and I can't see what is causing the problem. Code that works: [CODE] public static void main(String[] args) { PropertyConfigurator.configure("log4j.properties"); new Settings().globalSettings(args[0]); logger.info("Read settings …

Member Avatar for jon.kiparsky
0
567
Member Avatar for tedtdu

Dear all. Thanks for you kind and generous supporting. From the String s="<hell <world </world </hell"; I wanted push the elements "<hello, <world" into stack, and pop off if current element equal to peek element in stack. Question: Even stack.peek().equals(CURRENT ELEMENT), why can not pop off, but occurs error?? Please …

Member Avatar for jon.kiparsky
0
283
Member Avatar for lil.jeantle
Member Avatar for heshanm

Hi all, Here i have a serious problem. I want to sought it out using [B]PHP and MySQL only[/B]. I have a form includes fields of customer id and Account type( [B]stored in a jump menu and includes 6 different types of accounts[/B]) [CODE] <style type="text/css"> <!-- body,td,th { font-size: …

Member Avatar for heshanm
0
121
Member Avatar for shalini_roy

can someone tell me how to do this??? i have a product category in a combobox and the associated product codes in a list box. i'm using oracle for backend. the combobox on form loading shows the product categories from oracle database. but the product category is not a primary …

Member Avatar for agrothe
0
417
Member Avatar for leo002000

Hi all, Basically I am attempting to determine whether the first 2 columns (tab delimited file) from file1.txt match the first 2 columns of file2.txt. If they do I want to output the entire row of file1.txt to outputfile.txt... I can do this using vbs but due to the amount …

Member Avatar for mitchems
0
242
Member Avatar for neil.abbott1

Hi, I am trying to open a url by clicking over the link of JLabel in Windows 7 (32 -bit) but unable to do so. After clicking on the link, it doesn't do anything. Although, it is opening the file successfully.It used to work in XP. The code is as …

Member Avatar for neil.abbott1
0
124
Member Avatar for a1suria

hello guys.. can anyone please help me i have created a Simple search for my database..the search form contains a drop down menu of the field names and user select the field name and input the keyword and then Click on search to retrieve matching records from that particular field.. …

Member Avatar for a1suria
0
2K
Member Avatar for jhonilson

Hi I want to extract all the names properties of the html form. I have 2 elements (Textarea and CheckBox) and I need to create 2 arrays with all the names of them, is to say, in the array1 all the checkbox names and in the array2 all the textarea …

Member Avatar for jhonilson
0
97
Member Avatar for loll_l

When submitting an order on my booking form found here: [url]http://www.n-v-m.co.uk/Booking.html[/url] the php file 'sendfile.php' is triggered and this sends booking details to my email account. This is the php code in 'sendfile.php' [CODE] <?php $Name = $_POST['name']; //senders name $to = "info@n-v-m.co.uk"; //recipient $subject = "Order from ".$_POST['company']." (".$_POST['name'].")"; …

Member Avatar for loll_l
0
138
Member Avatar for koveras vehcna

Hello everyone, I am currently teaching myself language processing by using the book of NLTK -found at http://www.nltk.org/book - and I have a problem. The following code retrieves every sentence in Shakespeare's Macbeth respectively as a list of list of list -or something like that- format: from nltk.corpus import gutenberg …

Member Avatar for koveras vehcna
0
253
Member Avatar for tedtdu

From following string (without white space) as; String s= "<a><b>e</b></a>"; How can I get the following tokens; <a>,<b>,e,</b>,</a> Thanks for attention!

Member Avatar for JamesCherrill
0
126
Member Avatar for ftl25

Hi, I have a structure defined in my header file as follows: [CODE] struct TestInformation { int TestPointer; // pointer to the selected test long TestPointerValue; // the value contained within the pointer long TestSize; // the size of a test char *TestText; // the text contained within a test …

Member Avatar for ftl25
0
286
Member Avatar for Prashant20

I have created an Exams form which has all its control(1 txtbox, 2 combobox) binded to exams table (SQL Database). The form has a Datagridview which shows two column, Subject and OutofMarks(dats total mark assigned to a subject e.g. Subject [B]English[/B] is of [B]100 [/B]mark. The subject column of datagrid …

Member Avatar for dhananjaygupta
0
114
Member Avatar for ivan3510

Hi! Sorry for my bad english. I need help. I have a code (it's long so here's short version) that will, when I click on the button 1 (input field 1 and button 1), make a new input field and button with new name (input field2 and button 2) and …

Member Avatar for ivan3510
0
117
Member Avatar for jasleen12345

hi i am new to c++...i have a learnt a lot about the basics. i now want to procede to the graphics part. i dont know even a little bit of the graphics part....pls help me.. i am using dev C++

Member Avatar for jasleen12345
0
215
Member Avatar for enkidu75

So I have a program I need to make which involves an array. It builds fine and runs. Right now I just need to get the array to read in from file then print it on screen. But only a little over half the array prints (the last half). format …

Member Avatar for daviddoria
0
110
Member Avatar for phplover

Hi, Sorry it's me again :-O I am in the middle of creating a download/upload management script. Currently it has one upload method HTTP upload via HTML form which obviously is not good as users would be restricted by the PHP max upload size and script timeout issues and so …

Member Avatar for phplover
0
145

The End.