64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for cwarn23

Hi and I must know if this script is valid to determine if the Java console and my Java compiler need reinstalling. I have tried so many samples and my browser shows an invalid message. My file is named 'filename.class' and below is the script I have used to test …

Member Avatar for cwarn23
0
474
Member Avatar for realnsleo

hi there, i am developing software that allows insurance companies to send text messages to their clients when their insurance expires. i want to add a function that allows the system to automatically send these messages n number of days before the expiry date. ('n' being number of days specified …

Member Avatar for realnsleo
0
97
Member Avatar for uim_1977

Hello Peopel!!!! I have a problem with a definiton. I have defined a form, in dll, then i had to include the file in the same form, after compiling i'm getting worning Public symbol '_DllCustomers' defined in both module CUSTOMERDLL.OBJ and CUSTOMERFORM.OBJ here is the code [CODE] //--------------------------------------------------------------------------- //CUSTOMERDLL.CPP #include …

Member Avatar for mitrmkar
0
160
Member Avatar for m_arian

Hi This is my first DaniWeb post so I hope I get it right. My problem is homework. I have almost got it but I'm having trouble with the pointers. The entire program will output svg code but I've tried to leave out as much as I can to reduce …

Member Avatar for skatamatic
1
127
Member Avatar for uim_1977

Hello everyone!!! Whow know how to determinate which Field in DBGrid is active???

Member Avatar for uim_1977
0
264
Member Avatar for NinjaLink

Hello, I am trying to get the stock count to print for each of the toys: ps3, elmo, and wii. I don't have any clue on how to do it. To print the stockcount, i created the function getStock to try to do the job. Can someone help me get …

Member Avatar for NinjaLink
0
135
Member Avatar for unleashedvigil

I am needing to have this program choose between two options randomly. The program all works except that when I use this line of code: int x= rand() % 2; it seems that it's not random but rather follows the same pattern every time. I have searched and found things …

Member Avatar for unleashedvigil
0
86
Member Avatar for enzogoy

Hi all I have a few page of PHP just for internal use. Its function only obtain the data from the users enter and write it to an .csv file. Everything works fine til this morning I do a check again and I found out that It didn't write to …

Member Avatar for enzogoy
0
108
Member Avatar for uim_1977

People what do i do wrong, i'm new to the forum, but for some reason i'm not gettig any ansfers to my questions, please tell me what do i do wrong???? Thank you.

Member Avatar for VernonDozier
0
92
Member Avatar for Liszt

How could it be possible to synchronize the computertime to ex: GMT or any timeserver on the internet ?

Member Avatar for Liszt
0
166
Member Avatar for mineko_panda

Hi I'm tackling down an extra credit assignment which I'm so confused on. We are to design a basic JS Grade Calc where we input our scores and it gives us our grade. For extra credit we have to snazz it up a bit. So far this is what I …

Member Avatar for mineko_panda
0
162
Member Avatar for thanatosys

I have a homework assignment for a c class I am in currently, the assignment is to write a simple spell checker. I am having a bit of trouble understanding how to write a trie in c. A trie would be composed of nodes, which contain the following I believe: …

Member Avatar for thanatosys
0
265
Member Avatar for Spartan552

Hello everybody, I have various components that I want regroup in the same category. I found numerous screenshots on the internet using some sort of frame surrounding items. For instance : [url]http://www.vieartificielle.com/images_robot/e70d6615e7b9c9ecfacdc7e977425d6d/cache_500_wifi_robot_photo_gui.jpg[/url] (the frame surrounding "Joystick information" section) and [url]http://bp3.blogger.com/_45gEBj4xUTA/RwefQvOgIjI/AAAAAAAAACQ/pKezYz2qQCQ/s320/RobotUI.jpg[/url] (the frame surrounding "Current data" section). I dont know how …

Member Avatar for Spartan552
0
99
Member Avatar for pduregi

Hello everyone. I am a student working on network protocols. Now I have a rough idea to use mathematical tools, e.g. formal methods, to examine or even build the model of protocols. As I have no in-depth concept of these tools, I would like now ask some naive questions: 1. …

Member Avatar for shrughes
0
176
Member Avatar for danielpataki

Hello Everyone! This is my first post, so please excuse me for any breaches of netiquette. I am building my own from validation script, which uses separate functions for each input box like so. [CODE=html]<input type="text" name="username" onchange="CheckUsername(this.value);">[/CODE] A bit of javascript sends this along to a php file using …

Member Avatar for danielpataki
0
167
Member Avatar for danielpataki

Hi everyone! I'd like to ask a simple question to which I can't really find a definitive answer. If I condense my code a lot, will this mean an increase in loading times which is significant enough? I like having my code spaced out, readable, but I would also like …

Member Avatar for danielpataki
0
214
Member Avatar for rstkw

There is a website that makes highly optimized VB code available. Something like VBSpeed or something like that. Does anyone have a link to it?

Member Avatar for rstkw
0
98
Member Avatar for joshmo

I was reading a tutorial about 2D arrays and I decided to construct something. I managed to construct something but when I compile I get "null" as my output. I cant seem to figure out the problem. Here is the sample code. I have also higlighted in red a line …

Member Avatar for ~s.o.s~
0
594
Member Avatar for jianna

Hello all I have been learning C for about 3 - 4 weeks now and I'm in need of some help. I am trying to write a function that will give you the sum of selected integers in an array with a value of 20. I can make it give …

Member Avatar for jianna
0
461
Member Avatar for FerrousRex

My company has been using an Access 2003 database for a couple years now and the person who previously worked on it just left, the problem is he never gave me the password to unlock the Visual Basic editor window, and I can't seem to contact him. Does anybody know …

Member Avatar for FerrousRex
0
252
Member Avatar for panpanf

I have studied sql. I know what is relational database. I wanna konw how we store the data in a relational database and how to query the data when we emplement a "select" statement Is there a open source relational data base? I wanna konw the data structure of the …

Member Avatar for panpanf
0
88
Member Avatar for hlmrjr

I have a query I am currently working on a program with a lottery theme I will post the parameters as well as my code thus far. A lottery requires that you select six different numbers from the integers 1 to 49. Write a Java program that will do this …

Member Avatar for afzal_01
0
138
Member Avatar for xyster

Hello, I have what is probably an obvious question. I have a basic GUI, one is bsaically no more than a menu in its own class along with a bunch of support classes to do what i want. Another GUI which is for editing the information whcih the main GUI …

Member Avatar for xyster
-1
86
Member Avatar for unleashedvigil

Hi Everyone, This is my first post and I hope I followed all the guidelines correctly. This is an assignment for a class. I am supposed to read integers from a file, enqueue or dequeue them and then write them out to another file. The main method calls this Work …

Member Avatar for unleashedvigil
0
88
Member Avatar for Liszt

What is the way to change size in a cell in dataGridView to 8.25 This does not seem to work. [code] dataGridView1->Rows[b]->Cells[10]->Style->Font->Size = Font->Size(8.25F); [/code]

Member Avatar for Liszt
0
114
Member Avatar for kartik14

Hi, I have a derived attribute in my table and I'm sorting the table in the descending order of this attribute. My query should retrieve all the tuples which have the maximum value for this derived attribute. If I use SELECT TOP 1, I'm only getting one of the required …

Member Avatar for Geek-Master
0
178
Member Avatar for ndeniche

Hello... is there any way of making java listen or capture an F-key input? i mean, like, if the user presses F5, a new panel will come up and that sorts of things... thnx

Member Avatar for ndeniche
0
107
Member Avatar for deraj8

I have been having significant trouble starting this project where i need to create a databse library to access an sql database. I am working in vs2008 and I should be able to just edit my app.config file and use my ODBC connection drivers. If anyone could help explain this …

Member Avatar for dickersonka
0
81
Member Avatar for jsully1

I have a bit of code my instructor sent me as an example to look at and it is giving me approx 100 errors when I compile it all of the form 'illegal character: \172' or 'illegal character: \8224'. This is a new one on me, was wondering if anyone …

Member Avatar for jsully1
0
117
Member Avatar for pyth0n

Hi, I am trying to get Python to pick random letters from a given list. However I don't want any repetitions, I just can't seem to figure out how to skip on letters already chose. Any help would be greatly appreciated. Here is what I have so far [code] let …

Member Avatar for pyth0n
0
5K
Member Avatar for buddha527

I am writing some code just for fun and I have a question about class objects. Lets say I have [CODE] class Alpha with member functions getBeta getCharlie getDelta and so on now inside main when I want to make calls to these functions is it necessary to create an …

Member Avatar for buddha527
0
112
Member Avatar for MDGM

Hi all! Im making an upload script that uploads an image file, saves it and saves a thumbnail copy in a different directory. I have tried a couple of scripts and have found one which I think will work nicely but i cannot get it working. The script is below: …

Member Avatar for MDGM
0
121
Member Avatar for SoniaBaby

I have a list that uses Scriptaculous 'Sortable' to allow list items to be drag and dropped into another list. This works just fine, however I wish to update the contents of the first list using a drop menu/Ajax. The list populates with new content just fine, however this new …

Member Avatar for SoniaBaby
0
103
Member Avatar for VBNick

Hi...I am making a speech recognition program for my own personal use, because I don't like the way the built in vista speech reco software works. Here are my questions: 1. when I open the app that I programmed in VB, it automatically opens vista's built in voice recognition software. …

Member Avatar for VBNick
0
144
Member Avatar for bemo55

I am having a problem with this project I am working on. The assignment is to create an application that will give a user the choice of displaying the roman numeral equivalence of a number between 1 and 10 or displaying a count of roman numerals from 1 to 10. …

Member Avatar for ddanbe
0
99
Member Avatar for PanGraphX

Does anyone have a solution to separate include template? I have the index.php calling for the control file and a template page. I'm wanting it to call up template1.php if you click on this, or else template2.php if you click on this. I don't know if I'm making sense. Example: …

Member Avatar for PanGraphX
0
78
Member Avatar for panpanf
Member Avatar for lostandfound

Just for anyone, who, like me, has got along using VB6 without the mousewheel whilst editing in the IDE. Until today I just assumed it wasn't an option. There is a simple fix in the form of a free addin from microsoft. [URL="http://support.microsoft.com/kb/837910"]http://support.microsoft.com/kb/837910[/URL] What a difference!!!!!!:$

Member Avatar for lostandfound
0
110
Member Avatar for justinmyoung

On a previous thread, a member was nice enough to help me out. The script worked fine, until I added other variables. Now, it won't register in the database. My eyes are not working. Any ninjas? Thanks [B]reg.php[/B] [CODE]<?php require( 'config.php' ); $con = mysql_connect( $mySQLhost,$mySQLuser,$mySQLpass ) or die( 'Error: …

Member Avatar for justinmyoung
0
173
Member Avatar for rickarro

Hey All, I'm having trouble figuring out why I can not put aphostrophies in my input form. This is a user input area and it won't take words like, don't, won't ...etc. Here is the input form [code] <?php if (!isset($_SESSION['valid_ad_user'])) { echo "<h2>Sorry, you do not have permission to …

Member Avatar for rickarro
0
100
Member Avatar for matejkralik

Hello people, Can somebody tell me how can I use ConfigurationManager? What using assembly should I declare? There is very useful [URL="http://msdn.microsoft.com/en-us/library/ms254494.aspx"]article[/URL] which features I want to use in my code but my express edition is unable to recognize ConfigurationManager, ConnectionStringSettings,... How to solve this?

Member Avatar for ddanbe
0
141
Member Avatar for busnerrors

Hi I'm fairly new to vectors in C++ and I'm having some problems with them. I have a vector of vectors but I don't know why it is causing a segment fault in my program? [CODE] vector < vector<int> > grades; int temp; for(int i = 0; i < 30; …

Member Avatar for busnerrors
0
136
Member Avatar for dmanw100

Is there an easy way to open an fstream using a string? My code is as follows: [CODE]bool openArray(std::string *arrayFileName, int *width, int *height,int *myArray) { std::fstream BoardFile; BoardFile.open(*arrayFileName);[/CODE] I obviously cannot use this method since *arrayFileName is not char* but is there another way to do it?

Member Avatar for kux
0
147
Member Avatar for Sheryl99

I've created a very simple UserControl, compiled it, then exited VB. Then I loaded my application and added a reference to it, and also added the Imports statement for it. The problem is that the UserControl will not display in my Toolbox, rendering it useless. Is there something else I …

0
70
Member Avatar for Achupa

[B]Hi, I'm trying to use a map in my application. the class MovieRating which contains the map is as below:[/B] [code] import java.util.*; public class MovieRating { private Map ageMap = new HashMap(); private String movieRating; public MovieRating() { ageMap.put("PG", 18); //parental Guidance ageMap.put("G", 4); //general viewing ageMap.put("A", 27); //Adult …

Member Avatar for stultuske
0
215
Member Avatar for Gagless

My program needs to print the mirror image of a letter that's input. All the letters will be input in uppercase. And the mirror image will be printed in uppercase. So if I input A it's mirror image would be Z if B, then Y if C then X if …

Member Avatar for Freaky_Chris
0
305
Member Avatar for davewylie

I want to be able to identifying users to my website so that I can see when they last logged on and highlight changes to certain pages when they see them for the first time. One problem is that a user's IP address may be dynamic, so I don't see …

Member Avatar for Manuz
0
136
Member Avatar for johnyboy82

Hi I am new to python programming and I am trying to embed some python calls into my C++ program. I made a simple module called 'test.py' which has the following lines : [code] //---------test.py------------------ message = 'The meaning of life...' def transform (input): input = input.replace ('life', 'Python..'); return …

Member Avatar for Gribouillis
0
2K
Member Avatar for dmanw100

This code is giving me the error "expected primary-expression before ']' token." After googling and looking around Daniweb I still cannot find what this means. Can anyone enlighten me? [CODE]int board[*width][*height]; if(OpenBoard(boardName, width, height, board[][*height])) { } //... //function definition... bool OpenBoard(std::string *boardFileName, int *width, int *height, int board[][100])[/CODE]

Member Avatar for dmanw100
0
243
Member Avatar for dmanw100

Hello, I am trying to pass a multidimensional array to a function but I keep getting a "expected primary-expression before ']' token" error. I'm using Dev-Cpp and here's my code: [CODE]int array[*width][*height]; if(OpenArray(arrayName, width, height, array[][*height]))[/CODE] I suppose it could be because there is nothing actually stored in the array? …

Member Avatar for Salem
0
86

The End.