199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for servis

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 …

Member Avatar for blocblue
0
81
Member Avatar for sakhi kul

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.

Member Avatar for dnanetwork
0
287
Member Avatar for ghaith

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, …

Member Avatar for ghaith
0
176
Member Avatar for lucky13

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 …

Member Avatar for cwarn23
0
142
Member Avatar for PhilipJohn

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 …

Member Avatar for kvprajapati
0
83
Member Avatar for elidotnet

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 …

Member Avatar for dnanetwork
0
147
Member Avatar for Tyrial

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 …

Member Avatar for Tyrial
0
161
Member Avatar for faruque_alam

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 …

Member Avatar for sknake
0
90
Member Avatar for vijaysoft1

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 …

Member Avatar for cwarn23
0
145
Member Avatar for leviathan185

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?

Member Avatar for leviathan185
0
245
Member Avatar for CodeBoy101

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.

Member Avatar for peter_budo
0
177
Member Avatar for nelsao1

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 …

Member Avatar for sybarite29
0
2K
Member Avatar for abu taher
0
65
Member Avatar for glyd

My project is all about queue implementation... please write me a code about calculator with queue. tnx.

Member Avatar for glyd
0
113
Member Avatar for hery

[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) * …

Member Avatar for sknake
0
98
Member Avatar for vaq

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

Member Avatar for sknake
0
87
Member Avatar for k007

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 …

Member Avatar for k007
0
108
Member Avatar for arunkumars

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 …

Member Avatar for sknake
0
98
Member Avatar for KungFuTze

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 …

Member Avatar for KungFuTze
0
2K
Member Avatar for crazy4fun

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.

Member Avatar for crazy4fun
0
308
Member Avatar for chanlichin

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 …

Member Avatar for chanlichin
0
158
Member Avatar for deostroll

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? …

Member Avatar for huangzhi
0
183
Member Avatar for arunkumars

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 …

Member Avatar for arunkumars
0
126
Member Avatar for AdventDeo

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 …

Member Avatar for Josh Connerty
0
241
Member Avatar for Chad Gary

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": …

Member Avatar for Chad Gary
0
205
Member Avatar for bobgates123456

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 …

Member Avatar for shabbir.hussain
0
128
Member Avatar for mbirame

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 …

Member Avatar for Josh Connerty
0
98
Member Avatar for xfreebornx

#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; }

Member Avatar for thug line
0
94
Member Avatar for Frederick2

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&, …

Member Avatar for Frederick2
0
117
Member Avatar for foosion

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.""" …

0
252
Member Avatar for jonow

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 …

Member Avatar for jonow
0
135
Member Avatar for TheBrenda

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 …

Member Avatar for sknake
0
115
Member Avatar for BlackPhoenix

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 …

Member Avatar for Ezzaral
0
143
Member Avatar for Lukezzz

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]

Member Avatar for Lukezzz
0
98
Member Avatar for koyel555

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' …

Member Avatar for FlashCreations
0
172
Member Avatar for dennis.wu

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 …

Member Avatar for dennis.wu
0
2K
Member Avatar for checkforc

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 …

Member Avatar for Dave Sinkula
0
277
Member Avatar for esesili

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 …

Member Avatar for mrnutty
0
133
Member Avatar for Sune

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 …

Member Avatar for Sune
0
150
Member Avatar for llemes4011

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 …

Member Avatar for llemes4011
0
2K
Member Avatar for llemes4011

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

Member Avatar for llemes4011
0
174
Member Avatar for jooa

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

Member Avatar for jooa
0
865
Member Avatar for josephe

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 …

Member Avatar for josephe
0
130
Member Avatar for Alexar93

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 …

Member Avatar for serkan sendur
0
104
Member Avatar for themask18

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 …

Member Avatar for themask18
0
152
Member Avatar for garylelandsmith

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, …

Member Avatar for garylelandsmith
0
76
Member Avatar for lucky13

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 …

Member Avatar for digital-ether
0
154
Member Avatar for metalclunch

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: …

Member Avatar for vibs123
0
181
Member Avatar for sam_inquisitive

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" …

Member Avatar for mytime19
0
159
Member Avatar for kaustubha.s

hi i want to compile .c file as .cpp file using makefile!!. please some one help me to create makefile

Member Avatar for Salem
0
83

The End.