199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Mylo92

Good day, I'm new and glad to be here, I just need a help with the my code can anyone help me find the main error with it? The JList is giving me hell and since I migrated to a new laptop I'm failing to establish a connection with my …

Member Avatar for peter_budo
0
216
Member Avatar for bluehangook629

Hey guys, I am trying to build a function where it calls a dialog box to select an excel file to upload. Once the file is selected then read all data from worksheet 1 except for the header row and insert them into a table while omitting duplicates. In the …

Member Avatar for debasisdas
0
171
Member Avatar for machitar

anyone can help me? Im new to Vb. ---------------------------------- Private Sub LoadTransaction() Dim lv As ListItem Me.lsttransaction.ListItems.clear With Me.adoTransaction.Recordset [COLOR="Red"].MoveFirst[/COLOR] While Not .EOF Set lv = Me.lsttransaction.ListItems.add(, , !invoicenumber, , "px") lv.SubItems(1) = !TotalAmount lv.SubItems(2) = !AmountTendered lv.SubItems(3) = !Date .MoveNext Wend End With Me.adoTransaction.Refresh end sub ---------------------------------- thanks in …

Member Avatar for faroukmuhammad
0
237
Member Avatar for Trypanosoma

Hi. Can someone help me with how to transfer/print your last output in a word file? I'm researching and can't find a way on C. My code in C so don't suggest solutions for C++ thank you :).

Member Avatar for Ancient Dragon
0
688
Member Avatar for mbarandao

I have the following code which performs a sql select with a where condition involving an array. I want subsequent queries (within the same code) to be performed using each unique value of the array Here are the specifics: This initial query begins the process by creating an array from …

Member Avatar for mbarandao
0
298
Member Avatar for ARaza110

Hi, Can anyone please help. I am working on Java 3D Cylinders. I cannot color the different faces of the Cylinder differently. TOP, BOTTOM, BODY. All should have different colors. I tried it with different appearances but to no avail. [code=java] Cylinder c=new Cylinder(); BranchGroup contentBranch = new BranchGroup(); Transform3D …

Member Avatar for ARaza110
0
144
Member Avatar for bhagawatshinde

Hi, I am trouble to sort out the error when i am opening a website [url]www.lsoft.co[/url] in a webbrowser it shows me script error like script error ! an error has occured in the script on this page line: 86 char: 3 error: object expected code: 0 url: [url]http://lsoft.co/[/url] do …

Member Avatar for bhagawatshinde
0
179
Member Avatar for Jiaxin

Hi, i got this error. Please help. Fatal error: Call to undefined function mysqli_list_fields() This is my code, <?php include 'dbFunctions'; $fields = mysqli_list_fields("fyp", "criteria", $link); $columns = mysqli_num_fields($fields); ?> <form method="post" action="doSelectCriteria.php">; <select name = criteria>; <?php for ($i = 0; $i < $columns; $i++) { echo "<option value='".mysqli_field_name($fields, …

Member Avatar for Stefano Mtangoo
0
682
Member Avatar for AngelicOne

How could I validate a checkbox and radiobutton input using PHP? I wish to display a message if there's no selected value from checkbox or radiobutton. I tried this for my checkbox. [CODE]$check = $_POST["checkbox"]; if(empty($check)) { echo "You need to select at least one from the checkboxes"; } [/CODE] …

Member Avatar for AngelicOne
0
147
Member Avatar for nmakkena

Hi, I am having a FileUpload control in my application. When the application is running and if i click on browse button of fileupload control, i have to view only files which are having extension ".doc" (MS Word documents) to upload. How can i achieve this one. Pls help me …

Member Avatar for tjaank
0
2K
Member Avatar for Moss ali

i am working in a form where i have used some javascript alert Popups before using <asp:updatepanel /> the java script was working fine but when i applied the updatepanel the java script popups are not working plz help me out.

Member Avatar for hericles
0
99
Member Avatar for itslucky

Hi, Dear Friends i m developing a Inventory System, and i want to show a progress bar until the data loaded from the database and displayed on the screen, so for that time a progress bar should be displayed and show the progress of retrieving of data from database, and …

Member Avatar for bhagawatshinde
0
3K
Member Avatar for jaejoong

Is there a way that I can create this in vb.net for excel?? [COLOR="Red"]page 1 of 2[/COLOR] Title Name | Address . . . . Signature [COLOR="red"]page 2 of 2[/COLOR] Title Name|Address (continuation of page1) . . . Signature

Member Avatar for bklynman01
0
158
Member Avatar for civirol02

Hi I want to know what's the problem with my code. I'm just a beginner. I'm trying to display the smallest number, but everytime I run the program, the output is always equal to zero. However if I use this code to find the largest number, wherein the boolean condition …

Member Avatar for civirol02
0
3K
Member Avatar for palsoft

Hi, I have PHP script which is calculating some Google Maps API functions in Javascript and then sending output back to PHP. My biggest problem is, that i need it to run at intervals, but AFAIK cron can't handle javascript I've tried a little workaround - setting cron which sends …

Member Avatar for palsoft
0
2K
Member Avatar for shelexelex

Please, i am writting a program and i want the program to run every 3 hours, now when i try to put 10800000ms which is equivalent to 3 hours in the interval property of the timer, i get an error message that say.. "Invalid Property Value", Is it that it …

Member Avatar for shelexelex
0
177
Member Avatar for anjoz

My problem is that i want to get the 1st part only of the string ive done based on my code i can get the audio/x-aiff by finding the space but want i want to do is i want to is get or print the .aif is there any way …

Member Avatar for arindam31
0
114
Member Avatar for clarence_cool03
Member Avatar for pakunoda

hello to *.. I am new in php can you please help me here! cant insert my data into my database. [CODE]<?php error_reporting (E_ALL ^ E_NOTICE); $add = $_POST['add']; //Add button $date = $_POST['date']; $project = $_POST['project']; $task = $_POST['task']; $originated = $_POST['originated']; $incharge = $_POST['incharge']; $deadline = $_POST['deadline']; $status …

Member Avatar for pritaeas
0
194
Member Avatar for kagotsky

[B]Can anyone know what program what's the best for this problem?[/B] -->Create a program that will compute for the sum of all even numbers among the ten integers inputted and print them out. Thanks in advance!:)

Member Avatar for arindam31
0
106
Member Avatar for harikrishna439

int a[3]={1,2,3}; printf("%d",a[3]); While I'm executing this snippet, I'm getting the output as 2. Is 2 a garbage value here? I don't think so... Can anyone explain how 2 comes instead of a garbage value? Any answer could be appreaciated.

Member Avatar for arindam31
0
164
Member Avatar for phoenix911

Hi, First of all I would like to know if this is possible, I have a feeling it is. so if this is, How/What would be the best way to do this? Will I have to download 3rd party libraries? Thanx

Member Avatar for phoenix911
0
76
Member Avatar for munnate

Hi, i need some pointers on how to approach my assignment. Dont want you to write me the code, just please point me in the right direction. I need to create a C++ program that requires the user to enter 10 student id numbers and the grade they received in …

Member Avatar for moh0
0
357
Member Avatar for kedar_challa

Hi, Can anybody explain me how to create a sealed class on c++. thanks in advance, kedar

Member Avatar for Karty619
0
725
Member Avatar for vaanipala

Hi, I'm getting: Parse error: parse error in C:\wamp\www\Ajax\getcd.php on line 28. (I have highlighted line 28 in red.) for the following simple program that retrieves data from cd_catalog.xml file and displays in txthint div when user selects artist's name from select box. does anyone know on what i'm doing …

Member Avatar for karthik_ppts
0
236
Member Avatar for zp18zp18

I have a hardware controller that I purchased from a vendor that provided a SDK in VB6. The primary reason I chose their controller was the class and SDK that I could get started with immediately. In the meantime, the vendor decided that dot net VS6 was best developed and …

Member Avatar for zp18zp18
0
206
Member Avatar for mhaber

Hi guys. At work we have lots of certificates to sign/encrypt/decrypt different kinds of documents/data and lately there's been a few occasions where we almost forgot to renew them before they expired. I am currently working on a small monitoring tool, that will notify us of certificates expiring soon. Trouble …

Member Avatar for mhaber
0
6K
Member Avatar for jogesh_p

hello friends i am new in php, i tried a code to remove special characters into the string, i tried the following codes,, [code=php] $user = "some string here"; preg_match_all('/[^A-Z][^a-z_-][^0-9]/', $user, $result) [/code] but the problem is that if i give the string like : name@#$@$# it also accepted buy …

Member Avatar for jogesh_p
0
676
Member Avatar for leo88

Hi, take a look to my coding: [CODE] Dim Dir As New DirectoryInfo("C:\Users\Leo\Desktop\Data Lau") Dim svrDir As New DirectoryInfo(" C:\Users\Leo\Desktop\Server") Dim FileList As FileInfo() = Dir.GetFiles("*.*", SearchOption.TopDirectoryOnly) Dim svrFileList As FileInfo() = Dir.GetFiles("*.*", SearchOption.TopDirectoryOnly) Dim fi As IO.FileInfo Dim svrfi As IO.FileInfo Dim isSame As Boolean = False Dim storfilelist …

Member Avatar for leo88
0
120
Member Avatar for thecoolman5

hi, i am trying to make a calculator and i have this code [CODE]#include<iostream> #include<sstream> using namespace std; int main (char argc) { int l = 1; for(l = l; l > 0; l--) { int q = -2; string n1 = "1+5"; int n; int e; stringstream(n1[q=q+2]) >> n; …

Member Avatar for mike_2000_17
0
1K
Member Avatar for Arjun_Sarankulu

[CODE]insert into mst_report_dtls(report_name,url_path,login_id,pwd,domain,amd_date,amd_user_id) values ('Contractwise_statistics','http://192.168.22.11/ReportServer?/TradingReport/Contractwise_statistics','dbadmin','1nPrPgqv5UIpU4SYnGddJw==','ace',getdate(),1) [/CODE] Above statement i used to run from backend. Now i have developed a front end While running the code it gives me SQL Exception Following is my code [CODE] namespace Ace_System_test { public partial class Admin_CRMReport : Form { SqlConnection connstr = new SqlConnection(System.Configuration.ConfigurationManager.AppSettings["database"]); …

Member Avatar for Arjun_Sarankulu
0
155
Member Avatar for ghosh22

Hi..I am a newbie in JavaScript.I have two forms (in two different webpages) all with radio buttons. A user cannot select more than one option from each form. My plan is to pass the user input from both the forms to a perl script which would then query a MySQL …

Member Avatar for ghosh22
0
230
Member Avatar for Dhanesh10

hello friends, i've 2 forms 1) Home1 and 2)NewAccountForm in Home1 when a button clicked i perform NewAccountForm newAcc= new NewAccountForm (); newAcc.setVisible(true); this.setVisible(false); i.e. make invisible current(Home1) form and visible NewAccountForm , no problem here. [COLOR="Red"]BUT[/COLOR] in NewAccountForm after a button clicked when i try to make invisible current(NewAccountForm)form …

Member Avatar for Dhanesh10
0
6K
Member Avatar for phoenx

Any idea how I can make a applet using a thread and how i will implement it..SOS..

Member Avatar for phoenx
0
114
Member Avatar for virtues

hi... I have a doubt. please clear me that what is the difference b/w sql, mysql & oracle.? please reply soon...

Member Avatar for urtrivedi
0
75
Member Avatar for Majestics

Is there any way to take oracle backup from java. [code] Connection c = // Connection Setting; st = c.createStatement(); rs = st.executeQuery("//What to write here for backup"); [/code] I have tried imp and exp utility , but they cant be accessed through sqlplus...

Member Avatar for Majestics
0
250
Member Avatar for pakunoda

Good day to *. I having this kind of error when i tried to view all my data in the Database. [CODE]Warning: mysql_query() expects parameter 1 to be string, resource given in C:\wamp\www\pm website\php\bulletin_board\bulletin_board.php on line 51 Error Sir[/CODE] and here's my code. [CODE]<?php $con = mysql_connect("localhost","root",""); if(!$con) { die …

Member Avatar for karthik_ppts
0
206
Member Avatar for thedalek

I have a long stream of numbers that I need to be able to input all at once (basically copy and paste) into an array somehow. I need to do this so I can make every pair of those numbers to correspond to a letter. For example, I need to …

Member Avatar for thedalek
0
201
Member Avatar for spetro3387

I am trying to change assign the pointer "c" to the pointer "a" below using the function "change()", but I am doing something incorrectly, not exactly sure. The direct assignment within the main() function works (ie a = c), but does not work using the change function. [CODE] void change(float …

Member Avatar for spetro3387
0
152
Member Avatar for naffan

Hi all, Quick question, Is there a way to store a GregorianCalendar object in a hard-coded array? Such as you do an int or String ? Or do I have to send 3 ints for dd/mm/yyyy and then create a new GregorianCalendar object in the Constructor? If this is the …

Member Avatar for naffan
0
215
Member Avatar for MagnetoM

I was at msdn looking at some coding and saw [CODE] public delegate void EventHandler1(int i); public delegate void EventHandler2(string s); public class PropertyEventsSample { private System.Collections.Generic.Dictionary<string, System.Delegate> eventTable; public PropertyEventsSample() { eventTable = new System.Collections.Generic.Dictionary<string, System.Delegate>(); eventTable.Add("Event1", null); eventTable.Add("Event2", null); } public event EventHandler1 Event1 { add { lock …

Member Avatar for Momerath
0
121
Member Avatar for srinim84
Member Avatar for kipslem
0
364
Member Avatar for riseguim

Hi, I am rebuilding a new website for a company and they already have a .htaccess file with the following code in it: [CODE]RewriteEngine on RewriteCond %{REQUEST_URI} !(/liens_photos/20091111|images/olympique07/) [NC] RewriteRule (.*)\.html? /$1\.php [L][/CODE] Unfortunately I am very new with this and I want to know what this code does exactly... …

Member Avatar for almostbob
0
151
Member Avatar for VIPER5646

HI ALL! Let me start by letting you know that I'm still new to VB. All I know about Programing is with the use of google, Videos, and some good help from DaniWeb. I'm doing a program which searches datagrid colums with some classes That I have wrote. I have …

Member Avatar for VIPER5646
0
101
Member Avatar for mikred11

I get an error every time i click the navdown button "The application have been stopped unexpectedly Please try again". what does it mean?? im a new student in mobile developing.. please help i need to learn about this error [CODE] public class chapter1 extends Activity { MediaPlayer sButton; Intent …

Member Avatar for mikred11
0
94
Member Avatar for old_kid

The objective: take an integer (e.g. 1000000), and by using recursion, ultimately return this string: 1,000,000. Can anyone figure out how this problem could be solved specifically by taking an integer and returning a string? string addCommas(int n) { // ??? } Thanks for any help or direction

Member Avatar for m4ster_r0shi
0
144
Member Avatar for Nfurman

Hi guys, I am learning Objective-C and today at night I managed a simple program, an usual one from ordinary exercise. Code: [CODE] #import <Foundation/Foundation.h> int main (int argc, const char * argv[]) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; NSLog(@"Welcome to multiplication table test"); int rightAnswers; //the sum …

Member Avatar for gusano79
0
161
Member Avatar for newack

Hello, for my assignment, I have to implement 2D Gaussian convolution using 1D Gaussian masks. I have two pgm files. I know the theory but I do not know where to start and how to deal with pixels. can anybody help me?

Member Avatar for newack
0
321
Member Avatar for MareoRaft

I am building a library of matrix and vector operations. As my library has grown bigger, I have found that there are MANY by element operations which I need to program. For example, if the user wants to multiply each element in the matrix by 2, or if the user …

Member Avatar for mike_2000_17
0
153
Member Avatar for adrianandreev

Hi guys, What i need is a way to [B]check the available USB ports in windows[/B] using python. The purpose: I'm trying to run on startUp a script that wait to plug in my Token, and after that the script will log me in automatically into the system that I'm …

Member Avatar for TrustyTony
0
11K

The End.