199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for nyny11211

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

Member Avatar for gunjannigam
0
149
Member Avatar for anoop4real

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 …

Member Avatar for anoop4real
0
96
Member Avatar for adams161

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

Member Avatar for adams161
0
103
Member Avatar for Zagga

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 …

Member Avatar for zeroge
0
111
Member Avatar for vizz

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?

Member Avatar for vizz
0
203
Member Avatar for unknowndevil41

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

Member Avatar for virang_21
0
144
Member Avatar for werm

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 …

Member Avatar for JRM
0
123
Member Avatar for chathuD

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 …

Member Avatar for chathuD
0
87
Member Avatar for CppBuilder2006

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? :)

Member Avatar for CppBuilder2006
0
277
Member Avatar for gianrocks

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 …

Member Avatar for gianrocks
0
197
Member Avatar for peterpanic

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 …

Member Avatar for WaltP
0
298
Member Avatar for zzbottom

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 …

Member Avatar for jonsca
0
128
Member Avatar for zeroge

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

0
195
Member Avatar for zeroge

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 …

Member Avatar for zeroge
0
2K
Member Avatar for deonis

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 …

Member Avatar for deonis
0
13K
Member Avatar for Zaney

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

Member Avatar for rocker2686
0
174
Member Avatar for twalton42

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 …

Member Avatar for twalton42
0
118
Member Avatar for DimaYasny

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 …

Member Avatar for DimaYasny
0
3K
Member Avatar for ramjeev

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.

Member Avatar for valatharv
0
4K
Member Avatar for cthoes

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 …

Member Avatar for WaltP
0
116
Member Avatar for UtaChan

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 …

Member Avatar for Narue
0
228
Member Avatar for moroshko

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

Member Avatar for moroshko
0
128
Member Avatar for JAM1011

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 …

Member Avatar for JAM1011
0
165
Member Avatar for Namibnat

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 …

Member Avatar for Namibnat
0
370
Member Avatar for daudiam

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 …

Member Avatar for Narue
0
271
Member Avatar for capiono

Like in asp.net you save items in viewState, is there similar function with windows form?

Member Avatar for capiono
0
69
Member Avatar for amatallah
Member Avatar for semsem-6321

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 …

Member Avatar for c_blimey
0
101
Member Avatar for Derp2000

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 …

Member Avatar for Salem
0
155
Member Avatar for adams161

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 …

Member Avatar for adams161
0
141
Member Avatar for maheshmohandas

How to access a variable declared in one javascript in another javascript ? Please help me with the code. Thanks in advance.

Member Avatar for harrierdh
0
145
Member Avatar for shani1986rox

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 …

Member Avatar for adams161
0
117
Member Avatar for slim2hott

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 …

Member Avatar for slim2hott
0
186
Member Avatar for ivh90

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 …

Member Avatar for vegaseat
0
164
Member Avatar for araaraa

[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\">&nbsp;</td>"; echo "<td width=\"550\" height=\"320\" align=\"left\" valign=\"top\"><h3 align=\"left\" class=\"pagesect judul_besar\"> &nbsp;<span class=\"menu1\">&nbsp;&nbsp;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>"; …

Member Avatar for javaAddict
0
100
Member Avatar for rouse

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 …

Member Avatar for digitalgrauy
0
162
Member Avatar for johndoe444

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 …

Member Avatar for Bench
0
117
Member Avatar for ChintuChowdary

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.

Member Avatar for diafol
0
131
Member Avatar for tqmd1

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 …

Member Avatar for tqmd1
0
125
Member Avatar for harryhaaren

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 …

Member Avatar for harryhaaren
0
165
Member Avatar for aruntuneson

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

Member Avatar for aruntuneson
0
101
Member Avatar for capiono

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 …

Member Avatar for Geekitygeek
0
2K
Member Avatar for Namibnat

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 …

Member Avatar for Namibnat
0
278
Member Avatar for jbarwick

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

Member Avatar for Narue
0
280
Member Avatar for Crushyerbones

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.

Member Avatar for Crushyerbones
0
83
Member Avatar for niro_fernando

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 …

Member Avatar for pauldani
0
142
Member Avatar for daudiam

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

Member Avatar for Narue
0
99
Member Avatar for rajad2010

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 …

Member Avatar for rajad2010
0
1K
Member Avatar for whitestream6

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 …

Member Avatar for pritaeas
0
117
Member Avatar for papanyquiL

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 …

Member Avatar for penglund
0
132

The End.