199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Frederick2

This is one mean function! I've tried everything I can think of. I registered a type library with LoadTypeLibEx() which is a really easy function to use. I mistakingly thought UnregisterTypeLib() would be routine. Its most decidedly not! The error I keep getting with FormatMessage() is... Error accessing the OLE …

Member Avatar for Frederick2
0
514
Member Avatar for trippinz

I have almost finished my project and i am stuck on one part of the code, an error comes up saying "embedded statement cannot be a declaration or labled statement" I dont know what that means (the error part of the code is coloured red in the code section underneathe) …

Member Avatar for trippinz
0
291
Member Avatar for michelleradu

Hi all I'm trying to built a function which will check if a given url and linktext exists on another given webpage. This is what I've done so far using regular expressions: [CODE] function islinking($linkurl,$linktext,$clienturl) { $curl = curl_init($linkurl); curl_setopt($curl, CURLOPT_HEADER, 0); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); $file = curl_exec($curl); curl_close($curl); $s=0; …

Member Avatar for michelleradu
0
107
Member Avatar for flashkarni

hello, i'm having trouble printing arrays to file. each time i run this code, i get only two results max. if the array has 2 genres, i get them but no languages. if the array has 1 genre i get it and only 1 language. if the array has more …

Member Avatar for d5e5
0
131
Member Avatar for italian

Hi folks, this might come off as a silly question but here it is. If I have this code: [CODE]class CtrTest { public: CtrTest() { cout << "Ctr" << endl; } CtrTest(const CtrTest&) { cout << "Cp Ctr" << endl; } }; class Wrap { CtrTest test; public: const CtrTest& …

Member Avatar for mattjbond
0
1K
Member Avatar for Talguy

Can I use libxml++ to parse html. I'm trying to find all the images in a xml file and store the image data directly into the src attribute of the web page. I know there is a bit of a difference between html and xml that's why I am asking …

Member Avatar for Talguy
0
474
Member Avatar for Gribouillis

I'm looking for C++ libraries to manipulate real and/or rational polynomials. Does someone know such a library ?

0
136
Member Avatar for venkat arun

Hello, I have made a program in C++ for which I am making the GUI in C#. I want to run the C++ program as a process from C#. The program loads and runs fine, but due to some reason it is not able to access the files. When I …

Member Avatar for venkat arun
0
303
Member Avatar for egoleo

I have checkboxes with an amount as values. Can someone help on how to fine the total of checkbox values and sent to an email using php?

Member Avatar for joshisumitnet
0
4K
Member Avatar for honohanf

Hey I'm trying to create a simple Vigenere cipher table like this in Java... [url]http://cairnarvon.rotahall.org/pics/tabularecta.png[/url] I'm doing it for fun but have literally been staring at this code for days now without any brainwaves! If this isn't the right forum, let me know, if you can figure out why the …

Member Avatar for sneaker
0
1K
Member Avatar for minimagician

Hi, the problem is that: I have a text file with some lines of text in it. I have to search for a particular line in the file and then copy the lines after the searched line into another text file. This search string comes only once in the text …

Member Avatar for rohini.vangury
0
7K
Member Avatar for stuckcomputer

I have created the append query in access and have my new data to append to the access table. I have 1500 rows but every time I go to append, it says its about to append 4881 rows. I have deleted the rows several times but it still keeps appending …

Member Avatar for vb5prgrmr
0
92
Member Avatar for JasonAChurchill

I am receiving the following error message on my home page: Parse error: syntax error, unexpected T_VARIABLE in /home/prospec7/public_html/index.php on line 1 And the following code -- I apologize for it being tough to read, but I am a complete novice and this is how it shows up in my …

Member Avatar for webexpertzhere
0
161
Member Avatar for Rageagainst20

Hello, I am trying to get a response from a URL using the following method [CODE]public void IsUrlReachable() { HttpWebRequest webRequest; WebResponse webResponse = null; //Need to assign this as null otherwise it does not compile try { webRequest = WebRequest.Create("http://[myurl].asmx"); webRequest.Method = "GET"; webRequest.KeepAlive = false; webResponse = webRequest.GetResponse(); …

Member Avatar for Rageagainst20
0
168
Member Avatar for weeldiin

hi, i was designing comment page on php the when i press post button it shows fatal error: like this Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 8192 bytes) in C:\Program Files\VertrigoServ\www\pro\post.php on line 1 please help thanks.

Member Avatar for basantxbs
0
70
Member Avatar for abhay_tanu

Hi I want to return a value from shell script to java code? That value may be a file name or any string. Is it possible? If yes, then how to do it? Can I get any steps or API's for that. Thanks Abhay

Member Avatar for abhay_tanu
0
394
Member Avatar for Dimansu

Hi I have a user control which has 1 textbox and a Save button.If a user type some text in the textbox and forgets to save and moves to another tab,I want to show a dialog result.If the user selects yes then the user will move to another tab.But if …

Member Avatar for Geekitygeek
0
121
Member Avatar for hitesh bhatt

i have a data grid view in windows form. i have diplay data from data base when i selected date. there is different data on different date. now i want that i show one data in single row and related data will sown from next rows.

Member Avatar for Geekitygeek
0
84
Member Avatar for Xufyan

I want to calculate remainder of all the values inside nested loop with all the numbers inside the loop. for example when [icode] a=1 , b=1, c=remainder a=2, b=1, c=remainder a=3, b=1, c=remainder a=1, b=2, c=remainder a=2, b=2, c=remainder a=3, b=2, c=remainder a=1, b=3, c=remainder a=2, b=3, c=remainder a=3, b=3, …

Member Avatar for Xufyan
0
167
Member Avatar for Dimansu

Hi, In my DialogResult form which pops out when the user want to delete something ,the close button is shown disabled(cant click on it).How can i enable it? thnx in advance

Member Avatar for Renukavani
0
85
Member Avatar for Dimansu

Hi I want the user to only type letters (a-z simple or capital) in the Name textbox.If the user types any other character(like numbers or commas,semicolons) I want to show a message.How can I check for it(in C#)? Thnx in Advance

Member Avatar for Dimansu
0
87
Member Avatar for abu taher

I want to make a help file. but I want to do it without vb tools. I want to make it, use another tools. can any body tell me any software to make this kind of help file.

Member Avatar for kinwang2009
0
59
Member Avatar for Sarama2030

Hi guys I'm developing this system for a cybercafe that will be used for costing and stuff. I've got it all figured out only that I'm not used to client-server architectures- okay I've read about it but I've never applied it. The system is in vb6. could please help me …

Member Avatar for kinwang2009
0
102
Member Avatar for yapkm01

I have a Computer Science degree (long2 time ago) .. I do know Java OOP but i am now trying to pick up C++. I do have C and of course data structure using C or pascal. I have started reading Bjarne Stroustrup book (The C++ Programming Language - Special …

Member Avatar for mattjbond
0
159
Member Avatar for xxmp

i am trying to find what is wrong with that but i can't find it [CODE] function check_form(formid) { var field=document.getElementById(formid); var wrongs=0; document.write("lol"); document.write(field.length); for (i=0;i<field.length;i++) { k=field[i]; temp=k.name; document.write(temp); if (temp.indexOf('email')==0) { document.write("lalala email"); if (check_mail(formid,temp)==true) { wrongs++; document.write(temp); } } else { if (temp.indexOf('til')==0) { document.write("lalala til"); …

Member Avatar for pritaeas
0
57
Member Avatar for fabzster

Hi I have a query which i run to give me the monthly amount of money that needs to get loaded to our consultants cards. Our system has changed and I need to get the same data but differently The query needs to join three tables consultants,voucher,gift_cards. The only difficulty …

0
100
Member Avatar for Smitty83

I've never used Haskell before and I'm struggling with the IO side of things. The code I'm writing, yes, is for a Uni assignment, and for that reason I'm not putting my whole code on here in case I get complained at for one of the many plagiarism clauses... so …

Member Avatar for Rashakil Fol
0
133
Member Avatar for simplyflawless

hey guys, i have to do this program and i'm having trouble with prompting 2 things outside the loop. Write a program that lets the user enter the loan amount and loan period in number of years and displays the monthly and total payments for each interest rate starting from …

Member Avatar for javaAddict
0
197
Member Avatar for P.manidas

Dear Sir/Madam, How to measure memory consumption of a VB 6.0's programe? As a programmer in vb. 6.0, where i have to be conscious for getting less consumption of memory of my program at design time? Is there any free software to measure memory consumption of a programe? Please guide …

Member Avatar for P.manidas
0
265
Member Avatar for Xufyan

alphabet from lower to upper , using ascii what logic should be use to convert small letters into capital using ascii codes?? for example ascci code for A is 65 and ascii code for a is 97 how can i coonvert from integers to character ?

Member Avatar for Xufyan
0
211
Member Avatar for vishalkbhatt

Hi all.. i have a program to count LOC i.e. Line of code of a source file of any C++ program. The LOC shud not contain the comments count and also the blank lines. Now i m able to count to total lines of the program but the comments and …

Member Avatar for vishalkbhatt
0
130
Member Avatar for shubhamshah

Hey Guys! , Im having a bit of a problem here. I need to add a certain string in this case ([B][COLOR="Red"]'[/COLOR][/B]) infront of every item in my listbox. So lets say items are : item1 item2 item3 item4 After i execute a code i want it to be item1' …

Member Avatar for Oxiegen
0
110
Member Avatar for nrsh_ram

hi to all.... actually i m facing a problem..i had convert the vb to c# code using [url]http://www.carlosag.net/Tools/CodeTranslator/[/url] wen i try run it ..i get the error... here i copied the small part of VB code...that i face the error [CODE] Private Sub GenerateImage() ' Create a Bitmap Object Dim …

Member Avatar for Renukavani
0
124
Member Avatar for pranay_agg

hi, i have a string like string s = "1234" and i want separately the integers 1 ,2 ,3 4 as integers , so how do i do it? i tried using atoi as follows : [CODE]char * ss[10]; ss = atoi(s.c_str()); int x = ss[0];[/CODE] for getting 1 but …

Member Avatar for kunal kislay
0
135
Member Avatar for regalla

hai please any body can give me code how to insert one row in already prepared table in ms access

Member Avatar for jhai_salvador
0
104
Member Avatar for sam023

is there any to export data from mysql to excelsheet through PHP.. Thanks in advance..!! :D

Member Avatar for prem2
0
104
Member Avatar for hondros

Okay, as the name implies, I would like to change an integer (ascii code number), such as 65, to a string, '65', then back to integer, 65. Now, the reason for doing so, is because I'm working with ascii code, and want to return a string of a fixed length. …

Member Avatar for venkat arun
0
410
Member Avatar for gabz16

Hi Programmers, Please help me in my project constructing a Phonebook program in c using linked lists with add,search,view and delete function.

Member Avatar for gabz16
0
2K
Member Avatar for tquiva

I am trying to create a program to read a series of input characters representing grades (e.g., an 'a' or 'A' represents an A, a 'b' or 'B' represents a 'B', and so on) and prints the counts of each grade. [CODE]/* A program to count the number of grades …

Member Avatar for WaltP
0
122
Member Avatar for gnarlyskim

I'm working on a project for my first use of classes and OOP. I've read all our slides (only provided examples though) and two tutorials on classes, but I confused about a few things. I'll show first the assignment then I'll post my specific questions after. [QUOTE]You will need to …

Member Avatar for gnarlyskim
0
141
Member Avatar for assaf

Hi I'm trying to create tag pages based on one php page that will be re-written to the tag/[tag].html I'm not a programmer so my question is pretty basic. What I have done until now is to create the tagdetail.php and a call to the tag pages that have this …

0
84
Member Avatar for chrisb76

I am in a class and am trying to get this project done. I get the code to compile but it is giving me a out of bounds error. Here is the assignment. Write the program in Java (without a graphical user interface) and have it calculate the payment amount …

Member Avatar for BestJewSinceJC
0
294
Member Avatar for cloud09

I need a script that takes cropped image coordinates and dimensions from javascript cropper and crops the image. I know about the copyimage function, and have tried unsuccessfully to implement it. If anyone has tutorial that lays out how to use it or has a script that crop and saves …

Member Avatar for cwarn23
0
123
Member Avatar for lionaneesh

Exercise 1-11. How would you test the word count program? What kinds of input are most likely to uncover bugs if there are any? Exercise 1-12. Write a program that prints its input one word per line. help me wid these questions temme the source code and the logic and …

Member Avatar for Aia
0
181
Member Avatar for jozz3

Hello I'm writing a python program and need some help. Firstly, is there anyway to include variables in an input prompt? For eg. [variable1 = 4 variable 2= 3 variable= raw_input("Please enter a number between", variable 1, "and", variable2) ] Also, if data is being appended to the end of …

Member Avatar for jozz3
0
114
Member Avatar for nickewus24

I am having a hard time with a question from this week's assignment. I am supposed to write pseudo-code for an everyday task, which I will write below: Design Main Module Call Open Door Module Call Ignition Module Call Reverse Module Call Pull Out Module End Main Module Open Door …

Member Avatar for nickewus24
0
147
Member Avatar for shetnok13

I'm a First year IT student and I'm having a problem with my vending machine program.. I can't subtract the cost from the input of the user.. can anyone help me with this simple problem?.. [CODE]#include<stdio.h> #include<conio.h> struct vendingmachine { int x,y; float cost; double change; char nikz; }; main() …

Member Avatar for Aia
0
179
Member Avatar for toko

Okay, i have 2 objects in my form: a label with a picture and a picturebox with a picture. The background of my form has another picture. What i want to happen: 1.I press the label,the picture of the label is on top with the bakground of the picture in …

Member Avatar for toko
0
93
Member Avatar for whoadiz

hey guys.. basically i'm writing a program that will let the user enter an int and the program will insert that that value in to a double-link-list(dll) along with calculating the sqr root value of it in that same node and it's inserted to the node by increasing int value …

Member Avatar for sid78669
0
110
Member Avatar for ryan1987

after my form has been submitted I want it to remember the option that has been chosen from the drop down list. I now you use SELECTED but not sure how to get it into my code. this is how my dropdown list is built: [code] while ($row=mysql_fetch_array($result)) { $name=$row["name"]; …

Member Avatar for daryll1
0
117

The End.