199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jorgelex008

Hi all, I'm new to Java (after years of Visual Basic and VBA). So right now I'm going through a very steep learning curve. I'm trying to figure out (while I bang my head on the keyboard) how to do the following in SWING: - Show mouse coordinates (x, y) …

Member Avatar for MxDev
0
304
Member Avatar for gsingh2011

This is my code so far to connect to a webpage and retrieve the html: [CODE]#include <winsock2.h> #include <windows.h> #include <iostream> #pragma comment(lib,"ws2_32.lib") using namespace std; int main (){ WSADATA wsaData; if (WSAStartup(MAKEWORD(2,2), &wsaData) != 0) { cout << "WSAStartup failed.\n"; system("pause"); return 1; } SOCKET Socket=socket(AF_INET,SOCK_STREAM,IPPROTO_TCP); struct hostent *host; …

Member Avatar for marco93
0
743
Member Avatar for cwarn23

Hi and I am making a maths library which will accept infinit digits but what is the best formula a computer can understand for devision. The only one I have come across so far is long devision but is there anything better? The following is the kinda formula I am …

Member Avatar for cwarn23
0
101
Member Avatar for ultras1

How to get the IP address of the Client (visitor of the website) I tryed with theese codes: [CODE]Request.UserHostAddress; and Request.ServerVariables["REMOTE_ADDR"][/CODE] But both gave me back the serrver IP :(

Member Avatar for Kusno
0
92
Member Avatar for Stivi

Hi, I'm working on a content management system for our website (ASP.NET project, C# language, SQL Server 2000), but I'm unable to save russian texts into the database. Table is okay, I've created an ntext column, which is able to store unicode characters. However, if I'll look into the database …

Member Avatar for possible181
0
168
Member Avatar for love_dude1984

hi.. im using a a gridview with template fields which contains labels to display the dynamic data from database.. my problem is, i want to use paging concept in the gridview. but as im using template fields & a dynamic database, im getting an error.. this is how im binding …

Member Avatar for mail2saion
0
130
Member Avatar for fferrandini

Hi great ones, i have a form that i save employees photos to server and URIs to DB. Doing some tests yet. I can save in the server without no problem. the javascript callback function aint being fired .. dont know why; below is the code.. i appreciate any help …

Member Avatar for fferrandini
0
121
Member Avatar for winn_man

Hey guys, I have been trying to write a basic program that will send and receive MIDI. I have successfully managed to send a MIDI message, but am unable to come up with the code that will receive a MIDI signal from an external source and simply display the information …

Member Avatar for winn_man
0
100
Member Avatar for DotA

My below code will compile and create a form with blue inside. I'm currently trying to draw a triangle to the screen but when I call "device.DrawPrimitives(PrimitiveType.TriangleList, 0, 1);" inside of my render function the program fails. Let me know if I'm doing anything wrong, I'm still in the process …

Member Avatar for DotA
0
261
Member Avatar for Radiodave

Hi there I'm hoping there's an easy answer to a (hopefully) not too long-winded issue... I'm building a C# web client using a proxy wsdl.exe'd from a wsdl file and six schemas, each in a different namespace. Some schemas extend complex types in others. When i get a soap:Fault from …

Member Avatar for sb20642
0
585
Member Avatar for GajananPund

Hello All, I want to send the email if there is any Exception in my asp.net site. Please help me. Thank in Advance.

Member Avatar for GajananPund
0
167
Member Avatar for Nikhar
Member Avatar for Nikhar
0
65
Member Avatar for pvn777

I dont want to use resultset object in JSP page. Rather I want to use a java class for retrieving values in to the JSP page. Either using array list or something like that., I tried many times but failed Please advise in detail. Thanks

Member Avatar for peter_budo
0
110
Member Avatar for rahul8590

i was going through many ruby books and found this amazing text editing code (its just 17 lines ) provided u use Shoes toolkit. The code is working fine with no errors . but its only able to read (open) and input file but not save the text u wrote …

0
155
Member Avatar for imanpatrick

hi.. i am newbie on learning web dev and still find the best resource for my study .. can anybody give a mysql manual that contains all mysql syntax and the syntax usability :) thanks all, please reply

Member Avatar for mwasif
0
81
Member Avatar for John_K

Hi Everyone I'm hoping someone could help me out please. I have a database of names and email addreses with the following columns: user_id (auto increments) user_name user_email user_email_sent Basically I have a form (for myself) that returns all the rows in the database and next to each row I …

Member Avatar for hielo
0
101
Member Avatar for saikatroy1985

How to select multiple location under one central location in jsp and should be stored in oracle?

Member Avatar for saikatroy1985
0
91
Member Avatar for raguapk

Hai Friends ! This is my first thread .I 'm developing a vb 6.0 application with barcode scanning enalbled.It's for Photo labs.I 've a bar code scanner connected via USB.It reads the barcode values .No problem with that.But when ever I scan a barcode,the value is stored in the text …

Member Avatar for debasisdas
0
139
Member Avatar for Kligham

Hi, I have the following problem. How do i get the number out of this variable: [CODE] <div class="right"><a id="ctl111_contestProfileLink" href="http://contests.covers.com/Sportscontests/profile.aspx?user=265839&amp;sportid=0">Picks History</a></div> [/CODE] The numbers can range from -1000000 till +10000000. Does anyone know how can I achieve that? I saw someone do it with eregi() function, but since this …

Member Avatar for hielo
0
145
Member Avatar for unknowndevil41

Currently using ASP.net 2005 I am havin an errot in update statement my code is: Dim myConnection As OleDbConnection Dim myCommand As OleDbCommand Dim ssql As String = "UPDATE passwrd SET password ='" + TextBox1.Text + "'where username='" + TextBox2.Text + "'" myConnection = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; " _ & "Data …

Member Avatar for hielo
0
138
Member Avatar for jreddick82

I am building a rotating page. For URLs. The problem is that the page does not reload a different URL when you refresh the page, and I want it to load a different URL when someone enters the site. I have tried different coding and nothing seems to work. Here …

Member Avatar for hielo
0
162
Member Avatar for almahmeed

Dears, I am having the headers warning that is generated from my login script. [B][COLOR="Red"] Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\tgaff\index.php:25) in C:\xampp\htdocs\tgaff\members.php on line 62 Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\tgaff\index.php:25) in C:\xampp\htdocs\tgaff\members.php …

Member Avatar for almahmeed
0
170
Member Avatar for Egypt Pharaoh

I made this code to generate a textbox when I click on the button the problem is that I want to read text from those textboxes as make a arraylist that receive the texts from those text boxes [CODE] private int count=0; private void New_Click(object sender, EventArgs e) { TextBox …

Member Avatar for avirag
0
98
Member Avatar for happyns

Im using asp.net using c#.net to retrieve a field from database. The field is xyz. It contains the data value say qwerty~rtyuup. I want to split the data right and left to ~ say(qwerty) and (rtyuup) using a string. For this i have used the code as follows: String abc(); …

Member Avatar for happyns
0
250
Member Avatar for harn991982

hello all, i m newbie here... and i have one silly question to ask about inet ftp... i was trying to ftp using inet ftp in vb6, but keep getting 'variable not defined' error for my Inet1 (eg: inet1.URL = host_name) do i need to register any component or add …

Member Avatar for abu taher
0
110
Member Avatar for anatz

hi,.im a first year student taking information technology, never mind where i am studying.,,,i just want to ask some tips to understand easily turbo c.,.

Member Avatar for gerard4143
0
76
Member Avatar for jrosh

I use wamp as my server. I used mysql-connector-java-5.1.5-bin.jar It worked ok/ But I set up same in another computer it gives an error saying ([I]In Jcreator[/I]) [B]Error: Error reading C:/Program Files/java.../ mysql-connector-java-5.1.5-bin.jar ; Error in opening zip file[/B] What is this error & what can I do? Plz help. …

Member Avatar for jrosh
0
107
Member Avatar for kelevra

Hi all... First post here, be gentle. I'm trying to get this to work, and there's no output. This is from the K&R book [v2] exercise 1-14, the prompt is in the header. I added comments for readability, and please comment on anything you believe needs improvement. Thank you for …

Member Avatar for jonsca
0
124
Member Avatar for ALex_ice

I have been given a project and i need to create a button to calculate N!. I've been trying to figure it out for a while now and I can't. Any help would be nice.

Member Avatar for ALex_ice
0
243
Member Avatar for Aamit

Hi, I used this code to check page rank. [COLOR="Green"]E.g.[url]http://www.orkut.com[/url] it gives page rank : 8[/COLOR] [COLOR="Red"] it works on localhost perfectly.[/COLOR] [COLOR="Green"]But when same code i put on my ftp i.e. live it gives wrong output Page rank: -1[/COLOR] [COLOR="Red"] I think some setting in php.ini or some other …

Member Avatar for FlashCreations
0
154
Member Avatar for web3

What is the problem? [CODE]<?php /************************************************* Member Registration Script Author: Adam Khoury code comments appear above sections they refer to *************************************************/ // First we check to see if the form has been submitted if (isset($_POST['mem_firstname'])){ //Connect to the database through our include include_once "z_connect_to_mysql.php"; // Create local varibles from the …

Member Avatar for FlashCreations
0
151
Member Avatar for alfiechiong

hi i need some help on how can i retrieved users mac address using php? so that i can restrict an access to my admin page .. thanks

Member Avatar for FlashCreations
0
328
Member Avatar for jonwhittlestone

Hi There I have come across some code in someone's API that I wish to use myself and I wonder if anyone could advise me on how to use properly.. I am able to call function <?php playerProfile($array); ?> without any return value. Subsequently, in my php I can retrieve …

Member Avatar for FlashCreations
0
81
Member Avatar for CFROG

I need to put together a quick script that will clean up a directory full of pictures for me. I want it to just delete photos that are not actively being used by members. I'm familiar with the different aspects involved in doing this but a little unsure of how …

Member Avatar for CFROG
0
127
Member Avatar for Acegikmo

Hello! I am currently working on a project with a few others. Everything has went on smoothly until now. When I run the project in NetBeans, everything is working as intended. All images show up like they should. If I start the jar file with the console commands (java -jar …

Member Avatar for MxDev
0
117
Member Avatar for jen140

Hello all. I have a small problem, the next code finds the neden content, but it doenst print it: [CODE]$string = "#324423asdd asd 'BecamePosters' "; if($string =~ m/'[a-zA-Z]{1,40}'/) { print "ok!\n"; print $1; } else { print "not ok!\n"; }[/CODE] It only prints "ok!\n" but nothing more. Also triyed m/'*'/ …

Member Avatar for jen140
0
101
Member Avatar for kripssmart

Hi, I have a query, the output of which I need to display in my page. say, if I do ... select col1 as column from table1; how could I display 'column' in my echo statement or else how could I display it in my PHP code? Thanks for your …

Member Avatar for diafol
0
113
Member Avatar for rpraveenr

I am making my project using netbeans 6.5. I want to open different frames in the same parent frame, But I am unable to do so. For e.g. my first frame is a login page. After Logging in the 2nd frame is displayed. But I want to display the 2nd …

Member Avatar for MxDev
0
115
Member Avatar for moroshko

Hi, I get the following error when I Rebuild the Solution in Visual Studio: [b]The control WindowsFormsApplication1.MyPanel has thrown an unhandled exception in the designer and has been disabled[/b] Here is what I did to get this error: 1) Started a new project and added a new User Control (MyControl) …

Member Avatar for moroshko
0
624
Member Avatar for rajeesh_rsn

Hai I am developing a community website and peoples can create their profile and can add friends and all. But I need to show a notification if that visitor is online . Or show all visitors in online in a page. I use mysql database. I make it like this …

Member Avatar for Phaelax
0
463
Member Avatar for Bamboozled

I've created a recordset in VB Express 2008 as follows [code] rsmembers = New ADODB.Recordset with rsmembers .Source = cn.Execute("SELECT * FROM members") .ActiveConnection = cn .CursorType = ADODB.CursorTypeEnum.adOpenDynamic .LockType = ADODB.LockTypeEnum.adLockOptimistic .CursorLocation = ADODB.CursorLocationEnum.adUseServer .Open("members", Options:=ADODB.CommandTypeEnum.adCmdTableDirect) .movefirst .Fields("Active").Value = vbFalse [/code] but the error window tells me that .fields("active") …

Member Avatar for jlego
0
153
Member Avatar for moomeen

hello everyone .. im writting a C program that requires to insert integers from a text file .. the contents of the text file are: 1:2:4 4:12:5 13:7:5 1:20:4 how can i read each number and define it as an integer ???? please HELP !! [CODE] #include <stdio.h> int main() …

Member Avatar for mrnutty
0
82
Member Avatar for telltouday

Hi, I'm binding data table to datagrid but i'm not sure how to delete the empty cells in that data table Plz find the below image could anyone suggest the best way to delete the empty cells as marked in black pen Thanks

Member Avatar for telltouday
0
300
Member Avatar for Eko

I have one or more functions separate from main() , that besides the return value , must also return the time it tooked to process. How can I do that ?

Member Avatar for motogeeeksatyam
0
124
Member Avatar for jt_murphree

I have a combobox that pulls a list of values from a database. When a new entry is entered I want an entry in the combobox to read "New record". However, from what I have seen I can only insert and object, such as a DataRow, into the combobox. Is …

Member Avatar for jt_murphree
0
827
Member Avatar for PieMan2004

Hi, ive been looking for a solid java community to help me when im tearing out my hair :) Basically ive constructed a GUI that has to represent the same look and functions of the typical windows calculator. Ive made 4 classes 2 do this, my reasoning so it was …

Member Avatar for it-student
0
716
Member Avatar for mehdi0016

hi i want to create menu with icon beside it, but i don't know how and with which gui lib is it possible? please help me.

Member Avatar for mehdi0016
0
105
Member Avatar for laelzio.mosca

I finished my tic tac toe game program, I`d like to know if anyone can tell me what I need to do in order to send the .exe file to someone and make it so the file executes without problems. Thanks guys

Member Avatar for laelzio.mosca
0
114
Member Avatar for jamello

Hello experts! Please how do I display markup text (in html) with a asp.net 3.0 server control? I have a database full of markup text inputted using a rich text control. but I will like to display these text using other asp.net controls that would render the text correctly with …

0
143
Member Avatar for Mitja Bonca

I get into DataSet CostumerNames and Hours (type DateTime) of their registrations. I would like to sort customers my time of registration (time of a day). I show both in listView. This is my code: [CODE] string DanesRezervacije = "SELECT Stranka.ImePriimek, Naročilo.RegisterTime FROM Stranka, Naročilo " + " WHERE Stranka.IDStranke …

Member Avatar for Mitja Bonca
0
121

The End.