199,114 Archived Topics
Remove Filter ![]() | |
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) … | |
Hi, I have an icon file (32x32) and I added it as application icon in the properties and it is coming fine only if the view is set to "Medium Icons" else it is showing only the default icon. How can I add all sets of icons to an application … | |
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? | |
I am having a problem with modal popup. I used this code an its running fine but the pop appears in black colour. I cant see the text written inside the pop. Pls help me to solve this..... <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <link href="Style.css" rel="stylesheet" type="text/css" /> <title>Untitled Page</title> … | |
Hello all, This seems like a helpful little forum, so here goes. I'm getting the Cannot modify header information error. All of the solutions that Google has brought me to tells me to remove the white space around the opening and closing php tags. Well, there is no white space … | |
i have a data base with StockBalance, EconomicOrQuality, Price, Unit, lasDateOfIss. n i need to retrieve stock balance,price,unit,and data of last issue in to a grid wive . the condition is that the retrieving data records must be old more than 90 days from the system date. i can retrieve … | |
what is the difference between memory allocated by [ICODE]GlobalAlloc[/ICODE] & memory allocated by [ICODE]new[/ICODE]. is GlobalAlloc used in C++ or is it for C? :) | |
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 … | |
I am trying to take an integer argument (1-65536) and turn it into two hex characters. If argument -t is -t20 then I need 0x01 0x04 in a character array for sending through a socket. Relavent snippets: [CODE] char tstr[3]; char timetxt[6]; struct pulsepayload { char chan; char state; char … | |
I need to add ID numbers and descriptions to an array but i have no idea how to even make an array! I've tried researching it but i just find it confusing. I also need to be able to search an array. It should go something like this... 1. person … | |
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 … | |
Hello ! Recently I was doing some text formatting using python and this forum was extremely handy. My problem now is to put any letter in subscript or superscript. Apparently in Unicode there are just a few symbols in superscript but I want to put let say letter "b" in … | |
:cry: I have searched forever, need help, I am an older person, who ejoys to play games, for some reason one of the sites I was using I can no longer get into. I get the java applet failed, and applet not inited, I have checked in internet options and … | |
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. | |
i couldnt understand how fseek(fp,-size,SEEK_CUR) helps to allocate the modified data at the location where name are found to be same. it would be great help how fseek points to the location where data is going to modified. -size if fseek logic of pointing to the location where to modify … | |
I am studying in college and got stuck with an excercise in my book, should be simple but I insist of making life hard :p Mission: My code was sopoused to take a binary number with use of functions I have recently learned and mve all the digits to the … | |
Hi, Consider this code: [CODE]Ellipse myCircle = new Ellipse(); myCircle.Width = 400; myCircle.Height = 400; myCircle.Stroke = Brushes.PeachPuff; myCircle.StrokeThickness = 25; myCircle.ToolTip = "Bold Circle"; Canvas.SetTop(myCircle, 0); Canvas.SetLeft(myCircle, 0); canvas.Children.Add(myCircle); Ellipse myCircle2 = new Ellipse(); myCircle2.Width = 400; myCircle2.Height = 400; myCircle2.Stroke = Brushes.Black; myCircle2.StrokeThickness = 1; Canvas.SetTop(myCircle2, 0); Canvas.SetLeft(myCircle2, … | |
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 … | |
ptrdiff_t is signed, while size_t is not, but both can safely hold the address of a pointer. How is it possible when half the possible values of ptrdiff_t will be negative, so its capacity must be half of that of size_t when it comes to storing pointers, as pointer adresses … | |
Like in asp.net you save items in viewState, is there similar function with windows form? | |
Hi all, it's my first post. i'm using tomcat 6 and put under it website done by jasper . this website contain xml.html ang jsp pages .the jsp pages needed to be encrypted, i try using ant but i'm fail may be i don't use it right. could you please … | |
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 … | |
How to access a variable declared in one javascript in another javascript ? Please help me with the code. Thanks in advance. | |
Hi, thank you for havin me in the forum... I'm kinda newbie to java... This is the code that I wrote for heapsort, but it seems like there is problem, can you pls pls help.. coz I'v been workin on this for a whole day, and i'v to submit it … | |
Hi everyone. Recently I have been working on an XOR encryptor/decryptor. I have looked at tutorials to get ideas. Now, I have created my encryptor/decryptor and I have absolutely messed it up i think, because the output is not right. What I am trying to do here is: [LIST] [*]Creating … | |
hello all first let me say I am really glad to become a part of this community. I am college student majoring in computer systems engineering(more hardware than software), but i am really interested in interfacing computers with microcontroller based projects. I took programming courses in java , and now … | |
[code] <?php include "config.php"; include "header.php"; echo "<tr>"; echo "<td width=\"250\" valign=\"top\">"; include "left.php"; echo "</td>"; echo "<td width=\"4\" bgcolor=\"#CCCCCC\"> </td>"; echo "<td width=\"550\" height=\"320\" align=\"left\" valign=\"top\"><h3 align=\"left\" class=\"pagesect judul_besar\"> <span class=\"menu1\"> Sistem Pakar Gangguan Perkembangan pada Anak</span></h3>"; echo "<p class=\"pagesect judul_besar\">"; echo "<blockquote>"; if(!pasien()) { echo "<div align=\"center\"><span class=menu>Access Denied !!!</span></div>"; … | |
I am working on translating a website where instead of repotting the pages I just move the changed content into a <DIV> using jQuery “ajax_load”. The code is simple and of the form: [code] var loadCreditCardDonation = 'content/creditCardDonation.php'; $('#load_credit_card_donation').click(function(){ $('#rightContent').html(ajax_load).load(loadCreditCardDonation); }); [/code] I am now working on a page that … | |
Hi, [CODE]class base { int i, j; public: void set(int a, int b) { i=a; j=b; } void show() { cout << i << " " << j << "\n"; } }; class derived : public base { int k; public: derived(int x) { k=x; } void showk() { cout … | |
Hi to all, I want WYSIWYG editor with different language like english,hindi,e.t.c, to type in text area. (EX:In gmail go to compose mail see how to change languages to type text in text area.). thanks in advance. ![]() | |
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 … | |
Hey guys , recently i worked on wmi architecture , i just want to send data from the remote computer's serial port to an embeded device , how can i acheive that , is there any ways , if there is plz let me know plz | |
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 … | |
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 … | |
consider the following (illustrative .. no NULL checking): [CODE]class MS { public: TCHAR _buff[1024]; MS() { ZeroMemory(_buff,sizeof(_buff)); } ~MS() { } LPCTSTR operator LPCTSTR() { return _buff; } void operator = (LPCTSTR s) { _tcscpy(_buff,s); } BOOL operator == (LPCTSTR b) { return _tcscmp(_buff,b)==0; } BOOL operator == (MS &m) … | |
Hello, is there an acceptable way to do the following? [CODE=java]public CriarEquipamentoGUI (boolean showWindow) { if !(showWindow) dosomething(); return; else initComponents(); }[/CODE] Currently the return statement completly screws up the window. | |
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." … | |
Hi guys, I've got a data scraping script that is not picking few html elements/fields that I need. I can't get the following elements: product title price and specification It could be that the xpath is not correct since the website has a lots of div/tables without any id or … | |
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 … | |
Hi, I'm trying to download a file from the web onto my desktop via my form. However, I keep getting a 'Access to the path is denied' error whenever I start the download. I'm using Win7 if that changes anything... Here's where the error occurs: [code=c#] //create a new file … |
The End.