64,152 Solved Topics
Remove Filter ![]() | |
I have a DataGridView that contains 3 columns, the first is a drop down and the second and third are textboxes. However, the third one is read-only and is only there to provide information to the user on the item selected from the dropdown column. If the user changes the … | |
Hi all, Having a small issue with some PHP i'm re-writing. I'm converting my old mysql to Mysqli for a new project. my database is called "jobboard" my table is called "details". The Idea is to have a drop down and then select the persons name (Which has the ID). … ![]() | |
Group, In reviewing the data in one of my SQL Server tables, I noticed that my nchar or nvarchar fields have additional spaces added to the end of the record. Is there a way to stop this? Should I be using a different data type? In advance, thanks for your … | |
I am having problem on removing root, moving the lastnode to the new root and applying the downheap. Here is my code snippet #include <iostream> #include "heap.h" heap::heap() { data=new myvector<heapData> (10); size=0; heapData item; item.key=0; item.data=0; insertItem(item); } heap::~heap() { delete data; }; void heap::insertItem(heapData item) { data->insertAtRank(size,item); size++; … | |
Hello friends, I'm tring to make excel file using vb but i don't know how to do it. There anyone know how to do this. Thank you. Eko | |
I have deployed my apk file to the Android emulator but it is displaying the apk file from 3 weeks ago where as I want the current version to display with the updated features as it is showing in Eclipse.Any ideas? | |
Hi, I am having a problem regarding the return statment, for some reason it is not working, can someone please tell me what i am doing wrong? The return is taking a selection of table collumns not all e.g. the simple return all "return $x" Thanks for $x in doc("Suppliers.xml")/dataroot/Suppliers[Country … ![]() | |
Hi all, As i mentioned in thread title, i want to create and delete folder. How i can create and delete folder/directory with vb6. Please help Regard | |
![]() | i have an xml File, below is snippet from the file <?xml version="1.0" encoding="UTF-8"?> <dataroot> <Products> <ProductID>37</ProductID> <ProductName>Gravad lax</ProductName> <SupplierID>17</SupplierID> <CategoryID>8</CategoryID> <QuantityPerUnit>12 - 500 g pkgs.</QuantityPerUnit> <UnitPrice>26</UnitPrice> <UnitsInStock>11</UnitsInStock> <UnitsOnOrder>50</UnitsOnOrder> <ReorderLevel>25</ReorderLevel> <Discontinued>0</Discontinued> </Products> <Products> <ProductID>38</ProductID> <ProductName>Côte de Blaye</ProductName> <SupplierID>18</SupplierID> <CategoryID>1</CategoryID> <QuantityPerUnit>12 - 75 cl bottles</QuantityPerUnit> <UnitPrice>263.5</UnitPrice> <UnitsInStock>17</UnitsInStock> <UnitsOnOrder>0</UnitsOnOrder> <ReorderLevel>15</ReorderLevel> <Discontinued>0</Discontinued> </Products> … |
Do anyone here Know how to get the previous month of a given date.. Example given date: 11/25/2012 Output: 10/25/2012 thank you.. i know you can help me .. | |
Hi I have a site built on Wordpress which has a over 4,000 posts all with the suffix -2 at the end of the post name (due to me forgetting to clear the trash) before running an import). I would like to remove the -2 from the post names with … | |
hie i have a php form which will require a user to enter an ID Number in this particular form e.g. 34 1297336 Z 42 how to i create an easy and neat validation for that field. thanks any help will be appreciated! | |
Hello Community, I was wondering if there is a way to make a page look like a subdirectory. This is what it would look like now http://example.com/page.php this is what i want it to look like http://example.com/sub/page.php But i don't want to put the page.php in a subdirectory i just … | |
I am new to VB and working on a homework assignment that I’ve seen posted in years past. The threads were aged a year or more so I’m starting a new discussion. I am writing a program that allows me to enter sales for 5 stores and display a bar … | |
This is the php code i have in my logout.php file: <?php session_start(); session_unset(); session_destroy(); header('Location: index.php'); exit(); ?> While starting the session, I set the variables username and password. My logout file isn't working properly. When i click logout, it leads me to my home page (index.php), but on … | |
i have a form which will display the details in a table,when edit button is clicked all the content in the table should come in a form(ie inside the textboxes)..so that the user can edit and save the content again in the database. [B][U]1st page[/U][/B] $link=mysql_connect($hostname, $username, $password); mysql_select_db($dbid) or … | |
i am trying to use recursion to find the occurence of a specific character in an array of characters public class CharacterCounter { public static void main(String [] args) { char test[] = {'a', 'b', 'a', 'c', 'd', 'a', 'e', 'a', 'f', 'g', 'h', 'a', 'i', 'a'}; char searchChar = … | |
Hi I am trying to link a selected item from one listbox to display all the results in another listbox by using a filter method (Or something similar). Both listboxes are filled with information from a text file. The first listbox has information such as the different Genres of a … | |
Hi, I'm having trouble trying to figure out a code that converts negative decimal numbers to binary, as well as specifying the number of bits. For example. convert -18 using 8 bits. This should come out as 10010010 doing it manually, I think. I'd appreciate the help, thanks. | |
I'm trying to make a blackjack program for my comp sci class and one thing I can do for extra credit is add a feature that allows a user to play a new game at the end of the first game (and replay games after each game). My thought is … | |
Hello Community, I was just wondering why my password matching section ( } else if (!$password === $cPassword) { ) in the else if isn't working. Whats happening is it is saying the passwords do match but they don't. I have tried many ways to fix it there is one … | |
i just say some using "this." in setter, getter and constructor method. i have never done this so is this good prative to use "this" in getter or setter. ex: public test(int ix) { this.x = ix; } or public int getX() { return this.x; } | |
Hi, In my website i have implemented custom session values. In which, on log on i set the session value to some object. This object is used to extract user specific data from db. now the problem is If user logs in with : test1.somesite.com and logs off and again … | |
| |
Write a java code, Extend class Fraction by adding methods for the arithmetic operators +, - and /, and the six relational operators (==, !=, <, >, <= and >=). Then compute a menu-driven fraction calculator. Program shoud do all 9 arithmetic operations and 0 to stop. User should first … | |
So I created a form that used windows.forms and I was moving it over to web based. Now in there, there was DataGridView. Asp.net does not use that. So when I try the same thing. using (var = new ()) { var v = from l in .Logins where l.LogoutTime … | |
I am trying to change the order of the stack using z-index. as my HTML, CSS and javascript function show in the code below. The three tables are all read into the same location, with only the last table being printed on the screen, since all tables use a white … | |
Group, I need to use Function keys within a form I've created. The problem I'm having is determing the correct routine to fire it off. Here's what I'm attempting to do: In Form1 (actually called "OrderEntry2"), I want to give the user the option of keying in a part number … | |
Hello, I have a small problem with my script. The ajax calls php file but it wont finsih successfully. Instead it goes to error: callback. My javascript part: function updateUserlist(){ $.ajax({ type: "POST", url: "process.php", data: {"function": "userList", "n_users": n_users}, dataType: "json", success: function(data){ console.log("Updating..."); $("#users-list ul").append("<li>"+data.text['nickname']+"</li>"); n_users = data.numUsers; … | |
Hello everyone, I'm a beginner in programming languages and in Python. I came across this error and I don't khow if it is a logical error or a design error. The problem is with class_average a = {1:[1, 2, 3], 2:[3,4,5], 3:[6,7,8] } b = {1:[3,7,4], 2:[8,2,9], 3:[3,6,3] } c … | |
I have a program I wrote a few years ago that interfaces largely with MS Excel. At the time my company used Office 2007. We have since upgraded to 2010 with no problems. However, I had to make some adjustments, and now I can not compile. The error is Error … | |
![]() | Hi I need to change number ordering in table: This is original: SELECT MAX(`number`) FROM `'._DB_PREFIX_.'order_invoice` It selects max number from column. Now I need to change Invoice number to start from 1 again, now it is on 110. Should I create new table and start from one or what … ![]() |
not able to upload more then 2 mb of file in php i m using post method | |
I need to connect to the wikipedia search API. Here is an example response <api> <query-continue> <search sroffset="10"/> </query-continue> <query> <searchinfo totalhits="169717"/> <search> <p ns="0" title="Intelligence quotient" timestamp="2013-04-04T05:15:12Z"/> <p ns="0" title="Test" timestamp="2013-02-23T01:15:05Z"/> <p ns="0" title="TeST Gliders" timestamp="2012-09-22T11:05:05Z"/> <p ns="0" title=".test" timestamp="2013-02-25T14:48:22Z"/> <p ns="0" title="Test cricket" timestamp="2013-04-02T18:49:54Z"/> <p ns="0" title="Test (assessment)" … | |
Hy All I run a PPD website, so the members have to complete a survey before they can download a file. But after the survey they got this error, please see the pics. http://filemonster.org/images/97f448bf6398174f45e04ffc8ac964bb.png I didnt edit anything and check the file structure and didnt see any bad coding. I … | |
Does anybody know any good websites to learn PHP? I design websites in html, css, and javascript... but I want to be able to do more by working with PHP.I have checked out Codeyear, and w3schools. So if anybody could just help me out that would be great =) | |
#include<stdio.h> int i=5; main() { int i=6; { int i=7; printf("%d",i); } printf("%d",i); } Why does the above code doesnot give a variable redifinition error..Although the variable i is defined outside of block also?? | |
Hi all, I'm trying to bring up a table of data using a select query to create a DataSet that I'm displaying in a datagrid. When I use SELECT * FROM myTable it works fine, but when I only want the specific columns SELECT URN, 'CanX Reason', 'Date to take … | |
hi, i am have made a button, and everytime i click it it takes a value from my input box, and it subtracts it and stores it back into the input box value. but what i am trying to do is, store my value into an array or anything everything … | |
Hello All, I intend to develope a console application in C# in which there should be 3 functionalities :- 1. Open Wordpad.exe and automatically type something. 2. Save the updated document. 3. Close the Wordpad with changes saved. Kindly guide me if anyone has some ideas. I have managed to … | |
Hi danibians, wonder where i got this error. it got error after it reads the runcompleted process. here is my code Hi Everyone, Hope you could help me with this. I got an exception error saying "Exception has been thrown by the target of an invocation." here is my code: … | |
hi there, im new in coding on visual basic, well, im new at coding at anything :) i have a problem on my telephone directory program that i created about listview, i was wondering if i can click the item on a listview and show the result on a new … | |
I made c# asp.net web applciation with oracle 10g database using visual studio 2008. It works fine with local environment. After I published on my web server and received the following error: *Could not load file or assembly 'Oracle.DataAccess, Version=10.2.0.100, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. The system cannot … | |
Hi, Im using DX9c and learning from Frank Luna's book to try and handle OnLostDevice and OnResetDevice, when switching to fullscreen and back (and alt+tabbing). If I dont draw anything I am able to go from windowed to fullscreen, and back, with no trouble. But adding a draw and flush … | |
Ok so I saw the few posts here, none do what I need mine to do, and for some reason it does not work. I upload CSV files to webserver (bank statement) 5 fields - it inserts into a MYSQL DB. Numbers dates are all formated correct etc etc. This … | |
Hi all! I have a problem that I've been struggling with for quite sometime. In short I've successfully parsed a xml file from a string. But I can't seem to access the correct elements. The thing is I'm reading the xml file data via javascript but in the xml file … | |
Group, I'm thinking I may want to use the Date data type in SQL Server. However I'm still very unclear how to read, write and compare using this kind of data type. I realize this has a time component which is of no importance right now (it will be later … | |
hi everyone :) i want to learn vb6 , but i dont know where to start. I have a college project related to creating banking software where vb6 is being used as the frontend. i have around 1 month to get my vb6 skills up , as the project has … | |
Hi I currently have a textfile with different types of unit measurements -> from, to, factor (E.g. ounce, gram, 28.0) So far i've written this: string from, to, x, y; double factor, amount, output; string[] splitData = new string[2]; StreamReader reader = new StreamReader("Filename.txt"); string[] data = reader.ReadToEnd().Split(','); How would … | |
Hello. I am trying to recreate manually a small celsius-to-fahrenheit converter that I created with Design view before that. I used its code for reference, but still doesn't work. When I run my code I don't get the components drawn on the screen, only an empty window. What am I … |
The End.