64,152 Solved Topics
Remove Filter ![]() | |
Hi Guys! I have problem coding with a vertical Scroll bar. I made a label in form1 and a vertical scroll bar next the it on the right side. The vertical Scroll bar is to scroll down the label if the label is full of text. Here is my code … | |
hello experts. as per the my last problem was [URL="http://www.daniweb.com/forums/thread296536.html"]this[/URL] now i'm moing further in this repeater i want button for delete and Update. i had try but didn't work i want the button based on user authentication. for e.g. if user is Emplyee so he/she can edit when they … | |
Hi everyone!, do we need to add any tags to web.xml when using a bean. can any one tell me PLzzzzzzzzzzzzzzzz............ THANKS IN ADVANCE | |
Still learning here... this is my method to get the record count of a table ... it works, but it seems like a lot of coding for something so simple. Is there an easier way? [CODE] public int GetTableRecCount(string table) { //Set up the connection and adapters... OleDbConnection myConn = … | |
Hi. I'm a new guy, and I'm having trouble with inserting into a database table. I'm designing a backend for a the website of a church camp that my wife is involved in. They have member churches, and I want her to be able to input data into the database … | |
Hello DaniWeb, This is my first topic here at DaniWeb. I have always been a great fan of this forum mostly for C# solutions. Iam a 3rd year student IT. Now I have a problem. Iam trying to make a application that checks if IP + Port is online.( it's … | |
Hey guys, I'm trying to make a check to see if a file to be uploaded was added. I have tried the below and a few variations. I imagine I'm having problems because $_FILES is a global variable and is therefore always set. But I still can't figure out what … ![]() | |
I have a table on a page that displays info from a database and everything is working fine but I want it so if the user entered data from another page to a certain field then the row on my data display table will turn red. Right now I have … | |
I've got some code working finally that puts the checked items from two different lists, into their respective tables - all within one form. Everything works fine except... On the second set of checkboxes, it's putting the final checked item from the array into the database twice. some kinda loop … | |
Hi, my app needs to have an internet connection to run correctly, so I have been trying to implement a piece of code to check for the availability of a net connection. [CODE] private void Form1_Load(object sender, EventArgs e) { HttpWebRequest req; HttpWebResponse resp; try { req = (HttpWebRequest)WebRequest.Create("http://www.google.com"); resp … | |
For my intro to programming class i have to design a game where a ball is shot at an angle and hits squares that are worth points. I have two questions 1.How do you get the ball to move. I was given this code but I don't know if I … | |
This code is used to reverse a number in C++ but I have a problem. When I input 1010 or -1010, the output is -101 and 101. How should I fix this?[code]/* Christopher Langford U05799189 * clang4d@gmail.com * Assignment 3 Exercise 3 * July 23, 2010 * Macbook Pro w/Mac … | |
My program won't display all the text on a webpage, it basically only reads the first line. I am using a rich textbox to display the text. [code] void readrss() { try { newstxt.Text = string.Empty; StreamReader x = new StreamReader(WebRequest.Create("http://www.xample.net/").GetResponse().GetResponseStream()); newstxt.Text += x.ReadLine(); x.Close(); newstxt.Text = newstxt.Text.Replace("<", "•"); } … | |
Hello, good day. :) I got a problem with "passes occurred". This is the only problem left in my program. My program is about Naive Searching and Binary Searching. There's no problem with my "Naive Searching". The problem is the "Binary Searching". [b]Naive Searching:[/b] This is the result when I … | |
I understand that you are allocating memory for Stack, buy do not understand after :: and I thought that you only used :: when declaring classes not in the classes. [CODE] myTop= new Stack::Node(original.top());[/CODE] I can post the function class of the entire program if need be. | |
I have a script where I want to use a message box for the occasional interactive question [code] # python 3.1 from tkinter import * from tkinter import ttk from tkinter import messagebox answer = messagebox.askyesno(message="Are you thinking of the " + "data " + "?" ,icon='question' ,title="My guess" [/code] … | |
Hi, my app does not contain a web component but it does download images from the web into pictureboxes. I am trying to figure out how to code a progressbar on my app that would start when the form is loaded and increase gradually until all the pictureboxes have been … | |
Hi!, im developing a shopping cart.my hash table is in a bean.so i need to use the hash table's elements.is it possible to use the same bean(id) in a another JSP. | |
I have a field that looks like SKU: [url]www.cool.com[/url] the code that spits that out is [CODE]<tr> <td><b>SKU:</b></td> <td><?php echo $product_info['sku']; ?></td> </tr>[/CODE] the [url]www.cool.com[/url] is what I entered in for sku: but what comes out on the page is not a clickable link. What I would like to have … | |
Hello everyone, I am creating a webapp of employees. Now each employees has fields such as loginId, firstName, lastName, email, last review date, last reviewer, last review type and I can go on and on. My question is each employee has ONLY last review. So what is the best way … | |
Hello, I was wondering how I could dynamically generate an image via Java/Javascript. Here is what I need: There will be a tiny sprite-like image in the middle. What I want is to have a partial circle around the sprite appear. It will have a drop-down with 3 options, each … | |
Hi. I'm trying to make a two-dimensional array full of descriptions. As if they were map tiles for a text-based RPG. There's a point class that holds your coordinates and I use the Get_X and Get_Y functions to put into the map so it can read them. I'm just starting … | |
I use SwiftMailer in my PHP script to send emails upon HTML form submission. On the test server it all works fine. On the production server (different host) it gives me this error message: [QUOTE]Parse error: syntax error, unexpected T_CLASS in /home/alkal5/public_html/html/swift-mailer/lib/classes/Swift.php on line 18[/QUOTE] What could it be? Thank … | |
I use SwiftMailer in my PHP script to send emails upon HTML form submission. On the test server it all works fine. On the production server (different host) it gives me this error message: [QUOTE]Parse error: syntax error, unexpected T_CLASS in /home/alkal5/public_html/html/swift-mailer/lib/classes/Swift.php on line 18[/QUOTE] The two machines use different … | |
I was testing out a networking script of mine, and it worked fine locally. It is basically a replica of a very bare bones multiplayer game network, where multiple clients connect to a master server, each client can say anything that it wants, and the server redirects that message to … | |
Hullo. I made a small webserver just to flex my winsock muscle, but it only works for small files like html files. Once I have processed the request to get the path of the file, I send the result like this: [code] ifstream fin; fin.open(URL, ios_base::binary | ios_base::in); if (!fin.good() … | |
Hi there, Im working on this page - [URL="http://www.rjt-online.com/photos_titletest.php"]http://www.rjt-online.com/photos_titletest.php[/URL] When you click the Filter By buttons it alters the content of the iframe below it. This works fine in ALL browsers. However, when you click the browser "back" button it should return to the previous clicked Filter By button (and … | |
// find new size nNewArraySize = StrNewSizeForCharReplace(pszString, pszFindString, pszReplaceString); // nNewArry size is 1063 // alllocate memory pszTemp= (unsigned char*)malloc(nNewArraySize + 1); // add 1063 character in to pszTEmp // 1063 nLength = strlen(pszTEmp) // length is 1063 free(pszTemp); // Heap memory exception How can remove this exception | |
Hi team, I'm having some issues getting the results of my query to output on a data grid. I'm using an sql query to get the data from access, which is working fine, but then I want to output it onto a datagrid. My code is as follows just for … | |
I have one link in my webpage where user can call to other skype user. [CODE] <a href="skype:skype_username?call">Call me</a> [/CODE] But when user have not skype installed in their pc one notification popup is coming. Is there any way in any manner i can detect is skype is installed or … | |
hi everybody i dont now whats wrong whith this code below when i run it debug show an error with con.open() [CODE]Dim con As New System.Data.SqlClient.SqlConnection con.ConnectionString = "Server=iraq\\sqlexpress ; Database=stats ; Trusted_Connection=True ;" Dim com As New System.Data.SqlClient.SqlCommand com.CommandText = "insert into users values('" & TextBox1.Text & "','" & … | |
This is my code for multiple file upload. When the user clicks on attach more files link $max_no_img should be incremented but i am not able to figure out how to do it. <!doctype html public "-//w3c//dtd html 3.2//en"> <html> <head> <title></title> <script type="text/javascript"> function increment(){ max_no_img++; return max_no_img; } … | |
Hey, I have an API that can move windows. If I put the x co-ordinate higher that the horizontal resolution of the screen, it will move to the next monitor. I do not have multiple monitors, so I cannot test this myself. Would I use something like: [CODE] Screen[] screens … | |
Hey, I have tried Google, but no avail. I have an XML file, say <Items> <item> <id>1</id> <name>test</name> </item> <item> <id>2</id> <name>othertest</name> </item> </Items> I have a function Add(int id, string name). How would I read through every <item>, get the id and name, and call the add function. Thanks | |
Hello everyone, After I publish my C# VS2005 application (to be installed from CD-ROM), the crystal reports in it will not load, but if I run the application from debug, everything works fine. Does anybody know what's going on? Thanks a lot. Best regards, JC | |
Hello So, recently I obtained a horrid assignment from lé boss, and I have yet to figure out how to do this. The idea is to select the ID(db_medlem) of all customers that have purchased for over 1000, in the year 2010. (I know its a funny syntax, but its … | |
Hi, How can i restrict the user to input only numbers. I have done the following coding for[B] VB[/B] [CODE]private void textBox1_TextChanged(object sender, EventArgs e) { if (!char.IsNumber(e.KeyChar)) { e.Handled = true; } }[/CODE] But now i used it in C# it is not showing the [B](e.keychar)[/B] property. I have … | |
Hi there, I'm new to this forum and am trying to find answers to a few issues I've been having. I'm building a website for my music (I'm a novice with web design so bear with me) and I'm having trouble with this page - [URL="http://www.rjt-online.com/photos.php"]www.rjt-online.com/photos.php[/URL] As you can see, … | |
Hi Everyone. Can some please assist me. I'm trying to create a login script. This is what I've done so far. This works if user's input is correct. But when the user input is incorrect I get a blank screen. I think my problem lies in the $SQLPASS statments. Any … | |
I'm trying to move a file to a different directory using .renameTo() This isn't working, as the file is still in the original dir after the code has completed, and there is a copy of the file in the target directory. I tried deleting the original file, which doesn't work. … | |
Hi friends, When i give breakpoint to my function or event. There is a warning that,"The breakpoint will not be correctly hit.The source code is different from original version" What is this warning. I don't understand.I m in trouble. I can't find my error even. Plz help me yaar..... Thanks … | |
Hi,Guys! I am currently making a project and got stuck.(I am a total beginner) The program is for users to submit their username by typing in their username and pressing the submit button. The username may be able to display on the Usernamelabel in form1.(I made the button on form2) … | |
Hi Everyone. I have a quick question. I have 2 checkboxes. One yes and other no. I want only one to be checked at a time. Example : if yes = checked uncheck no. if no = checked uncheck yes [LIST=1] [*]Is it possible with PHP or should I try … | |
I am using w2k, vb6, VBOLock and access 2000. I created a program that at first ran OK in VB and the compiled EXE. Now when I compile and run the EXE, I get a run-time error '53' file not found. I have checked and rechecked the code for accuracy … | |
Hey again! I ran into a new problem in my university course exercises. Basically, I'm trying to read things from a .txt file. Every line is supposed to get converted into an object called "Client", and lines are formatted like this: <account:int> <firstName:string> <lastName:string> <balance:double> I have written my own … | |
Create a program with this problem using the “Observer pattern”, STRICTLY When a Message is sent to a Mailing List, the Mailing List sends a copy of the Message to every Inbox that has subscribed to the List. When an Inbox receives a message, it displays this notification: New Message … | |
I am trying to connect to SQL SERVER 2008 using a JDBC connection. I have read some older posts on this topic(SQL server 2000, SQL server 2005) and I feel there may be some minor variations and so am posting on this forum. I am running win XP with SP … | |
I'm trying to learn about statics ... let's say in the code below, I just need these 30 dogs to be available throughout my program. What am I doing wrong here? It builds fine, but I'm getting the runtime error at line 15: [B][COLOR="Red"]An unhandled exception of type System.NullReferenceException occurred … | |
Iam using ubuntu 10.04 LTS.I have a problem in including graphics.h in the g++ compiler I am using.I have nearly tried all the possible solutions given while i googled about it. Please help me .I am a beginner to programming. | |
I am using this code in C# as shown below, to view the students first name. studentsBindingSource.filter = "[First Name] like '%" + txtFirstName.text + "%'"; This code is very useful and working well. If i input at a textbox for example, a letter [M] or abbreviations, all the students … |
The End.