64,152 Solved Topics
Remove Filter ![]() | |
Hi, I have an application where I need to load images present in a folder onto my Visual Studio application. As in if I have a folder named temp and I have say 5 images temp1-temp5 inside the folder temp, i need to load each of the images temp1-temp5 (in … | |
hello guyzz,,i really need your help,,we are about to make a mastermind game in java,,i already have the code,,,but it has no main method..and i dont know how to implement the main,,help guyzzz,,,we are about to pass it next week.... import java.awt.*; import java.lang.Math; public final class mastermind extends java.applet.Applet … | |
Hi, I am trying to write a loop that lists all the square results until the number given in. So for example if i would give in 100 it would list the squares in a list wich would be 1, 4, 9, 16 etc... The problem is i if i … | |
Maybe I'm the one not doing anything right but i'm trying to cause a page to display a given information as soon as it load. I'm using labels display the said information. The problem here is, in the Page_Load method, i can't seem to call any of the labels or … | |
Hi I'm new to Python and the book I'm using was designed for an older version of Python and consequently there are some examples in the textbook that don't work in 3.1. My first problem is with the following simple example: num1, num2 = input(" Please enter two numbers (num1, … | |
I'm hoping someone out there can help me. i have to use a 2nd class to create a JMenuBar to attach to a JFrame i get an error :49: incompatible types found : javax.swing.JFrame required: java.lang.String return aTestFrame; (i have also tried something else and got a static/non static error) … | |
I have a chat window, JTextBox i think, and you hit enter and it invokes an action listener, to send text. It generally works, but now and then i hit enter, and nothing. I have to hit enter again and typically it sends text. the focus is there for typing, … | |
![]() | Hi folks, I have a mysql database and I have written some PHP to view records, add records, delete records and update records. The problem I have is updating checkbox fields of a record. Everyhting was working fine and updating correctly. Then I tried to automatically populate the form fields … |
I need password changing code Please help! Please it's urgent. Database :-members Table:- userid int(12) name varchar(150) surname varchar(150) username varchar(150) password varchar(20) How to allow user to change their old password and set new password? | |
hey everyone need some help again, i have two computers both running in vista ultimate. one is a server and the other is like a terminal. my problem is, how do i connect the terminal to a database which is in the server? please provide me a step by step … | |
Hello everyone I am quite new here and have a very tricky issue that bothers since days. I posted the question on the PHP forum together with a sample of my embarrassing code. If this is wrong that I raise the issue here in MySQL forum, too, please forgive me, … | |
Hi everyone and HAPPY NEW YEAR :S (not sure if I am at the right place here but since I am pretty new, please don't scold me to death, just let me know and the next time ther won't be such next time, promise) I have a simple but effective … | |
I'm using mysql database..I have forms setup main form has datagrid..you can add to this datagrid and save to datbase with my add form and it works fine. I can delete from the datagrid and it works fine...when I select an account to edit is when I have my issue...form … | |
Hi guys, We're writing a GUI based on PyQt, and we're running into an issue when using different resolutions. Problem is, we can't find how to get the GUI elements to automatically resize when the window is resized, or when the GUI is running on a larger resolution than the … | |
How to kill the running .jar file from another jar in java? There are two jars running A.jar & B.jar Both jars are running. I want to kill B.jar from A.jar. Pls let me know, if any one knows. Thanks in advance. | |
Hey all, I am having a little trouble with my sql and VB.net I think There it is I want to select records from a customer table which is like what the user types in (So they don't have to be exact matches. The statment runs but I don't think … | |
Is there a way to incorporate a spell checker within a wxPython gui? I would like to be able to check the spelling of wx.TextCtrl values before they get posted to a sqlite3 database. I would imagine that the spell checker would be very os specific, but for me it … | |
Hello there. :) I tried all day yesterday to figure out what was wrong with this code so I thought I'd ask here. I have to write a program that duplicates a 24-bit (RGB) bitmap file while also inverting the image. The only problem seems to be copying the pixel … | |
I got a basic telnet socket connection working in an applet. YOu can log onto a server and type and read text. My issue is to show the servers chat i'm using a JTextArea. now this may be the best to use i dont know, maybe i just need to … | |
Use visual basic 8.0 Dymo labelwriter 400 Installed Dymo labelwriter 400 Software Development Kit (SDK). My problem is that there is a label is printed, but the mylabel. SetField are not included in the barcode label. The default values are printed. The object name in the label are correct (OText1 … | |
Dear Experts I use following codes to select data in ListView1, given value in textbox1.text. That codes work fine. Textbox1 data is integer and DataGridView1 first Column Value is Integer. I want to locate this value in Grid. My question is how to select data in DataGridVeiw, given data in … | |
Hey all, Slight continuation on[URL="http://www.daniweb.com/forums/post1092017.html"] this thread.. [/URL] Not essential though. Hence the new thread. The problem is that when I declare a [icode]static[/icode] attribute of a class, and later try using it in a static member function , I get a compile time error. The problem: (with code) OscServer.hpp … | |
Hi Guys, Firstly, Happy New Year!! Second, here my first query of the new year: I am using a stored proceedure to retrieve records from a database that match a number of search parameters. I now want to show a subset of those records in my Datagridview. I [B]don't[/B], however, … | |
I have property method in my window forms: public int selectMonthIndex { get { return selectMonthIndex = =monthSelection.SelectedIndex; } set { if (monthSelection.SelectedValue.ToString() == "February") { selectMonthIndex = 2; } } } After the selections and the OnSelectedIndexChange was triggered the user enters information and click save. the save function … | |
I have a general doubt regarding passing pointers to functions... Suppose i have variable [code=c]tc_struct *ptr;[/code] and i want to pass it to a function to fill it. So i passed it [code=c]func(&ptr);[/code] and i received it in func as [code=c]void func(tc_struct** ptr1)[/code] Now again i want to pass this … | |
Hi there, I would like to be able to change a button during the runtime of a gui. I can change the value no problem (set Label) but I need to change the size of the button as well. I have managed to change it with SetSize((120, 30)) but then … | |
i made a windows form application,i want to insert values in to two tables,do i have to use procedure i wrote a procedure but i dont know how to insert the values (dont know the C# codes to inset values) , this is the procedure [CODE=sql]Create Procedure AddMark ( @RegNo … | |
There is a rule about sequence point that goes like this. "Between the previous and next sequence point an object shall have its stored value modified at most once by the evaluation of an expression. Furthermore, the prior value shall be accessed only to determine the value to be stored." … | |
This is a code for my radio station schedule, which works well, no error messages: [CODE] <? //connect to mysql //change user and password to your mySQL name and password mysql_connect("localhost","root","PASSWORD"); //select which database you want to edit mysql_select_db("radio1"); //select the table $result = mysql_query("select * from schedule order by … | |
ai.. i have try alot of times connecting the database in Ms Office Access 2003 with VB 6. bUT there is error when i try to connect between "record source" in vb with data that i save.Can anyone help me and give me some advise,references or way to solve this … | |
Hi, I have a question regarding assignment operator. Can I use an overloaded assignment operator for copying character pointers. Thanks in advance. | |
Helllo freinds, I am a new babie to codeigniter.On admin side i m getting an error that is after login a black page get displayed.I am not getting what is exactly problem is.So I am pasting my code below. please if possible help me. [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML … | |
I h've developed web based chat system there is need to add new users into chatting app . After successful registration how to add new user automatically into this system? | |
i have a ASCII file that contain 3 line of numbers as below: 307.1642127.1642334.3412154.3412[COLOR="red"]3[/COLOR][COLOR="red"]34[/COLOR][COLOR="red"].[/COLOR][COLOR="Red"]3412[/COLOR]88.2652 271.330896.104 127.1642307.1642285.1534105.1530[COLOR="red"]285[/COLOR][COLOR="red"].[/COLOR][COLOR="red"]1532[/COLOR]87.3500 272.2500214.227 285.1532105.1532307.1642127.1642[COLOR="Red"]307[/COLOR][COLOR="red"].[/COLOR][COLOR="red"]1642[/COLOR]87.2001 272.395952.055 i just want to extract red number which is its stand for angle/azimuth ... so how can i do that in vb.net? the problem here is its not separated by any … | |
hi how to insert default year in database by uing a textbox in button click event. here iam asp.ent with vb.net database is sqlserver-2005. pls give me code | |
I use Microsoft Visual Basic 2008 Express Edition and I am begginer in computer networks. I want to make two PCs communicate via network using server/client I followed the example from this site: [url]http://www.eggheadcafe.com/articles/20020323.asp[/url] (VB.NET TCP Client/Server Socket Commmunications) When I run the applications server and client in one computer … | |
Hello, I have made my program but I want to give users the option of choosing a custom color for text. I have an inputbox that works and then converts it to Color.whatever. But seeing as the user types in what they want and it is not done by the … | |
Hi, everyone. I am studying Qt4. I want to write a function that reads from a file and the write to the same file. It is supposed to be simple, but I can't make it through the compiler. Here is my header file: [CODE] #include <QFile> #include <QString> #include <QStringList> … | |
I've used 3d control magic for VB.NET to create shaped forms. When I bulid my project to create an exe, I want to include 3d control magic.exe into it, to be installed automatically in the clients computer. How can I do that. plz help. thankx in advance | |
Hi, I tried to work this query out for a while but till now i still couldn't find what actually went wrong. This search query has 2 search query option. 1) wildcard text search box 2) drop down list option A user can either choose to search by (1) or … | |
I think getch() is the most primitive input function of C, on which getchar(),etc. are based. What may be happening is that getchar() uses getch() to take input, and keeps buffering it till getch() returns 26 (ascii for ctrl+z, which indicates the end of input in Windows) is encountered. It … | |
Hi, I have small application which shows an alert in every 45 mins....( to take a break from work :) )..... It is a normal windows form with a timer in it and in every 45 mins I am invoking a message box. I am able to make it work … | |
I am trying to Bind a [B]public member variable[/B] of an object to a TextBox in the UI. But when I execute the application the TextBox does not display anything. But when I [B]make the member variable as private and provide get set accessors[/B] to access the member variable the … | |
Hi, so as an excuse to learn Java (I currently only know Python), I would like to write a simple 2D web-based game. How would you recommend me doing this? Should I write the entire game from the ground up? Should I use a game engine? If you would like … | |
hi, i need to use both java and c++ for my project.but i don't know how to set path for both.i use jdk 1.5.6 for java compiler and mingw compiler for C++ .but i am able to use one compiler at a time. is there any option to use both … | |
I am working in vb.net, visual studio 2008, with the crystal reports that comes with it. I have a push model: creating a dataset, putting data into it, making that a report source, and putting the report source onto (or into) a crystal reports viewer control (not neccessarily in that … | |
Hi, The problem is that a Uni I am creating a PHP/MySQL based game. I have got it working for multi user movement and picking up objects but the trouble im having is implementing the puzzles into it. I have the user table which has my puzzles as: puzz_1, puzz_2, … | |
I randomly felt the urge to make a password generator, and it runs semi smoothly. However, whenever I choose to make a custom length password, it freezes and my program exits. This is supposed to be simple but...can you help? [CODE]###################### # Password Generator # # Version 1.0 # # … | |
size_t is defined as "size_t type is a base unsigned integer type of C/C++ language. It is the result of sizeof operator's execution. The type's size is chosen so that it could store the maximum size of a theoretically possible array. On a 32-bit system size_t will take 32 bits, … | |
Hello, I've a newbie to JSP so I apologize if this is an obvious error on my part. I've been banging my head against this problem for a while and I can't seem to figure it out, though. Any help appreciated. I'm trying to create a web app that so … |
The End.