199,114 Archived Topics
Remove Filter ![]() | |
Does Delphi have any way to escape symbols embedded in strings? I'm trying to write a database project, and have just run into a rather nasty problem; the db I'm working with, PostgreSQL, refuses to recognize equality to date functions unless the value being tested is contained within a pair … | |
Having built a work around for the counting feature not working, in any of the normal ways Ihave the following problem. [b]This works perfectly:[/b] [b][size=1][color=#ff0000][i] <%[/i][/b][/color][/size][size=1] [i][b]RSPage[/b] [/i][/size][i][size=1][color=#008000]=[/color][/size][size=1] [b]TRIM[/b][/size][size=1][color=#008000]([/color][/size][b][size=1]Request[/b][/i][/size][i][size=1][color=#008000].[/color][/size][b][size=1]QueryString[/b][/i][/size][i][size=1][color=#008000]([/color][/size][size=1]"page"[/size][size=1][color=#008000]))[/color][/size][/i][size=1] [/size][b][size=1][color=#008000][i]If[/i][/b][/color][/size][i][size=1] [b]Len[/b][/size][size=1][color=#008000]([/color][/size][b][size=1]RSPage[/b][/i][/size][i][size=1][color=#008000])[/color][/size][size=1] [/size][size=1][color=#008000]=[/color][/size][size=1] [/size][size=1][color=#ff00f0]0[/color][/size][size=1] [/size][b][size=1][color=#008000]Then[/b][/i][/color][/size][i][size=1] [b]RSPage[/b] [/size][size=1][color=#008000]=[/color][/size][size=1] [/size][size=1][color=#ff00f0]1[/color][/size][/i][size=1] [i][b]Max[/b] [/i][/size][i][size=1][color=#008000]=[/color][/size][size=1] [/size][size=1][color=#ff00f0]10[/color][/size][/i][size=1] [/size][b][size=1][color=#008000][i]If[/i][/b][/color][/size][i][size=1] [b]RSPage[/b] [/size][size=1][color=#008000]=[/color][/size][size=1] [/size][size=1][color=#ff00f0]1[/color][/size][size=1] [/size][b][size=1][color=#008000]Then[/b][/i][/color][/size][i][size=1] [b]Offset[/b] [/size][size=1][color=#008000]=[/color][/size][size=1] [/size][size=1][color=#ff00f0]0[/color][/size][/i][size=1] [/size][b][size=1][color=#008000][i]If[/i][/b][/color][/size][i][size=1] [b]RSPage[/b] … | |
what are the best gui module of perl? i know tk. anyone here have any more suggestion?? im a total noob in perl... pls help me.. thanks | |
Is there a code in VBA that will read data from a RS232 port and import it into the selected cell in excel or can I buy a program that will work. | |
Can someone please help? I am trying to convert turbo pascal to VB. In the code below, path0, path1, path2 are defined as BYTE, and path as array[0..50] byte. My question is what is the equivalent in VB of Path1:=[] and path2:=[] ? Also, how do you test for IF … | |
Hi, I have created a asp.net application.when i try to execute the application, I am getting this error. Access to the path "c:\windows\microsoft.net\framework\v1.1.4322\Temporary ASP.NET Files\webApplication1\5163874c\83859bc7" is denied. While searching the net,i found this solution. To grant ASP.NET write access to a file, right-click the file in Explorer, choose "Properties" and … | |
Hai friends I need the details for all the continent->country->city data. Please help me Thanks Vssp | |
I am in need to do a c++ program which will take in argument from command line and return output.I need to convert this program to an exe in order to use it from my perl environment. Please give some hints or pointers on how to proceed?My major confusions are … | |
I am in need to do a c++ program which will take in argument from command line and return output.I need to use it from my perl environment. Is it better to convert this program to an exe ? Or Is it possible to make an exe out of the … | |
I am using the Common Dialog ShowOpen to select a file to open using VB6. How can I ensure that the control is centered over the calling form. If I use two screens often the dialog control opens on the other screen and is hidden behind other windows. | |
Can anyone point me in some kind of direction other then google for looking at developing for mobile applications? I'm trying at the very bottom since ive got a firm know how of C++ and Java. Thanks | |
Hi, i was wondering if you could help me. i am having a problem with a listener in SWT. i have a program where the user enters some text in a textfield and then clicks on a browse button where they select the directory they want the program to search … | |
Hi. I was wondering if anyone knows how to split a string. I did find a code on it; but it's based on a pattern. Can anyone help me to split a string into letters.. e.g. "Like" --> "L", "i", "k", "e" | |
hi all,:sad: hope there are a lot of [B] JAVA DEVELOPERS [/B] who can help me on this. We have to develop a checkers game.Should develop in both .Net n JAVA. Two players sitting in two machines with two platforms. One has to play in Java platform n other has … | |
This isn't an SSI or a CGI board, but I hear ColdFusion is quite SSI related, and it's the best place for this question I hope. I'm wondering if it's possible to do something like this: "html" page (actually XSL transformed XML page) has an SSI #include or #exec, then … | |
hi, am facing problems with taking contents/added items of a listbox in one form(Add) and displaying it in a similar listbox in another form(Modify) which has an adodc for navigating thru records. now i know textbox works fine but listbox is giving a hiccup...any ideas? :!: | |
Here is a problem faced by me while handling the GET request method : suppose the login form has user-id and password fields as text boxes. now after clicking on "sign-in" button the address bar of the following page(i.e the homepage of a particular member) shows: <serverURL>.php?id=<someID>&pass=<somePass> - where "id" … | |
Is there any way to like 'dim obj as _______' and then control real objects with it? Like... obj = text1 obj.text = "blah" ..and it work? | |
Need help. How do I fix this code? [CODE]max_points = [25,25,50,25,100] assignments = ["hw ch 1","hw ch 2","quiz ","hw ch 3","test"] students = {"#Max":max_points} def print_menu(): print "1. Add student" print "2. Remove student" print "3. Print grades" print "4. Record grade" print "5. Save Students" print "6. Load Students" … | |
I've created 2 tables in Access and have created a form for each table in VB5. Each autonumber field is the primary key of it's table. When the first form comes up the autonumber field has a value but when I go to the second form the field is left … | |
A friend of mine just introduced me to the Eclipse IDE, which may or may not end up replacing IDLE for me. Anyway, one of the features of Eclipse is error warnings as the code is *displayed*, rather than waiting for errors to pop up at runtime. This code got … | |
Hi, Actually my program will be read some input, as example :- 123 456 789 123 567 456 Then, I want to copy all the data into array and filter out any duplicate or same record..Finally the program will be print the result without duplicate records ? Could somebody guide … | |
From last two days i am searching for the answer of this querry. I want to know how can i access the rows of tables in stored procedures using loops(Without cursor). We don't want to use cursor for that because of the performance issues. | |
Hi everyone, Im a bit new in PHP and i heard it is similar already to java in the sense that its already object oriented. I was wondering if there are some free codes that does persistence on the database ( something that returns DTOs instead of the usual resultset). … | |
Hi , i had data in my server folder.can i have any way to check whether that data is image data or not in jsp?.I can do it by checking whether its extension is jpg ,gifor bmp like wise.but we can have somany formats of image data.so apart from that … | |
Im trying to cast a char to a string, but if i just define equality, the complier says incompatible types. I looked in my textbook but it only shows how to cast ints and doubles.:sad: I have to write a class that takes a char and a String. It then … | |
I have php code that retrieve data from mysql DB, and print it in html table. [PHP]<? print "<table>"; $result=mysql_query("select fd1,fd2,fd3 from tbl"); for ($i = 0; $i < mysql_num_rows($result); ++$i) { $line = mysql_fetch_row($result); print "<tr><td>$line[0]</td><td>$line[1]</td><td>$line[2]</td></tr>"; } print "</table>"; ?>[/PHP] I have no problem to implement above code, this … | |
Hello all. I decided to use some PHP scripts on my website recently. :p I know all you need to do is write a .php file with PHP code embedded within (<?php ?>) tags, then upload it to your host. What I was wondering is, does the code stay in … | |
Hi, I'm hoping that someone can help me out. The Range statement below has an issue with the right hand side of the equal sign. If I leave out the "& i", the information in the first text box is copied into all of the cells. However, I want to … | |
I have a problem: How to insert raise in Text()? for example i have file: [code] #my_program.py a=ddd [/code] and other file: [code] #my_file.py: from Tkinter import* root=Tk() text=Text() text.pack() execfile('my_program.py') #text.insert(END,raise) mainloop() [/code] In file my_program is Error. How to insert raise of this error in Text? thanks | |
I am in java programing this year in college. First couple of chapters have went fine. They have us learning by using "notepad" and the command prompt. I had just completed my latest assignment and went to compile it and it told me "class or interface expected". I figured I … | |
I use CustomValidate to check för "<" in the beginning of text entered into few text boxes. It goes just fine, as long as the user deletes the potentially dangerous sign and updates the page. But if the user choses to break the update and instead press Exit button, the … | |
I've got a bunch of fields displayed in a form and I can change them on the screen and the changes are saved in the database. How can I make them so they cannot be changed? | |
Hi guys.... I am having trouble changing the color of the LEFT border in a table. i'm using the following javascript: [code] document.getElementById("cell1").style.border-left="3px red solid"; [/code] cell1 is the correct id of the table cell. If i take away the "-left" part in "border-left", it will change the border of … | |
I have a class and defined as follows: [PHP] class theclass { var a; var b; function seta(x) {this->a=x; } function setb(x) {this->b=x; } } global $myclass; $myclass=new theclass; [/PHP] This is saved in a [B]fileone.php[/B] Then I use it in the fisrt script file as [PHP] include_once("fileone.php"); global $myclass; … | |
For some strange reason I am having problems with sessions, ainly in safari I believe which is wierd considering php is a server-side programming language. anyways, when a person goes to /cp (control panel) for example, it redirects them to login.php?url=/cp. then they login, the sessions are created, and then … | |
[B]Parse error[/B]: syntax error, unexpected T_STRING in [B]/home/intel1/public_html/ccahs/myspace/mainfile.php[/B] on line [B]16 Any help?... code: [/B][php]<?php if ( !defined('XOOPS_MAINFILE_INCLUDED') ) { define('XOOPS_MAINFILE_INCLUDED', 1); // Physical Path // Physical path to your main directory WITHOUT trailing slash define('XOOPS_ROOT_PATH', '/home/thedemo/public_html/ccahs/myspace'); // Virtual Path (URL) // Virtual path to your main directory WITHOUT trailing … | |
Hi, I just installed the latest version of Visual C++ from Microsoft on a windows XP system. I have used this program before, but this time, on my new install, when I try to compile, I'm getting an error, "c:\documents and settings\user\desktop\r\listdbl.cpp(1) : fatal error C1083: Cannot open include file: … | |
Is there anyway I can implement user authentication, such as Sender-ID in php mail function? I like to have email send out from my mail server (from me to clients) as well as email send by users through my online form (to me) to be authenticated. ![]() | |
Dear all I want to populate a few drop down boxes using PHP. However i have tried many examples i found from the web but the select box does not get any values. Below i have one example i have tried. ********************************************** <?php $link = mysql_connect("localhost", "root", "password") or die("Could … | |
can someone suggest me a good topic for major project. good if it is in .NET plzzzzzzzz | |
Hi, I don't know if this is possible. I have a data structure that is displayed in various tabbed panels in various forms(JList/JCheckList etc.). Some of these panels are able to manipulate the data structure. Is there a way to attach some sort of ActionListener to data structure so whatever … | |
THis i sprobably a fairly simple question to answer, but i dont know much about writing in javascript. IM trying to design a webpage in which the h1 tag will dynamicly size so that it spans across the width of the page. I know this can't be done without javascript … | |
//this is my thread: public class threadMoveRight implements Runnable{ Storeroom sto = new Storeroom(); String url; Image image1; boolean flag; public threadMoveRight(String purl,Image pImage) { this.url = purl; this.image1 = pImage; } public void run() { searchData(); flag = true; } } //and after the user press on right he … | |
As far as I know when a check box is check the value should be 1 and when it is not checked it should be 0 correct? In my case if I don't check the box its null and if I do its -1 Here is my code [code]Private Sub … | |
Again, I don't know what I've done wrong. [code] #include <iostream> using std::cout; using std::endl; #include <cstring> using std::strcpy; using std::strcat; #include <cstdio> using std::sprintf; void destroyMultiCharArray(char * * anArray, int size) { for (int i = 0; i < size; i++) { delete [] anArray[ i ]; } delete … | |
Hi im new to all this but need help. i have a program that runs in the terminal of redhat 9 "./signalp -t gram+ etc" and this produces an output file called output.txt i need a script that will run the command line automatically after the last one finishes and … | |
I am attempting to track and record information in a specific php file used where I work. The file is not my own work originally; I inherited it from my predecessor in the position. I am somewhat familiar with PHP, but not an expert. Additionally, I am still a newcomer … | |
HI Java people, Its great to finally find a forum where i can increase my experience of programming in Java and hopefully other programming languages. Am a student and playing with programs makes my day. Fustration is also a brother i know. I currently have an assignment which am working … | |
[B]Good Day, PHP Members HELP W/DB Images[/B] I am desperately trying to allow the user to put selected images into the database and than view them in the photo gallery. If you know the method please tell me. I have tried for 3 days. I have in my database table … |
The End.