199,124 Archived Topics
Remove Filter ![]() | |
I have a search a particular filename in my msaccess file . if i search through ID no , i am able to fetch the output . but if i am searching by comparing filenames then i am getting error [CODE] Private Sub cmdSearch_Click() Dim key As String, str As … | |
Hi, I am connecting a scanner to a USB port. The scanner works as a com port connection. Before I can talk to the scanner I need to know which com port the scanner is using. When I know which com port it is on I can wake it up … | |
can any one help!! Expand Post (Toggle Plain Text) import java.awt.*; import java.awt.event.*; import java.awt.Color; import javax.swing.*; import java.awt.Frame; import java.awt.geom.*; class BallEntity/*THE BALL CLASS*/ { private int top=0,left=0,height=0,width=0; //getter methods public int getTop() { return top; } public int getLeft() { return left; } public int getHeight() { return … | |
Hi, I have been working with php for awhile now, but I am bum fuzzled on this one: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/xxxxx/public_html/xxxxx/index.php on line 5 adminlogin.php <?php include "mysql.php"; $res=mysql_query("select * from pagelay"); $mygrow = mysql_fetch_array($res); ?> now the other page … | |
[B]am using vb6 but i can't hwo to vie the data base content in data grid Here is my code[/B] Dim cn1 As ADODB.Connection Dim rs1 As ADODB.Recordset Dim ser As String ser = ("select * from student where ID='" & Text5.Text & "'") Set cn1 = New ADODB.Connection cn1.Provider … | |
Hi Everyone. I'm busy with a advanced search function, what I want to do is when a client clicks on a tab/button it should open a windows where he can define his search even more. If anyone could point me in the right direction of what I can use or … | |
Private Sub cmdprint_Click() i am searching the code of the command button for printing, at the above.. now, the textidno.text = textborrowersname.text = what is code after the " = " | |
Hellow programmers, today I stuk on a new one,This time is a $_Get sintax that give me error like so :"invalid query 4: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''36''' at … | |
Hi, I have completed my project in VB 6 and Access and Crystal Report 8.5 now I would like to make setup file . So ple help me which software should I use and where I can get its free copy. I tried to make it from Package and Development … | |
The program that I want to do is a program that lets you deposit and withdraw money, and that it can display the total amount that you have inputted in the transaction. Now my problem is, I don't know how to display the total amount and how to do a … | |
I am trying to take in inputs from the user for one of my projects. [CODE]cout<<"Enter Event Name (enter 'exit' to quit) ::"; gets(dat.evnm); cout<<"Enter Type Of Event (eg: Dance, Music, 'exit' to quit) ::"; cin>>dat.type; if(strcmp(dat.type,"exit")==0) return 0; cout<<"\n";[/CODE] here the line[CODE] gets(dat.evnm);[/CODE] will not execute, and the program … | |
Hi All, I have a database (sql server) where i store activity information example (activityid,id,summary,signs etc.) I can successfully save this information to the database. what I also want to achieve is to add this information to a listbox so that it can be displayed in the corresponding textboxes at … | |
Whenever I try to load a java applet from an html file, with the .class and .java files in the same directory, I load the html applet file and the only thing that gets displayed is NOT the applet, but the html code.....how do I enable java applets in my … | |
I have finished editing the program but I still have a couple of errors that I can't figure out, please help Errors: Error 1 error C2601: 'split' : local function definitions are illegal \\ilabss\home$\D03279277\Documents\Visual Studio 2005\Projects\err\err\err.cpp 97 Error 2 fatal error C1075: end of file found before the left brace … | |
Hi there, I'm very new to perl so I hope that you can help me. I have a list of duplicated entries in one file and what I want to do is to search another file for those entries that appear in the first file and then rename each duplicate … | |
Hi.... I m making project on [B]virtual classroom and forum[/B] .... front end : [B]asp.net(c#)[/B] and back end : [B]sqlserver[/B] can any 1 help me to get the sample code or any kind of website, other than wiziq.com [B][I]plzz help .....me thnx in advance[/I][/B] | |
The code executes as expected, but I am not sure it is considered good code:) I am thinking especially of the two streams on the socket, if the first one is successfully opened and the next one for some reason throws an exception, the finally block will never run. If … | |
hello. i have just started learning functions in java. i have done the below program to find area of rectangle,triangle and square. it is a private class. class calcu { void rectangle(int l,int b) { int area1; area1=l*b; System.out.println("area of rectangle = "+area1); } void triangle(double base,double h) { double … | |
As all textbooks on C# will tell you, you cannot instantiate an abstract class. I believe the keyword [B]abstract [/B]was intended for that purpose. So can anyone tell me why I can do something like this: [CODE=c#]abstract class TwoDShape { // some code here } class test { static void … | |
help anyone! i can add records to mysql database but it won't appear in the listview. can you check out what's wrong with my code. pleeaaasssee.. help needed badly.. :( [CODE] Imports System Imports System.Windows.Forms Imports MySql.Data.MySqlClient Public Class bookForm Dim myconn As New MySqlConnection Dim sqlQry As String = … | |
hey pls help me., I m nt a good programmer. bt though m trying 2 do some programming... pls give me coding in vb.net for searching records from Access database. Waitng for your repy. [CODE]Private Sub search_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles search.Click search_data(("select * from 86_10 … | |
can anyone give me a url to download a java programme which perform conversion of nfa to dfa in graphically(rather a demo) | |
Ok I am very new to the php mysql world so please bare with me. I have set up a database for an apartment complex with a table containing the following: [code] create table apartments (apt_num int not null, available varchar(5) not null, beds int not null, baths int not … | |
Helo Guys, i need your help, because i am searching code to read string in assembler, but i can't found nothing if you can help me, thaks!!! | |
I know the function textcolor() included in conio.h in borland compiler. but this function is not present in vc++. also if you can provide me the text formatting functions,or header file containing it. i will be very thankful.......so please help me......thanks | |
i have the following code........pls point out my mistakes......the first one is the header file and the second one is the file......... class array { int i, a[100],n,d,t,r,c,e[100][100],f[100][100],s,g[100][100],b[100],j,r1,c1; char p; public: void pro(); void enter(); int arrA(int); int arrB(int); int arrAA(int r,int c); int arrBB(int,int); void dis(); }; void array::enter() … | |
Hi, I'm trying to write a shell script that do ftp and download file periodically, this script should be called by a daemon running in the background. the shell script "script.sh" is as follows: [icode] yafc [url]ftp://test:test@192.168.1.225:21[/url] < commands [/icode] and the "commands" files is [icode] d Root/md5* / quit … | |
Hello Friends... This question was asked to me in an interview.. Can a class be static in java? If yes, then what is it's use and how it can be used? | |
I am working on an application in Java and for part of my plan I would like to have an object (eventually an array of these objects) where I could store two or three (I am not sure yet) varied types of data, for instance... A BufferedImage and a string … | |
I used below codes to pass a value from vector to my cpp file. While i'm doing that, i got segmentation error in my main cpp? Is there anyway to pass the vector value to my main cpp? thx for the help [CODE]void Loadfile() { //cout<<"this is used for loading … | |
Hi, i have downloaded 3d blender and Python 2.5 and tried to run Python with blender for the use of importing models, but when i tried to import the model a message came up in the command prompt saying : [CODE]module use of python25.dll conflicts with this version of python[/CODE] … | |
EDIT: I figured it out. I do not know how to delete threads. Sorry. I need to return a pointer to a new array. The new array must be the same as the old one, just in reverse. I have it all done except for one little part. I can't … | |
Hi all, I am totally new to C++. I began learning C++ some 2-3 months back referring to youtube tutorial channels and now by reading a book by Robert Lafore. I practice when i get free time. I still have long way to go. Well, referring to some examples that … | |
I need to code a very basic fortran program that takes command line input, and I'd like to terminate the program if I detect wrong input. The following doesn't work: [CODE]if (n .NE. 5) then write (*,*) "Wrong number of arguments" end program Poker end if[/CODE] I get "Error: Expecting … | |
Can somebody help me? We are tasked to create a library system. And my very first problem is how to create a search engine. The form must be like this: 1.) One search engine for the Title of the book, wherein the user can search through the title of books. … | |
I need to write a function that accepts int array and array's size as arguments. Then the function should create a copy of the array, except that the element values is in reverse in the copy. The function should return a pointer to the new array. I am having a … | |
Hi, I have just started out with sqlite in c but I can't seem to return the results of the select statements. There are so many functions that I don't know what to use as none of them make any sense. So can anybody give me an example of how … | |
I am having trouble with this simple program to display three numbers entered from highest, medium, lowest. Specifically, with the ouput_result void function. Stuck, and not sure what I am doing wrong. Fairly new to C++, this is my first course in C++. Any help would be appreciated. #include <cstdlib> … | |
First thanks for the help last time I posted it set me on the right track thanks. Now what I need is to clean up a bit. (this is for the 30 year loan only want to get that to do what I need before creating the same with the … | |
hi guys, I'm doing a simple system using codeigniter i need to implement search using jquery ajax in it, this is my fist coding experience in codeigniter and jquery, so i need a good source to learn about it, please suggest me good study material for studying it? regards, Rangana | |
Hi everybody !! I would like to ask you some question about C++: 1.what is the best program that can write C++ more easily? 2.Can you output C++ in different language beside English ? 3.if everybody know pls tell me . 4.do you know some useful website for C++ because … | |
I have a jquery slider that is not cross browser compatible. It works in all browsers except FireFox. From reading other forums it says that FireFox needs to read document.getElementByID to properly read the javascritp. Does anyone know a way I can rewrite this code to still make the slider … | |
Hi everyone, I am a beginner in javascript and am running into a small issue. In the code snippet below, the desired result is a countdown from 5 to 0 using alert messages. But for some reason it alerts only -1, why is that and how can I fix this … | |
Is there any way to check if i have added more than 1 same header so that i won't get compiling error while running it?How do i know which one will include the header first and other cpp will include it later? | |
I have created a library management system applicationn in vb.net... I have an issue form... which has issueid, issuedate, duedate..... these are set as "not null" in the datavase(sql server).. When I add a new issue and try to add another after that the DateTimePicker values doesn't get reset.... so … | |
i have got a program to convert a double value to a string. eg==INPUT= 3.65 OUTPUT=three point six five. can anyone give the solution. | |
Hi, I have to create a set of structs but i don't know how because it needs to check the equality between them. For example: [CODE] struct something{ int x,y; string word; }; set<something> s; [/CODE] Can you help me? | |
Hi all, Going mad not being able to figure this out. I have an application that uses the following code to write a number of user inputed variables to a text file on a seperate line per variable.. What I can figure out despite hours of googling, is how to … | |
hello for exapmle cam sees people.and ıt should detect dıstance between people how can we calculate ıt does anyone any ıdea about ıt? ı couldnt fıgure out the algorıthm:) thanks | |
Hi! to everyone I'm starting out in programming,I need a pseudocode or flowcharting to use to help me get started on coding. Often, when I take a look at a coding assignment, it looks daunting, and it's hard to figure out exactly where to start. Especially with all of that … |
The End.