199,124 Archived Topics
Remove Filter ![]() | |
i have an existing database and i want to attach that database one time to sql server and when thee database is attached then it open that database | |
I am getting thid error while opening an excel file. Plz help me why this is happening. In fact when i run my application on my computer it works but it generates this error when applications is runned on other computer. Other computer also have the dotNet framework installed and … | |
I want get smaller number of Qty from select record in datagridview. after that insert to another Table. For Example, datagridview A got 5 record with same PONO, when I move these record to datagridview B, they will become a summary record and 5 records become 1 record. like picture … | |
I am pretty new to C#. I am a Borland c++ developer and is used to "newing" and "deleting" objects programmatically. I understand that with C# the garbage collector is responsible for the deleting of objects. It seems though that I have a memory leak. I am developing a SQLServerDBInterface … | |
Hello.. I am new to vb.net. Need to know how can I retrieve the value from compname field of my table, to the textbox7 in form i made. While the user enters data in the textbox, i need to compare the entered textbox value, if it exists or not, in … | |
hey everyone, I'm just having a problem debugging this line and I don't see anything wrong with it. I tried using SelectValue and other ways but nothing seems to be working. The error message I get is that Exception Details: System.FormatException: Input string was not in a correct format. [code] … | |
I am very new to PHP.. Please let me know which part will be saved in Client PC and Which part will be saved in Server? [CODE=PHP]$_SESSION['name'] = 'John';[/CODE] | |
I'm looking to create a battles, Explanation: I want to create a place on my website where users can vote on two users on a certain category, such as (example: best eyes, smartest person, etc) then other users have the option to vote, but only once, and who ever has … | |
Problem:- I want to show only those Documents which are before the deadline of the page. when deadline equals or less than the currentdate then show else move to archive or send to archive file. How to write a code for this or a query ? as for understanding , … | |
Dear friends , I am new to java . I created an JFrame(Calculator) application in Netbeans.Now i want to run that file from console(putty) since i gonna use that .java class in some other program through which i want invoke this . How do i do this . When i … | |
BOOL is basically pretty intuitive.. my question: [CODE]#include "stdafx.h" #include <iostream> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { double cost, finalPrice; bool type; type=true; //taxable cout << "Enter price: "; cin >> cost; if (type) finalPrice = cost*1.07 ; else finalPrice = cost; cout << "Final price: " … | |
hi everyone i m a begginer to iphone apps development ...i m ryt now studying the topics related to phonegap...and my problem is with creating database can anybody tel me how to create databaase for iphone using phonegap.. | |
hi, right now i'm working on a program that prints parabolic shapes on the screen. And i want to be able to type a formule, and than i need python to understand that formule :? I have heard from many people that this is extremely hard But is there a … | |
i have ask about it, but anyway... well as we say, 1 of reason we dont put everything in 1 exe is for memory i dedicated to create a simple application, somethink like "library manager" that i want from you ppl is to say me, im tottaly wrong this way? … | |
Hi! I want to read a text file word by word to string and display it in a text box. Given below is my piece of code. If I give the input string as "this is my cat", this piece of code only displays 'cat'. whatever input i give, program … | |
program takes 2 integers and then finds how many divisors each integer between the original 2 has. then prints out which number has the highest number of divisors. any help is appreciated. im just starting to learn this stuff | |
I cant seem to figure this out. I need to write a while loop to output the numbers from 1 to 10, but no matter what I put it will not run. Here is what I have been stuck on: a = 0 while a < 10 : a += … | |
if a file that has multiple columns, like [CODE]1 7 3 8 5 6 3 4 5 6 7 8 1 7 6 4 4 3[/CODE] i want to read the first row and see if there numbers that are grater than 6. Then add that number to all the … | |
How do you grow a circular array? I have a front, I have a back, I have a current_size, I have a maximum_size, and of course I have the array. So, how do you grow a circular array? Thank you kindly! | |
I have a test.txt file that contains: 1/15/2011; somedescription ; Joe Blow ; $50 1/18/2011; somedescription ; John Doe ; $30 2/1/2011; somedescription; Joe Blow; $90 I want to be able to pull all rows of data associated with Joe Blow if a users selects Joe Blow from a combobox. … | |
hi friends, I'm trying to read an XML file using a jQuery 1.4 ajax ... the code is something like this ... [CODE] $.ajax({ type: "GET", url: "abcde.xml", dataType: "xml", error: function(){ /* error lines goes here */ }, success: function(){ /* success lines goes here */ } }); [/CODE] … | |
Please help if anyone can spot the problem. This [URL="http://www.propertyscanner.co.uk/register/"]form[/URL] uses jquery 1.6.2 and its causing a bug in Mac 10.4 . see file attached.Would appreciate any responses. | |
alright i have this problem out of my book that i bought used and goin through doin some self excersiesfor practice now this one has me stumped to ends the only thing i have so far is my dim as integer thats it but the problem reads like this: Your … | |
Problem 2. Create a new java file called Barcode.java that will check to see if a given barcode number is valid. Barcodes have a 12 digit number on them that is used to determine the validity of the code. This is done by summing the odd position digits (1,3,5,7,9 and … | |
I have one access database and one windows form. I have some text field and one picture box. I want to Store some data and image into my database, i have written following code to do the task but it says "Syntax error in Insert into statement". I am pasting … | |
OK, so I want to create a function getStrRegion(commented out at the bottom) to pass a str value N, S, E, W, C back to the main function so I can then drop it and regionSelect back into getNumAccidents. I'm not exactly sure how to pass a string of characters … | |
guys, good day! I just want to ask how to reload/refresh a JComboBox. I have a cardlayout with 3 panels, each panel has its own combobox. what I want to do is to reload the combobox to its original state each time I swap the cardlayout. updateUI(); repaint(); revalidate(); I … | |
Trying for the life of me to figure this out, but I can't seem to make sense of it. I found some code that demonstrates how keyboard events are handled, but it doesn't work when I have a textbox on my form. When the textbox has focus, the event does … | |
I have pretty much gotten my program to run with one little exception. It is asking for the SKU number which has been set but when I run the program it assigns a number to item and does not give me the sku number I had entered in the program. … | |
Hi I am trying to repeat <div> several times because I have a table and the design of each "2" rows is repeated. Is this possible? or there is another way? the scribt I am using is: [code] <table class="style1" dir="ltr" > <script type = "text/javascript"> var rows = 10; … | |
Maybe I should be doing this differently... but in case I have the right idea, how do I go about doing it? I have the following code: [code=csharp] void eventKeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Control && e.KeyCode == Keys.O) this.eventOpenFile(); } private void eventOpenFile(object sender, EventArgs e) … | |
![]() | Hi. I am using visual studio with visual basic. I have create a combo box which data is from oracle. I want to know how to check the value in combo box is choose before i proceed to save the record? Thank you. ![]() |
Hi friends... I have a variable $datetime= 140811 060632. Here 140811 represents date in ddmmyy format and 060632 represents time 06:06:32 and both are in string type. I have a column name "DtTime" in MSSQL of type "Datetime" stamp. Now when i try to insert my variable $datetime in above … | |
I am running into an issue trying to get the program to read in my data correctly. The program is supposed to take a data file and read in names, if the string is preceeded by "surname" or "lastname" then the string lastname is set to the next string, if … | |
I'm searching for a good tutorial about object oriented analysis and design but can't find any short and clear tutorial which will has: 1. Explanation of oo concepts (very short) 2. CODE EXAMPLE (eg. if someone describe aggregation I wanna see how I can use this in my class) There … | |
Hello, i have managed to get hold of social engine and trying to edit the profile script to create a friends list like facebook instead of it saying i have so many friends, This is my first time using smarty so im still learning this is my profile.php [CODE] $page_id … ![]() | |
Hello Guys! Posting this thread based on the topic of NumberFormatException null... This is how it goes. Im calling records from the db into a JSP. [CODE]String FirstName = Results.getString("FirstName"); String MiddleName = Results.getString("MiddleName"); String LastName = Results.getString("LastName"); int BorrowerID = Integer.parseInt(Results.getString("BorrowerID"));[/CODE] When i try to call it in the … | |
I am just learning Java and am trying to use variables from objects that I passed into another method. Can someone help me here [CODE] package data; public class Data { private int day, month, year; public Data(int day, int month, int year) { this.day = day; this.month = month; … | |
hi . can someone plz explain how to do regex in C. input: a text file. aim: read each line from the text & check if a RegEx pattern exists. finally return that pattern if it exists. plz share any algo or code snippets if u have.thx. | |
Hello there . Please could you tell me what IDEs are considered to be top IDEs for web development mainly for PHP ? Thanks in advance!!! ![]() | |
[I]Negotiating a consumer loan is not always straightforward. One form of loan is the discount installment loan, which works as follows. Suppose a loan has a face value of $1,000, the interest rate is 15%, and the duration is 18 months. The interest is computed by multiplying the face value … | |
Hi all i am newbie in PHP I would like to learn how to create simple admin panel via PHP if possible pls help me i am very in need of this script with explanation Thans beforehands | |
Hey guys! I've created a simple program that given the current day and how many days from the current day, it will determine if it's a Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, where 1 Sun, 2 -Mon, 3-Tues, 4 -Wed, 5 -Thurs, 6 -Fri, 7-Sat My problem is that … | |
Hey just a quick question with list <Object*> object; when i put an object in the container i use object.push_front(new thing(param1,param2,param3,param4,param5)); because i have used new how do i go about deleting this certain object in the list i figured somthing like this [CODE] while(p != object.end()) { if((*p)->exists(param)) { … | |
was just wondering if anyone can help me with some homework. I have been trying to figure this out for a couple hours now. I am sure it is probably simple but I can't get it to run. What I have to do is take user input that contains the … | |
Hi, I have a couple of questions regarding Mobile Development, are all mobile apps developed using xcode and objective C ? I take it these are zipped up and offered as a download on an app store so to speak at a small cost ? Is it possible to make … | |
Hello guys! I need another help now. My last topic was about editing a image, which I already get working. Now I need a few things: [LIST=1] [*]Open a folder, add every image that is inside it to a listbox (filter all the other files). [*]This one is a bit … | |
Hi every one my question is that i want to validate the form when any one wants to login or sign Up i want to check that the email address is correct or not means that email address include '@' char or not if not an error message should be … | |
Dear friends I am trying to convert an exe file to another file preferrably a BAT file or MSI file I have converted an file into exe but now i want to convert it into another file [CODE] Private Sub Decode(ByVal strFrom As String, ByVal strTo As String) Dim fileIn … | |
Write a program, when given an array of integers, it returns the biggest integer. Can you please tell me what's wrong in this program?? [CODE]import java.util.Scanner; public class Arrayint { public static void main(String[] args) { Scanner input = new Scanner(System.in); int i,index,max; int x; int[] list=new int[x]; max=list[0]; System.out.println("Enter … |
The End.