199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for spowel4

I have this query as part of a stored procedure, and this query as it is listed here works: INSERT INTO OPENROWSET('Microsoft.ACE.OLEDB.12.0', 'Excel 8.0;Database=G:\KF\GBSData.xls;', 'SELECT * FROM [Sheet1$]') SELECT * FROM [KWF_GBSData].[dbo].[tblKWF_WorkTable2] WHERE invoiceNumber IN ( SELECT invoiceNumber FROM [KWF_GBSData].[dbo].[tblKWF_WorkTable2] WHERE stockNumberShipped LIKE 'CCCOMBO%' ) I would like to change …

Member Avatar for askme_1
0
560
Member Avatar for waterm

I have small issue with my datagridview and crystal report I am using this code for display my crystal report but my problem is I can display only one row from data grid view But I want to print all rows randomly selected from datagridview in crystal report Private Function …

Member Avatar for Santanu.Das
0
2K
Member Avatar for jsussarredondo

I need to read data from a file given to me by using an array. Data in file looks like this: "Jones C A B B D A B C A A C B A D D C A C A D I'm making an Exam Grader program but I …

Member Avatar for Maritimo
0
145
Member Avatar for Roisin

Hi, I am currently working on an assignment and am stuck on the very end of it. In a previous assignment we created a SQL database and GUI in vs C# for this one we have to turn this into a web service, I have all forms working apart from …

Member Avatar for Roisin
0
165
Member Avatar for saeed.albahri1

Hello C++ Nerds! I am creating a list using Arrays. And I want to have AddItem, DeleteItem functions in those lists. But as you know, you can't delete an element from an Array because it's a fixed size. But we can shift all the left elements by one place and …

Member Avatar for Maritimo
0
335
Member Avatar for coder43

test.txt : 18 19 20 21 22 23 22 23 24 23 24 25 24 25 26 25 26 27 28 29 30 29 30 31 I want to read in the integers in test.txt as strings then create a vector of 3 ints. If that makes sense, so the …

Member Avatar for mike_2000_17
0
163
Member Avatar for yavindu

Can I create user log in application without starting a new session(without using session_start()). I've created a application where user can log in but session is not created.But everything is working correctly.My application is working under one url.URL is not changing when user navigates.Everyting is happaning behind the scene usign …

Member Avatar for diafol
0
291
Member Avatar for SimonIoa

Hello i use jquery colorbox to open a pop up window. It works in all browsers except from Safari. Any clue why?

Member Avatar for JorgeM
0
484
Member Avatar for KymDervy

Using Java is it possible to upgrade LG U900 version to accomodated some common applications like whatsup? Can its RAM be upgraded? Thanks guys

Member Avatar for peter_budo
0
78
Member Avatar for Amr_Mohammad_R

I'm using InstallShield 2010 and I set the SQL Server 2008 Express as a prerequisite. However, I have an instance of SQL Server 2008 developer edition installed on my pc, the SQL Server 2008 Express prerequisite windows always appear. How to cancel such window if there is any instance of …

Member Avatar for Amr_Mohammad_R
0
116
Member Avatar for Blueie

Hello I would be grateful for some assistance getting the date to appear on my page, please. This is the code in my aspx.vb file: Dim Label As Object Function ReturnDate() As String Dim theDate As String = "" Dim NumericDayofMonth As Integer = Date.Now.Day Dim OrdinalSuffix As String = …

Member Avatar for JorgeM
0
181
Member Avatar for jrismd

Hi Good Day! I have problem in delphi i cannot load image (jpeg) into QRDBImage on Quick Report, I used memdata and data source, code: procedure TfrmEntityModule.actCOPExecute(Sender: TObject); var frm: Trep_EDR; OrganizedGroup: TRoOrganizedGroup; begin frm := nil; OrganizedGroup := nil; frm := Trep_EDR.Create(Self); OrganizedGroup := sMainApp.MCISService.GetOrganizedGroup(txtEntityNo.Text); try frm.mds2.Close; frm.mds2.Open; frm.mds2.Edit; …

Member Avatar for srikanth@pala
0
943
Member Avatar for rebintahsin
Member Avatar for veljko

I need a maze solver that uses queue type breadth first search to find a way out of the maze and print it out. I already made a dfs one but i cant seem to figure out how to make a bfs one. Here it is: #include <stdio.h> #define red …

Member Avatar for gusano79
0
964
Member Avatar for david.nicely.393

Need help with writing an algorithm: Department Store Sale! Prompt the user to enter the sticker price of each of the clothing items they’re purchasing (make sure all input prices are positive). The user should be allowed to purchase as many items as he or she would like. For each …

Member Avatar for sneekula
0
136
Member Avatar for Muhammad_69

i would like to know of any good revision guides for Computer science as i am in the second year of the 2 year course and really need one.

Member Avatar for Stuugie
0
142
Member Avatar for joshua_8

Invalid escape sequence in ^[SFTG]\d{7}[A-Z]$ Pattern .compile("^[SFTG]\d{7}[A-Z]$");

Member Avatar for stultuske
0
120
Member Avatar for dimitris.dimitri.73

Dear forum i would like some advices regarding a calendar in vb net and mysql(wamp).. So my question is to suggest some approaches to achieve this result. I have thought on creating just one datagrid and apply some css style,but the problem is that it will show all result in …

Member Avatar for J.C. SolvoTerra
0
214
Member Avatar for xuexue

How can I upload the data from an Excel Spreadsheet to my database in DB2? Thanks! :)

Member Avatar for J.C. SolvoTerra
0
396
Member Avatar for rela

I wan to wirte in cout << ... to have the matrix in output in the same format that I wrote it in text file like this: 1 2 3 4 5 2 3 4 5 6 3 4 5 6 7 class Classname { double data[3][3]; public: void Read(char …

Member Avatar for rela
0
2K
Member Avatar for ddanbe

OK I know the DateTime structure is very good at doing this. But if you ever wanted to design your own calendar, or just wanted to know how things are possibly done, this could be a handy function. Enjoy.

Member Avatar for xrjf
0
2K
Member Avatar for xuexue

Hi Guys! I'm having problem with uploading the file to the server. This is my code. $path = "Files/01 Admin Procedure/" . basename($_FILES["txtFilename"]["name"]); $x = move_uploaded_file($_FILES['txtFilename']['tmp_name'], $path); //Move file to directory if ($x) { echo "<script>alert('File " . basename( $_FILES["txtFilename"]["name"]) . " has been uploaded!')</script>"; } else { echo "<script>alert('Error …

Member Avatar for xuexue
0
140
Member Avatar for divinity02

write a program that will display all the odd numbers between 1 and 15. here is the code that i used Scanner scan = new Scanner (System.in); int i, num=0, count_odd = 0; for(i=1; i<=15; i++) { System.out.println("please enter number "); num = scan.nextInt(); } if(num%2!=0) { count_odd++; } System.out.println("The …

Member Avatar for stultuske
0
314
Member Avatar for davy_yg

Hello, after migrating from localhost to the server my ckeditor also disabled. I wonder why? At first, I thought maybe because of file path, but my file path appears just fine: input_berita_static.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Squprime</title> <!-- …

Member Avatar for diafol
0
296
Member Avatar for engrjd91

Hello everyone. I have 4 tables whose Structures are provided with my question as snapshots Table 1--> Students Table 2--> Courses Table 3--> Student_Courses Table 4--> Users I want 3 columns in the output which are. 1- Course 2- Classes Attempt 3- Classes Missed Now : --Only those courses should …

Member Avatar for diafol
0
201
Member Avatar for Simon180

I know everyone on Daniweb are talented but am looking for a person that knows both delphi and c++/c# to help convert some code into delphi for a reconversion of a program we have been trying to revive and get running. so am hoping there some one on here that …

Member Avatar for happygeek
0
139
Member Avatar for gptArun
Member Avatar for Transcendent

I can't seem to add my values from my function. ## I keep greating NaN. ## Here is the html code: <!DOCTYPE html> <!-- grocery.html A document for computeCost.js --> <html lang = "en"> <head> <title>grocery.html</title> <meta charset = "utf-8" /> <style type = "text/css"> #column { display:inline; margin-bottom: 20px; …

Member Avatar for AndrisP
0
219
Member Avatar for davy_yg

Hello, I would like to create navigation tab like this picture: http://www.innovation.web.id/tab2.jpg I just cannot find a way - to create navigation tab like the design. Any idea how to?

Member Avatar for davy_yg
0
79
Member Avatar for joshua_8

Hi how do I remove [] in my arraylist my sample output is [[3, 6, 5, 1, 2, 8, 50, 6, 1, 3, 1, 54, 1, 3, 1]] I just want 3, 6, 5, 1, 2, 8, 50, 6, 1, 3, 1, 54, 1, 3, 1

Member Avatar for JamesCherrill
0
98
Member Avatar for Nana_29

here is the program exercise: Write a program to help a local restaurant automate its breakfast billing system. The program should do the following: a. Show the customer the different breakfast items offered by the restaurant. b. Allow the customer to select more than one item from the menu. c. …

Member Avatar for Nana_29
0
3K
Member Avatar for mxwarning

Hello Again, I am in need of some help getting my GUI to display the inventory values. The code runs and compiles successfully, but it does not display anything. I am new to this and could use some help. Thanks! package inventory; import java.text.DecimalFormat; import java.util.Arrays; import javax.swing.*; import java.awt.*; …

Member Avatar for stultuske
0
3K
Member Avatar for kazek

I wrote a java program/application and I'm trying to combine all the .class files into one .exe file. I want to have a convenient double-clickable EXE file to launch the program without the user having to handle .java file associations.

Member Avatar for stultuske
0
5K
Member Avatar for Reverse_1

try{ String str = "select * from stocks"; stmt = conn.prepareStatement(str); ResultSet rs = stmt.executeQuery(); while(rs.next()) jcbStock.addItem(rs.getString("stockID")); }catch(Exception e){ e.printStackTrace(); } I have this code in other class , and i want call it in my main class. Anyone can tell me how to do?

Member Avatar for stultuske
0
186
Member Avatar for melusi_1
Member Avatar for Moschops
0
135
Member Avatar for phoenix_2000

Hey all, Im working on a website that has to be capable of viewing youtube video's without having to browse to youtube itself. I followed the tutorials from both video.js and video.js' youtube plugin, but when the page loads, it gives me: Uncaught ReferenceError: videojs is not defined (vjs.youtube.js line …

Member Avatar for phoenix_2000
0
2K
Member Avatar for COKEDUDE

Where are the c programming variable name rules defined? I usually use these two websites for figuring out these kind of things but I don't see it anywhere. http://www.tutorialspoint.com/c_standard_library/c_function_scanf.htm http://www.cplusplus.com/reference/cstdio/scanf/

Member Avatar for vegaseat
0
278
Member Avatar for tNicknames

Fatal error: Uncaught exception 'Google_AuthException' with message 'Error fetching OAuth2 access token, message: 'invalid_grant'' in /var/www/html/edplace/dev2568/cron_files/google-api-php-client/src/auth/Google_OAuth2.php:115 Stack trace: #0 /var/www/html/edplace/dev2568/cron_files/google-api-php-client/src/Google_Client.php(131): Google_OAuth2->authenticate(Array, '4/He7CoB42K1zSX...') #1 /var/www/html/edplace/dev2568/cron_files/cron_job_for_export_and_sent_parent_list_to_google_drive.php(126): Google_Client->authenticate('4/He7CoB42K1zSX...') #2 /var/www/html/edplace/dev2568/cron_files/cron_job_for_export_and_sent_parent_list_to_google_drive.php(7): export_to_csv(Array) #3 {main} thrown in /var/www/html/edplace/dev2568/cron_files/google-api-php-client/src/auth/Google_OAuth2.php on line 115 error_reporting(E_ALL); ini_set('display_errors', 1); $clientId = "xxx"; $clientSecret = "xxx"; $authCode = "4/xxxx"; require_once("google-api-php-client/src/Google_Client.php"); require_once("google-api-php-client/src/contrib/Google_DriveService.php"); …

Member Avatar for justinbiber
0
572
Member Avatar for ambageo

Hi to all of you! I'm using Eclipse Luna 4.4.1 for Mac. I have made a project for a Java seminar I am attending.My project consisits of several classes that runned perfectly fine...until today.That is , when I opened one of my classes and made some changes I started getting …

Member Avatar for ambageo
0
334
Member Avatar for Sadiiiiiiiiee_1

hi guys i am a beginner at programming, what does the first line of this code does?....i know the second line generates a random number between 0 and 10 but i am not sure what the first line does....please explain for(int index=5; index<10; index++) {random_integer = (rand()%10)+1 }

Member Avatar for Sadiiiiiiiiee_1
0
96
Member Avatar for Sylvia_H

i need to write a program to output an ascii art pattern. the size of the pattern should change dynamically based on class constants. if i change the class constants, the pattern changes. Should look like this Number of boxes: 4 Width of boxes: 6 Height of boxes: 3 +------+------+------+------+ …

Member Avatar for Slavi
0
237
Member Avatar for jared.geli

I can post a single line of row I selected from datagridview but I want to select specific multiple rows then display it in my crystal report. BTW I'm using VB2010. Dim cmd As New OleDbCommand("Select * From Data1 Where ID = " & Form4.DataGridView1.SelectedRows(0).Cells(0).Value.ToString() & "", Form4.con) Dim adpt …

Member Avatar for waterm
0
2K
Member Avatar for don75cua

Hi, Im teaching myself VB, specifically, how to create forms(im using VS Express 2013). I wanted to use the values from an xls file( already exported it as LMS.csv, a table with 4 rows X 3 columns) as constants for my form. I've tried the codes below but its not …

Member Avatar for don75cua
0
128
Member Avatar for RikTelner

Hey there, So I've been searching for method to replcace on particular line in an UTF-8 (easily readable and copy-paste) file. I found lots of methods that were searching for matches in rows and replacing them. It was mentioned very often that it's impossible to replace a row in text …

Member Avatar for ddanbe
0
270
Member Avatar for aida.atef.31

Here's the problem (i know it's really easy "it's for beginners") You will be given two numbers X and Y and you will have to define the relation between them. It can be one of the following relations : - X greater than Y. - X smaller than Y. - …

Member Avatar for vijayan121
0
253
Member Avatar for mitch.hendrix.73

I am to add script to a set of links on a page to change the image on that page with the switchPix function every time the mouse moves over the text of 'Asian Art Museum', 'City Hall', etc. I don't even know where to start. <article> <h2 id="main">What's Nearby</h2> …

Member Avatar for mitch.hendrix.73
0
107
Member Avatar for Jesse_4

//I need help on where to go from here, mostly in the main. //The instructions and requirements can be found in the attachment. /********************************* Queue header file ********************************/ #ifndef QUEUE_H #define QUEUE_H #include <iostream> using namespace std; class Queue { private: class QueueNode { friend class Queue; int value; QueueNode …

Member Avatar for David_50
0
1K
Member Avatar for Diellza

Dear all, I have created a code for QuicSort algorithm with random numbers and time executation but now I want to do for Countin sort And I don't know, Can anybady help me based in this example. Thanks include <iostream> include <conio.h> include <time.h> include <stdlib.h> //srand and rand functions …

Member Avatar for David_50
0
701
Member Avatar for engrjd91

I have the following code.. echo "<table align='center' border='1': bordercolor='silver'>"; echo "<tr>"; echo "<td align='center' width='200'>" . "<h4> "."Course" . " " . "</td>"; //echo "<td>" . " " ."</td>"; echo "<td align='center' width='200'>" . "<h4> "."Classes Attended" . " " . "</td>"; //echo "<td>" . " " ."</td>"; echo …

Member Avatar for JorgeM
0
162
Member Avatar for nufftalon

Was look for a good unity game tutorial for doing a temple run kind of game, I wanted to learn this just for my own interest essentially not to make another endless runner clone. C# scripting preferred. What I don't understand is if you have a vehicle on a track …

Member Avatar for llgms
0
606

The End.