64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for prnjn

I have made a HRMS (Human Resource management System) using NetBeans 6.5 and for database MySQL 5 The project is completed and running fine ( great) without any problem when i run it in NetBeans using Run Main Project Button. Then i 'Clean and Build the project' and get a …

Member Avatar for NormR1
0
401
Member Avatar for rayidi

I'm working with a sms gateway thing, now i have to pass a url via GET or POST. i'm tried with fopen("http://api.studentmug.com/bulksms/sms.php?Username=<something>&Password=<something>", "r"); like that. but it didn't worked. Please help me guys. i'm also used curl_init(); it is replying Bad Request. Guys please help me with this. Thanks in …

Member Avatar for Biiim
0
217
Member Avatar for Rasool Ahmed

Hi gueys, I have spent weeks in searching to know how to Explore hard disk files using c++ driver developping?. I'm developing anti-virus program, only I want is: when the user choose custom scan from scan options the program load a driver and send the path to the driver and …

Member Avatar for Rasool Ahmed
0
887
Member Avatar for compsci91

How can two classes uses each other without violating declaration before use? Can you give me an example?

Member Avatar for mike_2000_17
0
126
Member Avatar for Dendari

Hello everyone. I'm working on a program which should edit a text file by adding/deleting some specific lines. By default this text file doesn't have these specific lines, so the program will add them. But I also want it to replace them if they're already in the text file. Basically …

Member Avatar for Dendari
0
205
Member Avatar for jrosh

I want to implement an event similar to taggin a photo in wpf. Wht functionality should i use to mark a certain area of an image in order to tag it. thakx in advance. ps: i have tried <pres:RadTransitionControl.ContentTemplate> <HierarchicalDataTemplate> </HierarchicalDataTemplate> </pres:RadTransitionControl.ContentTemplate> and <Image></Image> but those dont support that fuctionality

Member Avatar for jrosh
0
185
Member Avatar for Reverend Jim

I have a form with a TableLayoutPanel with the following properties changed from default: Dock = Fill AutoSize = True AutoSizeMode = GrowAndShrink ColumnCount = 1 Margin.All = 0 one row set to AutoSize This is a stripped-to-the-basics version of part of my app. I want to generate a vertical, …

Member Avatar for Reverend Jim
0
2K
Member Avatar for crazyjdog

I am working on a random number guessing game for my class and so far I have not really been able to figure out where I am going wrong. As far as I can tell my syntax is correct, I think that maybe I am just missing something. Any help …

Member Avatar for crazyjdog
0
164
Member Avatar for nuclear

Just wanted to know if we need to texture map the texture on the model with code or is it better to just import a model with textures already on him? (considering its even possible)

Member Avatar for mike_2000_17
0
199
Member Avatar for honeybee2090

hi guys few days ago i was trying to find some thing to learn and i found a code it leech proxies from web but method used is post method/ http webrequst .... problem is here want to do same thing with web browser here r the codes [ICODE]Dim request2 …

Member Avatar for honeybee2090
0
117
Member Avatar for triumphost

case WM_MOUSEMOVE: if (wParam & MK_LBUTTON) { RECT WindowRect; POINT CursorPos; GetWindowRect(hwnd, &WindowRect); GetCursorPos(&CursorPos); SetWindowPos(hwnd, 0, WindowRect.left - CursorPos.x, WindowRect.top - CursorPos.y, 291, 157, 0); } break; Hey Guys The above code isn't working for me. I'm trying to have the user Drag my borderless window but the thing just …

0
67
Member Avatar for Nole_diver

Hey all, Trying to get a map to show up with points read from Json, an example of what the coding looks like is this: ` {"earthquakes":[{"eqid":"c0001xgp","magnitude":8.8,"lng":142.369,"src":"us","datetime":"2011-03-11 04:46:23","depth":24.4,"lat":38.322},{"eqid":"2007hear","magnitude":8.4,"lng":101.3815,"src":"us","datetime":"2007-09-12 09:10:26","depth":30,"lat":-4.5172},{"eqid":"2007aqbk","magnitude":8,"lng":156.9567,"src":"us","datetime":"2007-04-01 18:39:56","depth":10,"lat":-8.4528},{"eqid":"2007hec6","magnitude":7.8,"lng":100.9638,"src":"us","datetime":"2007-09-12 21:49:01","depth":10,"lat":-2.5265},{"eqid":"a00043nx","magnitude":7.7,"lng":100.1139,"src":"us","datetime":"2010-10-25 12:42:22","depth":20.6,"lat":-3.4841},{"eqid":"2010utc5","magnitude":7.7,"lng":97.1315,"src":"us","datetime":"2010-04-06 20:15:02","depth":31,"lat":2.3602},{"eqid":"2009mebz","magnitude":7.6,"lng":99.9606,"src":"us","datetime":"2009-09-30 08:16:09","depth":80,"lat":-0.7889},{"eqid":"2009kdb2","magnitude":7.6,"lng":92.9226,"src":"us","datetime":"2009-08-10 17:55:39","depth":33.1,"lat":14.0129},{"eqid":"2010zbca","magnitude":7.6,"lng":123.533,"src":"us","datetime":"2010-07-23 20:51:11","depth":576.3,"lat":6.4939},{"eqid":"2010xkbv","magnitude":7.5,"lng":91.9379,"src":"us","datetime":"2010-06-12 17:26:50","depth":35,"lat":7.7477}]} ` Here is my code i have been using for this: var geocoder; …

Member Avatar for Airshow
0
243
Member Avatar for mstashev

So I have an assignment where I am supposed to create an oop that will run on a provided Unix server. I have a Mac so when I run the makefile in Terminal, I don't get any errors. But when I try to run the makefile in the provided Unix …

Member Avatar for mstashev
0
250
Member Avatar for Sahil89

Hi guys, does anybody know about render issue in WPF while using windows 7? I am facing render issues when I use effects like shadow or blur. Most controls do not appear or keeps blinking. Is there any solution to fix this problem?

Member Avatar for Sahil89
0
118
Member Avatar for tallygal

I'm trying to write a function that that returns an table from an array. But, for some reason, it is only displaying the first row or the array instead of all. <html> <link rel="stylesheet" type="text/css" href="week13.css" /> </head> <body> <h2>table</h2> <br> <br> <?php $table = array("440" => "cubic inch engine","truck …

Member Avatar for tallygal
0
2K
Member Avatar for Gazzmonkey

Hi, only posting here as a last resort since I cannot find anything at all online to help me with my project. Anyways, I'm developing an autonomous mobile robot with colour tracking using a khepera II as my robot and a CMUcam2 turret module as my onboard camera, I had …

Member Avatar for Gazzmonkey
0
194
Member Avatar for cisumma

What is the best way to convert a MVC2: DAO apache derby DB program to a web app?

0
93
Member Avatar for cisumma

Hello I have written a MVC2 : DAO program using an Apache derby embedded DB. Currently I have not been able to jar the program : runs in IDE. My question concerns running this program on multiple work stations of a local network. Will this be possible? Currently when I …

0
82
Member Avatar for heshanm

I want to submit data of my student registration form to the database. If an admission number already exists, a message should be displayed like this. "**Admission number2012/1..This student has been already entered to the system**." I have created the below coding which fulfill the above task. But i want …

Member Avatar for fobos
0
135
Member Avatar for BryantFury

I have the following simple code. It consists of an array with 4 items. It first displays the items, then asks the user to delete as many as they want.(with an option to continue without deleting anything). After the user has removed or not removed items, the program will display …

Member Avatar for BryantFury
0
275
Member Avatar for ttugates

Hi, I am writing a program that displays a 2D array of strings, (non jagged) onto a windows form using Visual Studio 2010 and C#. For example: string[,] fds = new string[,] {{"ant", "aunt"}}; I attempted using the dataGridView controll, dataGridView1.DataSource = fds; but, get the length of the value, …

0
93
Member Avatar for mehnihma

I need to pass buffer object which has generated values to construcor of reading class to print real time generated numbers. Which is the best way to do it? When I pass generated value I get the number but I need to pass values that are beeinig generated and writed …

Member Avatar for mehnihma
0
141
Member Avatar for BryantFury

Hi ive made a program where it displays 10 products from a website. The customer then chooses a certain amount of those products. When the customer is finished choosing, the program will display all products the customer has chosen. Here is the full program. it works. #include <iostream> #include <fstream> …

Member Avatar for BryantFury
0
585
Member Avatar for -==Zero==-

Hello Dani Members I Have Question About My Code <?php $id = intval($_GET["id"]); $result = mysql_query("SELECT * FROM peoples ORDER BY RAND() LIMIT 1"); while($row = mysql_fetch_array($result)) { echo "$row[name]<br/> <a href='members.php?id=$row[id]'><img class='img_shadow' src='$row[image]' width='198' height='250' alt='$row[name]' /></a>"; } ?> This Code Get Me Image Of ONe Member And His …

Member Avatar for -==Zero==-
0
208
Member Avatar for t_daniweb

Using an appropriate definition of ListNode, design a simple linked list class with only two member functions and a default constructor: void add(double x); boolean isMember(double x); LinkedList( ); The add function adds a new node containing x to the front (head) of the list, while the isMember function tests …

Member Avatar for t_daniweb
0
613
Member Avatar for Sloppos21

I have recently started learning C++ and I'm having some trouble with the following problem: "Suppose a cuboid has three sides length, depth and height. Write a C++ program that reads from keyboard these 3 sides in the form of integers, with proper input prompt/s, then display the volume of …

Member Avatar for Sloppos21
0
200
Member Avatar for 24x24

Hello, I have an assignment to convert some given jave code into c++. I am currently having an issue wherein when I run the program it tells me that: error C2660: 'approximateSqrt' : function does not take 1 arguments. Any suggestions for moving forward would be appreciated. I have the …

Member Avatar for 24x24
0
217
Member Avatar for BryantFury

Hi ive made a code which does two things. First is read from a separate .dat file a product's model number, name a proce. The second bit allows the user to choose the product model. Depending on what the user chooses, only 1 of the products is displayed. So for …

Member Avatar for BryantFury
0
120
Member Avatar for FelineHazard

Hi all, I am doing some c++ exercise about operator replacing. I have successfully replaced the + (plus) operator to work on a user-defined class. I understand these operators are order-sensitive: need to replace the operator for (class+int) and for (int+class). Thus, creating **two** replacements that do exactly the same. …

0
150
Member Avatar for grant.baker

I have a page that I wrote to upload a text file to a mysql database. The text file has thousands of lines and each line is a separate database row. An identifier at the beginning of each line tells me which table to insert the line into in the …

Member Avatar for grant.baker
0
923
Member Avatar for MrCapuchino

Hello, Something really weird started happening in my web application. I have some buttons defined in a Master Page File and then I have a lot of pages that derive from this Master Page file. One of the buttons (In the master page file) closes the user session. This means …

Member Avatar for MrCapuchino
0
249
Member Avatar for barriegrant1

Im uploading student details that are tab seperated within a text file. If a submitted ID was added sucessfully to the database i want to add the submitted details to a gridview to allow the admin to see the total of submitted students. //student details from the submitted text file …

Member Avatar for barriegrant1
0
135
Member Avatar for dwlamb

I am looking for syntax I saw somewhere but can not find now. Working with the results of a find delete the files found. The syntax is something like this: for i in "${find . -name '*.ini'}"; do rm $i; done Am I dreaming or is this possible?

Member Avatar for dwlamb
0
92
Member Avatar for utkarshsahu

In Python, which is more of a pythonian style of writing between these two: 1. print 'Hello' or 2. print('Hello') If u have a link on basic outlines of pythonian style and which syntax is a more pythonic way to use, it would be very useful to me. Thank You!

Member Avatar for utkarshsahu
0
177
Member Avatar for prnjn

**I am using NetBeans** i have a 'Search by employee id' button . I want when user click this button a dialogue box appear which take employee_id as input from user . then that input be used for fethcing data from the database ( desired table in DB has primary …

Member Avatar for prnjn
0
211
Member Avatar for compsci91

Give a main function written in C++. Your main function is to see if it has been passed exactly one command line argument (you are to check that there is exactly one), and it has the value –verbose The function will set the local integer variable foundVerbose to 1 if …

Member Avatar for nullptr
0
206
Member Avatar for trektrak

I've brought up this topic before [if...else .. statement ](http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/417440/if-statement-/1#post1780532) Now my question is... i need to specified the time... where I know Java only can recognise "8" "9"... for hours ... and minutes from 1-60.... ok what if i need the action to be like this Instead of if …

Member Avatar for trektrak
0
141
Member Avatar for zachattack05

I'm working on a databound CheckListBox and things are going well, but the name I chose for it is bugging me. Because the control CheckListBox already exists, I didn't want to name it that, and instead chose P_CheckListBox (the P represents the first letter of the company name) and is …

Member Avatar for zachattack05
0
126
Member Avatar for prnjn

Hi. I am Using netBeans.. I have 4 JLists (i.e jList1 , jList2, jList3 , jList4) in 4 different tabs in frame. Each List has the value of employee_id from database (i successfully did it already) there are many field in tabs ( i.e rows of databse with employee id …

Member Avatar for prnjn
0
746
Member Avatar for Simon180

I got a problem with abit of code and am unable to fix it, i have marked the area that is having the problem with the error message that i get. procedure TMainForm.Show(s: string); var n, n2, n3: integer; arTemp: TMyArray; begin arTemp := TMyArray.Create(); n := InStr(1, s, ':'); …

Member Avatar for darkagn
0
152
Member Avatar for jhedonghae

hi again everyone...i have here an attach image of my problem.... items in year level came from my database...what i wanted is that their would be no repitition...is this possible? please help ![526949_423643440983941_100000148652191_1891701_429384302_n](/attachments/small/3/526949_423643440983941_100000148652191_1891701_429384302_n.jpg "align-left")

Member Avatar for jhedonghae
0
112
Member Avatar for mehnihma

I need help with this code. I get zero values, how can I stop generating numbers when I hit the target number? Thanks import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.util.*; import java.util.concurrent.locks.ReentrantLock; /** * @author Marin */ public class TargetFinder extends JFrame { private static final long serialVersionUID = …

Member Avatar for mehnihma
0
166
Member Avatar for jhedonghae

i have here a code for my back up: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim dbload As String = Application.StartupPath + "\Enrollment System.accdb" Dim backupdb As String = "G:{0:yyyyMMdd}" + ".accdb" System.IO.File.Copy(dbload, String.Format(backupdb, Date.Today), True) MsgBox("DB Backup Successful") End Sub but this code …

Member Avatar for jhedonghae
0
140
Member Avatar for arezz09

how can I make vb.net application online. Is it possible? so it's can be access from anywhere..

Member Avatar for JorgeM
0
103
Member Avatar for ZainabJuma

How do I add an animated picture to the Splash screen in vb.net 2008 my picture is .gif and when i setup the form's backgraound the picture dosent move. hepl me pls

Member Avatar for ZainabJuma
0
907
Member Avatar for prnjn

I have a login form (jFrame1) which has a jTextField1 to take input (employee id) from the user. I want that the value of employee id given by user in jTextfield1 should be transfered to jLabel1 in user main frame (jFrame2) when the user press login button present in the …

Member Avatar for mehfooz
0
246
Member Avatar for BryantFury

Hi ive made a program that does 3 things. 1. lets you enter 2 words to form one word ( red + cat = redcat ). 2. opens a separate txt file. 3. checks what you entered is the same as one of the words in the separate txt file. …

Member Avatar for BryantFury
0
126
Member Avatar for DarkMonarch

yup still a jr, at least for the next 6 months, than ill be a medium jr LOL... alright, seriously, i need this thing done, so if you guys have any hints, pointers, would be appreciated. it's probly not complicated for you guys, but i'm trying to write a language …

Member Avatar for DarkMonarch
0
98
Member Avatar for vizz

<script type="text/javascript" src="http://maps.google.com/map?file=api&v=2&hl=en&key=MY_KEY&sensor=true"></script> <script type="text/javascript" charset="utf-8"> google.load("maps", "2.x"); </script> This works well on localhost. On domain it gives error about obtaining key. I followed step given 3-4 times with generating key 3-4 times. But it continues giving error about javascript v2 obtaining key

Member Avatar for Airshow
0
148
Member Avatar for jhedonghae

i had set a password for my database to protect my data but the problem is that my database doesn't function with my codes in vb...how do i solved this? please help

Member Avatar for jhedonghae
0
471

The End.