199,114 Archived Topics
Remove Filter ![]() | |
Novice working with C#. Opened a project file to commence lessons with the Head First C# programming eBook. When reopened errors were found. Images are uploaded to a microsoft skydrive folder: https://skydrive.live.com/redir?resid=52B21D2F3F75A51A!1427 Hoping that someone experienced can stay with me until I can grasp each error and know precisely where … | |
Hello everybody, I was wondering if anybody knows whether or not it is possible to send data too fast over a NetworkStream? I have an issue with my client/server program, where I am sending large files over normal IP address (Not Local) where everything used to work fine. It would … | |
So i have a working network file transfer program now (if you want to see some of the code look at my other '[article](http://www.daniweb.com/software-development/java/threads/426357/networking-in-java-not-doing-it-right)'). But now that im trying larger files, im running into a problem where i run out of memory (which is understandable when the array is 1 … | |
For a Gridview: I am trying to use a stored procedure for the first time in a SQLDataSource for the UpdateCommand: <asp:SqlDataSource ID="TECT_DataSource" runat="server" ConnectionString="<%$ ConnectionStrings:OracleConnectionString %>" ProviderName="<%$ ConnectionStrings:OracleConnectionString.ProviderName %>" SelectCommand="SELECT MPID, User_Id, Last_Name, First_Name FROM Scripts.vw_Tect_Exam" UpdateCommand="P_TECT_UPD_EXAM_ID" UpdateCommandType="StoredProcedure"> <UpdateParameters> <asp:Parameter Name="MPID" Type="Int32" /> <asp:Parameter Name="User_Id" Type="String" /> </UpdateParameters> </asp:SqlDataSource> … | |
Hi, I'm new to PHP and I want to know how to prevent SQL injection? Any php features can prevent the SQL injection? | |
Hi all I need to put a program on the server that frequently get data from the web and update the database with these data and this program should do this automatically. Can anyone put me on the Beginning of the road. I read in some websites about servlet context … | |
Hi everyone, I am trying to pass the X and Y values that are in class Chart onto class NodeAvg, but cant come up with the code to do that.Any help appreciated: package Testing; import java.awt.Color; import java.awt.Paint; import java.io.IOException; import java.util.ArrayList; import org.jfree.chart.ChartFactory; import org.jfree.chart.ChartPanel; import org.jfree.chart.JFreeChart; import org.jfree.chart.plot.DrawingSupplier; … | |
I have this form that i need to save on Mysql database but i'm stuck on what I should do. This form needs to be done every 3 or 4 months. Every saved information stays saved in a row. This form has alot of radiobuttons,textboxes and comboboxes that I save … | |
hi dear experts first I should apologize you because my english is not very good I have a big problem that I hope to find someone help me here. I need to get pure text from pdf file in PHP because i should count the pdf words for my project … | |
so i have a zoom.php where i have a link. <a href='deleteimage.php?imgid={$row['image_id']}'>Delete</a> if user click on it it goes to deleteimage.php where i have a form. in form i have field where i store imagid. <form class="form" action = 'deleteimage.php' method = 'post'> <input type='submit' class='button' value='Yes'> <input type="hidden" name … | |
Well i'll try to be clear as possible, i'm making like an account organizer (helper/tool) w.e you wanna call it, and for example i have 10 accounts. I want to delete account #5 (They are array), what i need it to do is move account #6, 7, 8, 9 & … | |
Hello guys here is the second program i have ever made from the help of daniweb. [url]http://www.youtube.com/watch?v=MQ0PvjJTnqI[/url] i just want to thank all of daniweb staff and members. i wouldnt of been able to create this otherwise. Also its something i learned for life now :) | |
![]() | I've been working on a math tutoring program that generates unique math problems pertaining to differing types of math (decimals, variables, exponents, fractions, etc) and nearly any combination of each type of math. I have my class file generate and random amount of operands and populate those with values(decimal or … ![]() |
Hey, I have a script that sends a user an html-formatted email. Usually once per email, there is an exclamation point popping up in the middle of the email. I've read somewhere about this happening because of some limit at 1000 character limit, and it could be around that point, … | |
Hello guys I'm new to C# programming. I'd like to know what's the equivalent of this Java static to C#? class NMM { public static void main(String []args) { System.out.println("java"); } static { System.out.println("great"); NMM.main(null); System.out.println("programmer"); System.exit(0); } } Any help would be appreciated. | |
am having a check box in my launcher activity. i need to enable it so that it helps in performing some action using a broadcast receiver. its working fine until and unless i use the back button to navigate back. but now i need to save the state of the … | |
hey guys, any tricks that i can use to link a table row with an employee ID that comes from a db ? heres the menu code, where the link must happen, so i can call other functions like delete and modify. sorry it's french, supprimer = delete, modifier = … | |
The input looks like this: Start 0 Run 40 Disk 0 Run 20 End Each word and number means something. The number is the time and the word a command. What's the best way to loop through it and evaluate it? So it's 2 different elements per line that should … | |
I'm feeling a little dumb when it comes to the editor that we are using, and I was wondering if anyone knew of any good online tutorials for an introduction to tokenizers. | |
Hey guys, I am a non-root user on a linux machine and I'm working with mpi4py. I have an alias set to my python-2.7 that has all of the modules that I loaded into it. So if I type 'python' and then 'from mpi4py import MPI' everything is fine. The … | |
I am trying to created a comparison script to compare 2 dynamic arrays and then input a into a cell. So i would pull from column D and E and put information from Column F with a number added onto it. So the example of my process is: Load column … | |
Generate XML from DataTable, along with count Hi, I have an sql result set assigned to a datatable. The result set is of the form ManagerId | VendorId | Count ------------------------------ M1 V1 10 M1 V2 5 M2 V1 10 M2 V2 5 M3 V1 10 M3 V2 5 I … | |
Hi all, I am creating a new login form, different from the default login, but when i try to connect to the database. it said password is not correct.. I just realised that password is encrypted. but i dont know what kind of algorithm it uses. I am using joomla … | |
I have created installer from Visual Studio Package and Deployment, but after successful installation, the installer files (like dlls, images and all supporting files) modified date or even creation date has been changed and all have the same date depends on the date of installation. Is there a way I … | |
Hi Im trying to achieve something which seems simple but is proving difficult. I have listview1 which will display the values of two textbox's when a button is clicked. I have listview2 which will make a calculation based on the two values in listview1 when a button is clicked. What … | |
Hi, I have a js script: [CODE]var inputCounter = 0; function addInput(divName){ var newdiv = document.createElement('div'); newdiv.innerHTML = "somefield1: " + "<input type='text' style='width: 250px;' name='f1[]'> somefield2: " + "<input type='text' style='width: 200px;' name='f2[]'>"; document.getElementById(divName).appendChild(newdiv); inputCounter++; }[/CODE] and the data was received by the php script [CODE] $_SESSION["f1"] = $_POST["f1"]; … | |
Hello i am really just a begginner in assembly (TASM). anyway, my program is quite simple it is tasked to just ask the user's name and ID number. after which i have to print "hello <name> your ID is <number>" but I cant seem to print both of them at … | |
I'm currently concantenating an array like so... int _tmain(int argc, _TCHAR* argv[]) { //create buffer to receive path WCHAR pathbuf[MAX_PATH]; //get path into buffer DWORD pathlen = GetCurrentDirectoryW(MAX_PATH,pathbuf); //append file name to buffer pathbuf[pathlen++] = '\'; pathbuf[pathlen++] = 'f'; pathbuf[pathlen++] = 'i'; pathbuf[pathlen++] = 'l'; pathbuf[pathlen++] = 'e'; pathbuf[pathlen++] = … | |
Hi, I have an array with keys like this: "9.345" "16.765" "8.123" "0" "0.123" How do i sorth them, so the keys looks like this (numerically, descending order): "16.765" "9.345" "8.123" "0.123" "0" Thanks ![]() | |
If you ever go to [URL="http://www.hostip.info/"]http://www.hostip.info/[/URL], you will find a Community Geotarget IP Project. The great thing about it is that it is free to use. :) Now, this is just a snippet of code to begin working in the world of GeoIPs. There's a lot more info to be … | |
I have city and its corresponding locality. City is showing dropdwon and Locality in Dropdown-Checkbox I got code Dropdown-Checkbox, when user clicks city then its locality will show in Dropdown-Checkbox. It is showing multilist control in thepage but when I choose city it is showing multilist-box rather Dropdown-Checkbox. How I … | |
This same code run good on windows 7 32 bit Problem happen when i run it on windows 7 64 bit error : database is locked... public void genTablehadir() { tblKehadiran.setAutoCreateColumnsFromModel(false); m_data = new Kehadirantable(this); tblKehadiran.setModel(m_data); tblKehadiran.setRowHeight(23); //inisialisasi int m_Jalokasi=0,m_kode=0; Boolean m_alokasi=false; String[] parsePeriode; String m_npk="null",m_nama="null",m_ket="null",m_id="null",m_flagE="null",m_flagP="null",m_cekhk="null",m_ceksts="null"; try { db.createMasterConn(); rs1 … | |
I have a Storyboard which targets an Ellipse. How do I make the Storyboard target an image which I have in a List<>? This is the code: <Storyboard x:Name="sbMoveImages"> <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateX)" Storyboard.TargetName="ellipse"> <EasingDoubleKeyFrame KeyTime="0" Value="-1"/> <EasingDoubleKeyFrame KeyTime="0:0:3" Value="641"/> <EasingDoubleKeyFrame KeyTime="0:0:5" Value="640"/> </DoubleAnimationUsingKeyFrames> <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="ellipse"> <EasingDoubleKeyFrame KeyTime="0" Value="1"/> <EasingDoubleKeyFrame KeyTime="0:0:3" … | |
I have two tables, one is Parent and other Student. I want to allow the Parent to register on website with there username and password and student number but then have access to Student information. How do i go about it? | |
Hello (again) I have a text box that i am trying to put the value of a selected item of a dropdown list in... Protected Sub ddlCell_SelectedIndexChanged(sender As Object, e As System.EventArgs) Handles ddlCell.SelectedIndexChanged Dim reply As String = ddlCell.SelectedValue txtCheck.Text = reply End Sub but when i select something … | |
I know how the ++ operator and -- operator works.This is my code to count the no of digit in an integer and it works perfectly. import java.util.Scanner; public class modified_sepadigit { public static void main(String args[]) { Scanner input=new Scanner(System.in); System.out.println("Enter a number"); int no=input.nextInt(); int noOfDigit=0; int tempNo=no; … | |
Hello guys! Please help me with my task. Im working on a calendar and i find it hard in coding it. i have started working on it. My problem is to display a data place inside the days of my calendar as shown in the picture attached. I have research … | |
Hi, Is tere any difference between these two codes or is it just a matter of taste? Thanks var days = new Array('Sunday','Monday'); var days = Array('Sunday','Monday'); | |
Is it possible to keep writing the output of a program on the same line instead of moving to a new line every time? The output should be written over the preceding output. An example would be a kind of counter... say a number that counts from 1 to 10 … | |
so i am trying to count view that enter on zoom.php page. also if user keep of refreshing his page than dont add views and i dont want to use function. i want to store view on my database image->image_id,user_id,image,image_name,image_view | |
Hey there, I'm having issues with a custom string tokenizer I'm using for an assignment. I've looked around and haven't managed to find anything that really answers my question, so here goes nothing. Whenever I run the program and it runs the tokenizer, I get a seg fault. I'm fairly … | |
I have a written code on a simple address book which allows addnew,view single entry and view all names. I have added the delete functionality to allow one to enter name to delete its entry but I get Error: [B]cannot find symbol return addressBookEntry.delete(); symbol:method delete() location:variable addressBookEntry of type … | |
hello friends.. i want your hep.. i m searching for a mini project in java.. so please suggest some project titles to me..waiting for your reply.. thanks take care rajesh | |
hi all, I am having this problem for a long time.Everytime i restart my machine,i get this error related to IIS. Default Website Stopped. I have tried to reinstall my IIS everytime to no use. But still i get the same error. Can anyone suggest help on this. Thanks in … | |
I'm trying to learn exactly what is MVC or MVC patterns in code. I have done some research to a point where I believe I understand the meaning and use of this idea... But I do not entirely understand the concept. Is MVC( Model View Controller) pretty much, trying to … | |
Hello guys I've recently taken participation in a music project (feel free to check us out at [@lettherebmusic](http://www.twitter.com/lettherebmusic)) where we tweet music info about a certain topic every day. I actually use tweetdeck to schedule tweets for the whole day, so that content is available all day long. The thing … | |
so i have a zoom.php where i have a link. <a href='deleteimage.php?imgid={$row['image_id']}'>Delete</a> if user click on it it goes to deleteimage.php where i have a form. in form i have field where i store imagid. <form class="form" action = 'deleteimage.php' method = 'post'> <input type='submit' class='button' value='Yes'> <input type="hidden" name … | |
as mention in the title, im currently developing a system which can 1. Scan the LAN and list out all the active nodes. 2. Server able to manage the network access of client PCs. | |
I've just read a tutorial on Classes Under the hood/behind the scenes. It says that: Foo* A = new Foo(); // Is different from: Foo* B = new Foo; What in the world? I never put the brackets for my classes like that. Why does the first initialize variables and … | |
$queryget = mysql_query("SELECT * FROM image WHERE user_id = '$user_id_s'"); while($row = mysql_fetch_assoc($queryget)) { $count_c = $row['image_comment']; $count_image++; $count_comment = $count_comment + $count_c; } for some reason it is not going inside the while loop and ideas? |
The End.