199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for game06

note player is a space ship. in player class i have set up collision so that player cant go above window and below. player class public void playerWCollision() { if(y < 0) { y = 0; } else if(y+height > Main.WINDOW_HEIGHT) { y = Main.WINDOW_HEIGHT-height; } } lets say player …

Member Avatar for game06
0
138
Member Avatar for dinesh012

hi i have a database with a image(Binarycode) and i want to select that image and infomation i tryed like this but it says liki this OledbExpaession unhandled No value given for one or more required parameters. my code like this Imports System.Configuration Public Class Form9 Dim A As String …

Member Avatar for dinesh012
0
206
Member Avatar for usmmnn

desing algorithms using flowchart and pseudocode to display sum of all even numbers between 7 and 2020213?

Member Avatar for deceptikon
0
75
Member Avatar for Papa_Don

Hi group, I'm still learning Visual Basic and SQL. Please overlook my inabilities. I'm writing a module that is meant to write a small amount of data to a database. I've named these fields 'PrinterID', 'PrinterName', 'PrinterNumber', 'PrinterLocation' and 'PrinterAddress'. The user will eventually have 30 or 40 records to …

Member Avatar for Papa_Don
0
2K
Member Avatar for turpentyne

I have a strange little glitch only on Ipad and I'm not sure what causes it. I have some simple code on the page to load a new php file when they select a menu item. The first choice loads to the page, when they user arrives. If they click …

Member Avatar for pixelsoul
0
140
Member Avatar for ibn_sumal

I have 2 tables inside of my database and 2 forms on my website. 1 form works and sends information over to its table in the database while the other form doesn't although I have used the exact same method for both. Here is my code, please help me find …

Member Avatar for ibn_sumal
0
423
Member Avatar for zachattack05

Hi everyone! I am working on a custom control, and for the life of me I can't figure this one out. As of right now, all properties for controls that are settable in the editor I use this code: [Browsable(true), Description(""), Category(""), DefaultValue()] I fill in the blanks appropriately, but …

Member Avatar for zachattack05
0
146
Member Avatar for virusisfound

Hi.. I am trying to create question paper generator application in C# windows application with sql server as back end. Now I need your help to select the questions from database. Ex: User Selection like: Chapter selection from listbox then select 1 mark – 5 question 2 mark -3 questions …

Member Avatar for virusisfound
0
740
Member Avatar for shrina

how to read from txt file to array & how to omit heading in the txt file and store it to array

Member Avatar for tinstaafl
0
254
Member Avatar for darkocean

Whenever I want to delete row my excel file in c#. I have get error. I tried much much codes on the net but I can not solve my problem. Please solve my problem... Regards,

Member Avatar for santiagoivan.santana
0
9K
Member Avatar for zahrak

hi. i work on image processing.how can i convert my mfile to c++ code? i try with : mbuild -setup mcc -B cpplib:mfile a.m and matlab compiler give me cpp code but i can not run it. how can add lib & header file that it can run? is there …

Member Avatar for mohammad110
0
865
Member Avatar for Clan Onion

In Assembly there's not going to be much insight on linked lists, B trees, arrays, etc. In fact those don't even exist at the bit level. Sure, they help solve some problems from all the way up to your compiled language syntax, but such symbols don't exist in machine code, …

Member Avatar for mathematician
0
298
Member Avatar for mogaka

update drugs,drug_sales SET drugs.b_price=(SUM(drug_sales.fee)/SUM(drug_sales.quantity)) WHERE drugs.drug_id=drug_sales.drug_id AND drug_sales.pid=0 update drugs,drug_sales SET drugs.b_price=SUM(drug_sales.fee)/SUM(drug_sales.quantity) in drugs.drug_id=drug_sales.drug_id AND drug_sales.pid=0 The intention of the above 2 queries is to update a table called drugs based on computational results of table called drug_sales. The two queries fails and the error is: "#1111 - Invalid use …

Member Avatar for pritaeas
0
356
Member Avatar for riahc3

Hello I have this: String price="10,00 €"; int num=2; int sum=Integer.valueOf(price)*num; System.out.println(sum); //Should print out AT LEAST 20,00 But note: That € sign can be $, €, £ or another AND it can come before or after the numeric float amount. What is the best way to do this? Thank …

Member Avatar for mKorbel
0
554
Member Avatar for luma64

I display records from one table. On every rows I add 2 columns (type of listbox). They are filled from another tables. How can I save choiced values from listboxes after Save? <!-- Anesteziolog --> <form name="myForm" action="cos_den.php" method="post"> <?php echo"<td >"; $cpquery = "Select anesteziolog from anesteziolog order by …

Member Avatar for luma64
0
136
Member Avatar for Malortje

Hi guys, i'm a little bit new to c# but someone asked me to make something for him, now was the question to make a Winform application, and you can insert 2 xml files, then read the xml files, and make a new xml file with the updated data out …

Member Avatar for Ketsuekiame
0
289
Member Avatar for nilesh7136

hello, i have a application, with sql database, now i want to backup every week, so i have code a but it gives error: "The process cannot access the file 'C:\Users\yogeishh\Desktop\Restaurant-Stock-Management-System\Restaurant-Stock-Management-System\DataBase\RestaurantStockDataBase.mdf' because it is being used by another process." can anybuddy solve this error?? my code is :: " Private …

Member Avatar for Begginnerdev
0
276
Member Avatar for helpme005

Hello every one my problem is i made a website with registration and alot of other things but i want to make a form that have two main fields 'subject' and 'post' like this website and then when the user fills every thing and press submit a new page will …

Member Avatar for helpme005
0
237
Member Avatar for typomaniac101

I have searched tutorials, etc., on the subject of using flock but it seems like nothing gives a straight answer. I have a script for a guestbook which will allow users to upload photos. Everything goes to a MySQL database with the exception of the image which will go into …

Member Avatar for semontuffel
0
164
Member Avatar for bansarisavaliya

"I want Dropdowm autocomplete with binding in SQLServer in asp.net anyone can help me "

Member Avatar for bansarisavaliya
0
221
Member Avatar for dinesh012

hi .... im tring to insert a picture with some information to the database when i run the progaram it will display the bellow message NullRefaranceExprasion was Unhandle Object reference not set to an instance of an object. this is my full code is there is any mistake? Imports System.IO …

Member Avatar for dinesh012
0
227
Member Avatar for nitos

hi, i need to .show a window to enter the date of a record when it was recalled i have the following so far but its jumping the frmRecallDate.show line. Any help is appreciated Private Sub cmdRecall_Click() On eror GoTo ErrMsg: With rsRecalls If .State = 1 Then .Close .Open …

Member Avatar for Jx_Man
0
287
Member Avatar for LeNenne

Hi I know how to make just numeric textbox, but the problem is that I wisch to enter in the text box wit 2 numbers and then search trough a database to recive just zipcodes. Lenny

Member Avatar for Jx_Man
0
103
Member Avatar for NardCake

Hello! I'm working on a mini framework and everything is going great, exvept this one part that I have gotten working but it brings more complications and it's extremely confusing to me. So I will summarize what is going on. Essentially I have a class (a controller, we'll call this …

Member Avatar for pritaeas
0
222
Member Avatar for cyberdaemon

Good day, I am having trouble with the excel file that i was uploaded.. after i uploaded the excel file i want to validate each header and each datatype of it. just to make sure that my dbase has integrity.let say i have 10 columns. Is there a way on …

Member Avatar for Nalestard
0
294
Member Avatar for espil

I have the following code: <div id="leftDiv" style="float:left; height: 300px; width: 420px;background-color:transparent; position: relative"> <div style="position:absolute; left:141px; top:180px; width: 319px; z-index:1"><b><%=tmpJsonValue2 %></b></div> <div style="position:absolute; left:320px; top:180px; width: 319px; z-index:1"><b><%=tmpJsonValue9 %></b></div> <img id="leftImg" style="width:100%; height:100%; z-index:-1; right: 1124px; top: 9px;" src= "xxx.jpg" /> </div> Which displays an image and on top …

Member Avatar for theHop
0
255
Member Avatar for Sammys.Man

hi guys, im a bit stuck here and wondered if anyone could help? what i want to do is, after the DataGridView is populated (this part works fine) is to do a calculation on 2 columns i.e column 2 column 6 1 2 2 2 i need column 1 and …

Member Avatar for Sammys.Man
0
192
Member Avatar for shubham.sss05
Member Avatar for mohammed.ismail
0
174
Member Avatar for arctushar

Hi I want to use htaccess rewrite, which will act as below 1. http://mysite.com/?sura=x as http://mysite.com/x 2. http://mysite.com/?sura=x as http://mysite.com/x/ 3. http://mysite.com/?sura=x&ayat=y as http://mysite.com/x/y 4. http://mysite.com/?sura=x&ayat=y as http://mysite.com/x/y/ is it possible by htaccess ?? please help me

Member Avatar for dorco
0
208
Member Avatar for modesto916

Hi, My teacher asked us to implement the bigint data type in C, C++ or Java, we must also implement the basic operations (assignment, addition, subtracion, multiplication and division). I'm implementing in C, my ADT is implemented as an array of chars, the first char is used to represent the …

Member Avatar for bguild
0
1K
Member Avatar for Goldfinch

I've been trying to figure out how to launch a java application from a single double click file like you would Microsoft Word or Firefox. I think I've seen a couple of Java applications that do this, but I haven't seen how.

Member Avatar for <M/>
0
204
Member Avatar for marykate02

Hello! I'm currently doing a registration form in asp.net with 3 layered development. I want to know what are the codes for search button. I want it to display results in the data grid view when i input the primary key. Thank you :)

Member Avatar for geniusvishal
0
620
Member Avatar for GTTravis

Hi Guys, I have a dropdownlist that is being populated with entries from an sql database, the dropdownlist has about 50 entries already. What i aim to do is allow the users to type within the dropdownlist and it generates from that list a smaller subset of items based on …

Member Avatar for geniusvishal
0
213
Member Avatar for krebz

Hi Experts, I've got a school assigment in c language programming but this course is new to me. Q. Create 5 users - the 5th user would be the admin Admin would have privilledge to view user profile and disable user account. User Profile: Name, D.O.B, Gender, Occupation, Contact, Income …

Member Avatar for krebz
0
147
Member Avatar for Pobunjenik

Hi, thanks for looking at this thread. :) **The goal:** I have this 2D boolean array (from my [decoder](http://www.daniweb.com/software-development/java/threads/452559/decoder-simulatorcalculator-complement-of-2-problem) thread). I managed to write a method that goes through the rows and appends a '1' or a '0' to a string based on what's in the array (1 for true, …

Member Avatar for Pobunjenik
0
366
Member Avatar for Kosamov

Hi Everyone, I've been working on creating this code for a project I've been working on but I can't seem to get it to work. I'm creating a service class that I can then pass to a client class that will read a list of cities that ends in a …

Member Avatar for Kosamov
0
163
Member Avatar for varunsara

when i put my code in the cron processing it shows an error message after sometime of execution. "Fatal error : Out of memory (allocated 65273856) (tried to allocate 10485761 bytes) ". But the execution is working fine with the localhost. Kindly anybody let me know whats the problem was?

Member Avatar for TonyG_cyprus
0
300
Member Avatar for dmanw100

I'm learning how to use the SDL libraries but I'm having a small problem playing the sound. The program appears to load the sound but either not play it or play it too low for me to hear. Here's my code so far: [CODE]#include "SDL/SDL.h" #include "SDL/SDL_mixer.h" Mix_Music *play_sound = …

Member Avatar for hassan.ahmad
0
499
Member Avatar for doraemon

I am tring to recreate my oracle database -> sql server 2008. I never used sql server before, so I am using sql server management studio. I could create tables and views. The views I created using sql server management studio GUI has data in it. Now, I tried to …

Member Avatar for LastMitch
0
243
Member Avatar for beginnerpals

Another solution i've been searching for days now is for sending mail to actually existing accounts, but haven't quite found it yet. I have this functionality in my code where i can search and select professors individually for setting question papers. The search and select pages are working fine, so …

Member Avatar for LastMitch
0
591
Member Avatar for Pobunjenik

Hi! It's me again and [this](http://en.wikipedia.org/wiki/Decoder) is a decoder! **The goal:** And I'm trying to make a program that solves logical problems related to the decoder device. For that I need a loop that write true/false into a boolean[][] based on the rules. Say we have a decoder with 3 …

Member Avatar for Pobunjenik
0
450
Member Avatar for MareoRaft

1. I see %f is for float, %@ is for string. Is %d for anything? Which % is for double? Which % is for BOOL? 2. What is the different between double and float? When I put float flow=-8.1234567890123456789; //4 bytes floating point double dobble=-8.1234567890123456789; //8 bytes floating point NSLog(@"flow …

Member Avatar for geojia
0
168
Member Avatar for ska_defender

I am using the following code for playlist in jwplayer as shown in this page http://www.longtailvideo.com/blog/20697/jw-player-57-all-about-html5-playlists <div id="html5playlist"></div> <script type="text/javascript"> jwplayer("html5playlist").setup({ modes: [ { type: "html5" }, { type: "flash", src: "http://player.longtailvideo.com/player.swf" } ], playlist: [ { levels: [ { file: "http://content.bitsontherun.com/videos/bkaovAYt-364766.mp4" }, { file: "http://content.bitsontherun.com/videos/bkaovAYt-1287469.webm" } ], image: "http://content.bitsontherun.com/thumbs/bkaovAYt-480.jpg", …

Member Avatar for LastMitch
0
253
Member Avatar for MareoRaft
Member Avatar for Raghu88

Hi anyone please help me...... i am trying to export some data to excel file while doing this i got the following exception... here is the stacktrace... Servlet.service() for servlet action threw exception: java.lang.IllegalStateException: getOutputStream() has already been called for this response at org.apache.catalina.connector.Response.getWriter(Response.java:598) [:6.1.0.Final] at org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:199) [:6.1.0.Final] at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:125) …

Member Avatar for LastMitch
0
420
Member Avatar for KKKKKRTtTT

> I have an xml document that looks like this: <OUTPUT version="2.0"> <RESPONSE> <LOAN_DATA loan_id="xxxx" loan_number="1111" loan_type="HE" status_code="OK"> <![CDATA[<MORTGAGE_LOAN xmlns="http://www.something.com/CLF" version="1.0"> <APPLICANTS> <APPLICANT is_declined="N" first_name="MARISOL" last_name="TESTCASE" m_initial="L" middle_name="L" ssn="000000001" > </APPLICANT> </APPLICANTS> </MORTGAGE_LOAN>]]> </LOAN_DATA> </RESPONSE> </OUTPUT> I can successfully read down to the CData section and can even access the …

Member Avatar for LastMitch
0
278
Member Avatar for wolfgangcs

Is there a reason why this won't take aciton or submit. I don't get any movement on the browser. Neither of the forms move. <div data-role="content"> <?php echo "<table width=\"500\" border=\"1\" cellpadding=\"4\">"; while($row = mysql_fetch_array($showEmployees)) { echo " <div data-role=\"collapsible\" data-mini=\"true\" data-content-theme=\"c\"> <h3>{$row['employee']}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$row['phone']}</h3> <p> <form action='admin.php' method='post' accept-charset='UTF-8' id='editemployee' > …

Member Avatar for masterjiraya
0
598
Member Avatar for klin1344

Hi everyone. I am doing a USACO training assignment, and the instructions are as follows: > Is Friday the 13th really an unusual event? > > That is, does the 13th of the month land on a Friday less often than on any other day of the week? To answer …

Member Avatar for klin1344
0
1K
Member Avatar for GaryWazHere

Hi, I need help with my c++ maze game. The problem that I'm having is my keys and doors. I don't really know how to unlock a door after obtaining a key. Heres my code, its a bit messy: #include <stdio.h> #include <stdlib.h> #include <windows.h> #include <process.h> #include <cstdlib> #include …

Member Avatar for GaryWazHere
0
1K
Member Avatar for Tinnin

Hi all, I'm trying to run an update query using the following code: <?php require_once('myConnect/connect.php'); $email = mysqli_real_escape_string($dbc, $_GET['e']); $ac = mysqli_real_escape_string($dbc, $_GET['ac']); $checkQuery = "SELECT subscribed FROM myUsers WHERE email='$email'"; $checkQueryResult = @mysqli_query($dbc, $checkQuery); $row = mysqli_fetch_assoc($checkQueryResult); if ($row['subscribed'] == 1) { echo '<p><b>This account has already been activated!</b></p>'; …

Member Avatar for diafol
0
218

The End.