64,152 Solved Topics
Remove Filter ![]() | |
I've try to figure it since 3 days a go..:-( and sorry for my english. what i want to do is displaying a random link on my conduit toolbar and it change randomly everytime EBNavigateComplete event occur. EBNavigateComplete is just one of conduit's event. It works fine on my firefox … | |
I for the life of me can't get this to work and I get no errors. [B]admin.php[/B] [CODE=php]<html> <head> <title>Admin Area</title> </head> <body> <? //connect to mysql //change user and password to your mySQL name and password $conn = mysql_connect("host","username","password"); if (!$conn) { die('Could not connect to the database: ' … | |
hi there, i just want to know what data type i need inorder to store a binary word eg. 10010111 | |
[B]i enter text into a text box, when i move to the next textbox, the text i entered in the other text boxe disappears.....this started when i run form after linking my text boxes with the necessary database items.. i used an adodc for connection. before connecting the textboxes i … | |
VB.NET 2008 Express, ACCESS Db 2007 Ok I have a program that contains a datagridview control linked to a database and i want to be able to search through every field via a ButtonSearch for a match of the search term - search term is entered in a text box … | |
I am trying to populate a drop down list in an HTML form that pulls it's data from a datbase. Basically, the users can manage the values via a differnt interface, but the web page will present what ever values are in a given list. I can make the list … | |
Hi, I hope someone can help me. My site been using cookies and i have decided to scrap cookies after finding to many security holes which i myself was able to hack in testing. I have looked online and found nothing that is want i am after even my php … | |
Hi guys , In Visual Studio 2005 I compiled the following code [CODE] int main() { float a; a=0.1; if(a<0.1) { printf("C\n"); } else { printf("C++\n"); } } [/CODE] I was very surprised when I saw the output C++ . I got the warning C4305 :" '=' : truncation from … | |
I'm having a problem sizing down this block of code: [CODE] if POS == 1: POS1 = "->" else: POS1 = " " if POS == 2: POS2 = "->" else: POS2 = " " if POS == 3: POS3 = "->" else: POS3 = " " if POS == … | |
I have placed a dropdown list in the edititemtemplate of a formview control and followed specific MSDN instructions on how to bind the list source to a separate SQL lookup data source but have the formview bound to the main data source. If I set the selecteditem value to bind … | |
hey i m reading about pe format but there something that i don't get RVA in documentation it says it just like a temp for addressing memory in other sections ok and it's just a DWORD what if there are many temperoralily variables wouldnt that overflow the that RVA value … | |
Hi everyone, My program is doing what it suppose to do, except that it generates a loop with the answer. ... ERROR in uniform.discrete_uniform(): a=100 b=99 ERROR in uniform.discrete_uniform(): a=100 b=99 ERROR in uniform.discrete_uniform(): a=100 b=99 ERROR in uniform.discrete_uniform(): a=100 b=99 ERROR in uniform.discrete_uniform(): a=100 b=99 ERROR in uniform.discrete_uniform(): a=100 … | |
I need to display the loan table with the annual interest rate, monthly payment, and total payment for the number of years entered. When I run my program, it only displays the info for 8%, when I need to display all interest rates from 5% to 8% in increments of … | |
I am making a poker game using pyGTK. My problem right now is that the other players won't let me play! Each player has a function for betting and they go in order such as amandaBet(), playerBet(), billBet()... where player is you. Since this is a GUI game, I am … | |
Hi!!! I have made a window application Form in which there is a textbox in which I am entering string of data. Also there is a toolbar for entering symbols which are not present on keyboard. Now for entering each symbol in textbox i have used :[CODE]textBoxEquation.AppendText("÷"); this.textBoxEquation.Focus();[/CODE] but problem … | |
Hi all, I plan to make a PRACTICAL dictionary and need help on just ideas. basically you can use dict datatype for simple dictionary and use dicy->key to retrieve but does that work for larger data queried from database? Or should I implement a database of key --->value? Any Idea … | |
I am able to build a logic which does exactly how I want it to work but when I add more records there are some problems in flagging. Here is the example:- when my input is : [CODE] mymm.insert(pair<char,int>('a',50)); mymm.insert(pair<char,int>('b',100)); mymm.insert(pair<char,int>('b',150)); mymm.insert(pair<char,int>('b',200)); mymm.insert(pair<char,int>('c',250)); mymm.insert(pair<char,int>('c',300)); mymm.insert(pair<char,int>('d',300));[/CODE] output is correct :- [CODE]single … | |
Hi I have an image converted to binay and saved in SQL database. Below is my line of code where application is throwing above exception that im using for showing image [CODE] Dim mem As New IO.MemoryStream(CType(io.File.ReadAllBytes(imgfilepath), Byte()))[/CODE] Does anybody knows how can i fix this? Thanks and regards, f | |
This is a working program. But there is a logical error. Try this with the calculator: Press 2,M; Press R,*,2; Press R,*2; The output in the same order must be: 2 2*2 = 4 2*2 = 4 but the third one outputs 88 instead. M stands for Memory, it stores … | |
Dear ALL, Could you tell me how can I do this kind of question if I do not working with the computer and please find the attached document for your reference - it is the answer of the question? [code] Complete the table below to show what each variable holds, … | |
WHAT i want to happen is, when i click the CALCULATOR menu item, my separate Calculator.java will run on the MenuShortCut JFrame. AGAIN, i want the separate .java file to appear on THE SAME JFrame of MenuShortCut class. here's what i've got [CODE=java] import javax.swing.*; import java.awt.event.*; public class MenuShortcut … | |
Hi, The database on MS-Access is kept on one machine and i have to access it from another machine.. I have given the following connection string on the client machine. But still it is not accessible. I have shared to Databse folder with full permissions... But, still it is not … | |
I want to ahve td border,But there is no property border,Can somebody tell me how to set td boder? | |
Hi, I am use following code to find IP address of machine in C#.write following code in class file. when build the solution it gives following error 1.The best overloaded method match for 'string.String(char*)' has some invalid arguments 2.Argument '1':cannot convert from 'string' to 'char*' How to solve this error … | |
Ok trying to work with zipFile library how do you flatten the file hierarchy what works [CODE] zipFile = zipfile.ZipFile(imgSetup[0]+'/'+zipName, 'w') for picId, pathname in enumerate(pic_list): if start <= picId and picId <= end: zip.write(filedir+'/'+pathname) zip.close() [/CODE] what i am trying [CODE] zipFile = zipfile.ZipFile(imgSetup[0]+'/'+zipName, 'w') for picId, pathname in … | |
getting error when compiling. "java:60: non-static variable inventory cannot be referenced from a static context for (String show : ProductDB.inventory)" the showCodes class has to public static void. Here is code [CODE]import java.util.*; import java.text.*; public class ProductApp { public static void main(String args[]) { // display a weclome message … | |
I'm trying to implement a Visitor Pattern in c++, but I'm having problems with the elements being visited in turn having their children visited. For example I have a class Element, which has a vector of Nodes (can be elements or any classes that inherit from node): [CODE] class Element … | |
I'm having trouble getting my dynamic 2d array to work consistantly in my program. Here's the code: [CODE] #include <iostream> #include <string> #include "DisjSet.h" using namespace std; struct cell { bool nWall; bool sWall; bool wWall; bool eWall; }; void CreateMaze(cell** &maze, int x, int y); void LoadMaze(cell** &maze, int … | |
![]() | So I have a couple strings [code]first = input("Enter a starting integer: ") last = input("Enter an ending integer: ") last = last + 1 [/code] How do I make another assignment to a string "n" that I want to take the value of each individual integer in the range? … |
write a program that uses a for statement to find the smallest of several integers. Assume that the first value read specifies the number of values remaining and the first number is not one of the intergers to compare.pls help me i need it now! | |
it keeps on saying '{' token error. did I put something wrong that the program keeps on saying '{' token error? [code] #include <stdio.h> #include <math.h> int Calendar(int daycode,int year,int leapyear); void dec_bin(int bin) { int x, y; x = y = 0; for(y = 7; y >= 0; y--) … | |
Hey guys. This is really frustrating because it seems easy but I can't seem to find the correct function to remove this element of my string. [code] void set::display() const // pre : none // post : displays the elements of this set enclosed in braces and // separated by … | |
I recently started messing with tcp socket programming. I hacked up a little instant messaging application that seems to work has some little problems but the world isn't in need of more IM clients. but I wanted to know a good practice for sending large files over tcp sockets. i … | |
Ok guys, i'll say this first. I got it 99% working (100 % working if I test it with the much shorter name list that we are suppose to use for the homework.) For some reason the code skips the very last name. Honestly, I think I am over thinking … | |
Hi, I have 2 tables that I have made using sql create table which seem to work ok until I try to insert data into the 2nd table then it throws a: didn't add 1 record due to key violations. When I use the design wizard and do exactly the … | |
hi guys, do you have any valid, tested example about how to run windows installer in silent mode? i want to see an example which to be told to six year old. i am fed up with implicit stuff, aliases and all other ambiguity. Thanks. By the way, the english … | |
Hello, I know you probably get quite a few threads asking this, but the DaniWeb search didn't pull up what I was looking for. So here we go: I have a page that I've made as "private" by including my access control script at the top. The access control script … | |
i m a stater with jsp .... have installed Tomact 5.0.28. Its displaying server page when i type [url]http://localhost:8080[/url] now i have made a simple context.jsp file----> [code=JSP]<HTML> <HEAD> <TITLE> Context </TITLE> </HEAD> <BODY> <% out.println("First JSP APPLICATION"); %> </BODY> </HTML>[/code] placed it in a folder ch in webapps folder … | |
Hi, I am newbie to network programming in C. I want to implement a file transfer program in C on a Linux environment . I am sending the file name to the server and tries to print it on the server. But the server doesn't print it. I think I … | |
Hello friends. I'm trying to write a program that accepts an odd number from 1-9 and outputs the diamond of asterisks as follows [code] user enters 5 _ _ _ * _ _ _ _ _ * * * _ _ _ * * * * * _ _ _ … | |
Hello guys, it's me again :) This time I want you to show me a way to hide the Windows taskbar in Visual Basic 2008. To be more specific, I created a button in my application that says "Enable Full-Screen". The code I used so far in order to make … | |
I have been working with desktop server/client applications today, making pretty good progress when I came across a problem. the webserver I use for my website is shared and doesn't allow me access to start programs so I must use my desktop as a server. The problem with this is … | |
package MyJava; //change package name according to what the name of the package //the class would be installed to import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.io.*; public class [B]Calculator[/B] extends JFrame implements ActionListener{ private JTextField displayText = new JTextField(30); private JButton[] button = new JButton[16]; private String[] keys = … | |
[code] Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim lCount As Integer For lCount = 1 To 5 ListView1.Items.Add(lCount.ToString) Next If ListView1.Items.Count > 0 Then ListView1.Items(0).Selected = True End If [/code] I have even write the code to select the first node,i want first row … | |
can you tell me what differences are between c & c++? | |
Hi Everybody.. I installed wamp server and Mysql services doesn't start. I've found on Google Search. and nothing to solve my problem. Can anyone help me? Thanks.. | |
hi i m sorry for this noob question but there something i don't get i was reading abt File format like PE for example i was wondering how is C unverisal on MAC win and unix since they use diffrent file format does C takes care of each file format … | |
Maybe someone can help me with this. I've been working with python for less than a week, and it's my first programming language. I'm looking to figure out some basic things in python for an algorithm I wrote in a pseudo-code. I'd like to know how I can take an … | |
Hi. I want to compare two arraylists with each other, but not with the compare method. The problem is that i am using .net remoting, and i gotta keep a clients arraylist updated. And it would be a waste of bandwith to send the arraylist as an object over to … | |
Hi all, i am new to java servlets. i simply created a login form with username and password fields. now when i deployed it on tomcat server, after i click on submit button it gives the following error: java.sql.SQLException: Column not found codin of this login servlet is attached below. … |
The End.