64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for TrueVb.NetNoob

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 …

Member Avatar for TrueVb.NetNoob
0
117
Member Avatar for pritesh2010

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 …

Member Avatar for pritesh2010
0
1K
Member Avatar for coroll

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

0
74
Member Avatar for Zinderin

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 = …

Member Avatar for Zinderin
0
480
Member Avatar for danny_mccaslin

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 …

Member Avatar for danny_mccaslin
1
200
Member Avatar for Jerompie

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 …

Member Avatar for Teme64
0
238
Member Avatar for peck3277

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 …

Member Avatar for Zagga
0
109
Member Avatar for idane

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 …

Member Avatar for idane
0
884
Member Avatar for turpentyne

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 …

Member Avatar for turpentyne
0
143
Member Avatar for Cap'nKirk

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 …

Member Avatar for farooqaaa
0
195
Member Avatar for DawnyB

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 …

Member Avatar for Archenemie
0
1K
Member Avatar for potato4610

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 …

Member Avatar for Duki
0
592
Member Avatar for GAME

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("<", "•"); } …

Member Avatar for GAME
0
105
Member Avatar for SHENGTON

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 …

Member Avatar for Adak
0
135
Member Avatar for aaronmk2

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.

Member Avatar for mrnutty
0
97
Member Avatar for timrichardson

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] …

Member Avatar for vegaseat
0
1K
Member Avatar for Cap'nKirk

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 …

Member Avatar for Cap'nKirk
0
191
Member Avatar for coroll

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.

Member Avatar for ~s.o.s~
0
77
Member Avatar for musicofthehart

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 …

Member Avatar for musicofthehart
0
5K
Member Avatar for alkeshtech

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 …

Member Avatar for griswolf
0
106
Member Avatar for RGStrat

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 …

Member Avatar for RGStrat
0
114
Member Avatar for ichigo_cool

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 …

Member Avatar for ichigo_cool
0
104
Member Avatar for levsha

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 …

Member Avatar for levsha
0
66
Member Avatar for levsha

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 …

Member Avatar for levsha
0
108
Member Avatar for WargRider

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 …

Member Avatar for WargRider
0
2K
Member Avatar for VBNick

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() …

Member Avatar for VBNick
0
177
Member Avatar for hindu times

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 …

Member Avatar for hindu times
0
887
Member Avatar for sabareesh

// 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

Member Avatar for Ancient Dragon
0
133
Member Avatar for andrewktmeikle

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 …

Member Avatar for andrewktmeikle
0
242
Member Avatar for vibhaJ

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 …

Member Avatar for vibhaJ
0
830
Member Avatar for kingofnothing

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 & "','" & …

Member Avatar for Oxiegen
0
274
Member Avatar for anony

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; } …

Member Avatar for vibhaJ
0
3K
Member Avatar for bbman

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 …

0
69
Member Avatar for bbman

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

Member Avatar for bbman
0
83
Member Avatar for jcrcarmo

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

Member Avatar for Deresse
0
129
Member Avatar for Tommy.b

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 …

Member Avatar for Tommy.b
0
154
Member Avatar for virusisfound

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 …

Member Avatar for virusisfound
0
191
Member Avatar for hindu times

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, …

Member Avatar for hindu times
0
295
Member Avatar for LRNPHP

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 …

Member Avatar for LRNPHP
0
477
Member Avatar for P00dle

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. …

Member Avatar for P00dle
0
256
Member Avatar for Maya Pawar

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 …

Member Avatar for Oxiegen
0
102
Member Avatar for TrueVb.NetNoob

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) …

Member Avatar for TrueVb.NetNoob
0
95
Member Avatar for LRNPHP

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 …

Member Avatar for Ankit_Parmar
0
99
Member Avatar for leo1937ca

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 …

Member Avatar for AndreRet
0
207
Member Avatar for bleedi

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 …

Member Avatar for mrnutty
0
256
Member Avatar for mavs123

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 …

Member Avatar for mavs123
0
127
Member Avatar for raghujosh

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 …

Member Avatar for raghujosh
0
496
Member Avatar for Zinderin

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 …

Member Avatar for Lusiphur
0
149
Member Avatar for jagan605

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.

Member Avatar for jagan605
0
317
Member Avatar for Hardz

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 …

Member Avatar for Hardz
0
368

The End.