199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for nepeanmedia

Hi Folks What I'd like to be able to do is to upload files .doc, .xls, .pdf etc and only provide access to certain users. For example user X lgos in and has access to X.doc and X.pdf. User Y logs in and has access to Y.doc and Y.xls. Is …

Member Avatar for langsor
0
104
Member Avatar for retareed

I need to display a dropdown list of hospitals several times (10) in one form and I'm not sure of the best way to go about this. I can get the first list to display, but the subsequent lists just show "Select". This is my code: [code]<td width=\"200\"><select name=\"hospital1\"> <option …

Member Avatar for langsor
0
324
Member Avatar for Fragmad

I really need help. I'm pretty new to c++. I want to send a simple keystroke to notepad (not really notepad, but I'm using it while I learn). I might have forgotten something, I don't know. I have a feeling it's some retarded mistake... [CODE]#include <windows.h> #define VK_A 0x9E void …

Member Avatar for Fragmad
0
256
Member Avatar for ramseswar

i want to create a table in sql database using php code. if i try to use the sql command(given below) in my php source code [code]"CREATE TABLE new_table( id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT, id1 VARCHAR(55) NOT NULL id2 VARCHAR(32) NOT NULL, id3 CHAR, PRIMARY KEY(id));"[/code] i get syntax …

Member Avatar for langsor
0
132
Member Avatar for MxDev

hi guys, how to detect that the text in the JEditorPane has been changed to tell the user before exit the application.

Member Avatar for MxDev
0
70
Member Avatar for nanodano

I'm writing a Win32 application for Windows XP with Visual Studio 2005. It is a console program, and I'm trying to find the HWND attribute of my console. I need this because I need to use it as a parameter for a function. So, thanks to the MSDN library I …

Member Avatar for lenhattien
0
535
Member Avatar for TechNovice

Hi, I am currently trying to create a program where I input a file called "exp.txt" that contains two columns: 1) date 2) expenses. There are 100 rows. Essentially I'm trying to read a file containing DATE-EXPENSE pairs and find the average EXPENSE between two specific Dates. Eventually, I will …

Member Avatar for VernonDozier
0
133
Member Avatar for venetian_jigsaw

I am unable to get my pop-up to resize or hide the toolbar when I select a thumbnail. I entered the width & height in my onclick event, bu that did not seem to work. I am guessing that I probably need to enter the attributes in the function and …

Member Avatar for langsor
0
138
Member Avatar for wallish

I'm relatively new to C#, having migrated over from C++, so I'm a little confused about the use of variables. I have a class called User located in the program's main namespace [code] // In User.cs namespace TestProgram { class User { public string name; public int id; public User() …

Member Avatar for LizR
0
134
Member Avatar for dexter1984

Part of the code from the program I'm having trouble with. The deletion of array element for this doesn't work properly. Can anyone tell me why? I can't spot any mistakes though zzz, [CODE=cpp]cin.ignore(); delStudentCounter = 0; cout << "Please enter ID to delete student: "; cin.getline(delStudent, 50); for (int …

Member Avatar for Salem
0
101
Member Avatar for hassanahmad

Hi everyone ! I am a new to this forum. I have a question to ask: I have developed a php imagehosting script for one of my customer. The demonstartion can be found at : [url]http://picly.com[/url] (I have not uploaded the admin panel there, but you can find it here: …

Member Avatar for Goins
0
198
Member Avatar for kishore84

[code=c] #include<stdio.h> #include <stdlib.h> #include <time.h> #include<conio.h> const int LOW = 1; const int HIGH = 150; int main() { int grid[30][30]={0},x,j,i,die; int data_points, tempx, tempy; for(x=0;x<150;x++) { tempx = rand() % 30 + 1; tempy = rand() % 30 + 1; data_points = rand() % (HIGH - LOW + …

Member Avatar for ArkM
0
150
Member Avatar for Logi.

My database knowledge is pretty limited but im hoping this will work...... The idea is to have a database for customers who have their grass cut fortnightly. The database will be mail merged to form bills every month or so... So far I've constructed a database with the following tables: …

Member Avatar for Atheeth
0
99
Member Avatar for maydhyam

Hi All, Could you help/guide me accordingly please...My intentions with this piece of code is for the relevant image to display with the respective user...my problem is that it doesn't work for the second user type (SysAdmin), it only works for 'Admin'... [CODE=php] <tr> <td width="255"> <? if($arr[6] != 'Admin' …

Member Avatar for maydhyam
0
105
Member Avatar for bhall

This seemed like it would be easy when I decided to do it but it turned out to be a bit more difficult than I would have thought. Basically, I've got a file. data.txt that is full of data formatted like this name|value and in side a script i've got …

Member Avatar for KevinADC
0
129
Member Avatar for kevinsjones

Ok , I'm new here and looking for help already. I am working through Sams teach yourself VB.net and I've lost a form! Well not quite but i am trying to get to my form in design view and I just cant seem to get to it. It opens when …

Member Avatar for kevinsjones
0
146
Member Avatar for SNN

Hi, I am new to Perl and I appreciate if someone can help me. I have a tab delimited file that contains 100 columns and 300 rows. The first row is the ID. I need first to read the file into a matrix or a table and delete the columns …

Member Avatar for KevinADC
0
159
Member Avatar for Jennifer84

There is one detailproblem that always occurs when I read text from a file and then putting this text to a multilined richTextBox. What happens is that the text begins on Row number 2 in the textbox and not on the top(Row 1). It seems that a linecharacter perheps is …

Member Avatar for Jennifer84
0
80
Member Avatar for shobhit123

doubt on garbage collection How the garbage collection thread is called. Who calls the garbage collection thread. Is it jvm itself. Is it called by jvm when ever we start running a program. And when we say that garbage collection is an automatic process then why do we implement [code]System.gc()[/code] …

Member Avatar for jwenting
0
67
Member Avatar for welles

Dear all, I am trying to print out some outputs defined by my own in different function calls and classes into a debug file, I saw in one source code using macros like: #ifdef DEBUG_OUTPUT #define debug2 printf #else #define debug2(arg1,...) #endif and with a call to this macro like: …

Member Avatar for Salem
0
193
Member Avatar for mashimaro

Hi, I've got 2 problems with sh: 1) I have a list of logins, seperated by a space (in a logins.txt file, like so: login1 login2 login3). I'd like to display those login names which are online AND on that list. So I made a list of those online: users …

Member Avatar for Salem
0
113
Member Avatar for Duki

Which is better? We're designing a new autonomous robot for the competition we attend during the summer and this is one of our topics for design. I want to do a dual-processor, multi-core computer to run the software. Some others want to do distributed computing (between two laptops). Am I …

Member Avatar for Salem
0
276
Member Avatar for Kob0724

I've been trying to compile a program I wrote with QT on a Mac for about a week now and I can't get it to work for the life of me. I'm very confused because the code compiles just fine on a linux machine using a core 2 duo, and …

Member Avatar for kmote
0
254
Member Avatar for Mr Brownstone

Hey I got a form which has no form border style. The problem is, when I run my maximise code the form covers the whole screen including the start bar. Is there anyway around this? Obviously when you click the form border's maximise button it fits nicely with the start …

Member Avatar for Mr Brownstone
0
94
Member Avatar for Gabums

I am going to apologize off the bat for posting an email form question when there are sooooo many others... but honestly, i looked at them all before i wrote this. I have a form that contains a place to type in 'name', 'subject', 'message', and 'email'. When ever the …

Member Avatar for Gabums
0
132
Member Avatar for Poab9200

Hello, I'm having an issue trying to get the data from several TextBoxes in FormB to FormA. In FormB I use a string to gather the data from the TextBox like so: [CODE=csharp] private void asBtnOk_Click(object sender, EventArgs e) { string asRate = asBoxRate.Text; } [/CODE] Then I go to …

Member Avatar for Poab9200
0
119
Member Avatar for vinnyroundfoot

Hi Everyone, I will soon develop a web application (normally with PHP (cakePHP)) which should allow the users to view their related PDF files. Obviously, I dont' not want that users are able to view other user's PDF files (using for example URL rewriting). I'm looking for a solution for …

Member Avatar for nepeanmedia
0
1K
Member Avatar for Dekudude

Hi there! First off, let me say I HAVE Googled the subject, but all provided functions... didn't work. Simply put, I want a function that closes my Python script, and then reopens it. I tried making my own, which would open the same file, sleep 2 seconds, and then close, …

Member Avatar for mathijs
0
3K
Member Avatar for sagedavis

Hi all, as a web developer, I am working on cross browser usage. I know, I know, there are websites that take snap shots. The issue is a bit more indepth. I've got stuff that LOOKS alright in most browsers but don't exactly function properly (some javascript stuff, some dom …

Member Avatar for mittelgeek
0
153
Member Avatar for Diode

I don't know what happened to my previous topic about this. But I am using an AJAX menu on a page I am making for somebody, and I used the exact same code w3schools recommends to use: [CODE]function updatemenu(leagueno, confno, location, mode) { xmlHttp=GetXmlHttpObject(); if (xmlHttp==null) { alert ("Your browser …

Member Avatar for langsor
0
183
Member Avatar for melodopolis

Hi all, first of all I'm totally new to this programming thing. I've just started a degree course in IT and struggle a bit with getting the right code to do stuff. Are there any books anyone would recommend to someone who thinks "Dim" is what lights do? Oh yeah …

Member Avatar for asnider
0
103
Member Avatar for J-son

The following program is to produce the sum of Even and Odd array element. The program works properly when I use int instead of double. But getting errors when using double. Could anyone tell me what is the problem? Cus I wan it by using double array. and I don't …

Member Avatar for J-son
0
92
Member Avatar for mycsmi

I have one question! How can i check form fields against the database and then display an error! Please help me for example go to mycsmi.org There is a form on the index.php page .... a user submits the info to the database but what if there is a duplicate …

Member Avatar for mycsmi
0
193
Member Avatar for gouki2005

Hi..look this mi module [CODE] Module Module1 Sub Main() Dim nume As New numeros Console.WriteLine("Numeros aleatorios") Console.WriteLine("Escriba numero 1") nume.setnumero1(Console.ReadLine) Console.WriteLine("Escriba numero 2") nume.setnumero2(Console.ReadLine) Console.WriteLine("Escriba numero 3") nume.setnumero3(Console.ReadLine) Console.WriteLine("El menor numero es {0}", nume.numeromenor) End Sub End Module [/CODE] this mi class [CODE] Public Class numeros Private numero1, numero2, numero3 …

Member Avatar for selvaganapathy
0
126
Member Avatar for Coyboss

I am working on a simple "test 123" java program for a RoboJDE robot. I keep getting a semantic error when I compile. The error reads ***semantic error: "private" is not a valid modifier for al ocal variable*** ***semantic error: "staict" is not a valid modifier for a local variable*** …

Member Avatar for Coyboss
0
277
Member Avatar for Mr Brownstone

Hey Guys, I am currently making a VB.net version of the Classic Ski Free at the moment. (which is going really well) But I got a issue where I got a panel on the main form (the player movement area) and when I full screen the application obviously the panel …

Member Avatar for Mr Brownstone
0
90
Member Avatar for chern4ever

i m starting to learn c++. i m trying to do a console app. this is my code but i encountered a problem with it after i key in num1 and num2 the total will be display for about a few mili seconds and the console terminate itself. if i …

Member Avatar for Nick Evan
0
93
Member Avatar for jainendra.shah

hello frds, I have write table in xml file and want to execute query from xml direclty. how I perform. My way is --- first I write two table "ftable" and "stable" in xml as "ftable.xml" and "stable.xml" then create query as " Select id,name from ftable UNION Select sid, …

Member Avatar for LizR
0
100
Member Avatar for programmer321

Hello, I have a query regarding a DOS command. I know this link is not the right place to ask queres about DOS but didnt find any another link in this forum. I need to send Cntrol +C to a running Exe (running on Windows) using a batch file.Can Any …

Member Avatar for mittelgeek
0
1K
Member Avatar for Ub3r Crippl3

Hi, I'm using a program called FunEditor which compiles in C++. I doubt many people have heard of this program, but if you have, I would appreciate the help. I'm working on creating a Mario-style platformer game, and am trying to make a function where if the Player collides with …

Member Avatar for Ancient Dragon
0
109
Member Avatar for besktrap

Hi everyone! I am making a simple chat program in batch (it doesn't use the net send command). It consist of a main DOS window that you chat with called PM, a .txt file called Log that stores what you say, and a DOS window called PM LOG that prints …

Member Avatar for mittelgeek
0
182
Member Avatar for elva.tanaem

Hey Guys, I'd like to try using function and procedures on my project, I tried to write them on different unit say unit2 to be used in unit1. I find a difficulties using them in unit1. thanks in advance! Elva

Member Avatar for elva.tanaem
0
327
Member Avatar for balakrishnan.kb
Member Avatar for balakrishnan.kb
0
267
Member Avatar for dev.cplusplus

Hi to all, hi have the following problem, I hope someone can help me. I need to replace special chars that appear in a string. [B]for example if I have the string:[/B] this- is a !string with special chars- [B]I want to receive[/B] this45 is a 33string with special chars45 …

Member Avatar for ~s.o.s~
0
170
Member Avatar for Lothia

I apologize I posted one before finding this area and this is where I should have origonally posted. I have become quite interested in three areas for an eventual masters degree, however with out a large amount of information it would be stupid for me to make any decision. Any …

Member Avatar for Rich_121
0
194
Member Avatar for Luckychap

Hi all, I am very new to Unix. Please help me to write a script. Here is the discription of what the script should do: The script won't need to be horribly complex; it's to check to see if the hawkagents(a process) on a server have been restarted since the …

Member Avatar for Luckychap
0
154
Member Avatar for chenzhp

Why static data member 'int' could initialize in class body? but 'double' can't? eg: [code=cplusplus] class Example { public: static double rate = 6.5; //wrong... static int versize = 20; //right } double Example::rate = 6.5; //yes [/code] What reason by design that syntax ?

Member Avatar for chenzhp
0
207
Member Avatar for rrocket

I am trying send information to the DB and the SP will return a recordset. The problem is that I keep getting this error (ADODB.Recordset error '800a0e78' Operation is not allowed when the object is closed). I saw a bunch of posts using queries, but none using SPs and cannot …

Member Avatar for ardeezstyle
0
327
Member Avatar for shobhit123

kindly expalin the following doubt on run method can you explain how run method is called and who calls the run method. Also can you explain that if a main method has one more thread then how the scheduling is done.How the priority is set for main and the other …

Member Avatar for masijade
0
102
Member Avatar for hallmat

Hello wonderfull people of DaniWeb i need a little question answered can i manipulate another aplication? here is what i want to do Put a message on the screen if a program is detected as running i know how to detect it but i dont know how to send a …

Member Avatar for LizR
0
124

The End.