64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for jorgelex008

Hi all, I'm new to Java. *question:* Can this be done in Java as a desktop application? * * * * * * Among other projects I've been thinking is a Software Robot... kind of a super macro that goes across multiple programs. For example (it could be anything really): …

Member Avatar for JamesCherrill
0
228
Member Avatar for P00dle

Ok, so I have this XML file that I'm reading: [CODE]<?xml version="1.0"?> <APOLLERSETTINGS> <SYSTEM> <VERSION>3.1</VERSION> <SMTPSRV>blue</SMTPSRV> <SMTPPORT>29</SMTPPORT> <SMTPUSR>Me</SMTPUSR> <SMTPPSW>Password</SMTPPSW> <EMAILFROM>lodewyk.duminy@gmail.com</EMAILFROM> <EMAILTO>lodewyk.duminy@gmail.com</EMAILTO> <ALTEMAILTO>lodewyk.duminy@gmail.com</ALTEMAILTO> </SYSTEM> <JOB> <JOBNAME>The Name</JOBNAME> <INPUTFOLDER>C:\</INPUTFOLDER> <FILEMASK>*.txt</FILEMASK> <PROCESSORDER></PROCESSORDER> <RETAINFOLDER>C:\</RETAINFOLDER> <OVERRIDEFOLDER>C:\</OVERRIDEFOLDER> <ERRORFOLDER>C:\</ERRORFOLDER> <POLLINTERVAL>6000</POLLINTERVAL> <JOBBATCHFILEPATH>C:\</JOBBATCHFILEPATH> <JOBBATCHPARAMS>three</JOBBATCHPARAMS> <JOBLOGPATH>C:\</JOBLOGPATH> <JOBEMAILTO>lodewyk.duminy@gmail.com</JOBEMAILTO> <JOBALTEMAILTO>lodewyk.duminy@gmail.com</JOBALTEMAILTO> </JOB> </APOLLERSETTINGS> [/CODE] This is the code that is reading the file: …

Member Avatar for P00dle
0
116
Member Avatar for Mike516

I need some help with this small php search script, I have a small HTML form... [CODE] <form action="search.php" method="post"> <input type="text" name="search"><br> <input type="submit" value="Search"> </form>[/CODE] What they will do is enter a username and what I am trying to get is information based on that username displayed in …

Member Avatar for ayesha789
0
76
Member Avatar for jeffrey4u

i have develop a winsock chat and am trying to add a smiley or an emotion to the rich textbox. can anyone help me out plzzzzzzzzzzzzzzz

Member Avatar for jeffrey4u
0
183
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 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 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 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 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 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 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 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 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 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
Member Avatar for Kligham

Hi, The following script gives back bummer as print, so the storing to database hasn't worked. What is wrong? [CODE]<?php function db_connect(){ $connect = new MySQLi("localhost", "justinmijn_root", "***", "justinmijn_nba"); // mysql_connect_errno() retourneert 0 als er geen fouten zijn if (!$connect || mysqli_connect_errno() != 0) { throw new Exception('Er kan geen …

Member Avatar for Kligham
0
106
Member Avatar for Earendil

Today is my second day with *<Accerlerated C++>,* and so far I've read until chapter three. Below is the code written in the book and as a part of solving the chapter's exercise problem 3-0, I typed and compiled the code. (using vc++ 6.0) I assumed there would be no …

Member Avatar for Yiannis_Sp
0
280
Member Avatar for jino

Hi all, I need to select all the divs having the classname starting as msg_body. actually the classname is msg_body_3. The last part of the class name of each div will vary as it is an id. How can i slideup all these divs, class name starting with msg_body using …

Member Avatar for ShawnCplus
0
154
Member Avatar for jlego

with the vb.net default color dialogbox how can you handle the cancel buttons click event ? if the cancel button is clicked, i dont want it to make any changes with the selected color. as of now if i click cancel it still edits the colors. thanks

Member Avatar for jlego
0
98
Member Avatar for shishio1014

can you guys suggest a way for me to code c++ without using IDEs? a link or two could really help

Member Avatar for pspwxp fan
0
108
Member Avatar for DARK_BYTE

So I have a script that retrieves an image from a sql table and displays it. I can call the script inside a html using something like this: [CODE] <img src="display01.php"/> [/CODE] Now I have another script called "text01.php" that fetches text from the sql table and the script works …

Member Avatar for DARK_BYTE
0
1K
Member Avatar for moerpheus

hi guyz, i cant start apache after loading the php5 module, i get the following errors in the log: [CODE]Cannot load C:/php/php5apache2_2.dll into server: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem[/CODE] Please help. Thanking you in advance.

Member Avatar for moerpheus
0
94
Member Avatar for newto_vb

hi to all combo1.additem "male" cobmo1.additem"female" combo2.additem" Educated" combo2.additem"Uneducated" even i have added in LIST property of combobox. my problem is when i retrieve records from database for Find command button i am geting error as "Text" property is read-only. runtime error '383'. i want to dislplay FIND record details …

Member Avatar for PriyaPD
0
1K
Member Avatar for eduard77

Hello I am really new in c++ but I read a lot of books. But I haven't found in any book how to add an interface to my program. So, what is necessary that the program to not run in the windows console?

Member Avatar for eduard77
0
202
Member Avatar for vlady

Hi everybody, Pls give me sb. a hint. I do this following exercise but I struggle with reading another lines of txt. Here is the text: Exercise 9.1 Write a program that reads words.txt and prints only the words with more than 20 characters (not counting whitespace). here is my …

Member Avatar for vlady
0
4K
Member Avatar for dre-logics

I use Visual Basic 8.0 and MySQL 5.0 [COLOR="Green"]Articles are listed in table rental places in table stock if articles not exists in table stock[/COLOR] first check with article are not in listed stock table and wel in listed stock table rental select * from rental,stock where rental.Article<>stock.Article ; This …

0
62
Member Avatar for Lakshith

I want to populate a dropdownlist from a database using PHP.My table name is msg_people_contact and column to be inserted into is primary_email.I have a code and it connects to the database but the data is not shown in the dropdownlist.Can anyone help me with this code?[CODE] <td><label> <select> <?php …

Member Avatar for iraberyl
0
107
Member Avatar for P00dle

Hi everyone. I need help. I'm supposed to have my program edit an XML field. The user has the option to change the values in certain nodes. After the node values have been filled in, and a certain button has been clicked, the program should write the changes to the …

Member Avatar for P00dle
0
106
Member Avatar for JAM1011

Hey all, Hope ye are all are enjoying christmas, I was just wondering if someone could help me out I am having a small problem with insterting a Date into Access 2007. I am Using the Now() Function in VB.NET and have change the format to General date In Access …

Member Avatar for MeSampath
0
126
Member Avatar for iraberyl

Hi, uhm can anyone help me out in creating a list box or a drop-down that has a standard size. Here's an example that I really want to display: [CODE] <select name='color[]' size=2 multiple> <option value='' selected>Select Item</option> <option value='blue'>Blue</option> <option value='green'>Green</option> <option value='red'>Red</option> <option value='yellow'>Yellow</option> <option value='white'>White</option> </select> [/CODE] …

Member Avatar for iraberyl
0
105
Member Avatar for eva yang
Member Avatar for eva yang
0
98
Member Avatar for Kligham

Hi, I'm having a strange problem. The task: search on a site and get the all the dates from a particular season. Everything goes well for all the mondays, tuesdays, ... , saturday. But at Sunday I only get 2 results and I need 11 results. Now when I only …

Member Avatar for Flufferman
0
83
Member Avatar for Wiizl

Hello Just one question- is it possible, to solve 15 game if grid is not square? I have written this game for 6x5 grid, however I've tried about 20 times I always fail to solve last row. So I started to think the solvability may depend on width/height ratio or …

Member Avatar for Wiizl
0
97
Member Avatar for dre-logics

I use Visual Basic 8.0 and MySQL 5.0 select * from rental,stock where rental.Article=stock.Article ; This gives the following result: stock.article stock.stock rental.article rental.rent 1000 100 1000 15 2000 150 2000 25 Update stock set stock.stock=stock.stock-rental.rent where rental.Article=stock.Article ; This gives the following result: [COLOR="Red"]Unknown column rental.Article lin 'where clause' …

Member Avatar for dre-logics
0
94
Member Avatar for cthoes

[QUOTE]when i tried to copy structure array of name into another string array i get this error message warning: passing argument 1 of 'strcpy' makes pointer from integer without a cast [/QUOTE] [CODE] /* copying structure array name into another string array*/ #include<stdio.h> #include<string.h> int main(){ int i=0; int j,k,l,m; …

Member Avatar for stranger510
0
128
Member Avatar for chrisname

So I decided to learn Perl yesterday, and I'm writing a Perl script to try and parse HTML files (not using regexps for the actual parsing). Anyway; I have this subroutine to iterate over each argument in @ARGV and, if one of them is an existing file, return it's filename …

Member Avatar for chrisname
0
152
Member Avatar for mahela007

I was using the datetime module for the first time today. When I typed [CODE]now = datetime.date.today() now [/CODE] I got the output [CODE] datetime.date(2009, 12, 27) [/CODE] Now, I found out that [CODE]datetime.date[/CODE] is a class and that[CODE] datetime.date.today[/CODE] is a method. But I can't figure out what the …

Member Avatar for snippsat
0
1K
Member Avatar for tig2810

Hi all This is not really a coding question but rather I'm looking for the correct term. I was about to write something so I could decorate field as adate and then use softdates or date shortcuts etc like below but on googling for some inspiration I suddenly realised I …

Member Avatar for sknake
0
143
Member Avatar for ShortYute

`I am trying to limit the amount of characters that a user can enter for the address(/ in the input buffer): for example (if maximum allowed input was 30 then ): ->4 Mary drive lane, Mt. Pyle, A<- when the user typed that I am trying to get the curser …

Member Avatar for ShortYute
0
358
Member Avatar for Noliving

Can someone run my mips code? I'm using pcSpim as my simulator The issue I'm having is that it doesn't correctly output the number of othercharacters. Other characters would be like !@#$%^&*()_+-=.,<>?/ \ The other problem I'm having is that it doesn't output the number of characters there are in …

Member Avatar for lacialec
0
279
Member Avatar for xvalentinex

Okay python gurus, this one has me stumped. Is it possible to introspect and obtain the instance of a class that assigned a class? I have a simple sample that demonstrates what I'm looking for, but doesn't make any sense why you would do it. [code=python] class One(object): def print_parent_hw(self): …

Member Avatar for xvalentinex
0
89
Member Avatar for Krstevski

Hello... I have created application (duplicate file detector) and now I have a progress bar and I want synchronize "how many percentage of scan is ready" Here is my code for scanning: [CODE=Csharp] private void scanFiles(string rootDirectory) { try { if (stop) { return; } foreach (string dir in Directory.GetDirectories(rootDirectory)) …

Member Avatar for Krstevski
0
654
Member Avatar for Excizted

Hi everyone... I have a silly problem.. Somehow I managed to faceroll or something, hitting a shortcut which shows all indents as arrows and all spaces as dots. Here is a picture of the problem: [url]http://img97.imageshack.us/img97/8789/problemyf.jpg[/url] I've looked the options through, but since I don't know what this thing I …

Member Avatar for Excizted
0
88
Member Avatar for shack99

Hi, Could someone please help me, I'm a bit stuck and don't know where to start. I want to create a program where I have to use multiple arrays eg: processing the data of a file, the file contains details of several groups of students(group 1,2 3,...) and each group …

Member Avatar for shack99
0
218
Member Avatar for Alan123456

I am new in cake php when i run my page this errror comes HTTP 404 not found Please solve my problem My code is Model(task.php) ====================================== <?php class Task extends AppModel{ var $name='Task'; } ?> ====================================== Controller(tasks_controller.php) ====================================== <?php class TasksController extends AppController{ var $name='Tasks'; function index() { $this->set('tasks', …

0
89
Member Avatar for zurehman

Hi , members this code show error in vb.net 2008 [CODE] If Con.State = 1 Then Con.Close() Con.Open() Dim strSQL As String Dim dt As DataTable strSQL = "select count(EntryNo) from(Select distinct(EntryNo) from Cash where year(Cash.PmtDat)= '" & yyyy & "')" dt = GetmyTable(strSQL) Rc = dt.Rows(0).Item("EntryNo")[/CODE] please guild me …

Member Avatar for sknake
0
124

The End.