199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for RinzLove

Hi all, I've problem with inserting data values from .csv file to MySQL data table. My query as follows; LOAD DATA INFILE 'C/Customers.csv' INTO TABLE pc.customers FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n' (CustID, RegDate, CName, CAddress, CPhone1, CPhone2, Order_OrderID) It returns error msg as follows; **Error Code: 1406. …

Member Avatar for drjohn
0
2K
Member Avatar for TheBrick

Hello all, I have a class with a std::set member that I am trying to send to terminal via std::cout. I am trying to achieve this by iterating through the set and dereferencing the iterator. I am unable to achieve this. Anyone able to point me in the right direction …

Member Avatar for TheBrick
0
237
Member Avatar for vijaycare

Hi All, I have 2 data table in my application and want to create a new table from those 2 tables. Dim sql As String = "Select ID, DESC, QTY from Purchases Where PDate >= @StartDt and PDate <=@EndDt order by ID" Dim da As New OleDb.OleDbDataAdapter(Sql, Con.conn) da.selectCommand.Parameters.AddwithValue ("@StartDt", …

Member Avatar for Reverend Jim
0
181
Member Avatar for james19862012

As the title hopefully made clear...I want to restrict the access of a user data control so anonymous users (ones who havent registered with my site) can't access its contents. I read about restricting access to specific roles and I understand how it works for specific pages (forms) but I …

Member Avatar for LastMitch
0
183
Member Avatar for laian.alsabbagh

Hello, I have this java code which draws to me 100 nodes(with the sink node)(like the figure) that are connected by links, at the end I will get a tree , now I need to redraw the tree in(shortest path tree using prim algorithm )I have the nods in ( …

Member Avatar for laian.alsabbagh
0
421
Member Avatar for MrMicro

i need explain for that bits 16 arr db 0x5,0x1,0x3,0x2,0x7,0x3,0x6,0x4,0x9,0x5 arr_e equ $ i dont know how to make look up table in emu8086 and i dont know whats meaning of bits 16 and "arr" is a file on pc or it's a normal word in a code in the …

Member Avatar for sbesch
0
224
Member Avatar for stevanity

Alright. I am a beginner and I am unable to find a solution to this problem. I am developing this quizzing application. I have built the part that allows you to create and manage questions classified by difficulty and tags. But Im not able to think of a proper quiz …

Member Avatar for Taywin
0
193
Member Avatar for Alda1992

Hello everyone, I write code in assembler, which subtracts two numbers. I need advice on how to modify the code subtracted from a positive number to a negative number. For example: 826-(-621) = 1447 Thanks for you advice ; 826 = 0x33A, 961 = 3c1 ; 576 = 0x240, -621 …

Member Avatar for sbesch
0
151
Member Avatar for morrisproject

I currently have a webpage (for example 'conveyor') with contains many buttons, when a button is clicked the user fills in the relevant fields on the page (page 2) and saves the record, which then turns the text on the button on 'conveyor' to red, to show the user a …

Member Avatar for diafol
0
112
Member Avatar for dalilice

So.. i want to make and online TV Show website using wordpress but can't fugure how to do it. The shows will be embeded from various websites (youtube, vimeo). 1. In general TV Shows have multiple seasons and i want the links to be like friends/season-1/episode-2 is there a plugin …

Member Avatar for blocblue
0
252
Member Avatar for starter

I need help with a dynamic drop down menu. I need when I select a make. the corresponding model load in the second drop down menu [code=php]<?php $conn=odbc_connect("cisproject","" ,"");// database connection $make = $_POST['manuf_name']; if ($make){ ///////////////////////////////////////////////// $query = sprintf("SELECT * FROM Models where manufacture_id='$make'"); $result = @mysql_query($query); $rowModel = …

Member Avatar for diafol
0
215
Member Avatar for Begginnerdev

Hello my fellow Daniwebers! I am having some problems wrapping my head around the task sorting a List(Of CustomType) I have a list containing a custom class. The class contains Two DateTime objects, Start and End. I am trying to sort the list descending so that the shortest timespan will …

Member Avatar for Begginnerdev
0
450
Member Avatar for Vish0203

I'm new to win32 application building using C. I'm using DEV C++ and I'm able to get a window, by using the "windows application" icon in DEV. I want to know how to display our text on to the window??? That'll be very helpfull! This is the readymade code generated …

Member Avatar for Ancient Dragon
0
4K
Member Avatar for M4ver1k

I'm trying to iterate through a struct, but wanted to be able to do something along the lines of: string searchy = "jimmy"; string suffix = "firstname"; for (person dude : pnum){ if (dude.&suffix == searchy){ // Do things } } For those familiar with Perl/PHP, I'm trying to accomplish …

Member Avatar for M4ver1k
0
276
Member Avatar for Stefano Mtangoo

Hi All, I have made simple CMS with PHP/MYSQL. It make use of TinyMCE as Javascript editor. I can delete as well as add the contents. But How can I load the contents from database to TinyMCE for editing and saving? Here is my PHP code to add contents using …

Member Avatar for medzoner
0
4K
Member Avatar for cossay

I'm finding it difficult to configure public link in ajaxplorer. According to their documentation, this setting can done in server/conf/conf.php but the problem is there is no such file as server/conf/conf.php in the entire application folder. I currently using ajaxplorer 4.2.3.

Member Avatar for diafol
0
65
Member Avatar for kaywt

Ok... Got a lab to generate 150 random numbers and then sort the 1st 50 by BUBBLE SORT, the 2nd 50 by SHELL SORT, and the 3rd 50 by SELECTION SORT. After I get those three to work correctly then I need to MERGE SORT the three of them together. …

Member Avatar for kaywt
0
181
Member Avatar for kaur.reinjarv

I need to transform E-DOC XML INSDES (instruction to dispatch – document sent from Seller to Logistics company) to Edo XML INSDES using XSLT transformation and verify final by XSD scheme. Here is the E-DOC XML <PickingRequest> <Order No="C3710177"> <OrderDate> 2012.11.15 </OrderDate> <ShipFrom> 4771459000007 </ShipFrom> <ShipTo> 9854485652622 </ShipTo> <Lines> <Line …

0
103
Member Avatar for np2100

Hello I have been thinking for a while on how to do this one program in c++. I am trying to make a quiz in c++ with 4 yes or no questions. After the quiz has been taken I want to have it ask another question depending on how many …

Member Avatar for Gonbe
0
341
Member Avatar for wvoke9

Hi, I am a complete novice with MySQL but have been persevering with it for a project I am doing at work. I have created a results server to analyse and collect data I receive from quizzes I have created using QuestionWriter HTML5. I have figured out how to run …

Member Avatar for pritaeas
0
145
Member Avatar for vikuseth

#include "B.h" class A { public : A() { s_b = new B(); b = new B(); } static B s_b ; B b ; }; #include<iostream> using namespace std ; #include "A.h" int main() { cout<<"hello"; } In my project i have seen static object as above . But …

Member Avatar for deceptikon
0
181
Member Avatar for pestallozi

a) Write an algorithm to add and multiply two large integers, which cannot be represented by built-in types. b) Write a “c” function to find recursively the maximum and minimum element of an array A of size “n” elements. Find also the number of comparisons required for this. a) Write …

Member Avatar for pestallozi
0
121
Member Avatar for RockyBalboa

I am new to vb and trying to create a timer that will countdown for sets of time interval. I managed to display the countdown for enddate but I have no idea how to continue to enddate1 as soon as enddate finished. My code as follows: Public Class Form1 Dim …

Member Avatar for tinstaafl
0
166
Member Avatar for Ranjan_1

why in a calculator program using command line argument multiplication not done???? in Gcc

Member Avatar for Peter.Aye
0
56
Member Avatar for imperator

Hey, I have created one digit 7-segment screen in vb.net, which works fine, but I need several digits to show. How can I show the screen in multiple instances, which can be controlled separately? The form code is in attachments. Any suggestions appreciated!

Member Avatar for imperator
0
209
Member Avatar for jaimin4829
Member Avatar for JorgeM
0
373
Member Avatar for davecoventry

I am trying to access a string. wchar_t *str; char *Pname; FILE *fp; str = somefunction(); Pname = str; fp = fopen ("/tmp/test","a+"); fprintf(fp,"%s\n",Pname); fclose(fp); str actually contains "ABigName", but the file simply contains the first letter, "A".

Member Avatar for deceptikon
0
178
Member Avatar for kevinyu

How to make an iframe embedded video not skip streaming an audio even if a submit button has been pressed, is it possible to achieve it without using scripts??? Note: I am streaming a YouTube video(hidden)

Member Avatar for gon1387
0
122
Member Avatar for Agni

I have a some libraries which have a lot of common classes but the namespaces are different. Most of the code I was writing could be easily reused by classes in both libraries so after some reading I tried a technique of using the templates to pass namespace. As you …

Member Avatar for Agni
0
127
Member Avatar for Venter

i'm doing online quizz project. so i'm fetching questioins & answers Randomly from database. when ever press referesh button/f5 the questions are changing. wat i require is when the session starts once.the questions could not be change even doing refresh.. thank u all. eagerly waiting for ur help

Member Avatar for gon1387
0
226
Member Avatar for daniel36

my controller code is- <?php class Site extends CI_Controller { function index() { echo "Under Construction."; } function signup() { $this->load->model('site_model'); $data['countries']=$this->site_model->get_countries(); $this->load->view('signup_view',$data); } function login() { echo "This is working."; } } ?> When i open signup page .the signup view repeats many time.

Member Avatar for gon1387
0
120
Member Avatar for emmanuell
Member Avatar for peter_budo
0
117
Member Avatar for DaveyMoyes

Hi Everyone. I have a htaccess file the re-writes my urls for a directory on a website I am helping to develop for a friend. the directory structure is mydomain.co.uk/dir1/dir2/shopping-cart/ The mod_rewrite rule rewrites the index.php file into pretty urls for example: shopping-cart/123/this-is-the-item-title The problem I am facing is when …

Member Avatar for gon1387
0
302
Member Avatar for norsalwani.shasa

the answer of Write a class for rational numbers. A rational number is quotient of two integers, such as 2/3 or 1/2. Your class should have three constructors. One constructor takes no argument, and initializes the rotational number to 0. Another constructor takes a numerator only (the denominator is assumed …

Member Avatar for JamesCherrill
0
198
Member Avatar for adishardis

Hi, I have two diagrams and one unordered list( http://hardis.synology.me/portalen/filter.png ) that rely on select statements and I'm wondering what the best way to filter those. (one filter for all of them!) $result = mysql_query("SELECT * FROM TABLE WHERE filterArray ORDER BY Datum_formatning ASC"); I have 5 fields that will …

Member Avatar for adishardis
0
318
Member Avatar for dangerousdayton

i am making simple experiment about html to pdf.i can populate all the textfields but not the check boxes,i used radio button in html so that only one can picked on the two.how can i possibly populate the checkboxes in pdf??please help! here is my code: [code] <html> <body> <head> …

Member Avatar for Kristof_1
0
3K
Member Avatar for bipinbaglung

NavigationController.h #import <UIKit/UIKit.h> @protocol NavigationControllerDelegate; @interface NavigationController : UINavigationController<UINavigationControllerDelegate> @property (nonatomic , assign)id<NavigationControllerDelegate , UINavigationControllerDelegate> delegate; -(void)cancelImagePicker:(id)sender; @end @protocol NavigationControllerDelegate <NSObject> - (void)mediaPickerController:(NavigationController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info; - (void)mediaPickerControllerDidCancel:(NavigationController *)picker; @end NavigationController.m #import "NavigationController.h" #import "DataViewController.h" @interface NavigationController () @end @implementation NavigationController @synthesize delegate; -(id)init{ UIViewController *controller = [[DataViewController alloc]initWithNibName:@"DataViewController" bundle:nil]; …

0
104
Member Avatar for thePAkid

I'm trying to output data to a file. I half killed myself trying to get the program to work , everything works all data is working except for a few errors will show later. Heres my code // Week 13: In Class Exercise - 5 Solution #include <iostream> #include <string> …

Member Avatar for thePAkid
0
248
Member Avatar for satsujin

Hi folks, I was wondering if there was some way to delete all Labels from a Tkinter canvas in one go. I'm not even sure if the labels are being drawn on the canvas since you only use the master(self.root) when creating it but I do the same for buttons …

Member Avatar for satsujin
0
2K
Member Avatar for lulu79

I have a LINQ function to get 3 things :: Line, Average of Duration and Count I have a problem to sort it based on Average Of Duration column. Here is my code: Dim group2 As IEnumerable(Of DataRow) = _ From row In Ds.Tables(0).AsEnumerable() _ Group row By LINENAME = …

Member Avatar for lulu79
0
752
Member Avatar for pgh

Hi All, I am new to this portal, hope some one will guide me with my issue, i wanted to send the data from FORM submit to update in database at the same time it shd go as email, Any help will be appritiate thanks Prashant

Member Avatar for saad2309
0
228
Member Avatar for liljaw2706

Hi everybody, i really need your help, im not good at designing pseudocodes but i need someone to help me out in making this pseudocode for my assignment.. here is my assignment : *The Micah-11 hardware outlets require an inventory control program that is to accept order details for an …

Member Avatar for T-Dogg3030
0
227
Member Avatar for vijaycare

Hi All, I am having a stock report in my application. It has 4 Datagridview each one for OpeningStock, Purchase, Sales and ClosingStock. I am using vs2005 and access 2003 database. The report is based on from and to date basis. (i.e: if the user selects 2 dates, The opeining …

Member Avatar for vijaycare
0
198
Member Avatar for maria.susai.7

Good to all. Here I have a doubt in Visual basic 6.0. I need have excel file as backend and the visual basic is to be the frontend for my project which I am on it. In the excel sheet keeps updating while saving in vb form. Please If any …

Member Avatar for samsylvestertty
0
1K
Member Avatar for salford6129

Okay so I have a final project due, and it's not really a beast, but I've begun to wonder if I'm doing everything I'm supposed to do, so I'm going to outline the assignment and give an overview of what I have. I was hoping I could get a couple …

Member Avatar for salford6129
0
149
Member Avatar for boiishuvo

Okay I am trying to write a program where a parent process creates three child processes. Also waits for each of them to finish. Here is my code: [code] #include <stdio.h> #include <unistd.h> main() { int i; // create 3 child processes for (i = 0; i < 3; i++) …

Member Avatar for rakeshbiswal
0
4K
Member Avatar for crazydevelopervish

i have one datalist having shopping cart table which retrieves values as per customer_id aspx code. <asp:DataList ID="DataList1" runat="server" DataKeyField="Customer_Product" DataSourceID="SqlDataSource2" onupdatecommand="DataList1_UpdateCommand" oneditcommand="DataList1_EditCommand1" ondeletecommand="DataList1_DeleteCommand" oncancelcommand="DataList1_CancelCommand1"> <HeaderTemplate> <table border="solid 1px black"> <tr> <th style="width: 250px"> </th> <th style="width: 400px"> Item Description </th> <th style="width: 100px"> Price </th> <th style="width: 100px"> Qty …

Member Avatar for kvprajapati
0
185
Member Avatar for monching
Member Avatar for eyeda

Hi Guys! I've a problem here with the $_SESSION coding. As u can see from the coding below, I've declared several session after a user is log in. I want to display the $_SESSION['SESS_ADMIN_LEVEL'] in adLandingpage.php but the code is not work. logincode.php $resultA = mysql_query("SELECT * FROM staff WHERE …

Member Avatar for eyeda
0
194
Member Avatar for kris.sirk.54

I have a MYSQL database that house user names and user numbers. the process is user goes to a url inputs all the information. Goes to the office they search for the user makes sure all the information is correct and assigns them a number inputs it into the the …

Member Avatar for kris.sirk.54
0
88

The End.