199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Moderns

Hi mates, I have a php page called "get_http_vars.php" that's hidden and not browsed in browser and only used to receive HTTP GET response variables from remote server. The problem the value of $_SESSION['id'] is empty when the HTTP GET variables are received (I mean when the page gets response …

Member Avatar for Moderns
0
193
Member Avatar for JDevelop

Hello there, I've just started on C and what I'm trying to do is copying one string to another (which has not been initialized before) without using any string.h functions. Here's my code. [CODE] #include <stdio.h> #include <stdlib.h> void copyString(char*,char**); int main(){ char* string1="Hello there"; char** string2; printf("string1: %s\n",string1); printf("Copying …

Member Avatar for JDevelop
0
285
Member Avatar for jlivvers

Im doing some reports on a c# winforms app ive been working on. I want the reports to generate upon a mouseclick (IE not be visible all the time) and the best way i can see to do this is use the mouse click to open a popup form with …

Member Avatar for jlivvers
0
125
Member Avatar for ben.marks

Hi there, Got some form validation but doesn't seem to even be running through it. First off the form is displayed, if you click in 'Name:' the 'ID:' box disappears so that you cant type in both, after it disappears (and vice versa), the validation should check its correct, but …

Member Avatar for ben.marks
0
211
Member Avatar for newprogrammer14

Hi guys I'm new to XSLT programming and the question I ask may appear very easy to you guys. Please help me out. This is the XML code : [CODE]<book id="12345"> <title>A<caps>New Voyage</caps>:Africa</title> <desc>abcdefgh ijklmnop</desc> </book> <book id="12346"> <title>A<caps>New Voyage</caps></title> <see id="12345">ANV</see> </book>[/CODE] I have to display the title and …

Member Avatar for iceandrews
0
207
Member Avatar for MaddTechwf

I was wondering if there is a way to add command line arguments to my application so that if someone wants to modify the settings they could run myexe.exe /settings and get the settings form of my application.

Member Avatar for codeorder
0
82
Member Avatar for minamo99

Hello, I have a large XML i am recovering data from. However,i cant seem to get more then 2 parameters out,whatever i type. i tried the following things already(without succes) -Made a substring-between -Made an extra call to a template and clarified additional parameters -Changed the values of the xpath …

Member Avatar for Erwan Amoureux
0
145
Member Avatar for Sorcher

Hello! I am trying to understand how i could make a profile page for each of my members. They all got an unique folder and i need to make something for the index. I was thinking...can i get the last word in [url]www.example.com/u/user22[/url] and compare "user22" to the $_session['username'];, and …

Member Avatar for nuttyniall
0
168
Member Avatar for Amaina

I'm a newbie to C. Just wondering if i can create input forms in C. Can i also work with C and MySQL?? as in can i build a system using C and MySQL I guess what i'm asking is what are the effective uses of C as a programming …

Member Avatar for gerard4143
0
129
Member Avatar for masterfact18

[CODE] Private Sub cmdAdd_Click() Dim sConn As String, xQuantity As Integer, xStockTotal As Integer Set oConn = New ADODB.Connection Set rsAdd = New ADODB.Recordset sConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\inventory.mdb;Persist Security Info=False" oConn.Open sConn If LenB(cmbItemName.Text) = 0 Then MsgBox "You have to select an item from the …

Member Avatar for AndreRet
0
193
Member Avatar for pucivogel

Can anyone help me out.I can't understand why am i getting this kind of error [CODE]#include <iostream> #include <string> #include<sstream> #include<iomanip> using namespace std; void getDerivative() (double [],int[]); void print_d_Array (double[]); void print_i_Array (int []); int main () { const int polynomsize=5; string sub[polynomsize]; string coefficient[polynomsize]; string exponent[polynomsize]; double coefdouble[polynomsize]; …

Member Avatar for alaa sam
0
149
Member Avatar for RenanLazarotto

Hey guys! How can I get the progress from a console window? Like... running UPX and get the current compression progress to use into a progressbar? Thanks!

Member Avatar for RenanLazarotto
0
61
Member Avatar for kruxena

Hi guys need help here. Scenario: I have a function in my textbox1 with the got focus event. I have a 40 textbox in my goupbox1. Here is my code so far. [CODE] Private Sub Textbox1_GotFocus(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Textbox1_GotFocus ... ... For Each x …

Member Avatar for codeorder
0
21K
Member Avatar for docfnt

I'm writing a text editor for my own use ( I'm "home learning") where I want to be able to leave comments for myself, like in code section of the VB express IDE. I have figured out how to get the Integer Location of the apostrophy, but can't get it …

Member Avatar for GeekByChoiCe
0
172
Member Avatar for Mayank23

how would be able to display all the names a user entered. the user entered the names through a while loop

Member Avatar for alaa sam
0
109
Member Avatar for Asif_NSU

i will be given a set of any length and my program will have to produce the power set. For example: input: c d e output: empty c d e cd de ce cde total number of subsets: 2^3 = 8 I will try to write my own code, but …

Member Avatar for elemes
0
1K
Member Avatar for Netcode

How do I create a Dynamic crystal report? That is, I want my codes to select and filter the content of the datagrid at runtime. I need help seriously, Thanks

0
82
Member Avatar for XadRav

My xml looks something like this: [ICODE] <Staff> <Row alphakey="doejohn" building="abc" class="Algebra" /> <Row alphakey="doejohn" building="abc" class="Geometry" /> <Row alphakey="personbob" building="abc" class="Calculus" /> <Row alphakey="personbob" building="abc" class="Precalc" /> ... </Staff> [/ICODE] And basically I need it to output like this: [ICODE]Alphakey Classes doejohn Algebra, Geometry personbob Calculus, Precalc[/ICODE] I've searched …

Member Avatar for Erwan Amoureux
0
287
Member Avatar for dudzkie

hello there, i'm currently studying php and i have no idea about some codes im trying to learn how to compute a total amount that i called from a database its like this i call this data from a database using SELECT * FROM Item Price book 5.00 pencil 3.00 …

Member Avatar for mschroeder
0
90
Member Avatar for Senefelder

I hope that this question is not out of place here. I have an access 2007 database for which I made a perfectly functioning simple "front end" program in VB6. That was back in XP or Vista days. I hadn't used it since the switch to Windows 7, and when …

Member Avatar for AndreRet
0
134
Member Avatar for drdream100

hi! ok i have a search engine. it works fine. only thing is that when i write something in the textbos i must click the button 'Search' with my mouse for it to start searching. what i want to do is write something to the textbox and hit the 'Enter' …

Member Avatar for Netcode
0
112
Member Avatar for fawadkhalil

Hi people I have radio button list populated from database. By default first value is selected. How can i call JavaScript function if user selects another value in radio button list.

Member Avatar for jbisono
0
136
Member Avatar for ello

Guys, just a quick question, is there any way to get this AJAX to be called on a button click? I know how to use buttons to call JS functions but I'm not sure where to add the open and closing parentheses with this AJAX...I've tried encasing different parts, but …

Member Avatar for McLaren
0
224
Member Avatar for NewOrder

i am building a chat and i have this code: [CODE] using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using System.Net.Sockets; using System.IO; using System.Threading; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters.Binary; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { TcpListener server = new TcpListener(IPAddress.Any, 5000); server.Start(); Console.WriteLine("Server …

Member Avatar for NewOrder
0
1K
Member Avatar for johans22

is it possible to create array of pointers and set + get its elements using a class like this?. make changes/add to the class as needed. show actual code, if possible. [CODE]class t { t::t() { } t::~t() { free(array); array = NULL; } void set_size(int s) { array = …

Member Avatar for Fbody
0
150
Member Avatar for kischi

Hi, I've made a form and it can send an e-mail with the text the person filled out. But now I'm trying to do so the person can upload a file and that will be included in the e-mail as an attachment. I think the problem is that I don't …

Member Avatar for kischi
0
161
Member Avatar for fab2

[ICODE]Hi, I wrote a program which seemed very simple, a switch case nested in a while cicle. The compiler is not giving any error message, and yet when it's running, it starts an endless serie of loops and I do not understand, why.Here the code [/ICODE] [CODE]#include<stdio.h> int main () …

Member Avatar for ravenous
0
94
Member Avatar for kirtan_thakkar

I want to get details of user when he registers with my website for security reasons. I need ip and date and time I guess. Is there anything else I need to cache while registering? How to get ip,time and date? And time will be in which timezone? I want …

Member Avatar for kirtan_thakkar
0
2K
Member Avatar for manish250

hello all i have a jsp project when i run this using apache-tomcat on windows server 2003 a pop up window open in the top of the page notifying about the active x control.when i move the mouse over menu bar item it is not showing drop list.i an not …

Member Avatar for manish250
0
258
Member Avatar for starmax

Hello Guys! I just created my first VB.net project using Microsoft Visual Studio 2010 that has database(.mdf) and some forms, here is the video link of my project: [URL="http://www.youtube.com/watch?v=4YBt3vP85kY"]http://www.youtube.com/watch?v=4YBt3vP85kY[/URL] I want my project to be remote/network using lan environment, in what way i can do this? can you please help …

Member Avatar for starmax
0
875
Member Avatar for p90pts

Hi Again Looking to code the following scores into a class called 'die'. Basically i'm recreating space invaders and everytime a alien dies the relevant score needs to be added up. I currently have this as my points: [CODE] public enum gamescore { Martian = 10, Vesuvian = 20, Mercurian …

Member Avatar for darkagn
0
112
Member Avatar for paulablanca

Hi! Hope my title is understandable. I have four comboxes all containing A,B,C,D. My problem is if I have chosen letter A on the first combobox, the last three won't have letter A anymore, then on the second combobox, if letter B is chosen, the last two will have C …

Member Avatar for sandeepparekh9
0
169
Member Avatar for jamshed ahmed

i am trying to search between two dates startdate and end date there two problems problem given below 1. i have set the dtpSearchStockFrom and dtpSrchStockTo to dd/mm/yy when i enter into table it is inserted successfully but when i reterive data it show the format in datagrid as mm/dd//yyyy …

Member Avatar for sandeepparekh9
0
145
Member Avatar for 123mehran

Hi I wanna when checkbox checked write 0 to 5 in my list box please help me thanks

Member Avatar for Pgmer
0
106
Member Avatar for seenivasaperuma

i want code for search in vb6.if i give see it will search seeni,seenivasan,seetha,mooseetha,etc

Member Avatar for AndreRet
0
57
Member Avatar for johans22

can i use the same handle over again in a loop?.. HANDLE fhandle; HANDLE fhandleMap int *Mem = NULL; for (loop 7 times) { fhandle = CreateFile(file, GENERIC_READ, ...); fhandleMap = CreateFileMapping(fhandle, ...); . . Mem = ...; ... // do various things } if (fhandleMap) {CloseHandle(fhandleMap);} if (fhandle) {CloseHandle(fhandle);}

Member Avatar for thelamb
0
141
Member Avatar for McLaren

Here is the button: [CODE] <input class = "preview" type="submit" name = "Preview" value="PeržiÅ«rÄ—ti" /> [/CODE] and here is the submit: [CODE] $('input.preview').click(function() { $('form').attr( 'target', '_blank' ); document.myform.submit(); }); [/CODE] So when I submit with jquery, and try to get with php the data [CODE] print_r($_REQUEST['Preview']); [/CODE] It does …

Member Avatar for McLaren
0
133
Member Avatar for beejay321

Im supposed to write a program that reads in 10 c strings and will sort them alphabetically using (strcmp(list[h],list[j])>0) which basically says if list h is closer to the start of the alphabet then it is true else it is false here is my code [CODE]#include <iostream> #include <cstdlib> using …

Member Avatar for peter_budo
0
2K
Member Avatar for soomro_moon

can any one help me out.what is the problem with this code? [CODE]<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <script type="text/javascript"> function combofunction(){ // actions that you want to perform //You will receive a different greeting based //on what day it is. Note that Sunday=0, //Monday=1, Tuesday=2, …

Member Avatar for Shanti C
0
133
Member Avatar for track&price

I cannot get the my application (AA_Coins.exe) to run on a different PC. I have 2 pc's are using Visual Studio 2010 and Net Framework 4 Client Profile. My .exe works fine on both as expected. I put it on a 3rd PC that does not have VisualStudio with Net …

Member Avatar for Pgmer
0
113
Member Avatar for nndung179

I create the Fraction Input and Output it was fine, and then I try to put the array of the Fraction. Everything work fine until I Compile and execute the Program. This Error appear: Nullreferenceexception object reference not set to an instance of an object. Help me this error! Thanks …

Member Avatar for Ketsuekiame
0
106
Member Avatar for tehmarto

Hi all, So I got a program that I don't have source code for and want to find a function in it. I know this function is executed when I perform a specific action. What I plan to do is the following: perform this action for example 20 times, and …

Member Avatar for thelamb
0
313
Member Avatar for bkv.kannur

I am using ajax to pass php variable to javasccript function as shown below for my particular application. i am using the foolowing function from ajax.js freely available from net to implement the ajax functionality as var abc = new sack(); PHP portion which passes the response text: ************************************ <? …

Member Avatar for SatishU
0
666
Member Avatar for dev.cplusplus

I'm writing an C# application, where the user can select an entire folder and click on a button to upload the folder he choose. It is possible to upload an entire Folder to a Server(with all its files and sub folders) ? I found in the web examples, to how …

Member Avatar for iciku
0
102
Member Avatar for BEHZADnr

Hi I want add .mdf file in visual studio 2010 but in add conncetion show this error : click this link to show error [URL="http://imagenic.net/viewer.php?file=el5ce80y64r9d9bdspq1.jpg"]http://imagenic.net/viewer.php?file=el5ce80y64r9d9bdspq1.jpg[/URL] use SQL server 2008 R2 and VS2010 and I dont know what Please help me or give me a learning file or website Thanks

Member Avatar for BEHZADnr
0
102
Member Avatar for newcoder310

how to modify the contents of a file Example:: If there is a file with hello #how are you Then how to delete the # and maintain the same file

Member Avatar for masijade
0
108
Member Avatar for arjunpk

hi guys.... can someone please give me the code to automatically enter the movie name and the imdb id in the website given below... and then pull out the poster which it generates.... [url]http://api.movieposterdb.com/console[/url] i have to use this in an ssis package script component... to pull out images for …

Member Avatar for arjunpk
0
123
Member Avatar for Agent Cosmic

Hello, I'm currently designing a simple movie database. In a table I have a column called status. And for that there will only be a few possibilities like "pending", "watched" etc... What would be a good way to design it such that I have some kind of constant? Should I …

Member Avatar for griswolf
0
134
Member Avatar for idrian211

write a program that utilizes looping to produce the following table of values: A A+2 A+4 A+6 3 5 7 9 6 8 10 12 9 11 13 15 12 14 16 18 15 17 19 21

Member Avatar for griswolf
0
82
Member Avatar for cjoyce

hey guys. is it possible to drop an MS Access Database using Oledb in VB.Net? if yes, then how? i've been searching from Google but can't find any answer.

Member Avatar for cjoyce
0
111

The End.