132,726 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 …

Software Development api c++ operating-system windows-api
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) …

Software Development
Member Avatar for trippinz
0
291
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 …

Software Development perl
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& …

Software Development c++ seo
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 …

Software Development c++ html-css xml
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 ?

Software Development c++
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 …

Software Development c# c++ gui
Member Avatar for venkat arun
0
303
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 …

Software Development java
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 …

Software Development file-system python
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 …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
92
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(); …

Software Development http-protocol visual-studio
Member Avatar for Rageagainst20
0
168
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

Software Development api java
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 …

Software Development
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.

Software Development
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, …

Software Development c
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

Software Development
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

Software Development
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.

Software Development visual-basic
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 …

Software Development client-server visual-basic
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 …

Software Development c++ data-science data-structure oop pascal
Member Avatar for mattjbond
0
159
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 …

Software Development
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 …

Software Development java java-swing
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 …

Software Development motherboards-cpu-ram visual-basic
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 ?

Software Development c
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 …

Software Development c++
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' …

Software Development vb.net
Member Avatar for Oxiegen
0
110
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 …

Software Development c++
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

Software Development visual-basic
Member Avatar for jhai_salvador
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. …

Software Development c c# c++
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.

Software Development c linked-list
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 …

Software Development c
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 …

Software Development c++ oop
Member Avatar for gnarlyskim
0
141
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 …

Software Development java user-interface
Member Avatar for BestJewSinceJC
0
294
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 …

Software Development c
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 …

Software Development python
Member Avatar for jozz3
0
114
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() …

Software Development c
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 …

Software Development
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 …

Software Development java
Member Avatar for sid78669
0
110
Member Avatar for ChargrO

hello I was just wondering if anyone knows of a site or someone (or start me off with some code) that could help me with learning about cascade menu's and changing them from a parent into a child, any help would be greatly appreciated. I am making the cascade menu …

Software Development gui python tkinter
Member Avatar for pythonNerd159
0
167
Member Avatar for eshirley

I need to write a program that will output a list of all even numbers between 1-100. It needs to use a while loop then use a for loop. Any one got any help on how to do that?

Software Development java
Member Avatar for eshirley
0
225
Member Avatar for persianprez

For my extra credit, I'm supposed to generate the longest chain from 1-1000000, I wan't to know if it is correct..here is my code: the caller [CODE] start = 1 end = 1000000 longest, chain = -1, -1 #choiceX(start) for i in range((end-start)+1): if choiceX(start) > longest: longest=start chain=choiceX(start) start+=1 …

Software Development python
Member Avatar for persianprez
0
96
Member Avatar for restrictment

Please tell me why this doesn't work: [code] #include<iostream> using namespace std; int main() { char felix[3] = "ho"; if(felix == "ho") cout << felix; } [/code]

Software Development c++
Member Avatar for restrictment
0
173
Member Avatar for NathanOliver

Hey All I am testing myself with making a big number class. Right now I'm just working with integers but I hope to expand it to floats as well. I am using a vector of integers for the container and i have run into a problem with my addition routine. …

Software Development c++
Member Avatar for NathanOliver
0
151
Member Avatar for tarheelfan_08

Ok guys, for my next assignment I have to read from a binary file and then print out my information. I will post the assignment and what I have so far. But my question is, do I create the binary file first in the program or by hand or what?? …

Software Development algorithm c++ file-system ios
Member Avatar for tarheelfan_08
0
3K
Member Avatar for rpowell16

Hey all, I am trying to read in a line from a file. The line will normally contain a string followed a number. Eg/ NumberOfElements 1500 I only require the number. I have been trying to read in the line storing the string as "text" and the number as "numOfInts". …

Software Development c++
Member Avatar for rpowell16
0
102
Member Avatar for leverin4

I understand, vaguely, what a reduce/reduce conflict is, but I don't understand why I'm getting one in my Yacc Parser. Can anyone help me out? [code=yacc]Prog : START StmtSeq END { }; StmtSeq : Stmt StmtSeq { }; StmtSeq : { }; Stmt : Id ASSIGNOP Expr SEMICOLON { *$1 …

Software Development c
Member Avatar for nezachem
0
399
Member Avatar for pythonNerd159

Hey people, i was just wondering if anyone knew the code to make a tkinter button... [CODE]def createExample(self): top=self.winfo_toplevel() top.rowconfigure(0, weight=1) top.columnconfigure(0, weight=1) self.rowconfigure(0, weight=1) self.columnconfigure(0, weight=1) self.Button = Button ( self, text=" Example", font=("Arial", 12), bg="white", fg="magenta", cursor="crosshair") self.Button.grid(row=1, column=0, sticky=N+E+S+W)[/CODE] ...and i wanted to know the code that …

Software Development python tkinter
Member Avatar for pythonNerd159
0
143
Member Avatar for sandyjain

Hi, i am working on Numerical Computation with C.... i have a data file which has two columns separated by a tab in between... it looks like [code] 43.0000000000000 43.0000000000000 42.0000000000023 43.0000000000006 41.0000000000000 43.0000000000056 40.0000000000000 43.1999996948242 [/code] i have written this code which seems to work out smoothly... [code] #include …

Software Development c
Member Avatar for Banfa
0
161
Member Avatar for Jaulm

I am attempting to execute a unix "df -k" command in java. I have the following example.. My question is how do I parse the results of the command in order to grab the available bytes versus just printing it out???? import java.io.*; public class unixcmd { public static void …

Software Development java unix
Member Avatar for Ezzaral
0
599
Member Avatar for Bhoot

I am dealing with multiple monitors in which i required to use EnumDisplayDevices() API. However, the linker gives me following error log (i am using VC++ 6.0) : [CODE]Linking... SourceCode.obj : error LNK2001: unresolved external symbol __imp__EnumDisplayDevicesA@16 Debug/AllianceProject.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe.[/CODE] I tried …

Software Development api c++ windows-api
Member Avatar for pdtx
0
340

The End.