199,114 Archived Topics
Remove Filter ![]() | |
Hello I have started my first ever VS Web page today and have two pages open in the software: Register1.aspx and Web.config. I am hoping to devise a simple 'new user registration form' with three fields: username, password, and email. When the 'submit' button is clicked, those three fields should … | |
Ok so the last couple of days i have been atempting to make a voxel engine for a cube world, i am intermediate in c++ and beyond the basics in opengl, i have a basic thought as to how the engine will fucnction. the Engine: - programmed in c++ - … | |
How can I keep track of the unguessed letters yet in my JTextArea? In the non gui version I used an arraylist, worked fine but should I leave the arraylist and use it to track unguessed caracters ? The method is still console based, just started implementing the gui made … | |
How to upload images into database with pdo or only image name and image move into folder ![]() | |
  Well, im a beginner and im having some problems with the code. On the display it shows System.Data.Objects.ObjectQuery 1[System.String](on the left). Im trying to merge two diferent tabels by taking Naziv from a different table and adding it to the grid.Another table for the combo(three tables, … | |
I was wondering something, I know that on windows you can't interact directly with the hardware, you have to use the system API. Now in Linux in the other hand, it looks to me if this can actually be done, or am I wrong? The thing reason why I say … | |
Im working on a small block of code that compares a argumented value to a file seached value. Every time i run the code it and give it the argumented value either lower or higher than i know the searched value is it gives me the opisite answer of what … | |
JNZ checks if the Zero flag is set or not. How does it really check it? more assembly instructions? I thought Assembly doesn't hide anything. | |
Im having a problem using foreach i cant seem to understand this yet. my problem is when i enter all the data needed it shows many inserting code I cant seem to figure this out This is the Output INSERT INTO `dependents`(`d_name`, `d_age`) VALUES (1,1) INSERT INTO `dependents`(`d_name`, `d_age`) VALUES … | |
Good day, I've realized hierarchy of classes: Point -> LineSegment. It's necessary to realize the following methods of the class: moving, stretching, rotating, turning, change on an axis. I'm trying to realize moving at a some distance on this code . What should I correct for in my code that … | |
Good Morning All... This may be a simple question but hopefully someone can give me a specific answer... I know I can set a date based on the current date + or - a specified number of days $created = date("Y-m-d H:i:s", time()) ; $dist_date = date("Y-m-d", strtotime($created.'+4 days')) ;// … | |
hey frnds, Firstly I pick the records from the databse into the DataGridView, Then I want that If we made changes to the records in the GridView & Click on Update Button, Changes are Reflected into the Datbase .Plz do reply back the .. | |
Hello guys i have question how is the right way to write the mysqli_connect ? $con=mysqli_connect("username","host","password","db_name"); Please tell me if im wrong and how to fix it. Thanks ! :) | |
Anyone ever used sharepoint before? I am still new with ASP.NET and sharepoint. I only able to create a simple database application with ASP.NET. Now, I wonder how difficult is it for me to be able to create an HRD Management Application with Sharepoint ? I was suggested to use … | |
Based on this ideea **You just wrote a loop allowing the input of 20 names into a list. Alas, you made an error as you entered name number 17. Redesign your input loop, so you can correct the error easily without having to retype the previous 16 names.** I wrote … | |
#include<iostream> #include<fstream> #include <sstream> #include<string> using namespace std; void main() { std::ifstream fin("romanian.txt"); std::ofstream fout("output.txt"); std::string line; int i; int count=0; string word; while(!fin.eof()) { getline(fin,line); for(i=0;i<line.length();i++) { if(line[i]==' ') { break; } cout<<line; } } system("PAUSE"); } the prog get crashed ... can any one please give me help … | |
This is sort of a generic question... I'm at a point where I need to do some report generation with various data from different tables i.e. commissions earned / transactions processed / etc... I was wondering if anyone happens to know of a script base that could be used for … | |
i want to display numbers only from 01 to 12 How to write a loop <?php for($a=0; $a<10; $a++) { for($b=0; $b<10; $b++) { echo $a.$b.", "; } } ?> | |
I was trying to figure out how to insert pictures into Java, but as music in the background plays, the pictures alternate. It would be really great if someone could include the music code too. Thanks for any help in advance. | |
Hi everyone, i'm working with tao framework and i trying to make animation for my models from glut libraries but animation with using glut doesn't work (after compiling program closes) :( I tried found exception by try-catch but there are not exceptions. If drawing across vertex that animation will work. … | |
I am trying to export the current record in my app into a PDF. My current code (shown below) is exporting into Crystal Report and then into PDF format but it is exporting ALL records in the database. This program is used for entering in Purchase Requests. Each record in … | |
Well, im a beginner and im having some problems with the code. On the display it shows System.Data.Objects.ObjectQuery 1[System.String]. Im stuck. I will be grateful for your help. private void grdProdukti_CellValidating(object sender, DataGridViewCellValidatingEventArgs e) { if (e.ColumnIndex == 1) { int PID = int.Parse( e.FormattedValue.ToString()) ; grdProdukti.CurrentRow.Cells["Produkt"].Value = from tretmanProdukt … | |
How do you delete rows from a datagridview. I have a delete button to the right in the datagridview. I want to know how to delete a single row by clicking the delete button. | |
i have 2 tables seo_footer_title and seo_title. i want to add title,description and keywords footer.php <li><a href="index.php?city=<? echo $city;?>">Home</a></li> <li><a href="about_us1.php?page=2" title="About Us" onclick="function changetab();">About Us</a></li> <li><a href="contact_us1.php?page=3" title="Contact Us">Contact Us</a></li> header.php $page = $_GET['page']; $sql1 = mysql_query("SELECT st.`id`,st.Catagory, st.`title`, st.`description`, st.`keywords`,sft.id,sft.titles FROM `seo_title` st JOIN seo_footer_title sft ON sft.id=st.Catagory … | |
Hi Everyone, Can I ask your assistance how to integrate the AMBRA platform in Tomcat? "Ambra is an innovative Open Source platform for publishing Open Access research articles. Architecture Features Ambra is written in Java." Actually, done for installation in tomcat but the Ambra is the next, but how? Regards, … | |
OK, I have been experimenting around with GridBagLayout and I'm getting the hang of it. Things are looking the way I want them to on the INITIAL drawing of the GUI. However, when I RESIZE the JFrame to make it smaller vertically, at a certain point, the proportions get skewed. … | |
**Question 1:** I want to create a save file for a game im creating in C++ problem is i can only use the vanilla headers in dev-cpp (which spawns another question id like to have answered/suggestions), my main problem id like to get past, is how the easiest format/way of … | |
hello i need to replace data only in one(specific ) column of csv file for example replace just in city column f_name,l_name ,city,country --->headers david,d,los-ang''elses,california ( replace los-ang''elses to los-ang'elses) ''-->' g''armin ,dsdsd,new-york,sdasdas my code is replace all the data in file , but i need to replace specific column … | |
I'm confused on how to insert a picture a jpg to be exact into a windows form on visual studio 2012. | |
I'm working on an IDE for a program I'm building, and just found out I need to use ast. I can't seem to find any decent examples to get me started on google... can someone help me out. :) thanks | |
I am using the following query (thank you diafol) to group the top N rows in my data set: SELECT mgap_ska_id,mgap_ska_id_name, account_manager_id, mgap_growth AS growth,mgap_recovery, (mgap_growth+mgap_recovery) total FROM (SELECT mgap_ska_id,mgap_ska_id_name, account_manager_id, mgap_growth, mgap_recovery,(mgap_growth+mgap_recovery) total, @acid_rank := IF(@current_acid = account_manager_id, @acid_rank + 1, 1) AS acid_rank, @current_acid := account_manager_id FROM mgap_orders … | |
Any code to take 2 ascii chars and put into 1 byte? 0x16 = ? byte | |
So I have been working with a csv export for a few days now and I have the data almost in the form I need it in. I need some advice on how best to proceed to get to the soltuion I need. Here is the problem: My csv export … | |
Hi can u please help me with my assignment I need to create new type using new class -Myint- which is tepical to int type but the new one must be 10 bytes long insteade of 4 bytes so the quesion is how to set the size of my new … | |
As all of you can tell from the title, I need help understanding how to communicate to a USB port. Basically I need to send some bits to a usb micro controller and to do so I need to understand how you do it in C for both a Windows … | |
Hi, i'm having some trouble with my MySQL server where i can't log in or connect to it from the terminal , phpmyadmin or my server control panel. the password is correct , i have reset it a number of times but still get the same message: ERROR 1045 (28000): … | |
Why when submit is pressed, and number of tickets is 3 or higher I am not geting displayed echo? echo "You choose $place and $tickets tickets, and you get discount 50%, total price is $totalprice"; Thanks in advance <?php $selection=$_POST['selection']; if(isset($selection) and $selection=="submit"){ $place=$_POST['place']; $tickets=$_POST['tickets']; $totalprice = $price * $tickets; … | |
I searched daniweb for related questions and google but i canot seem to find my problem in my code When I try to search for a word that exists in my list it returns false This is my code def main(): #the word that I am looking for word = … | |
![]() | I'm trying to create a .txt reader and inserting the read data to the cleansheets software we are editing in class but instead of putting the correct data it does nothing. I made some prints and this is what I obtain: D:\Documentos\Desktop\ImportTest.txt cacacaca ----- [[Ljava.lang.String;@73a175] cacacaca ----- [[Ljava.lang.String;@73a175, [Ljava.lang.String;@364cf2] cacacaca … ![]() |
i can not understanding the error of this program interface Test { void show(); void input(); void square(); } class Run implements Test { int a,b,c; void show() { System.out.println("a = " + a); System.out.println("b = " + b); System.out.println("c = " + c); } void input() { a=2; b=3; … | |
Hello guys I have to make a test enviroment with two computers that both have VS2010 and Intel MPi installed. I finished installing the system today and I am trying to test it. Specifically I am trying to integrate the MPI library to VS. I have added the lib and … | |
Hello i have a textarea on a form when i submit it it returns [object HTMLTextAreaElement] so does on the field of the table. WHat can i do to fix it? | |
Hi quite a simple question i hope, i want to include a couple of checkboxes in my form and if they are checked i'd like to set the appropriate db cell as true... should i be looking at something like? [quote] if(chkbox_name == 'checked') { $cdplayer = true; } ... … | |
![]() | Hi I have a flat array listed in the format below: id parent tag htmlcontent 2-0 null li |home| 1-0 2-0 ol 0-0 1-0 li |about| 6-0 null li |a| 5-0 6-0 ol 4-0 5-0 li |b| 3-0 4-0 ol 2-1 3-0 li |c| 1-1 2-1 ol 0-1 1-1 li … |
Database: id name 1 Supriya 2 Himanshu 3 Deepika 4 Himanshu 5 sonu 6 Sonu I am using name field to fetch the datas and my **OUTPUT** should be as id name 2 Himanshu 4 Himanshu 1 Supriya 3 Deepika what query should i use | |
Does anyone use boost program_options? What I'm trying to do is this: [code] --Files 1.jpg 2.jpg 3.jpg [/code] The only thing I know how to do is [code] --File1 1.jpg --File2 2.jpg --File3 3.jpg [/code] Does anyone know how to do this, and maybe store them in a vector<string>? Thanks, … | |
Hi guys, I'm running into an issue that's really frustrating me. It's probably the most common newbie oversight, causing me to get the dreaded NullReferenceException. I've encountered it many times before, but this time it's got me stumped. I'm filling a Datagrid with a table from a database. I'm able … | |
hy i have csv file with "," for example f_name,l_name,**city**,country..... (this is the headers) david,d,**tel-aviv**,israel shon,d,**q-gat**,israel i need to replace on specific column once (example city) , for example : if columnheader = "city" then replace (alldata in this column from "-" to`)..... int i = 1; int z = … | |
Well, the title says it all. Imagine that I have HelloWorld.java , I want to create an executable jar from it. I know that if I use IDE such as eclipse I can create it there but how can you create it without that? | |
I am a bit new to vb.net. I Want to make a custom shaped button in vb.net 2008 professional Edition. I Want to make it by Design and not by Code. Can Anyone Help me Please? Thanks. |
The End.