199,114 Archived Topics
Remove Filter ![]() | |
I have an app put together that reads from a text file using streamreader. I have it coded, maybe not the best but it returns only the first line in the text file. I'm trying to get it to select a random line each time a button is pressed. [CODE] … | |
I'm using ASP to dynamically generate an XML file (for an RSS feed) that pulls information from a SQL DB. Users input the data into the DB using a UI that is a straightforward html form. However, there is a textarea field in that form in which most users seem … | |
hi my friends I developing shop program and want my software can read price from POS device , i dont have information about POS please help me | |
![]() | I just wrote a little console app using the Visual C++ 2010 Express. But it doesn't run on other computers. I did a little research but it says I have to install redistributable package on the other pc, isn't there any other way to run the simple application? ![]() |
I'm working on a seat diagram program, and it's not reading the input how it should. Also when the user enters a seat it should change the letter to an X. The program isn't reading the input correctly. When I tell the program to print the seat the user picked, … | |
Hello, I am using a code to generate an id for a table.But it is giving 'Conversion from type dbnull to type integer is not valid' exception. Now I know that this is due to the table being an empty set.But it works properly if there is already a row … | |
Hello people, I need some help regarding the insertion/deletion of data in the middle node. My problem is, if you insert a node on the middle, the existing middle node gets replaced (the nodes between the inserted node in the middle should only move left and right). And when I … | |
Hello, i'm justarting out with OOP with Java and i'm looking for a bit of help with a bit of code as i can't quite work out why it wont work as i'm still learning. Here's what im being asked to do [I]write a public method called requestPositionsAndMove() which takes … | |
Hellow everybodi... I succed to finish my first web site on local machine and i bought a host services and a domain name. After uploading files and mysql database I have only a huge blank page on index ....something it not wright.... Please help .... | |
Hi Thanks for the replies for my previous question. I m beginner to coldfusion and I will explain my whole problem in detail now. My client had developed an application in coldfusion and we are using that. Actually there is no login system for that application.The user can enter into … | |
| |
[code] class A: def __init__(self): print 'A()' class B(A): def __init__(self): A.__init__(self) print 'B()' class C(B): def __init__(self): B.__init__(self) print 'C()' c = C() [/code] Cans omeone help me explaining what am I doing wrong here? I`m getting an error like: [code] B.__init__() TypeError: unbound method __init__() must be called … | |
Hi, I am have written a program in C but using Dev-C++ to run it. I have compiled my source code in c. however, my output window does not stay. I tried adding system(“PAUSE”); before return 0, but it does not work. My program has both return 1 and return … | |
Hello! friends.... Well this is not included in the project iam making .. but iwas thinking to decorate my project with some of these... Well i was thinking of making a picture box with image which will show it automatically i mean select image automatically in the described folder.. n … | |
Hi, Can enyone helpsme.Im new to C#. i gt this error. Embedded statement cannot be a declaration or labeled statement My code is [CODE] foreach (Form form in Application.OpenForms){ if (form is productResults) productResults pr =(productResults)form; } [/CODE] PLZ...help me. | |
I need some pay for play tutoring. I have a jammed schedule and don't want someone to do my work for me, but need direct and timely answers to questions, immediately. I don't have time to trial and error, or tough love learning. I take good notes, learn fast, and … | |
Hi, I want to make a page that has a code that can make my image change into another image. Lets say I arrive at work one morning. I go to my "website" click on a red image, and in turns green. Now I want it to stay green all … | |
Hello all, I am just learning AJAX because I find it interesting but my first example does not work the way I planned it. Here is the code: This is my HTML file named ajax.html <html> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <meta name="author" content="" /> <title>Untitled 3</title> <script type="text/javascript" … | |
anyone please can you suggest me a good script (free or Commercial) for a file search engine like, filestube.com ?? | |
How can i trigger Leave Cell event for Msflexgrid through command button click or textbox lost focus. | |
i m creating one project in vb.net i m taking database msaccess. i m able to insert update delete when i m taking single table.but i m facing problem with multiple tables which is related to each other how to define the relationship between tables in dataset and how to … | |
my problem is so simple guys, how do i make [B]3 textboxes[/B] connect to a database of users using [B]adodc in a different form?[/B] [B]so that if you entered your userid, username and password you could log in.[/B] i cant post my code now but ill try later on. | |
ok guys , because I’m really confused -- which is better in order to have a good website I need it secured , nut I want it fast also with a very good looking actually could u help me with which one to choose plz ? Thanks [URL="http://www.infysolutions.com"]http://www.infysolutions.com[/URL] [URL="http://www.infysolutions.com"] Outsourcing … | |
I completed a form for my supervisor using VB via Microsoft Word. It worked beautifully on my end...I could fill it out, save it, etc. I password-protected the document and only allowed people access to fill-in the form, which consists of drop-down menurs and text boxes. However, when another user … | |
Hi to all experts in the forum. I know scripts can be executed through the command prompt,but what are other ways to execute it, if the file is on remote server. Please specify if any clarification is needed. | |
I have an html form which has 2 fields realuser and useremail it then submits on the php page .i have a database table named auth .my database has 3 fields i.e realuser,useremail and details ,in which i have filled "details" field already and rest 2 fields are blank.i have … | |
![]() | Hello fellow database enthusiasts ! :) A friend of mine owns a print shop, and business isn't going well right now. So he has asked me to develop him a website. The website's aim is to allow people to make orders for prints. I'm stronger in ASP.NET than I am … ![]() |
Hi:) How can I scroll the report in runtime by mousewheel. I am using VB6 (SP6) and for reports I am using VB report control. | |
Does anyone know how to read the contents of a binary file into a static struct array, that can then be searched like a normal array? | |
I have an IP camera that feeds video over lan or the internet thru a browser. It has its own interface on either Mozilla, IE or other browsers. I tried calling the site using the Microsoft Internet Controls component and it works fine. The GUI is called upon and I … | |
This is such a basic question, I'm almost embarassed to ask it. How do I loop through seleted rows in a DataGridView and remove the rows? I've tried this, but it doesn't work. After one row is removed, the index is all screwed up... [CODE] iIndex = dgvRecipe.Rows.GetNextRow(-1, DataGridViewElementStates.Selected) While … | |
Hello! I'm still on my long run of selfteaching... My current problem is this: I have a form and I have in it three textboxes, 1 button and 1 datagridview; I also have an access database. I can retrieve the data from the dtabase and add it to the datagridview. … | |
Hello :) I have got to the stage where I get the user to make a choice from one radio button list, press submit and then they are taken to another page with a hyperlink that then takes them to their choice. The problem that I have now is that … | |
Hi guys :) I'm currently trying to do something I don't have any experience with, and I did not really understand what ixQuick found for me .. So I try here, hoping someone shouts 'oh, done this million times, it's a piece of cake' ;) So, I'm using Visual Studio … | |
A while ago, I had a piece of XML you put in the application config file which made .net write all exceptions and traces into a log file, without any modifications to the code. (i.e. I didn't have any trace listeners or manual log files) I cannot for the life … | |
Before people go why would i want to create an array of size 0 - this is due to writing a test program. at the moment i have two diffeent ways of doing - not sure which one is even slightly correct 1.[CODE]uint8_t * BufferB = new uint8_t[0]; uint8_t* p; … | |
I am using this code to to generate a crystal report from aa sql string that i construct using a supplied table name and some column names in txtSQL.This code contains functionality to export to ms word.However when the save dialog comes up and the user enters the intended filename.and … | |
Hi All, Im running a script that goes 3 deep on parentheses, and then needs to change database at the deepest level. Im having trouble switching to that database in an if else query. any help would be appreciated [code] function getElement1(){ $con = mysql_connect('localhost','uname','pword') or die (mysql_error()); $authenticate = … | |
How would i upload image files to a database and then display them using [CODE] <?php $query = "SELECT * FROM members WHERE email='$username' AND id='$id'"; $result = mysql_query($query); $row = mysql_fetch_array($result); ?> <img src='<?php echo $row['pic']; ?>'> [/CODE] and also, what kind of field should i use in the … | |
hello my question would be if som1 can help out with a better prototype than i have for verifying if input is within ascii alphabetic range what i have now [CODE]int betu (char s[]){ int i, jo=0; for(i=0;i<strlen(s);++i) { if(!isalpha (s[i]) && s[i]!=' ' ) return 0; else ++jo; } … | |
[code] #include <stdio.h> #include<stdlib.h> int **matrix_mul(int **m1,int **m,int a,int b,int c,int d); main() { int i,j,r1,r2,c1,c2,**p,**q; printf("Enter the number of rows and columns of first matrix :\t"); scanf("%d%d",&r1,&c1); printf("Enter the number of rows and columns of second matrix :\t"); scanf("%d%d",&r2,&c2); //memory allocation for m1 int **m1; m1 = malloc(r1 * … | |
Hi, I am developing an windows application in vb.net. in this project i want to set the Richtextbox height according to the content in that richtextbox. For this i want to call the Richtextbox textchanged event on button click Here is my code but i got error on button click … | |
Hi, here is a class with the methods that i have created: [CODE]class BlackCheckAlgorithm { bool checkCheckMeh; string checkOrpiece; bool checkOrPiece; string chessPiece; bool checkSafe; int kingRow; int kingColumn; int blackkingRow; int blackkingColumn; bool dynamicCheckBlack; int whitekingRow; int whitekingColumn; bool dynamicCheckWhite; bool mate; int kingRow2; int kingColumn2; bool pieceDoesntCollideKing; bool … | |
hi, i am having problem in making thumbnail of video. it is not working properly here is my code plz help [CODE]$ffmpeg=$_SERVER['DOCUMENT_ROOT'].'/admin/ffmpeg'; $image=$_SERVER['DOCUMENT_ROOT'].'/admin/video/thumbs/'."$id.jpg"; $video =$_SERVER['DOCUMENT_ROOT'].'/admin/video/'."$uname"; $cmds = "$ffmpeg -i $video -deinterlace -an -ss 1 -t 00:00:01 -r 1 -y -s 100x90 -vcodec mjpeg -f mjpeg $image 2>&1"; exec($cmds);[/CODE] thanx in … | |
Guys... i need a database design on hotel search engine.....can anybody help me???? only searching for hotel(not restaurants) no hotel booking. its like justdial.com just a find hotel near u......please help me...... thanks.... | |
*THIS IS THE CODE WHERE I CLICK A BUTTON TO SIGN UP FOR AN ACCOUNT* Set db = New ADODB.Connection db.Open "PROVIDER=Microsoft.Jet.OLEDB.4.0; Data Source=" & App.Path & "\useraccount.mdb" Set rs = New ADODB.Recordset rs.Open "Select*from useraccounts", db, adOpenStatic, adLockOptimistic rs.AddNew rs!Lastname = Text1.Text rs!Firstname = Text2.Text rs!Contact = Text3.Text rs!UserName … | |
Hi All, I have a function reloaddash(1); for refresh the db.js in db.js file which sends a ajax request to the action file. In this .js itself I draw the table,td,tr for display. I dont use seperate .jsp file to draw. By onclick a link in this js file I … | |
I have spent all of yesterday and this morning trying to think of how to do this, and I am still stuck. I don't understand how I can take a std::vector<char> (bytes) and extract values from it by combining the bytes. I have read everything that people have posted but … | |
hi all........ file1 99 root S 5176 95 [B]41.2[/B] 8.3 snmpd file2 99 root S 5176 95 [B]1.0 [/B] 8.3 snmpd i want to caluculate difference between two files fifth column(i.e bolded columns as mentioned above).. thanks in advance...:'(:) |
The End.