199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for cocoll

hello. just i need the conversion of this code written in vb.net: [CODE]Dim SQL = <SQL> sql statement </SQL>[/CODE] thank you.

Member Avatar for ddanbe
0
234
Member Avatar for pYnewb

Hello, I would like to stress that this is for personal practice and nothing school or assignment related. The question: Create a function countPages(x) that takes the number of pages of a book as an argument and counts the number of times the digit '1' appears in the page number. …

Member Avatar for Purkinje
0
571
Member Avatar for jackparsana

Hi guys, Please help me to do this. I have asp.net project. problem is "loading time". When i fill up the page. sometime it refresh automatically to get data from database. now problem is loading time is large. i already use autopostback as true for saving data. how can i …

Member Avatar for jackparsana
0
138
Member Avatar for Xtremefaith

So I have a big goal I'm trying to accomplish but since I haven't gotten an answer yet I think its too broad and I realize I may be missing some Ajax/jQuery fundamentals so I want to start a fresh post here to get any help I can. I have …

Member Avatar for TomH.PG
0
146
Member Avatar for devindamenuka

hi all, i am new to javascript i was trying to passe text input to javascript. but code is not working here is the code [code] <script type="text/javascript"> function val(){ if(document.a.email.value=="" ||document.a.email.value==null ){ alert("sssss"); return false; } if(document.a.email.value!="" ||document.a.email.value!=null ){ alert("sssss"+document.a.email.value); return true; } } </script> [/code] and here is …

Member Avatar for TomH.PG
0
171
Member Avatar for jogesh_p

hello friends, i trying to change the extension .php into .html in my local server but it still shows the .php extension. i have test.php and after the mod_rewrite it just show the test.php but if i type in url test.html then it also show the same content of test.php, …

Member Avatar for cereal
0
156
Member Avatar for Espenij

Hi, The $SERVER['HTTP_REFERER'] do not work i php5. I upgraded my page from Php4. I want to register where my visitors have seen me, therefor I want to register the http referer site. Don't this function work in php5 ? What is the difference ? Espen J

Member Avatar for minitauros
0
81
Member Avatar for tubby123

Guys , for this question, i have been able to come up with the O(n logn) - by sorting, and O(n.k) - by Tournament Principle algorithms, I read in a few places about Ordered Statistics but couldnt get anything out of it. Please can some1 give me an O(n) algo …

Member Avatar for JeffGrigg
0
143
Member Avatar for ranu jain

i have to impliment a chained hash table. in this prog i am using java.util.LinkedList. in one node of linklise i have to store two object-- 1)key value 2)value but java.util.LinkedList. provide add(object) method. that means i can not add two elements in one node of linked list. then how …

Member Avatar for JeffGrigg
0
183
Member Avatar for Transcendent

[CODE]#include <iostream> #include <string> #include <cstring> using namespace std; int main() { char name[20]; string lastName; char grade; int age; cout<<"What is your first name "; cin.getline(name,20); cout<<"What is your last name "; getline(cin, lastName); cout<<"What letter grade do you deserve? "; cin>>grade; cout<<"What is your age?"; cin>>age; cout<<"Name: "<<lastName<<", …

Member Avatar for Narue
0
129
Member Avatar for ba.accounts

Hi, Just wondering if anyone has any example of reading data from a file and storing it into an uneven 2D array. For example: the file contains [a,b,c] [a,b,c,d] [a,b,] etc I am able to do this with a complete "square" or matrix but when the columns aren't even I'm …

Member Avatar for ba.accounts
0
2K
Member Avatar for bob12321

Ok so here is the HTML of the page: [CODE]<!-- Generated by F12 developer tools. This might not be an accurate representation of the original source file --> <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"><head> <meta content="text/html; charset=utf-8" http-equiv="content-type"> <meta name="description" content="Proekt za skolo"> <meta name="keywords" content="downloader,hotfile,megaupload,fileserve,filesonic"> <meta name="author" content="flAmingw0rm / www.l33ts.org"> <link …

Member Avatar for bob12321
0
208
Member Avatar for emmas4impact

Hello, I am writing an application which i need to use the date function and i dont know how to implement it. I wanted the date to be ask from user and be stored in a text file. anyone with hints i can really use some help. Thanks.

Member Avatar for Narue
0
152
Member Avatar for apkumar

Hi all, I would like to Silent Download a file from Server Machine to Client Machine....in Asp.net 2005, Can any one solve this Issue??? Kindly revert back to me if you have any concerns.... Thanks and Regards, kumar.

Member Avatar for nivrutti
0
121
Member Avatar for manish250

Hi all i am new to web service.I am getting this exception on my server which is RHEL 5.5 [B]error Failed to access the WSDL at: [url]https://172.30.17.141:5010/SecureWebService/ActiveCampaignDetailsSecure?wsdl[/url]. It failed with: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. [/B] I have imported the …

Member Avatar for manish250
0
249
Member Avatar for opawix

:twisted: guys can some1 give me hints to solve this? any help will do. thank you. make a program display a lowercase vowels using do while loop: heres my code: [CODE]char letter; { do{ cout<<letter; } while((letter!='b')||(letter!='c')||(letter!='f')||(letter!='g')||(letter!='h')||(letter!='j')|| (letter!='k')||(letter!='l')||(letter!='m')||(letter!='n')||(letter!='p')||(letter!='q')|| (letter!='r')||(letter!='s')||(letter!='t')||(letter!='v')||(letter!='w')||(letter!='x')|| (letter!='y')||(letter!='z')) }[/CODE] heres my code but it won't work!

Member Avatar for opawix
0
146
Member Avatar for Mona Ali

I have stared the work to insert the data in the database from php file. Database connection is established successfully but data is not inserted in the database. Some sort of error like "Error: Column count doesn't match value count at row 1" occurs. Our database name is request_license, table …

Member Avatar for coolest_987
0
3K
Member Avatar for keshvari

Hello I am trying to write a matrix calculator but I have some problems.I use cofactor method for calculation.If you don't know the this method you can learn it here easily: [URL="http://paulbourke.net/miscellaneous/determinant/"]http://paulbourke.net/miscellaneous/determinant/[/URL] I use two function 1- GetMinor() 2- matrixCofactor() that the first one give me the minor matrix and …

Member Avatar for keshvari
0
1K
Member Avatar for wilson sweet

How can i write a program that creats a password and a username using Visual Basics 6.0

Member Avatar for Netcode
0
83
Member Avatar for 4everct01

I wonder if anyone can help me or guide me the way to remove the vector and subsitute with normal function instead of using the vector reference? [CODE] /*=================main.cpp===========================*/ #include <iostream> #include "Solitaire.h" using namespace std; void HandleMove(Solitaire& game); void HandleMoveToAnswer(Solitaire& game); void ClearScreen(); int main(int argc, char** argv) { …

Member Avatar for iamthwee
0
160
Member Avatar for Muhasin

I was developing a login box. But when i give the id and password it never checks for the sensitivity of case. It accepts both capital and small letters if they are same. What i do?

Member Avatar for Netcode
0
105
Member Avatar for sibymary

pls help me.... i want to search books from the database...but it shows some errors. Error is Notice: Undefined variable: searching in C:\xampp\htdocs\project\opac1.php on line 10 Code: <html> <body> <form name="search" method="post" action="opac1.php"> <div align="center"></div> <div align="center"></div> <div align="center"> <table width="300" border="0"> <tr> <td width="81">Author</td> <td width="209"> <label for="textfield2"></label> <input …

Member Avatar for dragonlee
0
139
Member Avatar for thanhdo49th

Help me: [CODE]<input type="checkbox" name="cd[]" checked="checked" value="1"> JAVA<br> <input type="checkbox" name="cd[]" value="0"> PERL<br> <input type="checkbox" name="cd[]" value="0"> PYTHON<br> <input type="checkbox" name="cd[]" value="0"> C#<br> <input type="checkbox" name="cd[]" checked="checked" value="1">[/CODE] i want to get all value(check and uncheck). But my array show array(1,1). i need array(1,0,0,0,1). And when i checkbox is checked(change …

Member Avatar for divyakrishnan
0
62
Member Avatar for ©lick

Hi. I'm making small application what will do c++ programs compiling easier. I have this code: [CODE]System.Diagnostics.Process.Start("C:\\Alps\\compiler\\H-i586-cygwin32\\bin\\g++.exe", "-c Main.cpp -o main.o ");[/CODE] This code should start [CODE]g++.exe[/CODE] with arguments [CODE]-c Main.cpp -o main.o[/CODE] for compiling main cpp file to o file. Can you see any error in my code? Why …

Member Avatar for ©lick
0
202
Member Avatar for anuj_sharma

Hi Guys, I was going through a [URL="http://www.daniweb.com/software-development/java/threads/374765"]thread[/URL] in this forum and there is one very good reply to this thread. In the past Ive never used such techniques to idetntify how many classes would I create in my program, thus my programs used to be complex. Can you suggest …

Member Avatar for JamesCherrill
0
170
Member Avatar for dashure

this is what i have, and i have lots of mistakes in class to class...and friends functions dont know why, need your help CCar.h: [CODE]#ifndef _CCar_H //מונע אפשרות להכללות כפולות של המודול #define _CCar_H #include "CWorker.h" #define LEN_N_FIRMA 20 //class CWorker; class CCar { char m_firma[LEN_N_FIRMA]; // car firma int …

Member Avatar for dashure
0
112
Member Avatar for stonerain

I am trying to use 2 USB webcams with OpenCV. I can get a visual with one webcam but I haven't done with two webcams. Can anybody help me? I use this code for a webcam. [CODE]void WebCam() { char Vid[] = "WebCam"; IplImage * frm; CvCapture * capture; capture …

Member Avatar for Raimucka
0
2K
Member Avatar for ZER09

hi, to all i was thinking how i can create a class that the connection string will be stored there. now i have 4 files the teamSystem.java, login.java, and main.java, and connect.java. the connection string should be written on the connection.java, now i want that other 3 files should communicate …

Member Avatar for ZER09
0
189
Member Avatar for orville

Hey all I would like to know how can i validate that a record is not in a datagridview.. Im using a textbox to type the names in and by a press of a button the grid gets filtered.. I want a messagebox or justr a message to appear in …

Member Avatar for orville
0
136
Member Avatar for JeffOwens

So I have some code that basically takes a file given with 4 points taken from a rotoscoped scene and spits out an output of information in the form of a list Original File Format Frame 1(Point(x,y,z,w,s),Point(x,y,z,w,s),Point(x,y,z,w,s),Point(x,y,z,w,s)) Frame 2(Point(x,y,z,w,s),Point(x,y,z,w,s),Point(x,y,z,w,s),Point(x,y,z,w,s)) Frame 3(Point(x,y,z,w,s),Point(x,y,z,w,s),Point(x,y,z,w,s),Point(x,y,z,w,s)) Frame 4(Point(x,y,z,w,s),Point(x,y,z,w,s),Point(x,y,z,w,s),Point(x,y,z,w,s)) Frame 5(Point(x,y,z,w,s),Point(x,y,z,w,s),Point(x,y,z,w,s),Point(x,y,z,w,s)) Frame 6(Point(x,y,z,w,s),Point(x,y,z,w,s),Point(x,y,z,w,s),Point(x,y,z,w,s)) Output ============ Frame …

Member Avatar for TrustyTony
0
126
Member Avatar for whin_lopez

Hi guys! Any one have an idea of how to create a sub category in vb.net? well I'm thinking of building a sales and inventory system of computer parts and peripherals and here's the logic. I'll be assigning each of them category like for example: Componenets[INDENT]Peripherals[/INDENT][INDENT]Networking[/INDENT] - Processor[INDENT]- Chasis[/INDENT][INDENT] - …

Member Avatar for kvprajapati
0
541
Member Avatar for wfray

The iPage ISP places limits on sending emails (200 in 1 hour 2000 in 1 day). I've built a PHPMailer application for a small retirement club that needs only to send out about 250 emails twice per month. iPage will not budge on allowing this to occur. They purport it's …

Member Avatar for TrustyTony
0
875
Member Avatar for cmaheshwari16

Hi All, I am little bit new to struts framework though I have used tiles in struts application. Now I want to display charts in my application. After searching I found jFreechart library to create charts. (Though it doesn't generate all the charts, like box in web application). Now I …

0
141
Member Avatar for dmarente

I have programmatically created a listview in n # of tabpages to display information gathered from an SQL database. Once created, i want the user to be able to select an item from any of the listview's. How can i reference the selected item? This is the code that creates …

Member Avatar for GeekByChoiCe
0
168
Member Avatar for Shy01

hello am new here.. can somebody tell me if there's a restriction for a decimal numbers entered? for instance, cout<<"Enter number: " cin>>num; --- if the user put a decimal number on the variable num.. i want this to be INVALID INPUT in the terminal screen as a result. any …

Member Avatar for mrnutty
0
140
Member Avatar for AshfaqueIW

Hi all, I have a switch statement with more than 15 different cases. I want to replace that with any better alternative which would be efficient and also will take less code. I came to know that function pointer can be one alternative. I dont know any anything about and …

Member Avatar for mrnutty
0
1K
Member Avatar for hqt

I am trying to use Code::Block, But I still get some problem like when I'm using DevC++. In Watch Windows, I want to see A array. (example: int A[5][5]). but in debug windows, I will appear from top to down: [CODE]A[1][1] A[1][2] ... A[5][5] [/CODE]This style is to difficult for …

Member Avatar for hqt
0
356
Member Avatar for bizfreak22

I am a newbie, really need your help. I've been working on this for 2 days and can't get it to work correctly. I have a form that I want to submit to the database "New Lead" form. I am using the submodal feature for the customer notes. For some …

Member Avatar for ananthaninfo
0
129
Member Avatar for Shizuo

I'm having problem with counting some special characters on textarea every time I press alt+164 for example , it does not count the character unless I press another key. heres my code: HTML [code]<textarea style="resize:none;" rows="15" name="tarea" cols="45" onkeyup="count_chars(this);" onkeydown="count_chars(this);" onkeypress="count_chars(this);"></textarea> [/code] Javascript: [code] function count_chars(tarea) { x = document.myform.tarea.value; …

Member Avatar for Shizuo
0
92
Member Avatar for violette

can anyone help me why are this thread occur 1.[OleDbException (0x80004005): Not a valid file name.] 2.what is exception stack trace? thank you =)

Member Avatar for violette
0
575
Member Avatar for tombihn

I'm am creating a "pop-up" CheckedListBox over a button on my DataGridView. The values in the list are going to be filtered based on the value in column 0 of the DataGridView. I have already pulled in a "master" DataTable with two columns: ACODE and MATRIX. I want to call …

Member Avatar for tombihn
0
544
Member Avatar for michael.pilapil

Greetings, I am doing a project that will migrate sybase central to oracle with the used of oracle sql developer, and when im trying to add new connection in sql developer that will connect my sybase when i try the TEST button its status is success but when i retrieving …

Member Avatar for michael.pilapil
0
283
Member Avatar for RenanLazarotto

Hello guys! Its been a very long time since I don't show up here. Now I am back with a small project for internal use, but I need a little help. I want to make a program that allows me to change file attributes, like 'hidden', 'read-only' and 'system'. It …

Member Avatar for RenanLazarotto
0
120
Member Avatar for alihuta2002

I know this may be a question that we see often, but I couldn't see any similar to my case or maybe just I don't understand the right concept of AJAX. I'm kinda new to AJAX and trying to accomplish with one of my new project. I've been told that …

Member Avatar for rv1990
0
167
Member Avatar for ztdep

Dear friends: Could you please tell me how to set the tab in vs2008 so as to use multiple rows of tabs in vs2008. I could not fint it in setting. Regards

Member Avatar for jonsca
0
171
Member Avatar for J-Dub

Sometimes when I run a program that I am writing in NetBeans, it runs old code or something. It want do what I just put in. Instead it will run past code. I will get a bug in the program I am writing and when I fix it. It still …

Member Avatar for lashbandi
0
131
Member Avatar for Nahiyan

Hi, I am making a mini cms for managing my website and to increase my php skills so I wrote some code to give out the result of a query by using mysql_result(..,..,..); but when I tried to echo it out, the php code which is stored in my database …

Member Avatar for leakbali
0
205
Member Avatar for mridontknow

[CODE]#include <iostream> #include <algorithm> #include <vector> #include <string> #include <ctime> #include <cstdlib> using namespace std; vector<string> function1(vector<string>v) { for(int i=0;i<4;i++) {cin>>v[i];} return v; } int main () {vector<string>v; vector<string>guess; vector<string>guess=function1(vector<string>v); cout<<"size:"<<guess.size()<<endl; cout<<"contents:"; for (int i=0; i<guess.size(); i++) {cout<<guess[i]<<"";} cout<<endl; return 0; }[/CODE] i need to build vector<string>guess(4) in function function1 …

Member Avatar for sfuo
0
133
Member Avatar for sirlink99

I am trying to export a project using eclipse, and the Images that I have in a separate folder do not export. I have tried to use [icode]image = new ImageIcon (Toolkit.getDefauleToolkit ().getImage("Image/image.png"));[/icode] and [icode]image = new ImageIcon (ImageIO.read (new File ("Image/image.png")));[/icode] and neither of them worked. It works when …

Member Avatar for sirlink99
0
1K
Member Avatar for PROgamer

Hi, i do have problem with event handling im done with layouting but the only thing i dont know is what methods of event handling should i use in my program [CODE]import javax.swing.*; import java.awt.*; import java.awt.event.*; import javax.swing.border.*; import javax.swing.ButtonGroup; public class Pizza extends Frame implements ActionListener,ItemListener { JFrame …

Member Avatar for hfx642
0
175

The End.