199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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) … | |
![]() | 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; … ![]() |
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 … | |
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& … | |
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 … | |
I'm looking for C++ libraries to manipulate real and/or rational polynomials. Does someone know such a library ? | |
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 … | |
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? | |
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 … | |
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 … | |
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 … | |
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 … | |
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(); … | |
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. | |
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 | |
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 … | |
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. | |
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, … | |
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 | |
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 | |
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. | |
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 … | |
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 … | |
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"); … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 ? | |
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 … | |
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' … | |
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 … | |
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 … | |
hai please any body can give me code how to insert one row in already prepared table in ms access | |
is there any to export data from mysql to excelsheet through PHP.. Thanks in advance..!! :D | |
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. … | |
Hi Programmers, Please help me in my project constructing a Phonebook program in c using linked lists with add,search,view and delete function. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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() … | |
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 … | |
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 … | |
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"]; … |
The End.