199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for robbied81

I have a simple loginview on a webpage. If a user is logged out they are prompted with a login control. If they do, I have a label in the LoggedInTemplate with no text value. I have programmatically set a text value through the ViewChanged Event. However, when I log …

Member Avatar for Ramesh S
0
129
Member Avatar for willgr

Hello, I am new to C++ but I have built an indexing app over the past 2/3 weeks using C++ Standard Library. This went very smoothly but I now want for the first time to bring in an external library called libcurl. I have attached a Build log which seems …

Member Avatar for Ancient Dragon
0
247
Member Avatar for Smalls

the idea of what i want to do is to display the cpu temperature in a label that will refresh through a timer. i have search several sites including this one that do have the code and how to do it, but then my problem is that several items are …

Member Avatar for Smalls
0
2K
Member Avatar for =OTS=G-Man

Hello, I am witting some software to interact with a mail order manager. Issue is they use a strange date/time format that they store as text in the DB, from what i guessed its YYYYMMDDHHMMSSNNN right now im using this function to get it into C# as a standard date. …

Member Avatar for Geekitygeek
0
359
Member Avatar for dmmckelv

I am new to C++. This is a homework problem. So if anyone gives up their time to help me it is greatly appreciated. I have perfect number program, I can get it to run if all my code is in the main. The assignment requests that I use a …

Member Avatar for Nick Evan
0
1K
Member Avatar for benkyma

I'm trying to connect to the twitter streaming api. At the moment I'm just trying to grab the incoming data stream, keep the connection open and write the data to the console. I can do this easily from a terminal using curl. The following code however runs, throws no errors, …

Member Avatar for VinayRok
0
930
Member Avatar for miskeen

Hi, I wish to put the title of each dropdownlist. For example, if I've numbers in my dropdownlist (one, two, and three) I'd like my dropdownlist to be like this: Numbers ------------ One Two Three Also, I wish to know how to add a title if I bound mu dropdownlist? …

Member Avatar for LaraM
0
772
Member Avatar for bhaskerlee

Hiiiiiiiii Can any one help me to find an idea for my final BTECH project. My project duration is 2 months and I decided to do it in C#.NET. I am preferring windows application......can any one help me............. Thanks in advance..........................

Member Avatar for sknake
0
129
Member Avatar for jralexander137

I was wondering if anyone would care to share any links to information on Linked Lists and Doubly linked lists implementation. Thanks!

Member Avatar for vamsi310
0
99
Member Avatar for Graphix

How do you acces a folder beneath the current folder? The upload script is at: htdocs/mysite/management/upload.php and i want the files to be uploaded at: htdocs/mysite/images/ What should the directory be?

Member Avatar for Graphix
0
116
Member Avatar for jrosh

I want to open a folder when i click a button .. What is the command for that?? plz help... (thing is i jst don't wanna complex thing like file chooser ..jst want to open a paticular folder given by a path.)

Member Avatar for masijade
0
103
Member Avatar for twilitegxa

I was wondering if anyone can help me with this. I want to have a form that the user fills out, then when they submit it, it displays the values on the page in a summary with two buttons: Submit and Cancel. The Submit button directs the user to the …

Member Avatar for twilitegxa
0
108
Member Avatar for tkud

hello, can somebody help me in learning file i/o in c++? i would be very grateful

Member Avatar for dkalita
0
194
Member Avatar for jralexander137

I'm trying to take a string of a number i.e. 123456 of any size and then convert each int in the string to an int to be added to a linked list. I.E. read 1 convert to int then add to linked list, read 2 convert to int then add …

Member Avatar for BestJewSinceJC
0
121
Member Avatar for GibbsJeremyS

So I've been beating my head against a wall for the past few days trying to get this to work. I've tried countless samples from the net and even the MSDN sample. I just can't get it to work, Explorer NEVER seems to call my DLL. I recently created another …

Member Avatar for GibbsJeremyS
0
146
Member Avatar for helloshurite

i want a travel management system which has following details: ABC ltd. is a travel agency provides the services of reservation and cancellation of tickets for buses, trains and airlines. They require a travel management system to store the information regarding reservations and cancellations done by the passengers through them …

Member Avatar for abu taher
0
78
Member Avatar for scantraXx-

Hey guys. These functions are not working together correctly because of the true/false statements. Can someone please show me how I can fix the empty() function to work simultaneously with my other function provided? :S My getSmallest() function will not return the value due to the empty() function.. [code] bool …

Member Avatar for dkalita
0
122
Member Avatar for Der_sed

Ok I need help on this Freshman year project-( so it should involve loops, arrays/strings,fstreams and functions only) A CSV file contains airport info: [QUOTE]ABZ,"Dyce","Aberdeen","Scotland, United Kingdom","GB",57.200000,-2.200000,493,\N,"Aberdeen",2657832,2638360 EDI,"Turnhouse","Edinburgh","Scotland, United Kingdom","GB",55.950000,-3.350000,493,\N,"Edinburgh",2650225,2638360 BXE,"Bakel","Bakel","Senegal","SN",14.916667,-12.908333,569,"Senegal",\N,\N,2245662 MFV,"Accomack County","Melfa","United States","US",13.633333,39.133333,67,"Verenigde Staten",\N,\N,6252001 ADK,"Adak Island Ns","Adak Island","United States","US",51.878056,-176.646111,67,"Verenigde Staten",\N,\N,6252001 LIT,"Adams Field Airport","Little Rock, AR","United States","US",34.729444,-92.224444,67,"Verenigde Staten",\N,5035199,6252001 ADS,"Addison Airport","Dallas","United …

Member Avatar for vmanes
0
114
Member Avatar for khaos64

Ok, I'm pretty new to Python.... What I need to do is set up a couple tuples like so: [CODE]users = ('user1','user2','user3') passw = ('pass1','pass2','pass3')[/CODE] I then am asking the user for their username and password to compare to the tuples. The only way I could think to do that …

Member Avatar for khaos64
0
273
Member Avatar for qwertymk

This will go faster if I show you what I want to do. [code] class matrix { public: double *x; int clms, rows; matrix(int unknowns) { rows = unknowns; clms = unknowns + 1; x = new double[rows * clms]; } matrix operator = (double a[]) const { matrix tmp(rows); …

Member Avatar for qwertymk
0
105
Member Avatar for phpnovice

Greetings, Would some experts show me php code to play a .wav file? Thank you very much in advance. phpnovice

Member Avatar for vaultdweller123
0
2K
Member Avatar for F.Jor

Hey all, I'm a computer Eng. student. I do seriously need a graduation project idea so I can start working on it! I've taken these courses: C++ Object Oriented Programming Data Structures Computer Architecture Microprocessor 8085/intel Computer Interface Hardware what I like the most: c++, microprocessors & Hardware. Any ideas …

Member Avatar for Ancient Dragon
0
117
Member Avatar for mrcb

So I have a simple login + set cookie script. After checking to see if the supplied credentials are in the db, the script sets a cookie. After this, the script forwards the user to a password protected page. I know the login + cookie placing script works fine. When …

Member Avatar for codejoust
0
88
Member Avatar for cbreeze

Hello, I am terribly confused on how to start my most recent programming assignment. I am to use an abstract class (shapeO) to create a child class (animShapeO). The program is supposed to create rectangles and moving them (hypothetically as there are no graphics involved) across the screen and when …

Member Avatar for VernonDozier
0
201
Member Avatar for leroi green

hey all, i'm working on a code that i want to start creating new classes with but i want to know if there's a more direct way to send the variables used in the form to a new class for storage. for example i've got this on a form... [code] …

Member Avatar for leroi green
0
150
Member Avatar for mIssy_ricco

im using menu item as my navigation. and im using this to remove my menu. [CODE] Private Sub RemoveItemByValue(ByVal Value As String) For i As Integer = 0 To Menu1.Items.Count - 1 If Menu1.Items(i).Value = Value Then Menu1.Items.Remove(Menu1.Items(i)) End If Next End Sub[/CODE] but i can only remove the top …

Member Avatar for mIssy_ricco
0
101
Member Avatar for Atove

Hi all; I'd be really grateful if someone could assist me with this problem. What i am trying to do is create a query that pulls information from two different tables: tblBooking and tblConcessions. tblBooking holds the ID number of tblConcessions as a ForeignKey. What i need within my statement …

Member Avatar for TomW
0
116
Member Avatar for keekee

Could someone check my program, I cannot figure out what I am doing wrong. [B]I did this part and the program ran just fine[/B] - Part 1; Create a product class that holds the item number, the name of the product, the number of units in stock, and the price …

Member Avatar for keekee
0
289
Member Avatar for .11

Hey Guys, I am working on a BlackJack GUI, I have just about everything set up, and now I am working on generating the cards. I was doing some quick snippet test, to see if I can get it working. But no luck, I wanted to know if I can …

Member Avatar for .11
0
130
Member Avatar for gferrie

I have two interfaces, MyapiA and MyapiB with 2 methods each. Two classes - SortA does all the sorting routines and SortB defines the arrays and generates random numbers. In the main class, Sort I have the following code which produces the expected results using a default argument of 6 …

Member Avatar for Grn Xtrm
0
838
Member Avatar for wallance

Hi, I am creating an Excel 2007 add-in using Visual Studio 2008 and I have a Windows Form that allows a user to select a date. What I want to do is store that date in the Workbook that the user saves so that the plug-in can reference that date …

Member Avatar for TomW
0
135
Member Avatar for reese27

This is my code below. If i were to enter 2 3 2 3 3 5 4, i were to get 0 0's 0 1's 2 2's 3 3's 1 4's 1 5's 0 6's 0 7's 0 8's 0 9's #include "std_lib_facilities.h" int main() { int num; vector<int> group; …

Member Avatar for Grn Xtrm
0
102
Member Avatar for bellatrix77

Hi, need help on coding. I would like to create a table from another table, including relationships/index/keys. I know I can do this: [code=sql]Create Table New_Table as (Select * from Old_Table) where 1=2[/code] but that would not include the relationships/index/keys. I wonder if it is possible to clone entirely by …

Member Avatar for sknake
0
135
Member Avatar for MxDev

Hi guys, Is it necessary to use destructor in c# to terminate any created objects?? Thanks in advance

Member Avatar for sknake
0
110
Member Avatar for andym67

Hi All, I am processing a form that includes address info. If the user fills out the form and (address2) has an apartment number that they enter like: #1522 I have trouble later where I might contruct a link such as: [code] header("location: contact.php?address1=$address1&address2=$address2&city=$city&state=$state"); [/code] The link creates fine, but …

Member Avatar for diafol
0
169
Member Avatar for JustAnotherJoe

Following the example of 'cx-freeze hello.py', I'm getting the error message below. I put all of the error keywords into google and found no hits. Some people in various posts have said to use Python 2.5 but a lot of my code is using Python 2.6 features. Can you telling …

Member Avatar for xav.vijay
0
196
Member Avatar for 54uydf

Hey everybody! I'm having a hard time finding a solution for my problem- I have a dynamic array that holds structs of Person type..now I want to delete one specific person so I need to move all the ppl after that person one block down in the array and then …

Member Avatar for manutm
0
113
Member Avatar for andoris

Hey, Im new to this forum, and I have a keylogger. Everything works fine except for the ftp upload function which doesn't work, meaning that the program records the keys etc. but doesn't send the log to the ftp server. Any ideas why? [CODE]#include <windows.h> #include <Winuser.h> #include <string> #include …

Member Avatar for William Hemsworth
0
116
Member Avatar for TLCJohn

Hi there, I am looking for a suggestion, and wondered if somebody may be able to help. I have a client, who requests that within his form there is a unique six digit generated number, I am looking for a piece of software or a Dreamweaver extension that may be …

Member Avatar for diafol
0
2K
Member Avatar for muralibobby2015
Member Avatar for diafol
0
76
Member Avatar for ulcimd1

I am learning about code auditing, and I have a question relating to the argc/argv[] variables. I think that the argc is an integer type, so would enough command line arguments overflow the buffer? I know that it's a stretch, but I am looking for the third vulnerability in our …

Member Avatar for Tom Gunn
0
116
Member Avatar for frank.zappa

I'm working on a school assignment and I'm having trouble with radio buttons. I want something like this: [IMG]http://i43.photobucket.com/albums/e395/frank_zappa77/vb04f06.gif[/IMG] Where at least one radio button from each frame (in that example, the frames being 'Processor' and 'OS') can be selected. I've set up my application to look somewhat like this …

Member Avatar for frank.zappa
0
172
Member Avatar for vladdy191

Hello I'm trying to copy a character pointer into another character pointer. I currently have [CODE]static char *my_kstrdup(const char *buf) { char *ptr, *ret; ret = ptr = kmalloc(strlen(buf)); if(ptr = NULL) panic("kmalloc returned NULL"); for(; *buf != '\0'; ++ptr, ++buf) *ptr = *buf; *ptr = '\0'; return ret; }[/CODE] …

Member Avatar for Dave Sinkula
0
74
Member Avatar for gibson.nathan

i have an integer like this:1 4 3 2 1 1 3 8 1 1 1 1 1 2 1 6 2 3 1 12 what can i do to add each individual number together like this: 4+3+2+1+1+1+3+8 etc?

Member Avatar for VernonDozier
0
109
Member Avatar for TinoMclaren

Hello All: Im using a dataGridView in unbound way, and would like to set the foreColor of the cell i just added based on info i fetch from my db table, here is my current code :- [code]if (cheque == true) { dgv.Rows.Add(date.ToString("dd ddd"), venue, fee,"chk"); } else { dgv.Rows.Add(date.ToString("dd …

Member Avatar for TinoMclaren
0
6K
Member Avatar for Web_Sailor

Hi, I have done a lot of regex in perl and feel like in no mans land in c++ :) Well I want to parse a tab delimited file and want to print specific fields as per my needs. One more thing the input file may not be sorted and …

Member Avatar for iamthwee
0
249
Member Avatar for babbu

m using access 2007 and vb 2005 this is my code [CODE] Dim drNewRow As DataRow = m_DataTable.NewRow() drNewRow("Code") = txtColourCode.Text.Trim drNewRow("Colour Name") = txtBaseColour.Text.Trim drNewRow("Price") = txtPrice.Text.Trim m_DataTable.Rows.Add(drNewRow) m_DataAdapter.Update(m_DataTable) [/CODE]

Member Avatar for TomW
0
392
Member Avatar for kanjigirl

I'm using a Javascript gallery (runs on Prototype library) that populates a caption field if the user has entered a caption for an image. I need a little bit of code to hide the caption's div entirely if the user hasn't entered a caption for a particular image (var 'caption' …

Member Avatar for nauticalmac
0
2K
Member Avatar for rizza_f

According to thread MVC above, I create web.xml like this [CODE] <servlet> <servlet-name>addServlet</servlet-name> <servlet-class>servlet.AddServlet</servlet-class> <init-param> <param-name>dbURL</param-name> <param-value>jdbc:odbc:database</param-value> </init-param> <init-param> <param-name>dbUserName</param-name> <param-value>username</param-value> </init-param> <init-param> <param-name>dbPassword</param-name> <param-value>password</param-value> </init-param> <init-param> <param-name>JdbcDriver</param-name> <param-value>sun.jdbc.odbc.JdbcOdbcDriver</param-value> </init-param> </servlet> <servlet> <servlet-name>loginServlet</servlet-name> <servlet-class>servlet.loginServlet</servlet-class> <init-param> <param-name>dbURL</param-name> <param-value>jdbc:odbc:database</param-value> </init-param> <init-param> <param-name>dbUserName</param-name> <param-value>username</param-value> </init-param> <init-param> <param-name>dbPassword</param-name> <param-value>password</param-value> </init-param> <init-param> <param-name>JdbcDriver</param-name> <param-value>sun.jdbc.odbc.JdbcOdbcDriver</param-value> </init-param> …

Member Avatar for ~s.o.s~
0
2K
Member Avatar for hmortensen

Hi all, I'm not sure a allegro questing should e posted in Software Development>C++ but all other allegro questions are in this section, so here goes. Im doing some Genetic Algorithms, and normaly used OpenGL for doing the graphics, but now I reprogramming the GA to run on multicore systems, …

Member Avatar for William Hemsworth
0
128

The End.