199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Russ_Kauk

Hi! This is my first post in this forum. Thanks in advance to anyone who can help with this! I hope this makes sense. I'm also relatively new to PHP, so I hope I have used terminology correctly in describing the problem. I am not sure how to accomplish what …

Member Avatar for Russ_Kauk
0
193
Member Avatar for mzetka3

I'm new in c++ so please be patient. ;) I'm trying to create abstract fabric. My errors: [ICODE]1>ObslugaOkna.obj : error LNK2019: unresolved external symbol "public: __thiscall Figury_Produkoj::Figury_Produkoj(void)" (??0Figury_Produkoj@@QAE@XZ) referenced in function "public: static long __stdcall ObslugaOkna::WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@ObslugaOkna@@SGJPAUHWND__@@IIJ@Z) 1>C:\Documents and Settings\Mati\Pulpit\Nowy folder (4)\grs\Debug\grs.exe : fatal error LNK1120: …

Member Avatar for Fbody
0
90
Member Avatar for BaSk

Ii have been working on a shopping cart, the way my cart works is that for each item in a users cart the data is stored in a database. So if the users has a hat and a glove there are 2 rows in my table, the rows are joined …

Member Avatar for whiteyoh
0
132
Member Avatar for rairai979

Hello, I'm using SQLBulkCopy to import data from a text file. There is a lot of data involved and I would really rather not import it row by row. There seems to be a problem with fields containing both numbers and text. (for example, a phone number '555-1212'). All fields …

Member Avatar for rairai979
0
79
Member Avatar for alvalany

Hi friends, I am doing Bachelor's Course In Computer Science Engineering. Recently I recently completed my course on Application Development and Database Management. Coincidentally a few days ago I was asked by my friend to do a simple software for managing his store. So, i thought I got an opportunity …

Member Avatar for alvalany
0
131
Member Avatar for bookmark

Hi, I'm trying to get this program to read a file which contains a matrix. I am trying to output a text file which has the matrix of the input file but with the average of each row. Every time I enter the name of the inputFile and the outputFile …

Member Avatar for Fbody
0
210
Member Avatar for tomtetlaw

Is there a way to ensure that all un-initialized pointers automatically have the address 0x00000000? Sometimes they're being set to other addresses but still being unitialized, and they pass tests like if(!ptr), causing an unhandled access violation error.

Member Avatar for tomtetlaw
0
98
Member Avatar for jlego

Im not familiar with the correct terminology to use with this. I have a form that i need to use in two different projects, and the form can remain identical for each project. I have read that there are code bases in other ides, where i could make a shared …

Member Avatar for jlego
0
191
Member Avatar for arctushar

Hi I m finding for a solution. But this is very critical I think. Though its very critical, I hope you will solve this. problem is as below I have 5 divs with no ID. say as [CODE] <div>The quick brown fox jumps over the lazy dog<input name="" type="button" /></div> …

Member Avatar for mahavir123
0
286
Member Avatar for hanvyj

Ok, im gonna go ahead and just paste most of the stack trace in, (its massive) : java.io.NotSerializableException: com.sun.java.swing.plaf.windows.XPStyle at java.io.ObjectOutputStream.writeObject0(Unknown Source) at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) at java.io.ObjectOutputStream.writeSerialData(Unknown Source) at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) at java.io.ObjectOutputStream.writeObject0(Unknown Source) at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) at java.io.ObjectOutputStream.defaultWriteObject(Unknown Source) at javax.swing.JComponent.writeObject(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at …

Member Avatar for hanvyj
0
457
Member Avatar for Kiseki

Im currently running out of ideas at the moment and need some suggestions or ideas. [B][I]The alert (a popup) should be generated when the time at which the call-back time has been requested is in 1 minute from the current time.[/I][/B] My current program uses a while loop which keep …

Member Avatar for Kiseki
0
154
Member Avatar for n0de

Hi, been programming all day long, and tryed to compile my program, everything is fine, except some kind of nonsense with ofstream.. These are the problems, and i don't know why ofstream says such things, because in my other programs everything is fine with seekg, or tellg, and everything else …

Member Avatar for n0de
0
375
Member Avatar for Mike Bishop

I have an sql table called Stock with two fields called StockID and StockCode. I want the user to select the stockcode from a combo which in turn populates the stockid for that item into a lable on my form. I have already populated the stockcode into the combo but …

Member Avatar for crapulency
0
171
Member Avatar for Rorkhill

Im creating a program in Dev C++ and the program has a switch statement in it to take the user to a differ 'page'. For example the user presses 1 and it takes them to a page that deals with orders etc. E.g. [CODE]switch(mainmenu) { case '1': Menu1(); break; }[/CODE] …

Member Avatar for Fbody
0
982
Member Avatar for nicolechuah

<html> <head> <script type="text/javascript"> function insRow() { var x=document.getElementById('myTable').insertRow(1); var y=x.insertCell(0); var a=x.insertCell(1); var b=x.insertCell(2); var d= '<input type="button" value="Delete" onclick="deleteRow(this)">'; var e= '<input type="text" id="answer" />'; var f= '<input type="text" name=num; id="answer1" />'; y.innerHTML=e; a.innerHTML=f; b.innerHTML=d; } function deleteRow(r) { var i=r.parentNode.parentNode.rowIndex; document.getElementById('myTable').deleteRow(i); } function check(browser,browser1) { document.getElementById("answer").value=browser; document.getElementById("answer1").value=browser1; …

Member Avatar for Shuel
0
142
Member Avatar for sadsdw

Hi friends, I have 3 different vectors, V1, V2 and V3. V1 and V2 have the same size and each line refers the same record. I would like to write a function that get each line from V3 and check if exists in V2, and if is == "M" in …

Member Avatar for sadsdw
0
136
Member Avatar for octavia

Hi i'd like to know how to store dynamic string into MySQL database from c#.net desktop application. I was able to store only fixed data . Help me pls as i 'm new in database . thanks

Member Avatar for smantscheff
0
679
Member Avatar for jegana

Table name: upload [B][U]Id[/U][/B] [U][B] Name[/B][/U] [U][B]Email[/B][/U] [U][B]File[/B][/U] 153 Jegan [email]jeg@yahoo.com[/email] id.doc 154 Alex [email]Alx@gmail.com[/email] de.doc Consider the above table, I want to delete the [email]Alx@gmail.com[/email] in 154. Plz give the idea.

Member Avatar for smantscheff
0
92
Member Avatar for djemmers

Hi, I am designing a new db for my website. It is a database of events with the following tables. Events Category Owners Countries Regions Subregions I am left with the following dilemma, I use foreign keys to ensure fast links between the table Events and other tables (category, countries,...) …

Member Avatar for smantscheff
0
127
Member Avatar for nonshatter

Hi all, I have a simple problem. I have this javascript code which I'm using for collapsible tables: [CODE] <html> <head> <script type="text/javascript"> function getItem(id) { var itm = false; if(document.getElementById) { itm = document.getElementById(id); } else if(document.all) { itm = document.all[id]; } else if(document.layers) { itm = document.layers[id]; } …

Member Avatar for Airshow
0
147
Member Avatar for knellgust

[CODE] #include <iostream> #include<string> using namespace std; class Book { private: string title; double price; public: Book(); void setTitle(string s); void setPrice(double p); string getTitle() const {return title;} double getPrice() const {return price;} bool hasKeyword(string key); }; Book::Book() { title="None"; price=0; } void Book :: setTitle(string s) { title=s; } …

Member Avatar for Fbody
0
80
Member Avatar for Mona..

hi.. i write this statement there is no errors but it not showing me the out put this is the my code: [CODE] #include<fstream> #include<iostream> using namespace std; int main() { fstream infile; fstream outfile; infile.open( "classnames.txt",ios::in ); outfile.open( "bufferednames.txt",ios::out ); infile.unsetf( ios::skipws ); int ch; for( int i=0; i<4; …

Member Avatar for Mona..
0
258
Member Avatar for public-image

Hi Guys :) erm Im not the biggest on Javascript its more like a second language unlike PHP and HTML erm anyway, I am trying to redirect users with Javascript, the reason I am using javascript is so that users don't see the URL, its more of a precaution on …

Member Avatar for Airshow
0
225
Member Avatar for hassan_wah

Hi, I am working on a project in VB.net 2008. I have a problem arising while opening a form as modal from a modeless form. I have attached a project to demonstrate the problem. This demonstration contains three forms with following characteristics. - “Form1” is main form of the demo …

Member Avatar for Luc001
0
178
Member Avatar for Transcendent

What is the difference between writing a application java program and a java program? I was asked to write an application java program and then I was asked to write a java program(s). Which is just one program and which is the one with that has to have two files …

Member Avatar for Slimmy
0
147
Member Avatar for bleedi

Hey, I have a problem in my database. I have these two tables: [CODE] Table "File": +----------+--------------+-----+----------------+ | Field | Type | Key | Extra | +----------+--------------+-----+----------------+ | idFile | int(11) | PRI | auto_increment | | path | varchar(255) | | | +----------+--------------+-----+----------------+ Table "Media": +----------+--------------+-----+----------------+ | Field | …

Member Avatar for bleedi
0
120
Member Avatar for sciprog1

Hello Members, I am trying to understand the pipe() system call. I found this program online: [CODE] #include <unistd.h> #include <stdio.h> #define MSGSIZE 16 char msg1[] = "hello #1"; char msg2[] = "hello #2"; char msg3[] = "hello #3"; main() { char inbuf[MSGSIZE]; int p[2], j; /* open pipe */ …

Member Avatar for sciprog1
0
176
Member Avatar for bookmark

Hi, I'm trying to make a program that reads a text file that contains about 4 rows of numbers and outputs the average for each row. I need help with these two errors. It is not complete but I need help on these so I can continue. Any help is …

Member Avatar for Perry31
0
189
Member Avatar for SindujaArun

Hi all i have a listview with few records im able to delete the records from the listview but after deleting the record the listview is not getting refreshed pls me to solve this.... Here is the code: [code] If frmName = "frmcust" Then If del_CustCode.Count >= 1 Then If …

Member Avatar for SindujaArun
0
87
Member Avatar for theo23

i have these 2 selections Code: [code] <select id="rooms" name="rooms"> <option>Please Choose</option> <option value="1" >1</option> <option value="2" >2</option> <option value="3" >3</option> <option value="4" >4</option> </select> <select id="type" name="type"> <option>Please Choose</option> <option>Single - 50£</option> <option>Double - 60£</option> <option>Luxury double - 70£</option> </select>[/code] i would like to give these values single:50 double:60 …

Member Avatar for Shanti C
0
103
Member Avatar for happygeek

How do you create a mission-critical website providing exceptional performance yet at the same time being flexible, reliable and scalable? That's the question that Kyle Loudon, a software developer and manager of a user interface development group at Yahoo!, sets out to provide the answers to in his book: Developing …

Member Avatar for Devendra_WIPRO
0
500
Member Avatar for Eric Cute

Hello to all (",) Basically, I have a JSP page. What I want is to determine the screen resolution of the client machine that is viewing my JSP page. I tried using a JavaBean to do this but Im not getting the results I wanted. So I use JS. My …

Member Avatar for Shanti C
0
29K
Member Avatar for TonyMUK

This is driving me mad. This program reads 8 records from an iseries data queue and then I get the segmentation fault. I can't work out why. Does anyone have any ideas? Please!! [CODE] #define WIN32_LEAN_AND_MEAN // Include the necessary DQ Classes #include <iostream> #include <fstream> #include <windows.h> #include <cwbdq.h> …

Member Avatar for TonyMUK
0
137
Member Avatar for Mike Bishop

I have the following code that will update one field called RCon in sql, does anyone know how i can update a few at the same time? i would like to update the sql field (called stockdesc) [CODE] Dim con As New SqlConnection Dim cmd As New SqlCommand Try con.ConnectionString …

Member Avatar for Mike Bishop
0
5K
Member Avatar for blackcloudbd

Can any one help me with these codes: i m freaking out here I split my program in 3 parts. 1. main - prac.cpp 2. interface - base.h 3. implementation - base.cpp in prac.cpp the code is: [CODE]#include <iostream> using namespace std; #include "base.h" int main(){ Base ob; ob.set(); ob.get(); …

Member Avatar for blackcloudbd
0
179
Member Avatar for mtvaran

Hi guys, could you please check this code for me. basically displaying data from two table. i get error massage like... Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\wamp\www\dis_take.php on line 91 [CODE]<?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } …

Member Avatar for mtvaran
0
123
Member Avatar for alexia_net

Hi. I have created a form with 4 textboxes and one listbox. What I want to do is for every record which i select from the list to populate the boxes with information from a MySql database. I have managed to do this for one textbox, but i have a …

Member Avatar for alexia_net
0
115
Member Avatar for Sara Tech

I work with Visual basic 2010 express and Sql server 2008 Express I established Person and Specialist tables data base .I want to make Insert /update/ delete Here object declarations in a module : [CODE] Public str As String 'string sqlcommand Public con As New SqlConnection("Data source =Sara\SQLEXPRESS ; initial …

Member Avatar for pavankumard2079
0
174
Member Avatar for terrymold

Hi everyone I need a bit of help with a problem involving HTML, JavaScript and PHP which I'm hoping someone here can help me with. I have a working PHP script which uses a FORM section to get data input, which actions itself to do some PHP and JavaScript calculations …

Member Avatar for terrymold
0
144
Member Avatar for dinoboy

Hello folks I am trying to get a PHP variable to pass values to a sample javascript but nothing shows up if I tried to echo the result. I tried passing regular strings as arguments and those worked fine. It just doesn't seem to be working if I tried to …

Member Avatar for Dragonbaki
0
195
Member Avatar for skorm909

Basically what I'm trying to do is simple. My main problem is the random numbers, but in the comments i have some other issues... if you know how to fix them that would be great the other two main ones im having trouble with are: the do loop until the …

Member Avatar for jonsca
0
146
Member Avatar for User4699

I'm trying to implement a maze program by using nodes that reads in a file and the user is able to enter a direction and solve the maze. My class will not output correctly and I've been working on it for a LONG time. Any help is appreciated! I also …

Member Avatar for Greywolf333
0
679
Member Avatar for AngelicOne

I have a pair of questions.. I am quite new to this gridview in asp.net using C#.. I have used the following code to bind the sql database table from my gridview. [CODE]SqlDataAdapter da = new SqlDataAdapter("select customerid, customername from table",con); ds.Clear(); da.Fill(ds); gridview.datasource=ds; gridview.databind();[/CODE] And set the autogenerate columns …

Member Avatar for crishjeny
0
2K
Member Avatar for testie

Hey guys, this code is supposed to remove all the spaces at the end of each line. However from what I can tell it prints out the exact same file again instead of removing nothing. Have I been using the wrong test files? Or is there something wrong with my …

Member Avatar for richieking
0
106
Member Avatar for MichaelWClark

Hello I am building a web page and decided that this time around I would make many user web controls as to have a very modular and customizable site with ease.. Anyways it was going off without a hitch until today I designed a new control. Its a panel with …

Member Avatar for crishjeny
0
85
Member Avatar for ChPravin

Hello All, I have a Collapsible Panel Extender inside a datalist.I have a hyperlink inside the panel within the datalist. I want to have a modal popup on clicking the hyperlink inside the panel and I want the modal pop up to be populated with the data from the navigate …

Member Avatar for crishjeny
0
636
Member Avatar for himanjim

I'm really having hard time importing ASPNETDB.mdf to remote server running sqlserver 2005.. I'm using sql server express edition (along with visual web developer 2008) I use the same string [code=asp.net]<add name="aspnetusers" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ASPNETDB.MDF;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient" />[/code] No connection can be established.... Then I changed that to [code=asp.net] <add …

Member Avatar for crishjeny
0
428
Member Avatar for Jesi523

I need some help. I have a website where people can create a class or event with times and places for the class or event. Once this instance is created they are supplied a link for people to sign up and a passcode for them to use to modify the …

Member Avatar for crishjeny
0
127
Member Avatar for crisabraham

I am doing a project on developing a one time password system. In that, I have to encrypt a counter value and secret key together by HMAC SHA 1 algorithm. But the counter value and key need to be stored very safely on the server. Is there anyway by which …

Member Avatar for JamesCherrill
0
125
Member Avatar for BasicGamer

I was wondering, how exactly would I go about doing that. I want assign the arrow keys to command buttons. For Example: Command1 would be the UP arrow key, command2 would be the LEFT arrow key, command3 would be the RIGHT arrow key, command4 would be the DOWN arrow key.

Member Avatar for AndreRet
0
870

The End.