199,113 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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. … | |
![]() | 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 … |
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, … | |
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? … | |
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.......................... | |
I was wondering if anyone would care to share any links to information on Linked Lists and Doubly linked lists implementation. Thanks! | |
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? | |
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.) | |
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 … | |
hello, can somebody help me in learning file i/o in c++? i would be very grateful | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
![]() | 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 … ![]() |
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); … | |
Greetings, Would some experts show me php code to play a .wav file? Thank you very much in advance. phpnovice | |
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 … | |
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 … | |
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 … | |
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] … | |
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 … | |
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 … | |
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 … | |
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 … | |
![]() | 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 … |
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 … | |
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; … | |
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 … | |
Hi guys, Is it necessary to use destructor in c# to terminate any created objects?? Thanks in advance | |
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 … ![]() | |
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 … | |
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 … ![]() | |
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 … | |
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 … ![]() | |
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 … | |
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 … | |
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] … | |
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? | |
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 … | |
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 … ![]() | |
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] | |
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' … | |
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> … | |
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, … |
The End.