64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for ImZick

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 …

Member Avatar for ImZick
0
99
Member Avatar for saurabh.mehta.33234

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 …

Member Avatar for stultuske
0
182
Member Avatar for renzlo

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.

Member Avatar for renzlo
0
743
Member Avatar for cyberdaemon

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 …

Member Avatar for cyberdaemon
0
105
Member Avatar for cyberdaemon

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 …

Member Avatar for cyberdaemon
0
167
Member Avatar for cyberdaemon

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 …

Member Avatar for cyberdaemon
0
219
Member Avatar for ChargrO

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) …

Member Avatar for IIM
0
207
Member Avatar for kakalahori

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

Member Avatar for kakalahori
0
250
Member Avatar for James19142

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. …

Member Avatar for James19142
0
815
Member Avatar for turpentyne

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 …

Member Avatar for turpentyne
0
223
Member Avatar for lauraroxi

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:)

Member Avatar for cmps
0
186
Member Avatar for eburlea

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?

Member Avatar for eburlea
0
2K
Member Avatar for mattsheets

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 …

Member Avatar for TonyG_cyprus
0
403
Member Avatar for UKnod

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 * …

Member Avatar for TnTinMN
0
240
Member Avatar for HoneyBadger

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?

Member Avatar for vegaseat
0
337
Member Avatar for Lamirp

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, …

Member Avatar for Lamirp
0
285
Member Avatar for kakalahori

<?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 …

Member Avatar for diafol
0
223
Member Avatar for NYCRAVEN

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 …

Member Avatar for TnTinMN
0
176
Member Avatar for joshl_1995

Hello people, I was wondering what are the most popular email services (eg. Hotmail, yahoo, gmail...) Please help.

Member Avatar for joshl_1995
0
181
Member Avatar for sagisgirl

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 …

Member Avatar for sagisgirl
0
202
Member Avatar for <M/>

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 …

Member Avatar for <M/>
0
186
Member Avatar for game06

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 …

Member Avatar for game06
0
176
Member Avatar for TonyG_cyprus

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 …

Member Avatar for TonyG_cyprus
0
159
Member Avatar for smith32

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 …

Member Avatar for smith32
0
1K
Member Avatar for triumphost

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 …

0
190
Member Avatar for zawpai

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

Member Avatar for zawpai
0
2K
Member Avatar for CHOCHOCHO

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 …

Member Avatar for Schol-R-LEA
1
1K
Member Avatar for Nandomo

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."); …

Member Avatar for stultuske
0
251
Member Avatar for clouds_n_things

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 …

Member Avatar for clouds_n_things
0
242
Member Avatar for RubyRuby

[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 …

Member Avatar for RubyRuby
0
818
Member Avatar for saurabh.mehta.33234

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 …

Member Avatar for IIM
0
163
Member Avatar for Martin C++

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 …

Member Avatar for IIM
0
103
Member Avatar for Nandomo

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 …

Member Avatar for stultuske
0
234
Member Avatar for Yorkiebar14

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 …

Member Avatar for Yorkiebar14
0
233
Member Avatar for hayate98

// 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 …

Member Avatar for hayate98
0
174
Member Avatar for HankReardon

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 …

Member Avatar for HankReardon
0
337
Member Avatar for nmakes

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 …

Member Avatar for deceptikon
0
579
Member Avatar for Jake.20

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.

Member Avatar for Jake.20
0
114
Member Avatar for somjit{}

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 …

Member Avatar for somjit{}
0
194
Member Avatar for kidkardel

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 …

Member Avatar for tinstaafl
0
4K
Member Avatar for showman13

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 …

Member Avatar for LastMitch
0
166
Member Avatar for joeyliew7

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* …

Member Avatar for joeyliew7
0
2K
Member Avatar for Aurax

Hi all How i can read txt file and put it into textbox? Please help me. Any help will be appreciated. Thank you

Member Avatar for Aurax
0
343
Member Avatar for milkman93

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 …

Member Avatar for jkon
0
196
Member Avatar for babateejay

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 …

Member Avatar for Jx_Man
0
3K
Member Avatar for vinnitro

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 …

Member Avatar for pixelsoul
0
701
Member Avatar for Papa_Don

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 …

Member Avatar for Reverend Jim
0
114
Member Avatar for mattsheets

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 …

Member Avatar for TonyG_cyprus
0
298
Member Avatar for Jake.20

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!

Member Avatar for Jake.20
0
252
Member Avatar for dendenny01

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 …

Member Avatar for dendenny01
0
294

The End.