64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for vikaschndr

Hi, I have created a windows service in Visual studio 2005 C++, which will encrypt a file and send it to a server using socket. For this I am using OpenSSL, I am running in to following issues 1) I could not find the library method of OpenSSL which can …

Member Avatar for vikaschndr
0
169
Member Avatar for bhanu1225

Hello All. I created a login form, which has two fields named "USER ID " & "PASSWORD". Here, i took 8 character length for USER ID field. I would like to take "THE" as first three characters as constant in USER ID field. So, is it possible to do it? …

Member Avatar for bhanu1225
0
77
Member Avatar for nalasimbha

Hi, I am trying to extract data from a text file into an array or even a vector. The example data in the file "data.txt" is in the following manner Home number = 123456 Mobile number = 789012 Office number = 567987 Balance = 46.56 ... ... ... I want …

Member Avatar for Lerner
0
240
Member Avatar for cguan_77

hi, can anyone help to explain this code.. or is their an equivalent vbscript for this code? please help...don't know about javascript.. thanks in advance.. [code] if(arguments.length == 3){ var result = "<" + arguments[1] + ">"; for (var i = 0; i < arguments[2].length; i++){ result += "<li>" + …

Member Avatar for essential
0
131
Member Avatar for wavefront

Hello, I am new both to here and to Python. This is my first attempt at writing an actual code in Python 3; I've run into a problem with my class declaration, however. It may be a glaringly obvious problem, but it's not to me, so hopefully someone might spot …

Member Avatar for wavefront
0
138
Member Avatar for miskeen

Hi guys, Is there any special method in c++ called get and which doesn't require instantiation? I'm investigating a c++ code and a found this method ((!h264Decoder.get() || !params.get() || !in.get() || !out.get() || !splitter.get() || (!color && !No_CC_Flag))) When i tried to find this method, I couldn't find it. …

Member Avatar for miskeen
0
95
Member Avatar for Deme

Well, once again, hello. I'm trying to figure out why when i use 2 cin.getlines after eachother it skips one of them and I cant use it. Take a look if you will: [CODE] void Join() { char* Username = new char[255]; char* Password = new char[255]; ofstream DataBase("DataBase.txt", ios::app); …

Member Avatar for Deme
0
212
Member Avatar for Lukezzz

How would it be possible to disable the closebutton(X) in the upper right corner of the form. I dont want to use this property because it takes the minimize and maximize button away also. [code] ControlBox = false; [/code] The only thing I will need on the form is the …

Member Avatar for Lukezzz
0
295
Member Avatar for DevC++4.9.9.2

I am trying to read a line from the command prompt and output that line to a text box in my C# application. The only catch is i can't seem to get it to read a line at a time and display it in the text box as the command …

Member Avatar for DevC++4.9.9.2
0
1K
Member Avatar for grisha83

Hello, I am working on the problem. Here is the wording: 6) Specify, design and implement a class that can store an array of integer. The number of Maximum element can be 100. Write methods to : a. Add an integer at the beginning of the array b. Add an …

Member Avatar for hardik.rajani
0
372
Member Avatar for debuggger

I have just recently begun programming, and am learning Pascal as my first language. In my class, the teacher doesn't have huge amounts of time, so I thought I would research this online. Converting arabic (normal) numbers to roman numerals is a part of a project that we are working …

Member Avatar for FlamingClaw
0
1K
Member Avatar for CommanderOne

Hey, Kinda new to this, and trying to assemble some simple code, but I'm having a couple of issues that I hoped someone would be able to help me out with. 1) I would like to be able to remove duplicates from a submitted sentence, leaving only the first occurance …

Member Avatar for woooee
0
137
Member Avatar for angelic_devil

i have listbox 1 which displays status , based on selection of status listbox 2 displays usernames. and based on username selected the textbox displays the email id. its working fine till displaying user names in listbox 2 based on selected of status in listbox. but its not displaying the …

Member Avatar for angelic_devil
0
104
Member Avatar for grisha83

Hello, I was reading a book and it says that when we want to add new Node that is not in the Head we have make a selection i.e. selection.addNodAfter(element), before we initiate our method. The question is where do i have to do this "selection"? in my main or …

Member Avatar for BestJewSinceJC
0
123
Member Avatar for shazzy99

Hi, I've wrote a small application which browse a folder and rename the files within that foldrer. However if the folder more then 500 files then the app tends to take a while to process. I somehow or the other needs to show some sort of text displaying "processing..." or …

Member Avatar for shazzy99
0
120
Member Avatar for anga08628

//Write a function: int max(int list[], int n) that recursively finds the largest integer between list[0] and list[n]. Assume at least one element in the list. Test it with a main program that takes as input an integer count followed by that many values. Output the original values followed by …

Member Avatar for payara111
0
171
Member Avatar for newcook88

How do i sort a vector based on the frequency of its elements example my vector contains 10,11,12,10,11,13,11 i need to get the sorted out put as 11,11,11,10,10,12,13 the normal sort is sort(vec.begin(), vec.end()); how do i sort it in that way

Member Avatar for newcook88
0
163
Member Avatar for Aamit

Hi, I want to Compare & count elements in array?? suppose in my array $arr={140,123,34,140,23,123,140,140,123} I want to display like 140 - 4 ( comes in array 4 times) 123 - 3 34 - 1 23 -1 How to do this??

Member Avatar for BzzBee
0
110
Member Avatar for Poojasrivastava

hi , actually i am developing a web application in asp.net using c#. i have come across a requirement to read a excel file without going to the server . i need to use javascript for the same. so i need help on javascript function to read from excel file. …

0
114
Member Avatar for bharanidharanit

hello, I am using visual web developer 2008. Here i want to use two menu which gets data from sitemap. In First SiteMap,I am having Home,Friends,Profiles and it is showing correctly in the first Menu. But in the second SiteMap i am having Social,Contact,General and when i try to choose …

Member Avatar for bharanidharanit
0
277
Member Avatar for osirion666

Okay heres the problem i have stored Phone numbers from a check box into an array i want to replace #NUMBERS# in the String URL with a value from the array numbers[] example : number[1] = 0000 Before: url:[url]http://www.sendmessgae.com/send?#NUMBERS[/url] After: url:[url]http://www.sendmessgae.com/send?0000[/url] [code] String url = "http://www.sendmessgae.com/send?#NUMBERS" for (int i = …

Member Avatar for hardik.rajani
0
139
Member Avatar for veledrom

Hi, I get an error when i try to echo my cookie. [inlinecode]Notice: unserialize() [function.unserialize]: Error at offset 0 of 12 bytes in...[/inlinecode] I cannot find a solution. Help please. Thanks [code] class MyCookie { public function __construct($cookieName, $sessionId) { if(! isset($_COOKIE[$cookieName])) { $cookieValue["SESSION"] = $sessionId; setcookie($cookieName, $cookieValue, time()+60*60*24*7); } …

Member Avatar for veledrom
0
62
Member Avatar for Dannyo329

Hey, Im trying to get the user to type in a file name, and then the program will copy the file to some where else like C:\ or USB or something. So far this is what I've come up with: [CODE] #include <iostream> #include <windows.h> #include <stdlib.h> #include <conio.h> #include …

Member Avatar for Dannyo329
0
137
Member Avatar for davewylie

Does anyone have any ideas on how to change how submit buttons can be changed from the default? I think it is a real shortcoming of HTML that onmouseup and onmousedown etc are not permitted with <input type='submit'.... I just feel there must be some clever way using javascript or …

Member Avatar for somedude3488
0
163
Member Avatar for sachintha81

First I created a Login to SQL Server using a T-SQL command from within C#. This is the query I used. [code] CREATE LOGIN NT AUTHORITY\NETWORK SERVICE FROM WINDOWS WITH DEFAULT_DATABASE="MyDB"; [/code] Here, NT AUTHORITY\NETWORK SERVICE is the name of the Login I created and MyDB is the DataBase I …

Member Avatar for sachintha81
0
393
Member Avatar for suresure88

Hi, I'm currently doing on a project, frankly speaking i'm new in javascript only know the basics. I'm not even sure whether this thread is suppose to be here or under html.. I'm suppose to create some codes that enable a html page to load to the next html page …

Member Avatar for suresure88
0
164
Member Avatar for freddiecool

Hi, i made a calendar program but now i need to import- export my events with iCal/vCal, any ideas on how to go about. I cant find any tutorial or documentation on it

Member Avatar for Ezzaral
0
214
Member Avatar for Lukezzz

I have a backgroundworker that is running. The problems comes when you press the closebutton on the form in the upper right corner. This makes the form stuck completely. The problem is that the Worker doesnĀ“t get a chance to finish and return the backgroundWorker1_RunWorkerCompleted event. How can I come …

Member Avatar for Lukezzz
0
111
Member Avatar for number87

I am doing a game and I need to reset the graphics back to its original picture once a new game begins, however when I click the new game button, everything else resets but the graphics do not even though I called repaint. I have included the code for my …

Member Avatar for BestJewSinceJC
0
2K
Member Avatar for 3beer

hey, we r asked to do a student data base using c++ and I'm having problem in appending in the file without redundancy in my code i'm dealing with strings is it possible to append on the string without creating a new one or i should chose another data type …

Member Avatar for 3beer
0
104
Member Avatar for gabec94

hi! i have written a program that takes a random number from 0-999, 10000 times. I have the program calculating how many times each number comes up randomly, and finds the mode. But my program doesn't include how to find multiple largest numbers, ex. 2 and 4 each come up …

Member Avatar for gabec94
0
248
Member Avatar for chandradyani

dear all, I would like to know how to structure and SQL query to query between months ranges Something along the lines of: SELECT * FROM table WHERE datetime BETWEEN xx/xx/xx AND xx/xx/xx I have a table with the following date field entry named datetime: 07-05-2009 Which I am assuming …

Member Avatar for almostbob
0
114
Member Avatar for pyramid

I have been working on this lab for a couple of days. I need to write a program (using a 'for loop') that approximates pi using the following series: pi = sqrt(6* (1/(1)2 + 1/(2)2 + 1/(3)2+ 1/(4)2 + 1/(5)2 +...... + 1/(n)2)) where n is the number of terms. …

Member Avatar for Nick Evan
0
294
Member Avatar for bharanidharanit

Hello, I am using visual web developer 2008 I am trying to display an image in a table with a master page. But my image is being displayed during designtime but not displayed during run time. I used the coding below. [CODE] <form id="form1" runat="server"> <div> <table style="width: 100%; height: …

Member Avatar for mrGee
0
99
Member Avatar for winrawr

I've been able to design a front-end for a C DLL, calling the DLL functions from the VB program but I'm having trouble calling the VB functions from the C DLL. Maybe I should have put this in the C forum, but I don't know. If I have this in …

Member Avatar for winrawr
0
243
Member Avatar for Considerate
Member Avatar for BzzBee

i have a function like i have quote issue with the function. I have to use this object in javascript code due to some reasons i cant use double quotes two times. i have to use single quotes around parameter as well. what should i do. please suggest. [CODE] <script …

Member Avatar for BzzBee
0
71
Member Avatar for TaubBaer

I had been creating 5 files and I kept hitting the wall. Hope that you will be able to help me pinpoint the problems. (I am not an programmer by the way.) I had been researching for more details on those problems, no luck. Enclosed are 5 files that I …

Member Avatar for TaubBaer
0
558
Member Avatar for Kusno

Dear all, How do I change primary key field from query because if I use VS Designer, raised an error about [B]time expired[/B] ? I want to extend my FK field length. Thanks

Member Avatar for Kusno
0
131
Member Avatar for Bhoot

In my client-server architecture, the cilent-side application would send specific messages to the server-side application. How should i handle those messages? Previously, in a small project, i had just passed the received message to a method where it would process the message through a switch case structure. However, this doesnt …

Member Avatar for Bhoot
0
138
Member Avatar for millsy007

I have a product image that is 4 images 'sewn together' [url]http://www.flickr.com/photos/28033561@N03/3504394261/[/url] I am going to set a div called ProductImage and then have the background of the div set to this image, but with only the top image showing. I then want to have a button for 'more views' …

Member Avatar for millsy007
0
193
Member Avatar for learnerasp

Hi There, I need help badly on the div tags. I dont have much knowledge on div tags I have a div tag in my code and it should be show when there is an inactivity. Its working fine, until today I found a bug. When I scroll my browser …

Member Avatar for billymcguffin
0
119
Member Avatar for Lukezzz

I have a problem when it comes to cancel a backgroundworker from working. I start the backgroundworker successfully and the worker supports cancellation is set to true. What I do is to use a button that both can run the backgroundworker and next time you press the same button, it …

Member Avatar for Lukezzz
0
115
Member Avatar for Akis2000

hi.. ok here is my problem i want to make a fuction that ask from the user which series he/she wants to use and the precision (number of digits, up to 10). If after 10000 iterations the series doesn't find the value of p, it should display an error message. …

Member Avatar for Akis2000
0
351
Member Avatar for Dewey1040

i dont understand why this isnt working ill post the code thats relevent for some reason no matter what numbers i enter it will just print out that the complex number is 0.00000... idk how to fix it heres the main function [code=C] #include <stdio.h> #include "globals.h" #include "complex.h" int …

Member Avatar for jephthah
0
174
Member Avatar for jbisono

Hi, Im new here, im sorry if i am posting in a wrong forum, i have a piece of code that update a binary field in sql server 2000, im keeping this code a simple as possible, so this is working but only save the first character in the string …

Member Avatar for jbisono
0
282
Member Avatar for KirkPatrick

I have been having a little trouble getting my program to output the results I am wanting. At first I was having trouble with a cast exception at this line: [code]out = (ParseResult[]) ipHostsFound.toArray();[/code] The cast exception was: [code][Ljava.lang.Object; cannot be cast to [Lfilelocation.struct.ParseResult;[/code] So I ended up changing it …

Member Avatar for BestJewSinceJC
0
92
Member Avatar for Lukezzz

I use this random generator for numbers but it seems that this generator isnĀ“t really random because it seems to generate the same "Random" sequence chain every time I restart the application. Is there a better way to generate random numbers than this, that is more random ? [code] for( …

Member Avatar for Lukezzz
0
225
Member Avatar for genieuk

Hi, I am trying to display the users email address when they login to there account on there profile page.. I have successfully done this for there username as i use $_COOKIE to display the users name with the DB. Problem is i am not sure how to do it …

Member Avatar for genieuk
0
123
Member Avatar for meistrizy

Thanks in advance for your help. My code is doing some weird things and I can't figure out why. The purpose of my program is to have the user input any number and get the day of the week, month, day, and year and if that year is a leap …

Member Avatar for meistrizy
0
128

The End.