199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Fernando_1

# VARIABLE DEFINITIONS name="" adress="" city="" state="" zipcode="" course1="" course2="" course3="" course4="" course5="" #----------------------------------------------------------------------- # CONSTANT DEFINITIONS courses= "Enter courses name (Type 'STOP' when finished) :" pointsR = "\tEnter points received ( Type '9999' when finished) :" pointsP = "\tEnter points possible for this assignment :" #----------------------------------------------------------------------- # FUNCTION DEFINITIONS …

Member Avatar for woooee
0
179
Member Avatar for Ayesha.Shahnawaz

Ok, so my form displays an error saying "run time error. could not find installable ISAM." everytime i run it. And its pointing at "conn.Open" part of the code when i run it. heres my code: Dim conn As ADODB.Connection Dim rec As ADODB.Recordset Dim rec1 As ADODB.Recordset Dim rec2 …

Member Avatar for AndreRet
0
2K
Member Avatar for homeboy

Hello, I created a dynamic object but I do not know how to use it when the instanciation of the object is finished. I would like to call some methodes from Class Base by an objet that I created dynamically. Can you explain me, pls? Thank you This is my …

Member Avatar for homeboy
0
237
Member Avatar for on93

can anyone show me how to convert this linkList statement into Array ? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ class linklist { private: struct node{ struct student{ // node->info string name; int id; string prog; double cgpa; }st; node *link; }*head; public: void insFirstNode (string name, int id, string prog, double cgpa); }; void linklist::insFirstNode(string …

Member Avatar for on93
0
114
Member Avatar for Jake.20

Greetings everyone i really need some help about this error. If (maleRbtn.Checked = True) Then gender = 0 ElseIf (femaleRbtn.Checked = True) Then gender = 1 End If If (dietRbtn.Checked = True) Then purpose = 0 ElseIf (BDrbtn.Checked = True) Then purpose = 1 End If Try sqlCmd = New …

Member Avatar for Reverend Jim
0
322
Member Avatar for Agilemind

I'm helping a friend on a research project. She has a list of websites (~100) which she wants to download all the text from several pages of the site for use in another program. However she is not technology savy (has never used Linux or programmed before) but is very …

Member Avatar for Agilemind
0
162
Member Avatar for cereal

Hello, I'm trying to display a message depending on the value of an input field. But it stops working when going back to default. Here's the JQuery code: $(document).ready(function(){ test(); }); function test() { $('#quantity').keyup(function(){ var quantity = $('input:text#quantity').val(); if(isInteger(quantity)) { var msg = false; if(quantity > 1) { msg …

Member Avatar for cereal
0
196
Member Avatar for onakoya.adedamola
Member Avatar for <M/>
0
133
Member Avatar for pucivogel

I have this code it uploads photos and deletes photos, but how can i make it to upload photos in a folder i want not in the same folder where the script is, i just can't see where can i implement the path. Here's the whole code: <?php /** * …

Member Avatar for Squidge
0
307
Member Avatar for pucivogel

i have downloaded this script , a photo gallery which creates albums, uploads photos, deletes them, i nedd to insert the path of the folder according to this instructions : $script_url=$_SERVER['PHP_SELF']; //Change this if you want to use this as an include file. $files_path="./album/"; // Where does the album start? …

Member Avatar for Squidge
0
260
Member Avatar for dxnitz

hi, I'm doing a web that can show html file code into textarea using php but my problem is when reading a html file that also contain textarea this is my html <html> <body> <textarea> Trying this !!!!!!!! </textarea> <br> <span>ASD</span> </body> </html> and this is my php code that …

Member Avatar for broj1
0
308
Member Avatar for Learningvinit

I ran same code linux and HP platform And the result stored was different. I found that the boundar for comparison is 255. It can be more undersstood from the below code. #include <stdio.h> int main() { FILE *fp=fopen("linux2.txt","wb"); int a = 100; int c=0; int i=0; for (i=0; i …

Member Avatar for Learningvinit
0
177
Member Avatar for Learningvinit

Hi All, While running a piece of code on Linux and HP i found the differenc in the result. Can Anyone Explain Why it is giving different results? #include <stdio.h> int main() { int a = 0; int b = 30030; int c = 34094; int d = 0 ; …

Member Avatar for Learningvinit
0
600
Member Avatar for MRehanQadri

#include <iostream> using namespace std; struct td{ int ** subj_no; }; int main(){ td p; **p.subj_no = new int * [7]; } If not then how should I accomplish this task? What's the corrected version?

Member Avatar for vmanes
0
176
Member Avatar for alanso

hey guys i need help!! i am having problem with add cart...when i puchase and item it comes out this error "Response.Redirect("~/Payment.aspx?total=" + total_price)" bellow are my code. Imports System Imports System.Collections.Generic Imports System.Linq Imports System.Web Imports System.Web.UI Imports System.Web.UI.WebControls Imports System.Data.SqlClient Imports System.Data Partial Public Class Cart Inherits System.Web.UI.Page …

Member Avatar for alanso
0
141
Member Avatar for sagisgirl

Hi all.. im now building a web-system using php..and i have 4 groups of users 1- G1 2- G2 3- G3 4- G4 in my db, those are in my table called "u_userGroup" and for my entity is "groupCode". so, these 4 groups have different privileges to each page.. G1 …

Member Avatar for sagisgirl
0
205
Member Avatar for amweasel

I have been trying to make a simple "quiz" program on Python. And this is what I coded: print("Mathematics Quiz") question1 = "Who is president of USA?" options1 = "a. Bharat Chauhan\nb. His dad\nc. His mom\nd. Barack Obama\n" print(question1) print(options1) while True: response = input("Hit 'a', 'b', 'c' or 'd' …

Member Avatar for amweasel
0
469
Member Avatar for Dili1234

when I try to insert values I got this error: I Used this code myConnection = New SqlConnection(connectionstring) myConnection.Open() Try Dim insert1 As SqlCommand = New SqlCommand("INSERT INTO [VBP].[dbo].[Return_Total] ([RGN0],[Date] ,[Totalamount],[User_Id],[C_NIC],[Comments],[Bill_No]) values ('" & Val(TextBox2.Text) & "','" & DateTimePicker1.Value.Date & "','" & TextBox4.Text & "','" & TextBox6.Text & "','" & …

Member Avatar for tinstaafl
0
126
Member Avatar for ckjaseem

I have a button which uploads a background image to a folder and saves the file name to the database, but I cant figure how to re size the image before uploading it. Actually I am facing two problems. 1 - How to resize the image and upload it. 2 …

Member Avatar for LastMitch
0
302
Member Avatar for sophy27

So I have been able to post the comment in the page I am creating and that comment is also saved in the comment table in the database with the id of the picture but when i am in the first picture and I comment the comments are posted saved …

Member Avatar for LastMitch
0
268
Member Avatar for dana2292

Hello every one i want know i can read one text file in c# i f we can do it please explean for me how can i do it thanks alot

Member Avatar for castajiz_2
0
403
Member Avatar for new_zal

Hi all Just looking a creating a possible java or jsp based messenger for a web site. I have tested java based lan messengers, p2p messengers and even openfire+spark+smack instant messaging, XMPP (also called Jabber) which I admit I liked a great deal. They say dont try re-invent the wheel …

Member Avatar for M4trixSh4d0w
0
424
Member Avatar for TrustyTony

Here is my celebration post for entering level 3 in Project Euler. Again I left in my debug prints. I am in process of adapting myself to new .format style of formatting. I have commented out the prints though to get visible the running time of the functions own action. …

Member Avatar for TrustyTony
0
706
Member Avatar for dp121307

I have to make a login program where the username and password are taken from an existing file. I have successfully, in my opinion, opened, read, and brought out all the user names and passwords from the file. The problem is, the user is only allowed to input an incorrect …

Member Avatar for woooee
0
2K
Member Avatar for engrjd91

Scanner input = new Scanner(System.in); System.out.println("Enter a value : "); String s3 = input.next(); System.out.println("Enter another value: " ); String s5 = input.next(); String s = ("1= add, 2 = subtract"); int op = Integer.parseInt(s); double result=0; switch (op) { case 1: result = addValues(s3, s5); break; case 2: result …

Member Avatar for engrjd91
0
138
Member Avatar for luke.belleghem

I need a script that replaces "login" with "logout" when im logged in and vice versa. Anyone know of a god tutorial that teaches how to do this?

Member Avatar for Octet
0
471
Member Avatar for x38class

I have found the following post re this issue does any body have any idea which is correct 1. [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Comdlg32] "NoFileMru"=dword:00000001 2.HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer Value Name: NoRecentDocsMenu Value Type: REG_DWORD Value Data: 0 or 1 0 = Yes, allow recent docs 1 = No, do not allow recent docs Value Name: ClearRecentDocsOnExit …

0
247
Member Avatar for castajiz_2

This is just an example i have to do a simillar thing on a much larger code , but my question is why doesn t this work? I solved my problem with a string method and return statements but why can t i use a void method with the result …

Member Avatar for tinstaafl
0
310
Member Avatar for engrjd91
Member Avatar for engrjd91
0
143
Member Avatar for aabbccbryanmark

hi folks, im having a problem here on my code can't figure what's wrong.. so here's my code: import java.awt.*; import java.awt.Font.*; import java.awt.Color.*; import java.awt.Button.*; import java.awt.event.*; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.awt.event.WindowListener; import javax.swing.*; import javax.swing.JOptionPane; public class Calc extends JFrame implements ActionListener { JTextArea txtArea; static final …

Member Avatar for stultuske
0
556
Member Avatar for sufu
Member Avatar for tux4life
0
109
Member Avatar for sophy27

Hi, everyone! I need some urgent help with displaying images in a web page from a database. I've created the table picture in phpmydamin and it has these columns: id_picture( wich is the primary key), name, description and the pic_url ( wich contains the url path of the image for …

Member Avatar for sophy27
0
1K
Member Avatar for hitro456

Hi All, I have a binary search tree (consider following structure). struct bst { void *value; struct bst *left, *right; }; I want to save this unbalanced binary search tree in a file. And when I read this file, I don't want to recreate the tree from these nodes. So …

Member Avatar for rubberman
0
612
Member Avatar for fyra

Hi guys and gals. How can I find write or open for example? I tried man write and man open but those were not the pages I was looking for.

Member Avatar for rubberman
0
122
Member Avatar for anisha.silva

hi how do i get the value of the checkbox list from a web page? appreciate a reply thanks

Member Avatar for JorgeM
0
113
Member Avatar for korathualex

I am redirecting using different roles superadmin,hr assistant etc to aspx pages with in folders respectively..But in foreign iis <!-- For more information on how to configure your ASP.NET application, please visit http://go.microsoft.com/fwlink/?LinkId=169433 --> <configuration> <configSections> <sectionGroup name="devExpress"> <section name="settings" type="DevExpress.Web.ASPxClasses.SettingsConfigurationSection, DevExpress.Web.v12.1, Version=12.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" requirePermission="false"/> <section name="compression" type="DevExpress.Web.ASPxClasses.CompressionConfigurationSection, DevExpress.Web.v12.1, …

Member Avatar for JorgeM
0
283
Member Avatar for josverhoeff

My vb6 to vb.net converted application performs about twice as slow as the classic ASP version. Here is the setup: I have an old ASP application that uses for most of its function calls a vb6 dll of 30000 + lines of code. I managed to convert the dll into …

Member Avatar for TnTinMN
0
533
Member Avatar for oail

Hi, can anyone help me by showing me a sample of MS Access linked to Visual Basic that have edit, delete and add function?

Member Avatar for Ancient Dragon
0
212
Member Avatar for bajanpoet

I was working on a project in my VB.NET Express and suddenly my code that was working fine and starting up as normal gave me this error: {"An error occurred creating the form. See Exception.InnerException for details. The error is: Format of the initialization string does not conform to specification …

Member Avatar for Reverend Jim
0
705
Member Avatar for danielgr

I need to consume a web service in VS 2010 using VB.NET that gives a result of a class type. I've already added the reference and called it with: Dim mag As New Magento.ecommerce I can create a variable as the class: Dim Stockcodes As New List(Of Magento.clsStockcode) I just …

Member Avatar for danielgr
0
301
Member Avatar for arjay1

I am converting a traditional website to WordPress for an animal rescue charity so members can have a blog and more easily update various pages. All has gone well but I am stuck on one key aspect. Viewers of the original site can click on a page that will then …

Member Avatar for arjay1
0
475
Member Avatar for vssp

hai friends I want mail server setting in my php appliacation no need to change the php ini file I got some sample code like this $mail_ini=ini_set(SMTP,"mail.ebscon.com"); $mail_ini=ini_set(smtp_port,25); This code working on only Windows machine only. But I am using linux machine Any option without change the phpini file to …

Member Avatar for IIM
0
544
Member Avatar for kimangel

Hi experts, my time value display is the word "true" on Label2.caption and not a real time. On Label1.caption the is the exact date. Only the time got wrong. below is my code: Private Sub Timer2_Timer() Label1.Caption = Date Label2.Caption = time End sub I have a timer1 the dispaly …

Member Avatar for AndreRet
0
106
Member Avatar for Samyx

Hello Everyone, I created a form so that users can select date range. Based on the date range later on it would show a graph. I am still in the first part trying to get the value selected by the user so I can generate the query from the database. …

Member Avatar for IIM
0
646
Member Avatar for LastMitch

Hi, I been learning **OOP** slowly. I'm stuck how to resolved an **function query() on a non object issue**. My files are very basic: This is my **db.php** file: <?php global $db; class foo_mysqli extends mysqli { public function __construct($host, $user, $pass, $db) { parent::__construct($host, $user, $pass, $db); if (mysqli_connect_error()) …

Member Avatar for broj1
0
852
Member Avatar for methuselah90

Bear with me please because my SQL is not that good. I want to write a query that takes into consideration information from 3 different tables. Let me explain the situation: When a customer books a room, they have the preference of several rooms and the rooms can be booked …

Member Avatar for adam_k
0
188
Member Avatar for nitin1

can anyone please explain me in brief that how exactly this container work ? or can u giveme some link of this. i have tried to look on some links by google, but i am not much clear about my doubt. please help me if u can. thanks.

Member Avatar for mike_2000_17
0
423
Member Avatar for AARTI SHRIVAS

i want to add multiple texboxes on button click and store that value in database can any one help me out how to do this i know some javascrip and jquery neede but don't know how to store the all texbox value to database because for multiple texboxes in database …

Member Avatar for AARTI SHRIVAS
0
3K
Member Avatar for sarman.boyslo

newbie wanna ask... please help let say i have a form, in this form i make a menu, if i click it, it will show a form, mini form (sub form), in this form i put a textboxt and a button, the textboxt contain some value and changeable, if i …

Member Avatar for rishif2
0
212
Member Avatar for Fernando_1

System.out.printf("\nRegular pay:$ %.2f",regularPay) System.out.printf("\nOvertime pay:$ %.2f",overtimePay) System.out.printf("\nTotal Pay:$ %.2f",overtimePay+regularPay); to print like /Regular Pay: $ Overtime Pay: $ ///Total Pay: $ ignore the '/'

Member Avatar for bguild
0
171

The End.