199,114 Archived Topics
Remove Filter ![]() | |
In php file while loop is used to populate data in array in a following way, [ICODE] $result = mysql_query($sql ) or die ('Error, list failed. ' . mysql_error()); while($row = mysql_fetch_array($result)) { $row[tableLegends]; $link[]=$row; } [/ICODE] and for loop is used in printing data in theme file [ICODE] for … | |
hi to all, i want to create dynamic pdf file from database table , simply I wnat to implement "Download as PDF File" feature in my website. I don't know how to do this...! plz reply. | |
Hi, I started a new C# Class library project, and added an exe (.NET 3.5 with custom components) file as reference, also added other dll files used by that exe, i noticed that not all classes within that exe file are visible, i would have prefered to import a dll, … | |
i have a site the is live being testes but it wont let mail be sent and i have changed it to mail.companyname.com like i was told but still nothing and the sever said i need yes, you will need to put the full email address in order to make … | |
I have a Folder on the Web Server that has files that have been uploaded by users via my Web App. I would like to create a button click event that would download the Folder (Directory) and all of its contents. Currently I have a link on a web page … | |
Hello, iam developing some site in asp.net using C# and SQL Express. The site deal with digital printing solution, and i have some upload form which handel with files upload for print. In this form there is a few kind of data (like: personal details, pre-print details etc..) there is … | |
I need to access the information in an excel file, my only problem is, all the forums i read use the ODBC bridge via the data source tool buillt into windows. Since i am running windows 7, i can only assume, i get an error such as the setup routines … | |
Hi I have three MS SQL 2000 Servers distributed as follows: (img Server 1: Name: JBCB_SRV1 OS: Windows 2003 SE DB: MS SQL 2000 Server SE MS SQL Replication: Publisher Source DB: Northwind Server 2: Name: WEB OS: Windows 2000 Server SE DB: MS SQL 2000 Server SE MS SQL … | |
I am trying to display Indian time in a text box using PHP , my script is working but there is no 'AM' or 'PM' . I am getting the time with AM or PM when i am using echo statement . Help me please ..... this is the screen … | |
Hi, I seen an IDE a while ago that stated that you do not need to install or require Admin Priviliges to use on any PC. I can no longer find it. Does anyone know of such an IDE? | |
Hello all, I've been working on a project where I wish to retrieve two sets of information from a MySQL database using two prepared statements. When I try to do this I get a blank screen, but the first query is successfull executed. Any suggestion would be greatly appreciated. Thanks. | |
Hie all I am trying to make my game playabel over a network, Client/Server. I have managed to design the game, i have also managed to create a chat program whereby all clients connect to the server and messeges sent are all received and updated by the server to all … | |
my data report is portrait. how I change it in landscape. | |
My project is all about queue implementation... please write me a code about calculator with queue. tnx. | |
[code] Dim workspace(1 To 4) As Long ' (1)=left (2)=top (3)=right (4)=bottom SystemParametersInfo &H30, 0, workspace(1), 0 ' &h30 = get workspace size Dim X As Long, Y As Long, w As Long, h As Long X = workspace(1) * Screen.TwipsPerPixelX Y = workspace(2) * Screen.TwipsPerPixelY w = workspace(3) * … | |
Basically, what I want to do is... Have a listbox with a list of directories and the executable name in, e.g. "C:\Directory1\file.exe" "C:\Directory2\file.exe" "C:\Directory3\file.exe" And then using My.Computer.FileSystem.CopyFile(Application.ExecutablePath, [Each List Item Here], True) To copy itself to the directories I want to :) How can this be done? Thanks | |
Hello, In the past I had written the following function to parse a string that was tab delimited: [CODE]void parseLine(string s) { string fid, src, dst, cap_e, cap_f, fare_e, fare_f; istringstream isstream (s); getline(isstream,fid,'|'); getline(isstream,src,'|'); getline(isstream,dst,'|'); getline(isstream,cap_e,'|'); getline(isstream,cap_f,'|'); getline(isstream,fare_e,'|'); getline(isstream,fare_f,'|'); }[/CODE] Now I need to parse a string where I … | |
hi, actually in the system i use at office, there is no internet connection, but in local help i am not able to find few of my doubts, so how can i search for them with out having the internet connected.. in vc++ 6.0 i get complete help without connecting … | |
Hi, I need help in understanding nested loops. Here's my problem. I'm asked to write a code that emulates a cash register. Using only while loops and do while loops, and can be with the help of if/else statements. Desired output : Welcome to CrappyMart type (-1) when done to … | |
I'm new to this technology. I'd be glad if somebody help me in starting this and guiding me where to start? and how to start? to learn this new technology. | |
Hi, I am now want to retrieve only year from my table(summary),field name(dates). So i am facing the problem on how to display the year in combo Box. my sql statement as below. Thanks If i put [b]SELECT DATES[/b], that means day,month and year will display. So, what should i … | |
Is there a way to isolate the nth record from a table using [U]sql queries alone[/U]? The table is a [U]non relational[/U] one and you cannot use any temporary tables...Do u think there is a possible solution for this in MS SQL Server 2000? Otherwise tell me whatever you know? … | |
Hi, well, this 1 is driving me crazy, my recent project in which i need to show a display unit in my windows form. Am not getting how exactly i can put this forward, but, let me try.. i need make a seperate panel, n in that i shud draw … | |
Hello it's me again! So I've managed to create 4 linked drop down boxes like: Country : [===Country===|v|] Client : [===Client===|v|] Environment : [===Environment===|v|] System: [===System===|v|] And it's working fine with the codes written at the end of this post. Next step is I wanted a Table to contain 2 … | |
I have the following nested javascript collection (below) and I'm trying to access the information within the collection using prototype so I can properly style and layout the data. I'm stuck and would like to know if anybody could assist. [CODE]var teams = { "team1:" { "QB": "Alexander Hamilton", "RB": … | |
I have implemented the “Sign in as different user” authentication functionality, using windows authentication, on our website. The functionality is same as SharePoint. I used explicit “un-authentication” by following code on our page which executes when user clicks on “Signin as different user” option: [code] protected void SignInAsDifferentUser_Click(object sender, EventArgs … | |
Hi folks, I'm really at a loss here, and I'm no really even sure if this is the place to post-if not, please feel free to send me where you think I can figure this out! I have a php login page that is connecting to a database that is … | |
#include <iostream> using namespace std; double average(int x); int main() { int a,b,c; cout <<"average is:"<<average(a,b,c); cin >>a>>b>>c; return 0; } double average(int x) { return (x+x+x)/3; } | |
Only have Visual Studio 2008 about a week but just ran into something inexplicable to me. This include file (and others like it)... [CODE=C++] //DoTestData.h #ifndef DOTESTDATA_H #define DOTESTDATA_H unsigned int iCreateDB(TCHAR*); unsigned int blnMakeTable(SQL&); int GetRecordCount(SQL&, unsigned int&); unsigned int blnInsert(SQL&, TCHAR**, unsigned int&, HWND, int); unsigned int blnDumpData(SQL&, … | |
I've been having problems with email in 3.1.1. I decided to try the examples from the docs. Alas, the first I tried didn't work. I tried to send a directory whose only contents were a single zip file. [code]#!/usr/bin/env python """Send the contents of a directory as a MIME message.""" … | |
Hello I am very new to PHP. I want to make it so i can edit a certain div in an HTML page using a WYSIWYG editor such as TinyMCE. Is there a way to do it so lets say I have a list of all the pages on my … | |
I have a DLL that copies an Access database, opens it, reads it, and then closes it. The second time through it is unable to copy the Access DB because the EXE has an open handle to it. The EXE does not reference the Access DB at all, it just … | |
Hi, [B][I am experienced][/B] I would like to create a virtual 3D world. I am familiar with SDL and 2d graphics programming. I am experienced with C++ and I know a little Java (I have enough programming experience to learn a language quickly). I am familiar with the traditional game … | |
How would you write a string that has "are" in it: I beleive this would be a wrong way ? String GetString = [B]"Hello how "are" you"[/B] | |
I have created a form, created a table with background image (image can be changed dynamically) & inside table there are some divs <div>. There are some texts in div, these texts can be altered. What I need to submit/preview the form, when the form will be submitted 'only table' … | |
class B is nested insider class A but it does not declare the class B as its friend. However, the member function void B::print(A a) can access to the private member data int a, b of class A. The books introduce the nested class must be declared as friend then … | |
I have this piece of code wherein I want p to point to array index with value 10 struct_a { int value; ... } There is an array of struct_a. finditem looks through the array to find one with value = 10; main() { struct_a *p; fixup_p(p, 10); } void … | |
Hi all, I am having problem about file operations. There are a few numbers in my txt file. I want the program to calculate average of these numbers in the txt file. The code I have written is as below. Number of numbers in the file is 5. When I … | |
I have adapted a program that implements a register of players and stores the players in a struct, with BIN file handling. Now it's not possible to use the records after they have been loaded from the BIN file. The compile is ok and both functions below are excuted without … | |
Hello, I'm trying to get my first RMI Program working, and I keep getting a Timed out exception. I believe that the error is occurring in the "bind" method... Does anyone know what the problem might be? Here's the code and the error: [code=Java] /** Server */ import java.rmi.registry.Registry; import … | |
Hello, for the project I'm working on, I need to be able to access say, a JPanel object that was created from the execution of a Jar file, and use it inside another class outside of the Jar file. Any ideas? Thanks | |
I am writing some code which already gets the pixel array from an image, I then alter the pixel values. How do I now display this new pixel array as an image? I hope someone can help. Thank you | |
I'm a student trying to teach myself C. I know the basics of it and now I would like to write a simple DLL using the WinAPI so I can use it in another BASIC-like language. I'm using CodeBlocks with the compiler it comes with (since I can't afford to … | |
hi :) This is my code: [code] public static void ChangeColor(string myObject, string myColor) { myObject.ForeColor = Color.myColor; //This doesnt work, why? } private void button1_Click(object sender, EventArgs e) { ChangeColor("Programming", "PowderBlue"); } [/code] "Programming" is a label I've written many programs in VB but i'm new to C# so … | |
Hi guys, I am currently doing my assignment. It requires me to create a program that will be able to create an address book using File.So far, I managed to display all the contacts, search the contacts and delete the contacts. But , I m not able to sort the … | |
I have suddenly began getting 'out of memory' messages while editing an Acess2003 module VB code. It deletes the entered text that caused the message. There is no error number - that's the exact text. Restarting Access and rebooting have no effect. XP SP3, Access 2003, VB 6.5, 1.5GB memory, … | |
Hey I have a website and the administration panel is powered by cPanel. I cant seem to find out why i cant send mail when using the site I have squirrel mail installed and I have a cPanel password changer plug-in installed for squirrel mail., . here is the codeing … | |
Hello. First of all, sorry for making the other thread before looking more deeply. I did not make this mistake this time, though. I have a really odd error. I have no idea what might cause it. Here's the error (Gives me two of these). [code] \main.cpp(74) : error C2143: … | |
hi , i m looking for a project which contains some graphics,lots of functionalities, and most of all is something different from the normal management projects (online test,hote; or lib mgmt etc). I have thought of something related to "Stock exchange" or Artificial intelligence project(which can predict behavior of situations-"brainstorming" … | |
hi i want to compile .c file as .cpp file using makefile!!. please some one help me to create makefile |
The End.