199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for christan

Greetings, i just want to ask how to insert a data with fk. Like if i insert a data on tblPatient, the patientID will be displayed on the tblRecord. is it just a normal insert into tblpatient or is there another code for it? Thanks.

Member Avatar for G_Waddell
0
218
Member Avatar for on94

I have 2 form called form1 and form2 why i cannot use this code form1.textbox.Text = "Hello" ????

Member Avatar for G_Waddell
0
122
Member Avatar for rpv_sen

Hi Friends I am working on Payment integration. Can any one help me, how to integrate HDFC payment gateway in php.

Member Avatar for pritaeas
0
621
Member Avatar for murali2489

Dear All, I am reading Generics, below method is confusing. It clearly mentioned in the Method parameter that it should accept only List. But when i give ArrayList as Argument it compiles. It should be only List right? eventhough Arraylist is an implementaion class. below is the code PLease explain. …

Member Avatar for murali2489
0
238
Member Avatar for amitgorule

First of all sorry , I am developing an messenger using servlet & jsp . please help me with code in servlet & jsp a user to register via register module, followed by login and use encrypted or normal chat. Each stated function depends on its own module. The encryption …

Member Avatar for masijade
0
739
Member Avatar for triumphost

I've created: #include <streambuf> #include <iostream> #include <windows.h> template<typename T> class BufferedStream : T { private: T &stream; std::streambuf* buffer; //planning to use this to create other "IO" functions. public: BufferedStream(T &stream) : stream(stream), buffer(stream.rdbuf()) {} ~BufferedStream() {stream.rdbuf(this->buffer);}; std::ostream& operator << (const char* data); std::ostream& operator << (const std::string &data); …

Member Avatar for Ancient Dragon
0
273
Member Avatar for MARKAND911

I am building a winform Application. I have to create buttons dynamically based on data fetched from database. I followed following steps Created UserControl On UserControl_Load event I fetched data from database. I populated the UserControl with buttons based on number of rows i get from the database. The above …

Member Avatar for deceptikon
0
426
Member Avatar for joshl_1995

Hello Community, I was wanting to make a bbcode system using regex but the one I'm having a problem with is the list (<ol> and <ul>) but for some reason it isn't working this is the code I'm using: <?php function convertBBCode($input) { $bbCode = array( "/\[b\](.*?)\[\/b\]/", "/\[u\](.*?)\[\/u\]/", "/\[i\](.*?)\[\/i\]/", "/\[s\](.*?)\[\/s\]/", …

Member Avatar for pritaeas
0
326
Member Avatar for wallet123

It is relaed to the thread i posted a while ago. Before I edited the model of my table, it was working properly, but when i added some columns thats when the problem came out. Everytime i click the button that will open this window, it goes blank. Only a …

Member Avatar for wallet123
0
352
Member Avatar for bahed121

Hello All, I have a C1TrueDBGrid on my form it was working fine but when i added a new view i.e. on button click grid's datasource changed and display new values but the problem is that on this click i don't know why the checkbox column of my grid widens …

Member Avatar for Nagarjungn
0
1K
Member Avatar for oh.m.song.1

How to do this? :Write a program to draw a face of a clock that looks as close to the below as possible. (Note that the clock tick-marks are thicker than your usual lines!) Include comments to explain to the reader what you’re doing. Would appreciate very much thank you. …

Member Avatar for slate
0
145
Member Avatar for coervivekmca

Hi !! I am having a technical problem to run the code of servlet ,jsp and jar file .can you plz tell me how to put these in diferent folder to execute it..plz plz plz tell em the folder arragement to execute j2ee project.. Plz help i need help...

Member Avatar for stultuske
0
198
Member Avatar for y0yie_333

what's the problem with this ? any 1 can help me out..tnx in advance Dim filePath As String Try filePath = Application.StartupPath() & "\" & DBFile connection = New OleDb.OleDbConnection(ConnectionString & filePath) connection.Open() Dim command As OleDb.OleDbCommand = New OleDb.OleDbCommand command.Connection = connection '---set the user's particulars in the table--- …

Member Avatar for y0yie_333
0
162
Member Avatar for RainaAnja

i have a problem,i log in even though im not registered in database, please help me urgent!!!!!!!!!!!!

Member Avatar for mohan@nano
0
174
Member Avatar for pars99

Whenever I create a prompt, I see this at the top: "The page at [the URL] says:". Am I able to change this or do I, as I was told to use for something else, have to use jQuery dialogs?

Member Avatar for Troy III
0
137
Member Avatar for salwa.kh.9

Hi, I've a webform that has five fields,, the first four fields has textboxes and the fifth one is a checkbox list. All the data of textboxes has to be saved in a table tbl_Workshop. the checkbox list has list of trainers, a user can select for that particular wokrshop.. …

Member Avatar for george4986
0
227
Member Avatar for riahc3

Hey I want to make a backup and restore of a MySQL **SERVER** to another machine. Please note the **SERVER** part; I want to backup/restore datebases, tables, procedures, users, configuration, etc....**EVERYTHING** What is the best way to do this? Thank you

Member Avatar for Manish02
0
236
Member Avatar for anoniya ze

an int function cube () that returns the cube of its single int formal parameter please attach in my emile bmekixavi@gmail.com

Member Avatar for Learner010
0
137
Member Avatar for mcronline

I'm having a weird situation here. I'm trying create a PDO object, like this: `$dbh = new PDO('mysql:host='.$hostname.';dbname='.$dbname,$username, $password);` I have rewriting ON in my .htaccess file. when I try to run the script using a URL that will trigger a rewrite rule, it shows me the following error: `Fatal …

Member Avatar for Tpojka
0
211
Member Avatar for rpv_sen

Hi Please any help me on the below issue i am having a interger as below the formate is CYYDDD 114024 i want to change the above line as 24-01-2014

Member Avatar for rpv_sen
0
187
Member Avatar for rpv_sen

Hi can any one pls help on the below thing I am having a value as 91819.0 But I required the above data should be converted as time as below 9:18:19 Likewise it should be viceversa

Member Avatar for rpv_sen
0
277
Member Avatar for klika

The part for(int i=1; i<n; i++) { x[i]=sqrt(y[i]*i); cout<<"x"<<i<<": "<<x[i]<<endl; } isn't working wll, for some elements the result is non, i thought that i because the numbers are complex, but not with include complex i get the same resut.. can anyone help me #include<iostream> #include<math.h> #include <complex> using namespace …

Member Avatar for ddanbe
0
139
Member Avatar for MoreBloodWine

Ok, so someone else wrote the below code for me and is on a bit of a hiatus, so I can't ask them for help. In any event, I would like to also pull the following three things which is why I am here asking for help. total_rewards, paid_rewards & …

Member Avatar for pritaeas
0
312
Member Avatar for Master Mascus

Hello guys, I am having a problem with a regular expression in my jquery validation. Can someone help me please. The method : $.validator.addMethod( function (value, element) { /^[A-Z]{1}\d{12}[A-Z0-9]{1}$/.test( value ); }, "Invalid NIC." ); An example of the NIC field : L261089652789A or L2610896527897

Member Avatar for pritaeas
0
264
Member Avatar for ruwaldl

hey guys how i display datagridview cell values in a listbox once i click on it heres what i have so far but it doesnt work private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { listBox1.Text = dataGridView1.Rows[e.RowIndex].Cells["Description"].Value.ToString(); } please help thanks in advanced

Member Avatar for Fenrir()
0
528
Member Avatar for jenifer.jenn

Hi, I have developed windows application on windows 7, when I deployed it to windows vista it has stopped working but it run smoothly on windows 7. Can anyone help me? Thanks.

Member Avatar for Fenrir()
0
246
Member Avatar for mahabelg

public static String DecBin(int nbr) String resultat=""; String decbin=""; //String temp; int rest; //temp=""; while(n/2>0) { rest=n%2; //temp=temprest; String rest1=Integer.toString(rest); resultat=resultat+rest1; } for (int i=resultat.length();i<resultat.length()-1;i--) decbin=String.valueOf(resultat.charAt(i)); return resultat;

Member Avatar for stultuske
0
194
Member Avatar for isralruval

how would i write a function that parses a hex number as a string into a decimal integer. I have the following done i just need help finishing it. any help will be appreciated[code]#include <iostream> #include <string> using namespace std; int parseHex(const string &hexString) int main() { cout << "Enter …

Member Avatar for sheetal Phapale
0
4K
Member Avatar for superior7867

Hi dear I want to create a dynamic page where i want select country name in first drop down menu and then get its related city list in second drop down list how this will work in php

Member Avatar for Bachu
0
344
Member Avatar for NDoubleD

I'm using Twitter bootstrap 2.0.4 for a website. I have a carousel with a certain number of pictures, which gets created just fine. It starts cycling, the pausing on hovering works, the next and previous buttons all work. Only thing that's odd is that when it reaches the end of …

Member Avatar for travis.holt.921_2
0
2K
Member Avatar for davy_yg

Hallo, I am trying to make this search box works. This is my code: navigation.php <? //This is only displayed if they have submitted the form if ($searching =="yes") { echo "<h2>Results</h2><p>"; //If they did not enter a search term we give them an error if ($find == "") { …

Member Avatar for davy_yg
0
364
Member Avatar for Doogledude123

Alright, so I have been coding a Ceasar Cipher in Java and I have the encrypting working, However, I cannot seem to find my problem decrypting. Here is the code, I thought just by revearsing all the operations it would decode it, but that doesnt seem to be the case. …

0
122
Member Avatar for itsnauman

Hey, I have previously programmed in C, PHP & Javascript and I have recently started out with Python but the syntax of the functions is quite different and confusing? Like if we call `len(abc)` we enter the param inside the function unlike the function `abc.upper()` where we use enter the …

Member Avatar for snippsat
0
389
Member Avatar for kbear23

I am new to CPPUnit testing and have written test for login authentication function with various test cases. But it only accepts return value zero. The first test case should return 1 if expected and actual are the same but it only works when I change to zero. Any advice …

Member Avatar for Ancient Dragon
0
247
Member Avatar for sohail.butt.144

i need help to make this program please help me Problem Statement: Write a program using class(constructor, destructor, other member functions) to find the frequency of letters (small and capital alphabet or digit) from your student id character string. For example, frequency of letter ‘4’ in the string of a …

Member Avatar for lala56565
0
187
Member Avatar for christ123

Hi! I am trying to make a small application with google maps! I have successfully addded few points on the map using xml output to php from mysql database.. function load() { var map = new google.maps.Map(document.getElementById("map"), { center: new google.maps.LatLng(38.99,22.49), zoom: 7, mapTypeId: 'roadmap' }); var infoWindow = new …

Member Avatar for christ123
0
330
Member Avatar for davy_yg

Hello, I am having this error message: Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\xampp\xampp\htdocs\rustoleum\index.php:8) in C:\xampp\xampp\htdocs\rustoleum\index.php on line 63 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\xampp\htdocs\rustoleum\index.php:8) in C:\xampp\xampp\htdocs\rustoleum\index.php on line 63 index.php …

Member Avatar for davy_yg
0
523
Member Avatar for Perry_1

Hi, I have recently started sharing resources that I've found useful with the rest of the software development community. This week's is a Microsoft video on how best to do Agile under waterfall management. I hope you enjoy :) http://perrygollo.azurewebsites.net/?p=301

Member Avatar for Perry_1
0
139
Member Avatar for hahahanz

not sure where to post this but anyways I wrote this code to calculate the max profit from a 5 kg max weight. heres the code. there is an error with the price. when I use small values below 20 its all normal but when I input large values there …

Member Avatar for iamthwee
0
117
Member Avatar for james.lu.75491856

import web,re,traceback urls=( "/","displaythreads" "/viewthread","displaythreads", "/viewthread/(.*)","displaythread", "/viewthread/(.*)/Vote/(Up|Down)","vote", "/newthread/(.*)","newthread", "/newthread","newthread" ) entries={}###{entryname:{property:value}} entrylength=0 class displaythreads: pass class newthread: template=web.template.frender("newthread.html") default=template("DEFAULT",0) def initialize(): pass def GET(): return default def POST(): data = web.input() try: username,threadname = data.username,data.threadname except: return template(mode) if threadname in entries: return template("Exists") entries[threadname]={"creator":username,"points":0,"totvotes":0} class displaythread: template=web.template.frender('Thread Viewer Template.html') …

Member Avatar for james.lu.75491856
0
2K
Member Avatar for Jasika Thakur
Member Avatar for aaronernest.borres

Good day Can you please help me with my codes. My teacher tasked us to make a program that will accept a password from the input box then will show form1. Otherwise, it will repeat on asking for the correct password. the program will stop asking if you gave the …

Member Avatar for aaronernest.borres
0
211
Member Avatar for chaitu11

<html> <head> <link rel="stylesheet" href="css/template.css"/> </head> <body> <div id="maindiv"> <div id="top_bar"> <div id="logo"><img src="img/avatar2.png" width="32px" height="32px"></div> <div id="settings"><img src="img/avatar2.png" width="32px" height="32px"></div> </div><!---topbar---> <div id="container"> <div id="leftpanel"> <table border="1px" align="center" class="edit"> <tr> <td> Edit </td> <td> view </td> <td> Delete </td> </tr> </table> <table border="1px" align="center" class="leftmenu"> <tr><td>tab1</td></tr> <tr><td>tab2</td></tr> <tr><td>tab3</td></tr> </table> …

Member Avatar for JorgeM
0
210
Member Avatar for chaitu11

i have attached the requirement. 1 register's from admin and it has some reference_id, then, 2 reg with reference of 1 ref_id, 5 reg with reference of 2 ref_id now my dout is i want to get the complete path i.e 1->2->5->9

Member Avatar for diafol
0
508
Member Avatar for wallet123

I am planning to create a table where everytime i add a row, a checkbox inside the table will also be created, will that be possible? And i am using window builder. If it is possible, can you give me some instructions how to do it? I did my research …

Member Avatar for JamesCherrill
0
345
Member Avatar for Chris_19

Dear Forum: Should I take an intermediate PHP course? I have design experence but want to move more into the world of developent. I am thinking about taking a course in intermediate PHP. I have some PHP exposure. Wold this be a good first step towards getting out into the …

Member Avatar for diafol
0
135
Member Avatar for castajiz_2

I have read pretty much about xml. I know that it is good to save data inside but i just can t get it why wouldn t I save my data into a .txt file once finished with my program tasks. Is it because xml offers a structural and more …

Member Avatar for deceptikon
0
224
Member Avatar for pars99

This may seem pretty basic, but a classmate of mine is learning Javascript and they keep asking me the same thing: Can I change the two buttons on Alert and Confirm methods so that they don't say "cancel" and "okay"? I guess the same would go with Prompt. Is there …

Member Avatar for Troy III
0
334
Member Avatar for 2concussions

Hello!! So I just started moving over from Java to C++ and am having problems. All I am trying to do is make a simple MessageBox and when I try to run this code: #include <windows.h> int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd){ MessageBox(NULL, L"Hello World!", L"Hello …

Member Avatar for rubberman
0
273
Member Avatar for christan

Greetings, can someone please give me an idea on how to make a stored procedure with foreign key. Here's what i want to happen. 1) I have 1 button for Adding patient. 2) On the add patient button, i want to Add the patient information on the tblPatient and insert …

Member Avatar for christan
0
172

The End.