199,114 Archived Topics
Remove Filter ![]() | |
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> … | |
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: … | |
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? | |
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 … | |
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> … | |
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 … | |
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 … | |
<td><input type="text" name="c1" value=" <?php if($p_id!="")echo $a? else echo $p_name>" ></td> | |
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']) … | |
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, … | |
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=" + … | |
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 … | |
hi please how can i do connectivity in html with ms access using java script... | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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??? | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 | |
*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 … | |
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 … | |
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 | |
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 … | |
I want to self similar traffic (by using pareto distribution) in Simulink. | |
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 … | |
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 | |
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 … | |
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 … | |
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 >> … | |
![]() | 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. … ![]() |
The End.