64,152 Solved Topics
Remove Filter ![]() | |
Hi i got this problem and i dont why it occured in my query i know that the Table name is correct and the Column Name is correct but this error always appear No value given for one or more required parameters. the it highlights the da.fill(dt) Dim da As … | |
I have the following code on threads.I have a doubt that is it possible that any of the two threads created ie one and two will execute the 2nd print statement in run method before the first print statement in it?That is print hello first and then the current thread … | |
Hi, All, Greetings! Is this doable? I have a textbox for email address entry, now, when I type the email address and reach the @ character, there will be a dropdown suggesting common domains like msn.com,hotmail.com, aol.com, yahoo.com and etc. I hope you can help me. Thanks in advance. | |
Good day, I am facing a trouble with my project. i want to load the database in my session but i dont have idea on how to do it. session["getName"] = _BLL.GetName(_myEntities); Response.Redirect("otherpage.aspx",false); on my master page. myLabel.Text = session["getName"].ToString(); that's my code. i want to get the record on … | |
Good day, I am having trouble with my dbase. i have 2 tables first is the maintenance table while the other is transactional table. on my maintenance table i have field(id, plan, material,type,percentage) while on the transaction table (id,material,description) here is my problem. on the maintenance table let say id … | |
Good day, I am having a probem with my sql. I want to create a formula for my pivot field.. here is my code... SELECT * FROM ( SELECT REPORT.MATERIAL ,REPORT.Description ,REPORT.Material_Type ,REPORT.ATP_check ,REPORT.Delivering_Plant ,REPORT.Order_Quantity ,REPORT.Held_by_Finance ,REPORT.Rejected_OOS ,REPORT.Rejected_Others ,REPORT.Open_Order_Quantity ,REPORT.Order_Quantity_NKA ,REPORT.Order_Quantity_RKA ,REPORT.Order_Quantity_Others ,REPORT.Stock ,REPORT.DSD_Delivery ,REPORT.OUtBound_Haulage ,REPORT.Total_OutBound_items ,REPORT.InBound_Haulage ,REPORT.Haulage_In_Transit ,REPORT.Process_Order ,REPORT.Total_Inbound_Items … | |
![]() | Hi guys I'm fairly new to java script and was wondering if I could get some help with this, please forgive the probably messy code. <HTML> <HEAD> <TITLE>Limerick Generator</TITLE> <script type ="text/javascript"> function display(f) { f.result.value = eval((f.character.value) + (f.body.value) + (f.characterrhyme.value) + (f.occupation.value) + (f.task.value) + (f.verb.value) + (f.direction.value) … |
there is no file zf.bat in zend frame work2 like in the previous version ............ please any one can tell how to install it easy way and in windows | |
I'm writing classes for widgets on a ui. While planning what I would do, I realized majority of the of the classes would look very similar. What I decided to do was to use a macro that takes a few parameters to define the similar parts of the class bodies. … | |
I've been given a script to work with for detecting browsers, to apply the correct css stylesheet. It's a little above my head, and I'm trying to determine how to make edits, to add in an if statement for this: Mozilla/5.0 (Linux; Android 4.2.2; Nexus 7 Build/JDQ39) AppleWebKit/537.22 (KHTML, like … | |
Hello. I have to design 2 classes that use a binary search tree for storing some orders for some products. I've researched on the Internet about BST implementations in Java, and I've found TreeSet. Do you have any other suggestions? Thank you:) | |
Hi. I use a fuction to retrieve some information from a remote site: $dom = new DOMDocument; @$dom->loadHTMLFile($url); $page_content = $dom->saveHTML(); When I echo the content, some characters appear like 'á'. I have tried many things from the internet, but nothing helped. Is there a solution? | |
Hello All! I have a MySQL database with 4 items, id (numerical), group_name, employees, and surveys. I need to in my select calulate the percentage of 'employees' who my the number in 'surveys' have taken the survey. This is the statement I have now: SELECT group_name, employees, surveys, COUNT( surveys … | |
I am running a database with about 200,000 records, so not too big. It runs fine except when I try to update one of the tables. Here is the code: Private Sub Add_History() Dim cb5 As New OleDb.OleDbCommandBuilder(da5) Dim dsNewRow5 As DataRow Dim sql5 As String sql5 = "SELECT * … | |
Guys how do I install WxPython in Ubuntu? I tried following the directions here: But to no avail.... [URL="http://wiki.wxpython.org/InstallingOnUbuntuOrDebian"]http://wiki.wxpython.org/InstallingOnUbuntuOrDebian[/URL] Is there an easier way to do this? | |
I'm looking to make a single method that takes in my object and spits out a checkbox with an item listener. Here's my relevant portion, the IDE wants me to make my argument and checkbox final prevents the listener from functioning during runtime. Any ideas or help would be appreciated, … | |
<?php // Dump the games.csv file into an array $games = fgets('file/games.csv'); // Parse the array foreach($games as $game) { echo "{$game}"; } ?> Error i get Warning: fgets() expects parameter 1 to be resource, string given in C:\wamp\www\test\peartest.php on line 3 Call Stack # Time Memory Function Location 1 … ![]() | |
I have a simple data input form in which when the form is activated if sets focus on a textbox and sets the back color. I later have a datetimepicker control. The tab stops are coreectly set but when ever the users selects a a date from the datetimepicker the … | |
Hello people, I was wondering what are the most popular email services (eg. Hotmail, yahoo, gmail...) Please help. | |
hi guys.. i need your help.. i want to display the user's login information. like, storage location..but im not sure how to do it.. this is how i try to do it.. $tenantID = $_GET['tid']; " " " $query_recTenantuser = "SELECT * FROM md_storage WHERE tenantID='".$tenantID."'"; $rs_recTenantuser = mysql_query($query_recTenantuser) or … | |
So, my assignment wants me to take an integer and print how ever many numbers until it reaches that number. So basically, if you type 5, the output would be : 1,2,3,4,5. My logic was this Define a for loop that starts at 1 and iterates until i is equal … | |
i have no insert method and still its adding node in linkedlist. code below have no error so you can run to see the problem better. if u run this it will ask u to enter a command. i only have two commands exit and display. display command will print … | |
I'm trying to get to grips with this create view thingy, but can't see it. This creats my view mysql_query("CREATE VIEW list AS SELECT AlbumId,Title FROM album, LEFT JOIN artist ON album.artistId = artist.ArtistId ORDER BY album.Title")or die ("no dice pal ".mysql_error()); that works, and creats it fine. But when … | |
Hi, Here is the File content. I want to use strtok to separate each. but the problem is if i use `strtok(string, "\",");`, the zip code (19428) of the detail is miss place and take State (PA) for the first record Because of "," in State. Although the second one … | |
I'm trying to write a cout formatter that uses the comma operator and insertion operator. I wasn't able to get that to work so I decided to write it similar to std::boolalpha. when you use `std::boolalpha`, it is able to change 0 values to true and false and you can … | |
Hi, Currently, I have 3 listboxs' data, but I don't know how to create 3 columns and show them with datagrid control. Does anyone give me a guid line how to show listbox's data with datagrid? regards | |
This program reads in some numbers then outputs the numbers, low to high, by using a bubble sory. I need some help to start how to do the bubble sort on a linked list. Here is what i have so far. .h file #include<iostream> #include<fstream> #include<cstdlib> using namespace std; struct … | |
package battleship; public class BattleShip { public static void main(String[] args) { Addons a = new Addons(); Board b = new Board(); Computer c = new Computer(); Human h = new Human(); LinkedList list = new LinkedList(); while(a.intro()) { a.sleep(1); a.countDown(5); b.prepareBoard(); do { h.play(b.getBoard()); a.checkWinner(b.getBoard()); System.out.println("How the Board stands."); … | |
Quick question on stripping, I'm executing a simple program, but whenever I try and run it in Terminal, it strips all wrong. The error it puts out is below. It iterates [+]Trying: admin/admin for the first line, but wont repeat it for the rest of the lines, as well as … | |
[WinForms].I have 3 columns in a gridview - code,Qty,name.If a cell(Say Code), is in edit mode, pressing the arrow or tab keys will fire the 'CellEndEdit' event and after that,moves the selection to the next cell. I want to have different selected cell if it is an arrow key and … | |
public class HelloWorld{ static int a; public static void main(String []args){ System.out.println("Hello World"); HelloWorld h =new HelloWorld(); a = h.foo(); System.out.println(a); } int foo() { try{ throw new Exception(); } catch(Exception e){ System.out.println("catch"); return 9; } finally{System.out.println(a);return 10;} } } When I ran the above code output was: Hello World … | |
I have a weird problem. I try to add two strings together but instad the variable evaluates to 0. Why is this happening and how to fix it ? <?php require_once('config.php'); $connect->query("SELECT id, name FROM room"); $rooms = $connect->get(); print_r($rooms); $result = "<ul>"; $asd = "Test"; /* foreach($rooms as $room … | |
package battleship; import sun.audio.*; import java.io.*; public class Sound // Holds one audio file { public void playIntro() { AudioStream bGM; try{ bGM = new AudioStream(new FileInputStream("intro.wav")); AudioPlayer.player.start(bGM); } catch (IOException error){} } } I have that on one of my games and the music doesnt run, any help? If … | |
Hello, I need to know why this isn't working... I have tried many different things but still can't get it to work. (And, yes, I have replaced the MYPASSHERE with my password but it always says I have not registered yet...) Imports System.Net Imports System.IO Imports System.Text Public Class Form1 … | |
// code says misplaced else can some tell me why and if possible make the correction? #include<stdio.h> #include<conio.h> char oper; int num[2]; int ans; main() { clrscr(); printf("Num:"); scanf("%d",&num[0]); printf("+"); scanf("%c",&oper); { if(oper=='+') { printf("+"); } { printf("Num:"); scanf("%d",&num[1]); } ans = num[0] + num[1] ; printf("%d",ans); } { else … | |
Hello Friends, I am having trouble with a homework assignment and was wondering if you would please take a look at it for me. I have to write a program that receives a prefix expression. Then it calculates and displays the result. It does this by using a stack to … | |
I had a doubt in one of the usages of typedef. I want to know the meaning of this line: typedef char Text[80]; What is the meaning of this line and what does it do? Does it create an array of typedefs relating to char, or does it mean "Text … | |
Guys i'm having another problem here. I have a data report that prints the student's information but my problem is how to create a report that prints only one student because my report prints all the student. Thank you in advance. | |
can anyone help me understand this code part ? this is about binary minimum heap , ie root has the lowest key.. the part of the code im trying to understand checks whether the subtree ( of a certain minHeap pq[1..N] ), rooted at k is also a min heap … | |
hi pls I need someones help. i am not good at programming and i have this subject ; but i am a BSBA major. it is like free section for me and i want to learn it to so i can be flexible. but this project is getting all my … | |
I was wondering if there is any way of tracking the number of times that a .jpg is displayed? The way that it is being used is that it is being displayed in an advertising campaign, and when someone opens the email, the .jpg is displayed, and I would like … ![]() | |
I want to have this table and user will be able t delete row of data if they wish to with the checkbox. But the errors i don't know how to solve: *Notice: Undefined index: itemcode in /home/lh026/public_html/pro1/ostock.php on line 153* *Notice: Undefined index: saiz in /home/lh026/public_html/pro1/ostock.php on line 154* … | |
Hi all How i can read txt file and put it into textbox? Please help me. Any help will be appreciated. Thank you | |
Hey fellas, My prof gave us a php example in class and I'm having some trouble understanding a peice of code: isset($_POST["item"])? $item = $_POST["item"]:$item = "Not Set"; isset($_POST["quantity"])? $quantity = $_POST["quantity"]:$quantity = "0"; The problems: Does isset just check if "item" is equal to something? The format of the … | |
I am working on a keyboard teaching aid similar to mavis beacon. With the following code i am able to detect if the enter key is pressed on the keyboard. If e.KeyChar = Microsoft.VisualBasic.ChrW(keys.enter) Then MsgBox("Enter key is pressed") End If but what i want to do is that i … | |
I don't know how to add songs in the database along with their link, content_type, duration, size, etc. I don't know which query & what datatype will be required to add the songs inside a database table. Since music file is a .mp3 or .wav data I cannot possibly add … | |
While creating a module within my program, I created a second Dataset (and it's called DesignDataSet2). I would like to delete it from the database altogether. I have already removed the one datatable that was within this dataset. I now want to eliminate this completely. How do I go about … | |
This is what I am tring to do... I have a table with 4 items: id (primary key) group_name employees surveys What I need to do is display all the data on a html table in input boxes, and allow a end user to update each field. I have tried … | |
Greetings guys how can i delete the selected items on the datagrid. I'm trying to search for some code but i can't find anything. And i need to finish this before thursday. i really need your help guys thanks! | |
I want to designe a code at display a perticular data Example a time table of the week For instance if someone view a page on monday so it show display result of the table or data which is set to display on monday or if some one view same … |
The End.