199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Naveen_16

value of life certificate is not updating through this code. myconn.Open() cmd.Connection = myconn cmd.CommandText = " UPDATE Pension_Master SET l_cer='" & l_cer & "',validfrom=convert(datetime,'" & validfrom.Date & "',101)," & _ "validto=convert(datetime,'" & validto.Date & "',101) WHERE ppo_no = ' " & TextBox1.Text & "'" If (payment_register.Visible = True) Then …

Member Avatar for Reverend Jim
0
339
Member Avatar for blacklune

Hello, I have been struggling with this project for several days. This is all about doubly Linked List and I have to add reverse section with given code in project. So far it was doing good. I learned a lot from this but the only thing I had issue is …

Member Avatar for AssertNull
0
285
Member Avatar for Zubenna

Dear Python coders, I am new to python programming and I am trying to solve an assignment. The question is stated below; Create a function that does the following 1. Accepts as the first parameter a string specifying the data structure to be used "list", "set" or "dictionary" 2. Accepts …

Member Avatar for Gribouillis
0
915
Member Avatar for ankit_21

this is my code $line = trim(fgets(STDIN)); echo $line; what browser shows: Warning: fgets() expects parameter 1 to be resource, string given in /storage/emulated/0/coding/mobilephp

Member Avatar for rubberman
0
957
Member Avatar for amvx86

Good Morning, For the last few weeks I've been searching HIGH AND LOW. All forms, dozens of tabs open, and bought about 200 bucks in books. My goal is to learn the windows win32 API and I'm hitting brick walls everywhere I look. So far, I've learned that findwindow (or …

Programming api c c# c++ windows-api
Member Avatar for rubberman
0
275
Member Avatar for Simon180

am looking for a way to count down from 30 seconds using a timer and updating a Gauge using Progress to reflect the time remaining. I know this is very simple code but my brain is some what dead here my bad code. procedure FreeTimerTimer(Sender: TObject); begin TotalTime := GetTickCount() …

Member Avatar for rubberman
0
650
Member Avatar for Lau_1

Hello, i not sure what is the problem with my code. Below is my code. <?php if(isset($_SESSION["products"]) && count($_SESSION["products"])>0){ $total = 0; foreach($_SESSION["products"] as $product){ $product_name = $product["name"]; $product_price = $product["price"]; $product_code = $product["product_code"]; $product_qty = $product["product_qty"]; $currency = "RM "; $img = mysqli_query($link, "SELECT img FROM internet_shop where id=$product_code"); …

0
228
Member Avatar for vishalsingh1080

...well I'm just about to step into my sophomore year in college as a computer science engineer, undergraduate . I was eager to know about all the important and world renowned competitions that are held in the field of computer science. I just know about ACM ICPC . I'm interested …

Member Avatar for vishalsingh1080
0
332
Member Avatar for Martin_11

<div id='ad' style='position:absolute; left : 174px; top : 14px; width : 597px; height : 740px;'> <div style="opacity: 1.0;"> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- 500-400 --> <ins class="adsbygoogle" style="display:inline-block;width:500px;height:300px" data-ad-client="ca-pub-********" data-ad-slot="*****"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> </div> <script type='text/javascript'><!-- window.onscroll = function () { //hope this works, havent tested …

Member Avatar for rproffitt
0
316
Member Avatar for berserk

platform: IIS + Apache + mysql + php (please dont justdge me on the platform it was not my choice) I have this weird bug that seems to be directly related to my sessions on my web based app. when i travel between links, if i give the previous page …

Member Avatar for berserk
0
372
Member Avatar for James_43

Hi all, wondering if the following is possible. A MS Exchange server is connected to an Outlook client. Would it be possible to capture sent/recieved emails and add them to a database using PHP. I would like to investigate whether I could use this functionality to create a small email …

Member Avatar for rproffitt
0
217
Member Avatar for Alyssa_3

can someone please help me with this pascal program, does this look right? Program StudentScores; var c: integer; s: integer; t: integer; n: integer; p: integer; f: integer; h: integer; l: integer; ave: integer; max: integer; am: integer; hi: integer; li: integer; scores: integer; Begin For c:= 1 to 15 …

Member Avatar for SalmiSoft
0
310
Member Avatar for Abdelaziz_2

i have a problem.. now when i execute a Query From Visual Studio 2012 at Sql Button it gives to me The results as 1 Rows affected like this pic >> photo Link : http://imgur.com/OqzaKqq but when i execute the Same query From my Program it give me this message …

Member Avatar for Reverend Jim
0
382
Member Avatar for Webville312

Hi, I need to have passwords encrypted whenever a user signs up. How can I attain that? Any ideas? Thanx in advance.

Member Avatar for Dini_1
0
17K
Member Avatar for lamarmeadows

Good time of day all. Today I saw this error "The database has been placed in an unexpected state; Microsoft Access can't open it." I was working with it I mean with this particular file not long ago, then my PC was shut down due to power surge. And now …

Member Avatar for sageford
0
968
Member Avatar for brandon66

#include <iostream> #include <iomanip> #include <stack> #include <queue> #include <vector> #include <fstream> using namespace std; class graph { public: graph(); graph(int); //graph(int, int); void setEdge(int src, int dst); void printGraph();//print graph void bfs(int);//Breadth First Search void dfs(int);//Depth First Search void bfsSpan(int);//Breadth First Search Spanning Tree void dfsSpan(int);//DepthFirt Search Spanning Tree …

Member Avatar for brandon66
0
521
Member Avatar for Nyron

the last array array 3 is not giving me the desired output. i see no logic errors therefore i do not know why i am getting the wrong output. #include<stdio.h> int arr1[5]={55,145,950,25,500}; int arr2[5]={44,58,98,25,62}; int arr3[5],array1,array2,array3; int i=0,j=0,k=0; for(i=0;i<5;i++){ array1=arr1[i]*2; printf("array 1 doubled is %d . \n",array1); //i++; } for(j=0;j<5;j++){ …

Programming c c++
Member Avatar for Nutster
0
238
Member Avatar for peroberg

[B]Question TWO[/B] I have on and off been using Basic, now VB since “the stone age” long before Microsoft and Windows. However it is only now I enter the issue of using VB6 and a database. I use VB6-ADO-ACCESS plus using DataGrid as the main view to see the database. …

Member Avatar for ehudhdy
0
946
Member Avatar for gbhs

Hi I can add watermark text on a .pdf document to an absolute position. This time I want to add water text of small font size to cover all of the page including margins. I know that I need relative positioning of text, fitting text to text lines depending on …

Member Avatar for Michael Br
0
1K
Member Avatar for irisfrank

1. Crystal Reports SAP Crystal Reports is known as a robust production reporting tool. With SAP Crystal Reports, you can create powerful, richly formatted, dynamic reports from virtually any data source, delivered in dozens of formats, in up to 24 languages. SAP Crystal Reports turns almost any data source into …

0
575
Member Avatar for vishalsingh1080

I want to know more about Bittorrent . Like , how it works . I'm not looking for an overview as i have a little knowledge about it . I want a deeper and a technical insight to it . Maybe if I could somehow get hold of the code …

Member Avatar for divinotech
0
573
Member Avatar for yuvi2288

hi experts, [code=html]<a href="http://www.example.com"> goods </a>[/code] this is the hyperlink i have to used for example. i want to get the term 'goods' in the above hyperlink through jsp if i will click 'goods'. can i get the term in jsp like the below snippet?? [code]<% String goods=request.getParameter("goods"); %>[/code] or …

Member Avatar for Vishija
0
14K
Member Avatar for miltonbburke

Hello, I am using this very basic form of the dom scraper to scrape image urls from tumblr webpage, it kinda does what i am looking for but i am facing two issues. 1. Its scraping all links, i want it to scrape only links that contain "media.tumblr.com" 2. I …

Member Avatar for miltonbburke
0
228
Member Avatar for boomerang2711

Sorry if this question is asked already; but I could not find any such post. I am currently working on an issue on inode reported by a customer. **Issue**: In customer system, we see the following error every time he reboots: `EXT4-fs error (device sda1): ext4_lookup: deleted inode referenced: 3855` …

Member Avatar for rproffitt
0
258
Member Avatar for Abdelaziz_1

Hey,now i need to Replace this text "Kelvin.1337" From textbox1.text....By meaning when i write into textbox1.text a word i need to change Kelvin.1337 to the word which i wrote it into textbox1.text photo link: http://imgur.com/5EOsMob but i got problem when i write the word it delete all text and appear …

Programming vb.net
Member Avatar for Phoguez
0
186
Member Avatar for jo386

Hello all. I apologize in advanced if this has been asked before but I have not been able to find this information via google or searching here. Everything I found is related to how a for loop works. I know how to use a for loop in python and what …

Member Avatar for rproffitt
0
288
Member Avatar for Amr.Mohammad87

Greetings, I am a newbie in web development and I am working on a website backend using ***ASP.NET***, ***Bootstrap***, and ***jQuery*** and I need to upload files, simply photos, that will be used to be displayed on the frontend banners. I already used the HTML5 file API to read the …

Member Avatar for AleMonteiro
0
372
Member Avatar for Mike Bishop

I am importing data from excel into datagridview its kind of working fine. my data is like this in excel 10001 MR NEW 10002 MR OLD 10003 MR CLEAN 1MB21 MR DIRTY 1BA12 MR DIXON 1EA12 MR RYDER When I load the data all is loaded untill it gets to …

Member Avatar for Rene vK
0
369
Member Avatar for amhoor

Database systems and Administration Scenario: PEC offers several programs. Each program is supervised / chaired by a Head of the department (HoD) who is a lecturer. One HoD can lead only one program. There are several departments for each program. Many modules are offered by each department. Few departments are …

Member Avatar for pritaeas
0
366
Member Avatar for sahilmohile15

Hello guys, Here i am having another error. Error is undefined index on my products.php page i tried everything i can to define it but if i define it code doesn't work so here's the code products.php: <?php require_once $_SERVER['DOCUMENT_ROOT'].'/Online Store/core/init.php'; //Including database path stored in init.php include 'includes/head.php'; //Including …

Member Avatar for pritaeas
0
461
Member Avatar for Sibghah

I need to sort some information from an array. I'm trying to find the minimum value out of two numbers, from a csv file, the first part of the information in the file is the names of people, so instead of 0, I put 1 in int(row[1]) import csv print("1 …

Member Avatar for Sibghah
0
233
Member Avatar for hhaannyy

hello this code for add the auto number form the access table to the form vb but But it only works when the table contains data but when the table is empty does not work and the bill number appears a blank Sub New() InitializeComponent() Try Dim BillNo As New …

Member Avatar for Phoguez
0
223
Member Avatar for Kyungwon

Given a typed List collection of int values named dueDays that has already been sorted, write the code to retrieve the index of the element with the value 30 and store the result in an int variable named dayIndex. Given a typed List collection of int values named dueDays that …

Member Avatar for AleMonteiro
0
409
Member Avatar for altjen

hi all, I am having a problem with importing images into Database with code. I've done this so far Dim conn As New Data.SqlClient.SqlConnection("Data Source=virtualmachinelink,1433;Network Library=DBMSSOCN;Initial Catalog=School Management;User ID=me;Password=mypass") 'dont worry about the connection string, is good, Dim SDA As New SqlDataAdapter Dim bSource As New BindingSource Try conn.Open() Dim …

Member Avatar for AleMonteiro
0
310
Member Avatar for johndohmen1963

Hi i have a conflict with a string i want some words of a string to make lowercase shal i have as string Valkenburg Aan De Geul But i want it to make it as Valkenburg aan de Geul the folowing code dos not work ang gives a conflict If …

Member Avatar for johndohmen1963
0
218
Member Avatar for hastings.george.5

In my javascript code, I want to clear the text fields after done with the operations using onclick command. Question: Is there a predefined fuction to serve this purpose?

Programming javascript
Member Avatar for hastings.george.5
0
174
Member Avatar for Elizabeth_9

somebody help me with this please package py.com.sistemas_ventas.view; import java.beans.Beans; import java.util.ArrayList; import java.util.List; import javax.persistence.RollbackException; /** * * @author Mirtha */ public class DepartamentoView extends javax.swing.JFrame { /** Creates new form DepartamentoView */ public DepartamentoView() { initComponents(); if (!Beans.isDesignTime()) { entityManager.getTransaction().begin(); } } /** This method is called from …

Programming java java-swing
Member Avatar for stultuske
0
593
Member Avatar for ctrl+s

Hello All, I am fairly new to Vb.net. I have experience in MS Access and VBA. I am trying to connect a remote Oracle Database through vb.net but getting the below error. But, the same Oracle database connecting with the help of SQL Developer. Can any one please help me? …

Member Avatar for ctrl+s
0
437
Member Avatar for Noorul Ariff

Dear... I'm doing INVENTORY PROJECT... I'm using ACCESS as BACK-END... My tables are PURCHASE and SALES... In PURCHASE table, fields are CODE(primary key), PRICE, DATE, TOTAL, QTY... when I'm entering datas in form and when i click submit, the datas stored... but when i enter same DATA(CODE), it is showing …

Member Avatar for Steffany
0
8K
Member Avatar for rose_2

I decided to learn how to program with Ada language .. if any one can advise me which compiler that I have to use ?? there are many of them .. but i havn't any knowledge about

Programming
Member Avatar for rubberman
0
252
Member Avatar for COKEDUDE

How would I go about making this table? ID Type Value X int 4 Y int 4 Z float 0 This is the only way I can think of but I don't think this will work. int main(int argc, char *argv[]) { char *strings_line1[3] = {"ID", "TYPE", "Value"}; char *strings_line2[3] …

Member Avatar for rubberman
0
193
Member Avatar for joshl_1995

Hello Daniweb Community, I've been looking around online for help with this but I can't seem to find a way to get a query to do what I want. The image below should pretty much say what kind of result I'd like to get, it's pretty much merging the tables …

Member Avatar for joshl_1995
0
291
Member Avatar for pretty_4

**i have to make a project program in C#.. i need some guidance about what to make and how.. i am little bit confuse about what to make .. So can please help me out Thank you..**

Member Avatar for pretty_4
0
200
Member Avatar for programmerUSM

Hi everyone, i need someone to help me. my code below will loop to fill the data .my problem now is i need to sum the total of the amount based on the region. How to get the amount based on region without enter the loop and only print out …

Programming asp.net mssql
Member Avatar for tdrosiadis
0
298
Member Avatar for ansh.29

How can I insert select list value's(dropdown) name and id into database ? Help will be appreciated.

Member Avatar for milil
0
312
Member Avatar for janicemurby

hi im not sure if come into the right section but im looking at adding a chatroom to my site for my users to use and im wanting it where they dont have to log in or register to chatroom instead they login on site and the username is same …

Member Avatar for mblan180131
0
209
Member Avatar for dstaner

Hey, i got some previous help with this program i had to write for a school assignment. The problem was assigned as follows: "Write a program that calculates the balance of a savings account at the end of a three-month period. It should ask the user for the starting balance …

Member Avatar for hichamhicham
0
2K
Member Avatar for can-mohan

Hi All, I just want to know whether use of shared_ptr is justified in below code here or do i need to use unique_ptr instead of shared_ptr? #include <iostream> #include <memory> using namespace std; class a { int a1 ,b; public: a(int x=0,int y=0):a1(x),b(y){} void fun1() {cout<<a1;cout<<b;} }; class b …

Member Avatar for madhav sai
0
200
Member Avatar for sashiksu

I want to make 6 digit number and put it number of count at data grid view 1. Currently I used below code. This show numbers like 1,2,3,4,5..... like.... For Each row As DataGridViewRow In DataGridView1.Rows Dim obj(row.Cells.Count - 1) As Object For i = 0 To row.Cells.Count - 1 …

Member Avatar for Phoguez
0
302
Member Avatar for Parth_3

Hi Friend, dtpdate datetime that's my field and datatype in vb.net use dtpdate.text Error: The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value. The statement has been terminated. please solve my problem. Thanks & Regards

Programming sql vb.net
Member Avatar for Phoguez
0
279

The End.