199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for MrMan2787

i am trying to write a program that takes information from a file and reads it and then does some kind of encryption, simple as adding one to it I have it reading the file, but how would i go about readings the characters as int's and then adding a …

Member Avatar for Ancient Dragon
0
105
Member Avatar for paramasivan

i'm exporting a chart into jpg with the following code... [B]oExcel.ActiveChart.Export FileName:=App.Path & "\chart.gif", FilterName:="GIF"[/B] In XP it works fine... But in Vista, it gives the error [B][COLOR=Red]ERR 70 - Permission denied"[/COLOR][/B] please advice on this... Thanks in advance

Member Avatar for DenisOxon
0
116
Member Avatar for sibotho

Hi all I have a DropDownList in in one of my web application's Page, now i want to display the contents of that DropDownList in another Page. Can someone please show me the code for this in C#. When i try to use the DropDownList in this other page it …

Member Avatar for greeny_1984
0
97
Member Avatar for anud18

can anyone plz help me out by giving the lines of code which will hwlp me establisg a connection with my access database usin ADO ......

Member Avatar for anud18
0
116
Member Avatar for janicefernandes

on the site [URL]http://www.israeli-weapons.com/index_vehicles.htm[/URL], see the "quick menu". I wish to have a similar component, but it should not load a new page when the user clicks on "land vehicles" or "aircraft". instead the table should expand and the sublinks of land vehicles should appear below the main link of …

Member Avatar for janicefernandes
0
98
Member Avatar for hanusoftware

This code has been used to encrypt and decrypt query string .No matter what the lenght of the url is ,this code will encrypt the key and the value the query string into 25 digit using System; using System.Collections.Generic; using System.Text; using System.Collections.Specialized; using System.Collections; using System.Web; namespace BusinessLayer { …

Member Avatar for arjunsasidharan
0
189
Member Avatar for Micko

Hello guys, It's been a while since I last time posted in this forum. I have strange problem regarding matrix allocation. I was asked to write code that includes 2D array dynamic allocation. I write two version of matrix allocation. Here is in my opinio relevant part of the code: …

Member Avatar for Micko
0
155
Member Avatar for ongxizhe

Hey all. Does anyone knows where to get some good tutorials of programming C++ Graphical User Interface? If so, please kindly send a PM and include your contact or reply here. Your help willl be appreciated. Thank you. Xizhe

Member Avatar for ongxizhe
0
380
Member Avatar for Matt Tacular

I need to set up 2 buttons to take input from the user, that increase and decrease a variable, it doesn't matter which 2 buttons are used, but preferably the up and down arrows. And I also need to have a display of the variable that constantly updates as it …

Member Avatar for Opo
0
150
Member Avatar for jaepi

Hello there. I have here a constructor of class CDriveControl and class CSPTIDriver.. [code=c++] class CSPTIDriver; class CDriveControl{ public: CDriveControl(); CDriveControl(const char* pPort); ...... ...... protected: char* m_pPort; CSPTIDriver* m_pSPTIDriver; bool m_bInitFlag; bool m_onlycomp; } [/code] It was defined outside the class. [code=c++] CDriveControl::CDriveControl(void) :m_pPort(NULL) //Object drive ,m_pSPTIDriver(NULL) //SPTI object …

Member Avatar for jaepi
0
305
Member Avatar for lafalot

Hi, I'm creating a customer database in MS ACCESS with the following 3 tables: Customer (with unique customer_id) Products (with unique product_id) Customer_Order(contains both customer_id and product_id). I want to be able to use a form to enter new information into both the customer table and the customer_order table. The …

Member Avatar for jbennet
0
90
Member Avatar for meiyantao

I don't ensure whether "0" or "NULL" is better to be an empty point's value in C++. Could anybody can tell me,and why? Then how about it in C, why? Thank you!

Member Avatar for Narue
0
148
Member Avatar for Fungus1487

i only need this to work in i.e. and im sure it does but i am getting a "closed is null or not an object" exception message declared in HEAD:: [CODE] <script type="text/javascript"> function reloadwin(w){ if (w.closed) alert('window is closed') else return setTimeout('reloadwin()', 500) } </script> [/CODE] called in BODY …

Member Avatar for ~s.o.s~
0
81
Member Avatar for Matt Tacular

Can anyone tell me why this doesn't work? I know it's probably really easy, but I did try.... [code]/* ISU program created by Matt in grade 12 programming. */ #include <iostream> #include <list> #include <iterator> using namespace std; class humanPlayer { public: humanPlayer(char thePlayersName, unsigned int thePlayersTurnNum); //constructor ~humanPlayer(){}; void …

Member Avatar for Narue
0
116
Member Avatar for Matt Tacular

When using an STL list, how can I check if a certain variable happens to just be in there? Basically, given this already: [code]#include <iostream> #include <list> #include <iterator> using namespace std; list<int> integer_list;[/code] I need a way to code this in C++: [code]if(x is in integer_list){ do this }[/code]

Member Avatar for Matt Tacular
0
99
Member Avatar for heliumgas

hello. i would like to know how i can use the message box ok/cancel to confirm the delete os data in the database. as javascript is clientside and php in server side hw i can do it? how i can send it to php undestand that is to del the …

Member Avatar for ~s.o.s~
0
127
Member Avatar for Acidburn

Hello there, I've got some information which is stored in a class object, these objcts are transfered to an action in the format of a set. I'm trying to put the set into a bean into my JSP, however im not having much luck. The error is as follows: [quote]org.apache.jasper.JasperException: …

0
80
Member Avatar for Jishnu

Hi everybody, I'm new to Java language & was previously working with C++. I'm totally confused as to what is the mechanism of passing variables having 1) built-in datatypes 2) array datatypes 3) user-defined objects as datatypes to any function. Is it pass by value or reference ? If arguments …

Member Avatar for jwenting
0
118
Member Avatar for Daan

Hi, I'm trying to use a program, written by others, that has C/C++ code compiled as part of its setup procedure (it's called Content - integrated environment for the analysis of dynamical systems). However, c++ (or g++ actually) complains about invalid conversions and cannot compile: [code]autodif.c: In function ‘char* Mult(char*, …

Member Avatar for vijayan121
0
143
Member Avatar for walba
Member Avatar for debasisdas
0
137
Member Avatar for Daco

hey everyone, im making a program that controls my cube using GCNRD. but shellexecute is being a tard to me the code should work like this: enter a value and the program starts gcnrd to poke the value i got that in these lines [code=cplusplus] string CButton; string CoButton; cout …

Member Avatar for Daco
0
153
Member Avatar for kinggarden

Hi, everyone. I have worked in IT field for about 1 year, before that my major was physics. So I feel I'm just a new guy in this field, and I hope you could help me:) Now, I work in a embedded C++ project on WINCE platform. I'm not very …

Member Avatar for kinggarden
0
128
Member Avatar for sajithkahawatta

i want to delete a selected row from the database.the entries of database is shown by a gridview and i do <OnRowDeleting="GridView1_RowDeleting"> in source code. i select and bind as follows. [mycode] string str = "select PNR,CreditCardNumber as 'Credit Card Number',EmalAddress as 'Email Address',PassengerName as 'Passenger Name',PassportNumber as 'Passport Number',IPNumber …

Member Avatar for Blackred
0
125
Member Avatar for alexxxprog

Thank you very much for who can solve this bash script: "Create a bash procedure createdata that creates collections (directories) that that will have to contain a random number, comprised between 300 and 600, of binary files of dimension comprised between 10 Kbytes and 30 kbytes. Also the names of …

Member Avatar for alexxxprog
0
211
Member Avatar for Eko

I'm looking for a C++ book with exercices(solved),practice or something like "tips and trips of c++ language" cause I need to prepare for the exam. If someone know's a kind of this book , pls reply.I searched google , but didnt found what i want

Member Avatar for Narue
0
130
Member Avatar for walba

pliz assist in showing how to link visual basic 6.0 and ms access following all the correct procedures. i have used data 1 for linking but still not working.tell me how to link vb with access

Member Avatar for AV Manoharan
0
125
Member Avatar for pbrookee

Hello all... I set a key in the registry with a name as Database, the Value consists of a Database name "PBC_DB.mdb" My hopes are to use the key in my program (I am using vb6) to find the database; in the connection string rather than having it read ex: …

Member Avatar for AV Manoharan
0
228
Member Avatar for Kcin

Hi, could anyone help me by explaining what Lib means i have come across these lines of code in a book and i could not understand what theses codes mean. Thx in advance [CODE]Private Declare Function GetPixel Lib "gdi32" _ (ByVal hDC As Long, _ ByVal x As Long, _ …

Member Avatar for davidcairns
0
123
Member Avatar for 4zlimit

I am trying to store information then retrieve it on my program. I know I have to use a class and a constructor. The problem is that my text doesn't have any good examples that I can view. I am truly lost. I am not sure 1. where to build …

Member Avatar for stultuske
0
218
Member Avatar for mnmustafa

Hiz well i m new in here n i m goin to have exam after 3 days :S i got stuckd in a question Q) Write a program to print the product of even numbers..... plz i m new with c langauge :S n i m having final exam jst …

Member Avatar for sweetleaf
0
134
Member Avatar for yilmazhuseyin

Hi! I was writing a calculator to practice my programming skills and I really cannot solve a problem with an abstract class [code=C#] //base class for all tokens public abstract class BaseToken { public override string ToString() { return tokenValue; } } //base class for all operators public abstract class …

Member Avatar for yilmazhuseyin
0
127
Member Avatar for pipimalot

Hi, i want to create a website has a feature that when everyone has a Yahoo IM (login already) comes to my website, this feature know that and show their avatar in location i named it. How can i do to make it come true? plz help me. Thank you …

Member Avatar for pipimalot
0
99
Member Avatar for nedwards

I was wondering by using the Visual Studios 2005 and Windows XP could you write code in C# and add some other code in C++? What is happening is that I am updating this program that was previously made in C# and I need to add some security functionality, although …

Member Avatar for nedwards
0
140
Member Avatar for 4zlimit

I have been trying for two days to figure out how to use a loop in my program. It is the ever dreaded payroll program. I can't seem to get the program to start over once the program goes through each question. Can anyone point me in the right direction …

Member Avatar for 4zlimit
0
146
Member Avatar for akphilli

I'm trying to create a database for an operator to choose values from a dropdown list. However, the source of these values are calculated (in a different query) in different columns (long story). I need to be able to choose any single value from multiple columns. I have tried to …

Member Avatar for DenisOxon
0
95
Member Avatar for sundar divas
Member Avatar for Racoon200

Hi. Iam making a calculator with javascript. I want it to have a textarea(content id) and a textbox for results to be displayed (display id) [code] function calculate() { var contentBox = document.getElementById('content'); var displayScreen = document.getElementById('display'); // sorry that's all i have } [/code] Thanks

Member Avatar for MidiMagic
0
183
Member Avatar for DavidB

I am presently translating some code from C++ to Javascript and it involves quite a few floating point calculations. The program uses several built-in machine constants to help it quantify and limit computer round-off error. For example, it includes the constants DBL_MIN and DBL_EPSILON from the <cfloat> library within C++. …

Member Avatar for MidiMagic
0
166
Member Avatar for sonu1

[COLOR=red]Hi frins[/COLOR]...i have done file uploading on client side but can any one just help me out with [COLOR=red]uploading file on server side[/COLOR]......[COLOR=red]Please [/COLOR]my deadline for project submission is approaching....I dont want it done using applet.

Member Avatar for jwenting
0
288
Member Avatar for CodeMasterFlex

I'm trying to write a Btree remove method in JAVA I'm having trouble combining my nodes and then recursing up through the parent does anyone know where I can get some info about this online?

Member Avatar for jwenting
0
228
Member Avatar for devesh9392

#!/perl/bin/perl -w print "Content-type: text/html\n\n"; use WWW::Mechanize; my $mech = WWW::Mechanize->new( ); $mech->agent_alias("Windows Mozilla"); use LWP::Simple; use HTML::TableContentParser; $mech->get("http://google.com/"); my $filename = "admin.htm"; [COLOR=red]print $mech->content;[/COLOR] print "done..............."; [I]$mech->save_content($filename); [/I] die "cud not save ",$mech->response->status_line unless $mech->success; print "done..............."; here is part of my perl script. the problem is, i am …

Member Avatar for devesh9392
0
698
Member Avatar for timd

I kept getting 500 Internal Server Errors when trying to set up one of my Perl scripts, so I decided to test a simple "Hello World!" script. It produced the same error: [FONT=Courier New]Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your …

Member Avatar for KevinADC
0
241
Member Avatar for cguan_77

[B]Hi,[/B] [B]Can anyone help me, how to determine selected control from an array of listbox? Anyhelp is greatly appreciated. Thanks.[/B] [B]cguan[/B]

Member Avatar for cguan_77
0
105
Member Avatar for fahima.s

I want to write a server side application for Pocket PC. I wrote it in eVC++ by deriving a class from CCeSocket. But i couldnt accept a connection. How to do socket pgming in PocketPC. My aim is to send messages to pocket pc from desktop application when an event …

Member Avatar for jbennet
0
38
Member Avatar for sundar divas

Program received signal SIGSEGV, Segmentation fault. 0xff2209e8 in _write () from /usr/lib/libc.so.1 (gdb) up #1 0xff212bf4 in _xflsbuf () from /usr/lib/libc.so.1 (gdb) up #2 0xff21000c in _flsbuf () from /usr/lib/libc.so.1 (gdb) up #3 0x00000037 in ?? () (gdb) up #4 0x00000037 in ?? () (gdb) up Previous frame identical to …

Member Avatar for vijayan121
0
105
Member Avatar for Barefootsanders

Hey everyone. I'm trying to get a dataset to a page from a web service and im having problems. I have been using the MS page here: [URL]http://support.microsoft.com/kb/310143[/URL] and copied it exactly(o so i thought). And for some reason my datagrid (DataGrid1 in my program) is not being populated and …

Member Avatar for Barefootsanders
0
107
Member Avatar for castegna

I need to do a non-recursive function for count the leafs in a tree. I have the recursive algorithm, Can someone help me to figure this out!! count leafs int count_Lnodes(root, int cnt) { if (root != NULL) { cnt = count_Lnodes(root->left, cnt); cnt = count_Lnodes(root->right, cnt); if (root->left == …

Member Avatar for Narue
0
127
Member Avatar for Covinus

warning C4273: 'fileHandle::fileHandle' : inconsistent dll linkage. dllexport assumed. what does this warning mean? during debug i dont get this message but during release i have this one. can anyone explain the message to me and maybe give some remedy to it

Member Avatar for Ancient Dragon
0
486
Member Avatar for gavy

i started the application to build upon and came to an error, i tried to figure it out but through different procedure here is what i am calling: print ("<tr><td><a href=morder.php"); print ("?p_id="); print($row['id']); print(">"); print($row['p_name']); print("</a></td>"); it is calling the id from database, the link shows properly the values …

Member Avatar for jigendaisuke
0
124
Member Avatar for Puckdropper

I had a bit of a problem with my PHP coding tonight, and after playing 3 hours of Wii and heading back to the computer, I figured out the problem. (Newbies: This is a sound troubleshooting technique. Not necessarily playing Wii, but doing something totally different.) I've got a question …

Member Avatar for jbennet
0
119

The End.