199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for winrawr

I've been able to design a front-end for a C DLL, calling the DLL functions from the VB program but I'm having trouble calling the VB functions from the C DLL. Maybe I should have put this in the C forum, but I don't know. If I have this in …

Member Avatar for winrawr
0
243
Member Avatar for Considerate
Member Avatar for tanha

Hello everybody, I have this text file, and when I import them into mysql through phpMyAdmin, everything is ok, but the persian (Farsi) not shown correctly, also I use ' utf8_persian_ci ' collation, can anyone kindly plz convert this file into MySQL that farsi data shows correctly too? NOTE: farsi …

Member Avatar for BzzBee
0
108
Member Avatar for vidhyaponnusamy

Hi When i use time() function in php,i got the value as follows, [B] 1242104663[/B] i retrieved thelogin time for ,but i want to get the current system time in hours,mins ,seconds Regards, Vidhya

Member Avatar for BzzBee
0
61
Member Avatar for HunterFish

How to sort an xml file or a text file using gtkmm? This is the sample of the file that I want to sort. <LIST> <name> Example </name> <country> <name> Country </name> <pop> <desc> Japan </desc> <uri> 100 </uri> </pop> <pop> <desc> China </desc> <uri> 108 </uri> </pop> <pop> <desc> …

Member Avatar for HunterFish
0
205
Member Avatar for vidhyaponnusamy

Hi I am creating session for my website,i want to expire the session after particular time for the user logged in,i want to retrieve current time in PHP,i used a time() function in php to get current time,but i got sequence of number.can oyu help me how to get current …

Member Avatar for BzzBee
0
96
Member Avatar for DotnetRaji

Hi, I have a wsdl of rpc/encoded type to be used in my .NET application. The wsdl has array objects with minoccurs and maxoccurs elements. I am unable to used the array in my application. Everytime it shows Nothing in the array. I am using Visual Studio .NET 2003. Can …

Member Avatar for DotnetRaji
0
102
Member Avatar for BzzBee

i have a function like i have quote issue with the function. I have to use this object in javascript code due to some reasons i cant use double quotes two times. i have to use single quotes around parameter as well. what should i do. please suggest. [CODE] <script …

Member Avatar for BzzBee
0
71
Member Avatar for Deme

Alright, so i'm trying to make a type of database using file i/o where you type in a username and password and it writes it to database.txt... The issue is, i'm trying to find a correct and clean way of reading, or 'searching' for the username and password and compares …

Member Avatar for valtikz
0
988
Member Avatar for aveao

I am having trouble getting the counts store the value from one button click to another. The formula works as far as calculating the salary and the commission and on each button click it adds one to the proper section of array but when i press the button again the …

Member Avatar for Teme64
0
95
Member Avatar for gsarin

Hi, I am trying to run a Perl-CGI script through Tomcat Server and running into issues. The script runs fine through command prompt and also runs half through webpage. The problem comes when I try to access some files in directories located on some other server. I think tomcat security …

Member Avatar for gsarin
0
451
Member Avatar for TaubBaer

I had been creating 5 files and I kept hitting the wall. Hope that you will be able to help me pinpoint the problems. (I am not an programmer by the way.) I had been researching for more details on those problems, no luck. Enclosed are 5 files that I …

Member Avatar for TaubBaer
0
558
Member Avatar for Kusno

Dear all, How do I change primary key field from query because if I use VS Designer, raised an error about [B]time expired[/B] ? I want to extend my FK field length. Thanks

Member Avatar for Kusno
0
131
Member Avatar for p3truc1

Hi, i'm a final year student and currently taking my final year project. I want to develop a chatbot but i don't know how to start.. If anyone can suggest books, journals, or anything to get me started i would appreciate that. thanx. :)

Member Avatar for p3truc1
0
82
Member Avatar for Bhoot

In my client-server architecture, the cilent-side application would send specific messages to the server-side application. How should i handle those messages? Previously, in a small project, i had just passed the received message to a method where it would process the message through a switch case structure. However, this doesnt …

Member Avatar for Bhoot
0
138
Member Avatar for raghuprasad

hi, I am able to display a single image from the database on a webpage using the following code: rs1 = st1.executeQuery("select image from pictures where id='5'"); if(rs1.next()){ int len = imgLen.length(); byte [] rb = new byte[len]; InputStream readImg = rs1.getBinaryStream(1); int index=readImg.read(rb, 0, len); System.out.println("index"+index); st1.close(); response.reset(); response.setContentType("image/jpg"); …

Member Avatar for kvprajapati
0
785
Member Avatar for jeffc418

Hi all! So I've been reading about the "FOR XML AUTO" function which sounds great, but it hasn't been working when I try it in phpmyadmin. I get an error in the area of "FOR XML AUTO", I know SimpleXML is disabled on my package but would that be why …

Member Avatar for jeffc418
0
289
Member Avatar for millsy007

I have a product image that is 4 images 'sewn together' [url]http://www.flickr.com/photos/28033561@N03/3504394261/[/url] I am going to set a div called ProductImage and then have the background of the div set to this image, but with only the top image showing. I then want to have a button for 'more views' …

Member Avatar for millsy007
0
193
Member Avatar for shahbaz5144842

Hi to all ! Im new to java n i m working on Project of Web base Image Annotation Tool using jsp and java i have to save n retrieve image in to database which im using is mysql How i can store image in to database not the refference …

Member Avatar for deepalihanand
0
108
Member Avatar for billymcguffin

ok. i am having trouble with this code: [code] <head> <script type="text/javascript"> <!-- function switchPic(picID) { document.getElementById(picID).style.display="none"; } //--> </script> </head> <body> <a href="" onclick="switchPic(_1)">Click Here</a> </body> [/code] when you click the link, it gets the id from the info provided in the link and makes it disappear (thats how …

Member Avatar for billymcguffin
0
3K
Member Avatar for learnerasp

Hi There, I need help badly on the div tags. I dont have much knowledge on div tags I have a div tag in my code and it should be show when there is an inactivity. Its working fine, until today I found a bug. When I scroll my browser …

Member Avatar for billymcguffin
0
119
Member Avatar for Lukezzz

I have a problem when it comes to cancel a backgroundworker from working. I start the backgroundworker successfully and the worker supports cancellation is set to true. What I do is to use a button that both can run the backgroundworker and next time you press the same button, it …

Member Avatar for Lukezzz
0
115
Member Avatar for abhay_pundir

Hellllo everyone. i want to know that how to open a excel file in c# and how to copy the excel file data to the clipboard. thanx

Member Avatar for serkan sendur
0
162
Member Avatar for Whelk

I'm trying to set up a login procedure. Here's what I'm trying: [code="python3"] import users import sys print() print("Please enter your username.") print() username = input(">") if username not in users.usrlist: print() print('User does not exist.') sys.exit() else: user = users.username print() print('Please enter your password. Note that for security …

Member Avatar for woooee
0
149
Member Avatar for Xellos_Moon

Help me solve this problem, dont worry, im just starting out so its all very basic...and easy to you guys, i would imagine. [QUOTE]Two strings X and Y are said to be conjugates if, by shifting the symbols of Y in a cyclic fashion zero or more times, you can …

Member Avatar for ArkM
0
91
Member Avatar for as_ad

hiii plz i need a help in the following Qs using assemply lang i am a Beginner and i dont know how to solve it....plz help. Q1. Write an 8051 assembly program to convert a series of ASCII numbers to packed BCD. Assume that the ASCII data is located in …

Member Avatar for as_ad
0
126
Member Avatar for Akis2000

hi.. ok here is my problem i want to make a fuction that ask from the user which series he/she wants to use and the precision (number of digits, up to 10). If after 10000 iterations the series doesn't find the value of p, it should display an error message. …

Member Avatar for Akis2000
0
351
Member Avatar for Dewey1040

i dont understand why this isnt working ill post the code thats relevent for some reason no matter what numbers i enter it will just print out that the complex number is 0.00000... idk how to fix it heres the main function [code=C] #include <stdio.h> #include "globals.h" #include "complex.h" int …

Member Avatar for jephthah
0
174
Member Avatar for jbisono

Hi, Im new here, im sorry if i am posting in a wrong forum, i have a piece of code that update a binary field in sql server 2000, im keeping this code a simple as possible, so this is working but only save the first character in the string …

Member Avatar for jbisono
0
282
Member Avatar for Prahaai

Good day. I have a problem with matrices / arrays, i cannot resolve. I have no idea how to start... I have two 2D matrices and i want to overlap (mix?) one over the other, no matter what dimensions they have. For example : a = [ (1,2,3,4,5), (9,7), (0,0,0,0,0), …

Member Avatar for scru
0
282
Member Avatar for waphon

this is an Object-oriented solution between ourselves of ai technique. Ai standard database chiefly contain: Main, Noun, Verb, Preposition Create database: Main. Create table columns 3 D memory x-axis, y-axis, z-axis, Class mark Input condition X Y Z Expected result X Y Z Reporting demonstration X Y Z Object enantiopathy …

Member Avatar for ArkM
0
171
Member Avatar for KirkPatrick

I have been having a little trouble getting my program to output the results I am wanting. At first I was having trouble with a cast exception at this line: [code]out = (ParseResult[]) ipHostsFound.toArray();[/code] The cast exception was: [code][Ljava.lang.Object; cannot be cast to [Lfilelocation.struct.ParseResult;[/code] So I ended up changing it …

Member Avatar for BestJewSinceJC
0
92
Member Avatar for Sky Diploma

Here is a comment stripper program from which takes input from Cin and removes the comments. [CODE=C++] #include <iostream> #include <fstream> char Getchar(); char var; int main() { char ch; do { Getchar(); switch(var) { case '/': switch(Getchar()) { case '*': Getchar(); while(true) { if(var=='*'&&Getchar()=='/') { break; } else { …

Member Avatar for tux4life
0
331
Member Avatar for ulisse0

Sometimes [ICODE]_getcwd()[/ICODE] returns the parent direcory of the current one, other times returns the folder of the current user.. Has it ever happened to you-all? Thanks in advance

Member Avatar for ArkM
0
506
Member Avatar for saurav.prasad28

hi all Database Masters Here i have suffer one critical issue,i have two column a and b, Table name : Student "A" "B" "1" "SAntOsh" "2" "SAuraV" "3" "SAriya" "4" "SAnju" "5" "SAthiYa" These are the sample records from my Table field. The "B" column always start with 'SA', the …

Member Avatar for Fest3er
0
146
Member Avatar for Lukezzz

I use this random generator for numbers but it seems that this generator isn´t really random because it seems to generate the same "Random" sequence chain every time I restart the application. Is there a better way to generate random numbers than this, that is more random ? [code] for( …

Member Avatar for Lukezzz
0
225
Member Avatar for genieuk

Hi, I am trying to display the users email address when they login to there account on there profile page.. I have successfully done this for there username as i use $_COOKIE to display the users name with the DB. Problem is i am not sure how to do it …

Member Avatar for genieuk
0
123
Member Avatar for murrple_1

Hey All, I've been working on this code for a while now, but can't quite come up with a working solution. I'm trying to make a specially designed ImageButton, which extends JButton. Basically, it replaces the regular JButton image with another image. I've figured out everything except this. Every button …

Member Avatar for murrple_1
0
149
Member Avatar for Greeny28

Hi, I was hoping someone could correct my mistake. I'm trying to store references (or pointers should that be better) in a hetrogenous List. (The references or pointers will point to mixed classes). The problem is that everytime I store the pointer which holds a reference to the object, the …

Member Avatar for Narue
0
141
Member Avatar for shaviraghu

hi all, i want to fill the margin area between the tabcontrol and tabpage with color.plz do help me. thank u. raghu

Member Avatar for ddanbe
0
88
Member Avatar for meistrizy

Thanks in advance for your help. My code is doing some weird things and I can't figure out why. The purpose of my program is to have the user input any number and get the day of the week, month, day, and year and if that year is a leap …

Member Avatar for meistrizy
0
128
Member Avatar for odysea

is there any way to get the name before i post, i want to get the name before i post becuase i want to delete a php file and create a new one instead of it [CODE]if(isset($_GET['id'])) { $query = "SELECT id, name, title, description, keywords, content, skin ". "FROM …

Member Avatar for sureronald
0
92
Member Avatar for charbel007

Dear php pro guys i need your help please; i have 3 files; index.php login.php and member.php my major problem i cant prevent the link to be copied after logging in in php4 ---file:memeber.php--- if ($_SESSION["login"] !=1 -- it works great when the user log in and link can not …

Member Avatar for charbel007
0
200
Member Avatar for newcook88

can some one help me to develop the code for the following methods [CODE]private void add(Bucket bucket) { // is the bucket in the table? // can it be added to the table? // can the bucket be added at its hashed index? // what is to be done if …

Member Avatar for BestJewSinceJC
0
129
Member Avatar for freddiecool

Hi, i am making an event calender but i'm stuck with making sure that a user choose a valid date (a user should'nt be able to choose a start date that is after the end date). Could anyone point me in the right direction please? My code is still a …

Member Avatar for BestJewSinceJC
0
157
Member Avatar for Der_Kaiser

Hey there folks,I've been takinga course in data communications, which for the most part has been completely over my head, but anyway, for a project I need to write an instant messenger program. Prof as very vague about the detais, so I think It can be as simple as possible, …

Member Avatar for BestJewSinceJC
0
168
Member Avatar for jonnytabpni

Hi folks, I've created an application in VS2008 Express Edition. Some of my customers could potentially want slightly different features so I had the idea of moving the relavent stuff to a seperate dll (which works). The problem is when I swap the dll with a different one I get …

Member Avatar for JerryShaw
0
165
Member Avatar for blozzy

hi, i would like to make an insert statement with a subquery, i know that it is possible with a following select command, but i would like to combine it with scalar vars from a data grid ? please help: [code] INSERT INTO akquise_dispo_stunden(sb_id,akquiseprojekt_id,monat,jahr,ma_name,stunden)VALUES(@sb_id,'test',1,@jahr,([B]SELECT name FROM ma WHERE user_id=@sb_id[/B]),@JanStd); [/code] …

Member Avatar for sknake
0
132
Member Avatar for mrcniceguy

I have a script which upload image to the server and resize them when uploading)) the script give a max width=200px also max height=200px))for i uploaded image.. i would like if some one can help me modify it,in such away that if Only width must be Max=200px but for height …

Member Avatar for mrcniceguy
0
126
Member Avatar for toad78

I have three dbase tables: Project: Building a set of tables to record customer information, record selected uses of transportation, record the points earned from using certain types of transportation, record the total points in a database table. [CODE]Currently, these are the tables: Code: TEAM teamID teamName LIVE DATA: Live …

Member Avatar for toad78
0
109

The End.