199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for nvnq

I have a java exercise follow: there are n machines of 3 type A,B,C, each machine has coordinates (x,y) and operate radius, with data get from a XML file, for instance: <machine> <number ="1"> <type>C</type> <cox>40</cox> <coy>80</coy> <rad>30</rad> </number> <number ="2"> <type>A</type> <cox>25</cox> <coy>35</coy> <rad>40</rad> </number> <number ="3"> <type>C</type> <cox>50</cox> …

Member Avatar for nvnq
0
189
Member Avatar for lloydsbackyard
Member Avatar for Arin_1

Hi, i recently begun learning java and encryption. I found some code from a website that is supposed to decrypt lastlogin files found in minecraft. When i try to compile it gives me these errors: C:\Users\CROCCY\Documents\NetBeansProjects\Lastlogin decryptor\src\lastlogin\decryptor\LastloginDecryptor.java:54: error: invalid method declaration; return type required public MineCraftLoginReader() { C:\Users\CROCCY\Documents\NetBeansProjects\Lastlogin decryptor\src\lastlogin\decryptor\LastloginDecryptor.java:87: error: …

Member Avatar for Ewald Horn
0
670
Member Avatar for itsnauman

Hey guys, I just bought a Macbook Pro but I can find a software that works like WAMP for the Mac OSx for managing MySQL & running PHP scripts on local host, can you guys help?

Member Avatar for Bachu
0
161
Member Avatar for s0bigg

I have a website that gives search results of products. I am using page numbering for splitting up search results from 1 to 10. I need to do some work on this search page. First of all, I want to fix the page numbering system. Currently it is showing a …

Member Avatar for kthxdie
0
3K
Member Avatar for dev1902

Hello, I need help in solving 3 errors in my C++ code The first error is** line 95 'output_minus_10' was not declared in the scope** The Second error is **line 96 'output_plus_10' was not declared in the scope** The warning is **line 104 unused variable 'R_junction'** #include <cstdio> #include <cmath> …

Member Avatar for MathewsSolve
0
217
Member Avatar for parthiban.samy.3

hi guys, i am doing a project on vb, now the issues is i am not able to retrive the data from the textbox which in created during runtime. i created 5 textboxes in runtime, i enter the datas for each textbox, but i couldnt read the same. can anyone …

Member Avatar for Deep Modi
0
171
Member Avatar for AnooooPower

Public Class Form1 Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim ofd As New OpenFileDialog Dim strFile As String With ofd .Title = "Select a List" .Filter = "Text Files|*.txt|All Files|*.*" .ShowDialog() strFile = .FileName End With If System.IO.File.Exists(strFile) = False Then Exit Sub Dim Reader As …

Member Avatar for AnooooPower
0
355
Member Avatar for noel9

<td><input type="text" name="c1" value=" <?php if($p_id!="")echo $a? else echo $p_name>" ></td>

Member Avatar for cwarn23
0
128
Member Avatar for jyotidighe
Member Avatar for zelanne74

Hi, I have here a code for saving a pdf file to mysql database as blob. may problem is how can i retrieve pdf blob in php. thank you. <?php if(isset($_POST['add']) && $_FILES['filename']['size'] > 0) { $fileName = $_FILES['filename']['name']; $tmpName = $_FILES['filename']['tmp_name']; $fileSize=$_FILES['filename']['size']; $fileType = $_FILES['filename']['type']; $fileType=(get_magic_quotes_gpc()==0 ? mysql_real_escape_string( $_FILES['filename']['type']) …

Member Avatar for zelanne74
0
808
Member Avatar for MadJako

Hello, I’m trying to make a powershell script that will copy files to and FTP server, but the destination folder needs to be generated each time the copy starts. In lieu of having a ton of issues trying to copy the source folder onto a remote FTP site using powershell, …

Member Avatar for Paul.Esson
0
1K
Member Avatar for Ian_3

Recieving the error "Dynamic SQL generation is not supported against multiple base tables." When pressing the save button Code for Save button: private void btnSave_Click(object sender, EventArgs e) { DataGridQuestions.EndEdit(); adapter.Update(ds, "Questions"); MessageBox.Show("Updated"); DataBind(); } Code for filling data adapter private void DataBind() { string connectionString = ("Data Source=" + …

Member Avatar for Ian_3
0
2K
Member Avatar for WebWebbington

Hi, Below is the code I am having difficulty making work: public function showLoginOut() { if (session==null) { return '<li><a href="login.php">Login</a></li>'; } else { return '<li><a href"logout.php">Logout</a></li>'; } } *^ Above is a PHP page, which holds functions I can use in a phtml document* <ul> <li><a href="index.php">Home</a></li> <?php function …

Member Avatar for Mohamed_26
0
213
Member Avatar for pkasar91
Member Avatar for pritaeas
0
121
Member Avatar for bops

Hi My issue is that I want to either call 2 AJAX functions one after the other OR call just the second one. Let me put this into context.. I am writing a "store locator" application. By default all the results are loaded in alphabetical order. A user is able …

Member Avatar for Airshow
0
275
Member Avatar for c1ockwerk

Hello All, Im trying to write a little gui for a command line application i have to run everyday. The command line app is run as follows: stcmpgo -s [url]http://localhost[/url] -u username -p password -a -n -i filename.xml There are multiple flags that can be set which I will use …

Member Avatar for newdev
0
4K
Member Avatar for 2lethal

Good day, I must be blind .. I am developing my first "Visual Studio" desktop application. My apps are normally always Internet Apps. I have about 20 text boxes, but I want to give the user the ability of pressing Enter, and "defaulting" to the Enter button on the screen. …

Member Avatar for 2lethal
0
210
Member Avatar for kgizo

Good day I need help incorporating a progress bar into my code, I first needed to export a query from my database but however the time taken for the query to be exported to a xls file should be shown in a form of a progress bar. if i exit …

Member Avatar for kgizo
0
1K
Member Avatar for just_program

hi my name is lester page and i have a problem that is displaying links to the owner of the comment. the code is working fine but the thing is the links are being displayesd whether the logged in user is the owner or not. the database i have heading …

Member Avatar for broj1
0
114
Member Avatar for kavitha N

Hi, I have one asp.net project. And one more normal static webpages site. What i want is after login into the website(asp.net) it has to redirect to the static webpages site. once log out from the website they should not enter into the site. And both the sites are ready …

Member Avatar for JorgeM
0
161
Member Avatar for CJMW

So i'm making an rpg game in xna. I can move my player around the screen, however it can also move off the screen. How can I implament a simple camera that will follow the player and prevent them from moving off of the screen? I only need it to …

Member Avatar for CJMW
0
450
Member Avatar for chrisschristou

i make m3d modelling in AUTODESKMAYA and animation i would like to know how can create with a small action game (video game) waht language i must use what tolls i must use, is it possible my mind???

Member Avatar for oussama_1
0
353
Member Avatar for henpecked1

Esteemed folks of Daniweb, I find myself in a small quandry. I am part of a test organization working to test a piece of software that the developer does not feel needs the level of test we provide. My issue is this: As we all know, if you change code …

Member Avatar for SalmiSoft
0
100
Member Avatar for pravej

Hi, I have a txt file that contain certain data inside it. Example of the txt file: Name=John Age=20 Address=c-34, Newyork Name=Martin Age=23 Address=123, New Delhi .... .... and so on..... Now I have to process the each line get from the file and put the values into arrays. arr_name, …

Member Avatar for Ancient Dragon
0
6K
Member Avatar for missil9

Hello, I am currently trying to use boost asio for IPC. I ran into 2 strange issues: 1) when using the acceptor class, when I bring my process up, I get the error 'Already open' when trying to listen. The port I am trying to bind to is definitely not …

Member Avatar for missil9
0
777
Member Avatar for raliot

Compile program functions for: -Enter of a keyboard and a file into an array (by adding) data to 30 girls in the competition "Miss World" number, name, surname, date of birth, physical data, state and display the current contents of the array on the screen -display output data for a …

Member Avatar for Paul.Esson
0
140
Member Avatar for terrier_unknown

Hello there, i was just wondering does anyone here know how do i add a multiscreen for an android app using visual studio. I know how to code everything but i m not sure do i have to do this using xamarin interface or can i do it with visual …

Member Avatar for stephen.engelbrecht
0
425
Member Avatar for ngonix

Hello, I am developing an android application that sends an sms message to a certain number depending on what is dispayed in the webview. The text in the site that is loaded when the app starts is as follows: YES 0772334556 VOTE ME Here is part of BrowserActivity.java (excluding sms …

Member Avatar for peter_budo
0
13K
Member Avatar for Violet_82

Hi guys, I tought I'd experiment a bit with layout managers, trying to get to grips with them. I will start with a flowLayout, then hopefully move on to more complex ones. OK, so here is the code for the first example, very simple one: /*FlowLayoutManager.java layout manager tests*/ import …

Member Avatar for Violet_82
0
168
Member Avatar for KushMishra

Hi All, I started developing an application in WPF but I think the generic syntax for Relay Command and Delegate Command cannot be found very easily over the web and hence alogwith asking this question, I intend to start a thread for both Relay Command and Delegate Command. So, I …

Member Avatar for KushMishra
0
1K
Member Avatar for Sumith Asanka

Hi Guys I have a similer code which works on button click event and not working while Accessing data through data reader ?what would be the mistake ? thanks regards sumith ---Database Part private void PopScheduleByID() { using (SqlConnection con = new SqlConnection(CS)) { SqlCommand cmd = new SqlCommand("select* from …

Member Avatar for Fenrir()
0
183
Member Avatar for mohd.nasrul.iwan.fajaruddin

I have 3 comboBox.. and i wanted a code for the thirdcombobox , something like "SELECT companyName FROM table where mainCategory = firstcombobox and subcategory = secondcombobox" , how do i do the sql query? my maincategory combobox is called mainCatU , and the subcategory is subCatU I managed to …

Member Avatar for KushMishra
0
220
Member Avatar for mohd.nasrul.iwan.fajaruddin

I've tried the methods from http://stackoverflow.com/questions/11498308/getting-values-from-two-or-more-forms-c-sharp http://stackoverflow.com/questions/3552169/sharing-a-variable-between-two-winforms http://stackoverflow.com/questions/10675872/get-value-from-parentform?rq=1 and http://stackoverflow.com/questions/14504210/passing-username-to-form-but-username-returns-null-c-sharp?rq=1 But i couldnt get mine to work as i will get some random argument error. [the two forms](http://i.imgur.com/gTwo3dZ.png) From the picture , i just want the username on Login form to be put into label1 on User form. But also …

Member Avatar for KushMishra
0
285
Member Avatar for lisy

Hi I am doing a project where i need to edit values in textboxes from database using jsp, here is my code, Please can anyone help me to solve this: retrieve.jsp [code] <%@ page import="java.sql.*" %> <% Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");%> <HTML> <HEAD> <TITLE>Fetching Data From a Database</TITLE> </HEAD> <BODY> <H1>Fetching Data From …

Member Avatar for stultuske
0
3K
Member Avatar for sash_kp

I am retrieving data from sqlite and showing it in a listview using simpleadapter.I don't have any issues regarding Layouts.Still just for your reference : list_item.xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical" android:padding="10dp" android:paddingLeft="10dp" android:paddingRight="10dp" > <!-- Name Label --> <TextView android:id="@+id/subject" android:layout_width="fill_parent" android:layout_height="wrap_content" android:paddingBottom="2dip" android:paddingTop="6dip" android:textColor="#421fc4" android:textSize="16sp" android:textStyle="bold" /> <TextView …

Member Avatar for peter_budo
0
2K
Member Avatar for MARKAND911

I get an error message when i open an MVC project. The error is attached as screenshot. While the same project opens in another machine. Steps taken by me to solve the problem •Installed IIS •Given permisssion to "inetpub" folder •Uninstalled IIS and installed IIS Express •Opened Visual Studio as …

Member Avatar for Ewald Horn
0
187
Member Avatar for dearrajaguru

Any one please help me. i done a little project using thermal printer. Now my Tl ask me to convert it to Dot Matrix printer. Can u send any sample code for this...? waiting 4 reply thank u.. with love guru

Member Avatar for Mike Askew
0
523
Member Avatar for nettripper

what is the code for the program in vb.net that automatically adjust resolution based on the computer you are using? i use WindowState.Maximize but only the background image adjust. my other stuf such as buttons, labels picturebox are not..can you help me guys? thanks

Member Avatar for oussama_1
0
881
Member Avatar for venomv1

*Program is attached as well, due to there being pictures of the ships that are required to get the full experience of the program* I am recreating battleship in Visual Basic 6, and I am almost complete. The one part that I am unable to complete, is matching an input …

Member Avatar for Minimalist
0
315
Member Avatar for guyinpv

I'm writing a PHP/MySQL app for myself as both a tool I want to use, and a learning excersie for coding. The app is a very basic finance or budget tool. You can imagine already there will be a type of dated "register" that will list all my bills/debts and …

Member Avatar for pritaeas
0
228
Member Avatar for neha05

Hello I need to create following video kind of admin panel in wordpress,or in wordpress any plugin available to manage and provide such kind of functionality ,please guide me in that,thanks in advance http://www.youtube.com/watch?v=1UnjVoShUno video1 http://www.youtube.com/watch?v=ahk-Hvbc9mE video 2

Member Avatar for neha05
0
108
Member Avatar for Gloak

Hi all, I am not sure if I am in the right place. But I don't know where to start. I had a web page that was working properly, almost at the end of a year of work (housweb.com). Last week, I tried to work in a different site, diferent …

Member Avatar for stevedaniel
0
202
Member Avatar for sh0na
Member Avatar for joshl_1995

Hello Community, Why I the port I'm trying to read looking really weired. I'm using an Arduino to produce the port data (It just has two button inputting "BUTTONONE" and "BUTTONTWO" when pressed). This is the result I'm getting: BUTTONTWO BUTTONTWO BUTTONTWO BUTTONTWO BUTTONTWO BUTTONTWO BUTTONTWO BUTTONTWO BUTTONTWO BUTTONONE BUTTONONE …

Member Avatar for joshl_1995
0
187
Member Avatar for Jeline_1

hi everyone, my question would be on how to anchor the child mdi to its parent mdi so that each time the user maximizes or minimizes the parent form the child form inside will automatically anchor itself on its container(parent mdi) thanks all help will be appriciated

Member Avatar for Jeline_1
0
99
Member Avatar for Mohamed_26

I have been getting this error. I have no idea what it is. Any help provided would be awesome. `require "connect.php"; $query = "SELECT DVD ID, Name Of the DVD, Quantity FROM DVD"; $stmt = $dbhandle->prepare( $query ); $stmt->execute();` This is where I am getting my error. I researched about …

Member Avatar for Mohamed_26
0
267
Member Avatar for driazi

Hi, I changed my wodrpress URL manually and after then i saved and loged out from admin panel . now i can't login to my wordpress Admin page after changing The URL 's and whenever i want to log in it redirects to other page that i changed in URL …

Member Avatar for cereal
0
395
Member Avatar for andreas.petrou.967

I have this program,how to find reverse numbers? #include<iostream> #include<fstream> #include<string> using namespace std; const int array_size = 10; //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ //function to enter the number choise1/// to "&" dieuthinsi noumerou void get_numbers(int num_arr[array_size], int& numbers){ int count; cout << "How many numbers do you want to enter? "<<endl; cin >> …

Member Avatar for kplcjl
0
364
Member Avatar for Bo_1

I have a Delphiproject that suddenly got its appearance changed. It used to have rounded buttonedges but now got suddenly sharp corners. Also the MonthCalendar changed its appearance with blue ribbon at top and the current day circeled with a broken red circel line as it had many years ago. …

Member Avatar for Bo_1
0
148

The End.