64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for poilkjmnb

Hello Friends, Any body help me to convert the code from Delphi to vb 6.0 const C1 = 43941; C2 = 16302; function BorlandEncrypt(const S: String; Key: Word): String; var I: byte; begin SetLength(Result,Length(S)); for I := 1 to Length(S) do begin Result[I] := char(byte(S[I]) xor (Key shr 8)); Key …

Member Avatar for CygnetInfo
0
508
Member Avatar for Awah Mohamed

Hey people wats up . People ... I need your help . I want to learn php , ok i know the basics of php from w3schools but in w3schools all the php lessons are not too advanced , so if you know a website where i can learn advanced …

Member Avatar for Awah Mohamed
0
83
Member Avatar for amras123

This is the error i get when im trying to Run my AccountServ.exe it pop ups an error DB LOG Connect Failed. SQLSTATE:IM002 error:[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

0
51
Member Avatar for ujwaliyer

i want to insert rows one by one into a database in the sql server 2005. the problem is that i have tried all possible but the rows just dont get added to the database, i get an exception on executing this code, i get this exception Unhandled Exception: System.IndexOutOfRangeException: …

Member Avatar for safe2010
0
271
Member Avatar for Stefano Mtangoo

Hi, I have abstract base class with some kids deriving from it. I want its kids to be concrete classes But I don't want to implement the all methods of the class. I'm trying to find a trick to go around doing this and I'm running out of thought on …

Member Avatar for Stefano Mtangoo
0
130
Member Avatar for Kadafiz

i made a PHP page that calculating bill of medical institute. i need to print the bill from this page. bt using window.print command it print whole page with buttons also.. bt i dont need no buttons.plz help me to print bill.. thnkuuu

Member Avatar for Kadafiz
0
175
Member Avatar for AjithAnnadurai

i created one blog . In that i put other site links . When users clicked that link it opened in the same tab . i need html codings to open in another tab if users click that link . please help

Member Avatar for AjithAnnadurai
0
84
Member Avatar for W1ND0W5

Sorry about asking all of these questions, but I am making an app and I have had a request for when the user types into the text box he can automatically hit Enter and it will navigate to the specified destination. However I have tried EVERYTHING and I cannot get …

Member Avatar for W1ND0W5
0
105
Member Avatar for lgriess

How do I configure the PasswordRecovery object so that I can pull the password from the webservice rather than allowing direct access to the sql server database? Where does PasswordRecovery even do the sql for getting the users password from the database? All the examples I've found show the PasswordRecovery …

Member Avatar for Momerath
0
163
Member Avatar for perryg30313

I have two forms. Form A and Form B. Form A has a datagrid that is populated from a SQL Database Table query. When a button is pressed Form B is launched that allows you to add a record to the database table. I need for the datagrid to be …

Member Avatar for perryg30313
0
194
Member Avatar for totalwar235

i am trying to review what C++ stuff i have learned last year before high school starts, but the code i am writing does not run properly after i compile it. the code compiles the code does not execute. the code does not execute after Recruit() runs C_Name() to get …

Member Avatar for totalwar235
0
110
Member Avatar for Jackk123

Hello there my second topic I need to write a function that writes 10 random numbers into a file. I came up to this point: [CODE]#include "stdafx.h" #include <iostream> #include <fstream> using namespace std; int main(){ ofstream outfile("C:\\Random"); //Random as in you can put any file you want for(int i …

Member Avatar for Jackk123
0
148
Member Avatar for Naveed_786

I want to display date and time on top of the form where normlly written form1 forms name i want to display date in formate of for example 23 August 2010 and time in this formate 12:33:20AM Please please help.

Member Avatar for krunal1089
0
126
Member Avatar for newbie_to_cpp

Hi All Can someone pls help me on this one. Under nested 'if' conditions inside 'case', i have 2 sections. If i choose to go to section 1 or 2, when i am done, how can i return back to the primary 'if'. Any help will be highly appreciated. This …

Member Avatar for newbie_to_cpp
0
125
Member Avatar for bsewell

Hi all, basicly, I'm writing some code so that when a user clicks on an image, a div will be displayed where the user has clicked. My jQuery code isn't working, so wondered if anybody knew how to fix it. All of this is in my document.ready() function. [CODE] $("img.image").click(function(e){ …

Member Avatar for hielo
0
152
Member Avatar for srikanth2321

Hi, I have a software which contains a jar file. To use it I need to type "java -cp IPC.jar ipc.IPC -c CCl4 -t > CCl4.txt" in the command line. I want to invoke this in C#. I used this following code but it is doing nothing, no errors. [CODE] …

Member Avatar for PierlucSS
0
1K
Member Avatar for GregMalick

I'm trying to write a Windows App that will let me write or draw in a window and still see what's below. Kinda a transparent Notepad with Borders. It's easy to create a transparent Window using: CreateWindow() with wndclass.hbrBackground = (HBRUSH) 0; But in the CALLBACK WndProc() where I'm drawing, …

Member Avatar for GregMalick
0
262
Member Avatar for group256

Dear All, I'm trying to sort a list of structs using STL library. [CODE] struct myStruct { int i; string s; }; bool compare(int first, int second) { if (first < second) return true; else return false; } int main() { list<myStruct> myList; /* Pretend that myList has elements with …

Member Avatar for mrnutty
0
5K
Member Avatar for gaurav_13191

Hi coders,I have a small problem regarding pointers, I am a bit weak in pointers and need to understand why the following is wrong: [CODE] int main(void) { char *a; gets(a); return 0; } [/CODE] This causes an exception, please explain the error. I am using Turbo C as compiler, …

Member Avatar for gaurav_13191
0
109
Member Avatar for BestJewSinceJC

[CODE] Integer i = 5; Integer j = 5; if (i == j) System.out.println("true"); [/CODE] ^ Prints true [CODE] Integer i = new Integer(5); Integer j = new Integer(5); if (i == j) System.out.println("true"); [/CODE] ^ Does not print true. I understand that in the second case, the == is …

Member Avatar for BestJewSinceJC
0
109
Member Avatar for danny4444

Hi there, I believe I am having trouble with the response that is received by the Ajax request. I have posted something similar to this but the response returned was XML not plain text (or html). I am guessing this should be easier but I can't figure out or find …

Member Avatar for hielo
0
240
Member Avatar for SKbirdie

I am writting a large if / else tree in an existing website. My include libraries have to be put into the html program using a scripting language called SpeedScript. These includes bring in the login data that I am testing in my if tree. Instead of using the if/else …

Member Avatar for hielo
0
183
Member Avatar for ceeandcee

Is it possible to create a hard page return in your PHP code so that wehn the user prints the output, the page break will occur where it is defined? If this is possible, how is it done. I have not found anything in my Google searches. Any help is …

Member Avatar for chrishea
0
180
Member Avatar for glenak

Hey guys, check this out: [CODE] File test = new File(path + "person.data"); FileOutputStream fos = new FileOutputStream(test); ObjectOutputStream oos = new ObjectOutputStream(fos); Person p = new Person(); Person p2 = new Person(); p.setName("Sub Zero"); p.setGender("Male"); p2.setName("Sonya Blade"); p2.setGender("Female"); ArrayList<Person> people = new ArrayList<Person>(); ArrayList<Person> people2 = new ArrayList<Person>(); people.add(p); …

Member Avatar for glenak
0
19K
Member Avatar for phplover

Hi, I got some zip files on my server people can download and am having a strange problem. Can't remember if i ever checked in IE but in FireFox, Google Chrome, Opera everything is fine. When i download a file from my website in IE the file is getting corrupt. …

Member Avatar for phplover
0
133
Member Avatar for PhilEaton

Hey, I'm trying to make a way for the user to click a link in an email agent and the submit button (previously hidden by css) and it then becomes unhidden. [code=javascript] function showSubmit() { var submit = document.getElementsByName("submit"); if (submit.style.display=="none"){ submit.style.display="inline"; } } [/code] Then the html: [code=html] Click …

Member Avatar for PhilEaton
0
134
Member Avatar for aikiart

Good day, I'm having problems seeing how the recursion is working with this program. I've traced it but I don't understand why after if(num >0) is false it returns to the statement following the last function call and then seems to start the recursion again, but backwards? What I see …

Member Avatar for aikiart
0
108
Member Avatar for mdl731

Hi, I recently started learning C++ because i wan to develop games, anyway i just got to file i/o part and i got a problem with the binary file read. I created a class to test the binary file i/o: [code=c] #ifndef KAIZOKU_H #define KAIZOKU_H #include <string> #include <fstream> class …

Member Avatar for mdl731
0
130
Member Avatar for NewOrder

i have a bit a weak understanding of those 2 concepts. could you explain to me what is happening in that part of the code? [CODE] public class Part5{ public static void main(String[] args) { // Object[] zoo=new Object[4]; // zoo[0]=new Cat(); Object[] animals=new Object[4]; animals[0]=new Cat(); animals[1]=new Dog(); animals[2]=new …

Member Avatar for NewOrder
0
118
Member Avatar for acrocephalus

Hello! I am trying to edit a csv file. This is my original csv file [CODE]"TINAMIFORMES",,,, ,"Tinamidae",,, ,,"Tinamus",, ,,,"tao","Grey Tinamou" ,,,"solitarius","Solitary Tinamou" ,,,"osgoodi","Black Tinamou" ,,,"major","Great Tinamou" ,,,"guttatus","White-throated Tinamou" ,,"Nothocercus",, ,,,"bonapartei","Highland Tinamou" ,,,"julius","Tawny-breasted Tinamou" ,,,"nigrocapillus","Hooded Tinamou" ,,"Crypturellus",, ,,,"berlepschi","Berlepsch's Tinamou" ,,,"cinereus","Cinereous Tinamou" ,,,"soui","Little Tinamou" ,,,"ptaritepui","Tepui Tinamou" ,,,"obsoletus","Brown Tinamou" ,,,"undulatus","Undulated Tinamou" ,,,"transfasciatus","Pale-browed Tinamou" …

Member Avatar for acrocephalus
0
5K
Member Avatar for veledrom

Hi, I want to connect to a external server to either copy image.jpg to my local computer or list all the files stored in a path. How can I do this? I think cURL is used but examples on the web are not working for me. Thanks in advance For …

Member Avatar for hielo
0
241
Member Avatar for zachattack05

I have been reading through many blogs, the MSDN website, and Google search results trying to figure this out... At what point, or in what situations would someone ever want to have multiple projects under one solution? I have thought about having a project that contains forms and some "core" …

Member Avatar for zachattack05
0
94
Member Avatar for gh0st0

Hi Folks, Windows/Python3.1.2 I'm totally at a loss with this one... The code is supposed to open a file (postscript with UNIX LF-only EOL characters), look for and change a line, then write the lines back. It works fine, except for the fact that I can't dissuade Python from writing …

Member Avatar for gh0st0
0
161
Member Avatar for Geertc

hello, for my application I have created a database containing a table where my clients data is stored before they are allowed to use the website. When they are allowed, the info on this table has to be transferred to 3 different tables, using the insert...select-statement. Doing this I don't …

Member Avatar for Geertc
0
85
Member Avatar for Arsench

Hello, I’m just trying to get the link and id name passing to other page, but when moving on the link the mouse, it shows only the first word of the ID. Here is the example. [CODE] <?php $id ="CURSO DEL RITE(CALEFACCI&Oacute;N,CLIMATIZACI&Oacute;N Y ACS)"; $link = "http://www.ginerllinares.es/prog_curs/sem/inscribir.php"; $path = "<a …

Member Avatar for Arsench
0
102
Member Avatar for musikluver4

I want to be able to input two (2) 'grades' exactly like they are in the String array and have it come back printing BOTH showing the grades, again, as well as the grade score corresponding to those grades. For example: input C- (enter) B+ (enter) output does: ONLY the …

Member Avatar for samuel_okos
0
690
Member Avatar for Xzarik

This one might be a challenge... Okay some of you might have an inkling what i'm trying to do already from the last thread (thanks for helping!) but I figured I should start a new topic for a new problem so that people can search solutions easier. I've got multiple …

Member Avatar for Xzarik
0
8K
Member Avatar for P00dle

Hi Daniweb. I just read the other threads on regex and couldn't find the help I am looking for. The problem is simple. I have a bunch of settings in a .xml file which I read into my program. One of the settings is '*.txt', which is used for regex …

Member Avatar for P00dle
0
135
Member Avatar for PhilEaton

Hey, I'm trying to find any tutorial on taking user inputted text and displaying, on that page or another. I know how to upload a file, or provide that service to the user so I figured it might be similar, but I couldn't find any help on this scanning google. …

Member Avatar for PhilEaton
0
145
Member Avatar for AjithAnnadurai

Hi friends . recently i create one blog for music . i want to knw how to add the Songs in blog for Online hearing . . . please help . . . i searched one day and did not found . please help

Member Avatar for george61
0
107
Member Avatar for lgriess

Can anybody help me? I am following instructions about how to put an Iframe in my app. Here is the code for the button: protected void Submit_Click(object sender, EventArgs e) { //frame1 = (HtmlGenericControl)this.FindControl("frame1"); HtmlControl frame1 = (HtmlControl)this.FindControl("frame1"); frame1.Attributes["frameborder"] = "0"; frame1.Attributes["scrolling"] = "auto"; frame1.Attributes["width"] = 640 + "px"; frame1.Attributes["height"] …

Member Avatar for Geekitygeek
0
588
Member Avatar for koveras vehcna

Hello everyone, I am trying to process various texts by regex and NLTK of python -which is at [url]http://www.nltk.org/book-[/url]. I am trying to create a random text generator and I am having a slight problem. Firstly, here is my code flow: Step-1)Enter a sentence as input -this is called trigger …

Member Avatar for koveras vehcna
0
186
Member Avatar for Elisa

I would like to learn how to program in Java. Does anyone have any textbook /other resource suggestions?

Member Avatar for yasuodancez
0
365
Member Avatar for glenak

Hi, So, I did create a client and a server, and all of them work pretty well. When I send messages to the server, rather than sending one message at a time, I put the information in a class, say like a Person class - I put set the Person's …

Member Avatar for ~s.o.s~
0
89
Member Avatar for glenak

While I know how to set this up perfectly, I was wondering, is it possible to set up my jdbc connection with my access database so that I have to put in a username and password? I would really like to do this with access, if it's possible

0
68
Member Avatar for Roger101

Hi, I am new to perl and have been getting decently good at it. Now i am getting into doing plots with perl. I read some articles/examples on how to create plots using perl It mentions using GD::Graph Module However when i try to plot I get Can't locate GD/Graph/bars.pm …

0
74
Member Avatar for lwaterfo

Hi, How do I change the query below to search in two fields instead of just one? For example, I want the query to search two fields: job_id and jobtype - instead of just job_id. [CODE]$query = "SELECT lastname, firstname, state, zip, jobtype, otherjobtype, nightavail, weekendavail, ptft, resume FROM data …

Member Avatar for hielo
0
72
Member Avatar for QWaz

Hi, I have built an entire site with my localhost on my computer, as you do. and everything has worked fine. I have no issues. and still dont' However, I just uploaded it, and am getting this error: [CODE] Warning: Cannot modify header information - headers already sent by (output …

Member Avatar for QWaz
0
361
Member Avatar for plasticfood

ok i am writing a program that ask for the amount total and amount tender. then i'm supposed to calculate a combined amount of coins and dollars to make up the change amount. i know how to split out the dollar amount, but i'm stuck on how to calculate the …

Member Avatar for jon.kiparsky
0
150
Member Avatar for PhilEaton

Hey guys, I'm trying to mix php and it's not working. I made a form that takes user input and changes the website they input to it's IP address. Next I tried to put that IP as a variable $ip and tried to put that variable in a link(href="") and …

Member Avatar for FlashCreations
0
151

The End.