199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
[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 … | |
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]; … | |
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! | |
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 … | |
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 … | |
how would be able to display all the names a user entered. the user entered the names through a while loop | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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' … | |
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. | |
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 … | |
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 … | |
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 = … | |
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 … | |
[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 () … | |
![]() | 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 … ![]() |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
Hi I wanna when checkbox checked write 0 to 5 in my list box please help me thanks | |
i want code for search in vb6.if i give see it will search seeni,seenivasan,seetha,mooseetha,etc | |
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);} | |
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 … | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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: ************************************ <? … | |
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 … | |
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 | |
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 | |
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 … | |
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 … | |
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 | |
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. |
The End.