199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Jake.20

Greetings, Guys could you give me some idea on how to count months left before the due date? For example 08/17/2012 - 12/17/2012 result: 4

Member Avatar for samsylvestertty
0
209
Member Avatar for esedee

Pls i need help wit my windows form...i hav 25 buttons wen any of d buttons is clicked nd it all 25 buttons turns red dats d end...this is my question..... How do I randomly assign the Content of the buttons so that the correct option 4 all button 2 …

Member Avatar for HTCc
0
108
Member Avatar for osiron

Hey guys, So I've been working on a program that takes a student id and name but however I got a weird error saying: error: expected ‘(’ before ‘.’ token error: expected ‘{’ before ‘.’ token and it occurs around the `name_first(firstName), name_.second(lastName)`. I'm having trouble to get the pairs …

Member Avatar for osiron
0
106
Member Avatar for danielgr

I have a dataset with the following data: account_number,master_code,score 100000023,UL189PU,1 100000025,UK120PU,1 100000026,AAL004PU,1 100000026,UL221PU,1 100000026,YHL003PU,1 100000034,UL246PP,1 100000043,1198112CS,1 100000060,182112JS,1 100000060,996211CS,1 100000060,AAL012PU,1 100000074,UI136PU,1 100000074,UK131PU,1 100000074,UL178SU,2 I've started a master loop where I loop through the accounts. I now need to do a sub loop and compare this account to the rest of the …

Member Avatar for TnTinMN
0
172
Member Avatar for Dimansu

Hi I am using RDLC in .Net framework for my reports. I have a field StartDate and it can be null in the database.I want to show the date as 02/12/2010 . My code is, =Format (Fields!StartDate.Value,"dd/MM/yyyy") But in the report it shows "dd/MM/yyyy". When there is no formatting i.e …

Member Avatar for Wai Zin Hnin
0
207
Member Avatar for newbie14

We are running a C program where for every one second there is a function callback. Below is the snippet of the code listed. It is ran over every second without missing so we notice sometimes when is busy doing the insert part and the next select is up and …

Member Avatar for newbie14
0
243
Member Avatar for ppstyle

protected void Button1_Click(object sender, EventArgs e) { try { SqlAddGroup.InsertParameters["mem_email"].DefaultValue = Session["User"].ToString(); SqlAddGroup.InsertParameters["groupname"].DefaultValue = Txtgroup.Text; SqlAddGroup.Insert(); Label1.Text = "Group has been added"; } catch (Exception ex) { Label1.Text = ex.Message; } } <asp:SqlDataSource ID="SqlAddGroup" runat="server" ConflictDetection="CompareAllValues" ConnectionString="<%$ ConnectionStrings:PadmaSMSConnectionString %>" DeleteCommand="DELETE FROM [group] WHERE [sno] = @original_sno AND [mem_email] = @original_mem_email …

Member Avatar for atinobrian
0
295
Member Avatar for john.gale.92102

Hi, These are the opening lines of my code USE myDatabase GO PRINT '@@FETCH_STATUS: ' + CAST(@@FETCH_STATUS AS nvarchar(30)) This returns FETCH_STATUS as -1. I have just opened the connection. Can anyone tell me why this is occuring?

Member Avatar for atinobrian
0
177
Member Avatar for mpyap

I'm making a sales receipt. The user enters in the name and price of the items. On the display, I want the name of the items to be aligned as well as the price of the items. Is there a way to get the setw for the objects after the …

Member Avatar for L7Sqr
0
728
Member Avatar for mpyap

I'm creating a program using strings to create a contact card for a customer. It works to allow users to input information up until the "state" input part. It skips over this and doesn't allow a state to be entered and then continues with the remaining two inputs. On the …

Member Avatar for VernonDozier
0
134
Member Avatar for dilbert_here00

Hi, I was trying to access some functions from a dll using python ctypes, but not sure how to pass pointers to get it to work. Here is an example of what i am trying to call: GetAvailableDevices ( SdkHandle session, DeviceDetail * pDev_list, uint32_t * dev_list_size ) Parameters: [in] …

Member Avatar for dilbert_here00
0
3K
Member Avatar for musicman432

So I'm trying to write this program in C that will take a message the user types in and encrypt it using an RSA public key that the user supplies. I know there are encryption functions and libraries in C but I want to actually recreate the algorithm in code …

Member Avatar for sccdqx
0
298
Member Avatar for mjacqu3

Hello, I am new to Android development and fooling around with some sample programs to get better acquainted with it. One of the tutorial books I read recommended writing a class to extend the Application class for easy access to shared preferences and things. My application includes a login screen …

Member Avatar for mjacqu3
0
122
Member Avatar for marky101

Good day guys! I am recently developing an attendance monitoring system using a webcam. I have successfully downloaded some sample programs how to make a webcam application in vb.net primarily using avicap. I tried to apply it on my program. The code seems fine but everytime i run the code, …

Member Avatar for marky101
0
458
Member Avatar for cheesepotato
Member Avatar for cheesepotato
0
764
Member Avatar for yordan.todorov.35

Hi there, i need to use this function but it is write in Python and if is possible i dont want to start learning Python just for one function so i wanted to ask if someoen can direct me to Pythong to C# convertor or help me convert this function. …

Member Avatar for chris.stout
0
1K
Member Avatar for awebster

Here is the php code that I have. I am trying to take the average of the array and then take the avearge and the display numbers from the array that are less then the average using a foreach loop then an if statement inside the foreach loop. <?php $total …

Member Avatar for cereal
0
131
Member Avatar for LMat619

Hey everyone. I am making an application where a user can draw shapes with their mouse. All the other shapes are implemented, but I am having difficulty with drawing arcs correctly. I got the program to draw arcs, but I am having some bugs in the code. Basically it's supposed …

0
214
Member Avatar for gefen2215

i have a form from all costumers and i also have all payments now i need a sum field for all payments from a DataGridView

Member Avatar for TnTinMN
0
106
Member Avatar for Violet_82

Hi peeps, I was thinking to develop something similar to this http://www.toyota.co.uk/cgi-bin/toyota/bv/generic_editorial.jsp?navRoot=toyota_1024_root&noLeftMenu=true&edname=See-the-range&zone=Zone+See+the+Range&id=SeeTheRange_Link It is in flash now, and I would like to have something similar in jquery, what would be the best way to proceed do you think? Any advice? thank you

Member Avatar for Violet_82
0
656
Member Avatar for Djmann1013

Hi, I am trying to make a sound play on a keypress in php. I want it to sound when the user presses the enter button. But I have been having no luck with JavaScript, among others. I would be glad if you helped. Thanks.

Member Avatar for Djmann1013
0
228
Member Avatar for morgan.wowk

I'm wondering why this code doesn't work on form load. Everything works except the item being added to the listview. I just got back into C# syntax, so can you guys explain this a bit please, thanks ahead. if (System.Net.NetworkInformation.NetworkInterface.GetIsNetworkAvailable() == true) { } else { MessageBox.Show("An error occured in …

Member Avatar for Mitja Bonca
0
285
Member Avatar for branflake

On my class side I cannot seem to get netPay to calculate and am also having problems with finding insDeduct. On the demo side I have you choose between S - Single and M - Married. Any help would be greatly appreciated. [CODE]public class ChapterFiveClass { // Declare some fields …

Member Avatar for SylvesterAbreu
0
140
Member Avatar for Violet_82

peeps, given the following markup <link rel="stylesheet" type="text/css" href="assets/style_images.css"><!-- MY CSS --> <script type="text/javascript" src="assets/big_images.js"></script> <div class="car_model_description"> <div class="compare_button"> <a href=#><img src="assets/compareBTN.png" alt=""></a> </div> <p id="caption">Default text</p> </div> <div class="image_container"> <img src="wathever.jpg" alt="" id="placeholder_image" > <img src="wathever1.png" alt="" class="image_invisible"> <IMG SRC="wathever2.png" alt="" class="image_invisible"> <IMG SRC="wathever3.png" alt="" class="image_invisible"><!--to change --> <IMG …

Member Avatar for Violet_82
0
152
Member Avatar for HTMLperson5

Hi, all. I am having a problem using the `getpass()` function, there are no problems with the `raw_input()`, though. I'm trying to check the user input is valid (meaning that the Username is nav and the password is 39429432) Really, I DON'T want to use `raw_input()` for the password field. …

Member Avatar for Gribouillis
0
3K
Member Avatar for alexandra.lopez.94043

Public Class Form1 Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Checkbox1.CheckedChanged If Checkbox1.Checked Then TextBox2.Visible = True Else TextBox2.Visible = False End Sub Private Sub CheckBox2_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox2.CheckedChanged If CheckBox2.Checked Then TextBox3.Visible = True Else TextBox3.Visible = False End …

Member Avatar for Reverend Jim
0
201
Member Avatar for JackPaddyWack

Here are my two pages I am using to edit. One is the HTML form and the next is the code to insert the changes. I have looked overthis code for a few hours and have not seen anything wrong. I hope it is not something super simple or I …

Member Avatar for JackPaddyWack
0
141
Member Avatar for javanub123

Hey Guys, i just started learning python and havent really done much programming so im pretty new im following a book and I have to read some data from a text file the code thats giving me trouble is os.chdir('Users\spreston\Desktop\HeadFirst\Chapter 3') the error says that the path does not exist, …

Member Avatar for Gribouillis
0
143
Member Avatar for iFrolox

Hi, ok i had a file looking like this: SilkroadR,,321,13,321,Gobi,False,False,False,False,False SilkroadR,,321,321321,321,Gobi,False,False,False,False,False SilkroadR,,213,321,231,Gobi,False,False,False,False,False SilkroadR,,3251325,3215,3251,Gobi,False,False,False,False,False SilkroadR,,,,,Gobi,False,False,False,False,False I encrypted it and it looks like this: Hdgr6oHm47q2SC5AEjqUY9Boi5WfUT5FTfLvMVYLtorgmufM5GiH6wMg12raZ/YpW/OPZ7bL94wbSWiauy59nrEHlJdO3o1voedaWb/XV7lxNzbUURqDgGtkpr6Ex++d0YAA4sCnkB/GcDtuFd+vqF2IJoI3cC+WKPF73zM5eNz6mJd1hjZK+40je7/LbUyU7JQ8nmvBpEy7J391xM5X5dfKlNziYahufdVsxbO8mTAosQcEZ8JtUoJg2ZWjXO8nPqDci8iy/JgBYnd8Z4fpbfwY5jKwTrq2+TW9k/+I2F9PXUT6OzUUTk4tRFfvWVXBFj/C5s60puxaYJQxgzUzKE2yWls4N3qk3TcZBH1kKCB8h0lS69X77mOxJ0ixkOm1a+deaIWXsBfFHq8ej30ShH2WFf09iAr3 Ok, thats what i wanted, i used to load my accounts like how it looked before the encrypting with this code: Dim iCount As Integer = CInt("0") …

Member Avatar for TnTinMN
0
141
Member Avatar for godzab

I am new to Linux, and C++. Usually when I used Java, I could just use javac Something.java and run it using java Something. How do I compile my own c++ code without the help of an IDE? Also I am using Linux Ubuntu 12.04

Member Avatar for godzab
0
646
Member Avatar for stevelance99

hi i am getting a floating point error while im trying to complile the rc4 encryption in c++...i was wondering if anyone could help me out...i have the code pasted as below #include <stdio.h> #include <iostream.h> #include <ctype.h> #include <string.h> unsigned char s[256]; unsigned int i, j; void swap(unsigned char …

Member Avatar for gusano79
0
194
Member Avatar for rvntdhillon

**I WANT TO LEARN MVC. PLZ HELP ME,THAT HOW I CAN LEARN MVC IN SIMPLE MANNER AND IN A GOOD WAY**Bold Text Here****

Member Avatar for Kru
0
85
Member Avatar for GlenRogers

Can someone point me in the right direction for formatting text and aligninng text in a JTextField? Thanks...

Member Avatar for GlenRogers
0
2K
Member Avatar for stupid guy

hi all! lame programmer here again.Please explain this thing..seems like it has truth table and stuf.anding oring etc..plz explain how this will execute.need simple explanation so i wont forget throughout my life..:D if (!(mysql_query($sql,$con)) || !(mysql_query($sql_pin,$con))) { if(mysql_errno()==1062) { $error_flag=1; echo mysql_error(); echo "error no:".mysql_errno(); die("error:".mysql_errno()); } $error_flag=1; } else …

Member Avatar for soapyillusion
0
369
Member Avatar for MasterHacker110

I know that it generates a public key and then a private key. You encrypt with public and can only decrypt with private key. How is this algoritm going to work in a C++ program, how am i going to compute the public key and then the private key? Also, …

Member Avatar for np complete
0
196
Member Avatar for PhoenixInsilico

I have a exe file named file.exe When it is run through command line, it takes some data and process it and creates an output file. I want to feed data to file.exe within a perl script and want the output file. Please let me know the commands to do …

Member Avatar for chandrashekar
0
220
Member Avatar for CarterLangley

Hi all, I realise that this has been asked probably many times. I have searched but have not been able to find the relative answer - most likely not searching properly?? Anyway, what I would like to do is to display multiple images relating to one topic, ie. One member …

Member Avatar for CarterLangley
0
316
Member Avatar for razamughal67

Hello everyone we search many days to create a php mail contact form in flash 8 and after all we cannot make this Acually we want to add more fields in my flash contact form please anybody help How to more fields we use this Action Scripts in Flash and …

Member Avatar for pritaeas
0
193
Member Avatar for ktsangop

Hi everybody! I am having some trouble running a detached process using CreateProcess function in C++. I have been using the following function to spawn processes in c++ for years now havnig no trouble. I have used it with console applications, mfc apps, dialog based ... etc : StartProc(char *callprogram, …

Member Avatar for ktsangop
0
825
Member Avatar for Rubinder singh

I need a code which can solve the equations like this :- 56*78+(78/8) In this we know that brackets must be solved first and then divide/multiply and then add/subtract. So, i need a code for solving this kind of equations which contains multiple operators in single line. Thnks :)

Member Avatar for Rouf mir
0
303
Member Avatar for maoneke

Hello all, Can someone kindly help me with a code to automatically archive data by month-end and year-end.

Member Avatar for pritaeas
0
70
Member Avatar for on93
Member Avatar for Tajinderpal
0
230
Member Avatar for azegurb

Hi All, I have code that dynamically retrieves data with jquery AJAX. when i want to insert data into database via PHP **$_POST** method it cannot grab `select tag` (option) value in Mozilla and Chrome. But it works perfectly in IE. Below is my code. <?php if($_GET['func'] == "drop_1" && …

Member Avatar for Biiim
0
186
Member Avatar for Sanchixx

<html> <body> <?php $i=1; echo"$i"; if(up) ++$i; ?> </body> How can i add one to $i when a button is clicked?

Member Avatar for Biiim
0
197
Member Avatar for gacusana.aljan

how to create a window with label and button above the label. can you codes this label : MAIN MENU BUTTON : RECURSION BUTTON: EXIT PLEASE HELP ME ! ITS ALL ABOUT RECURSION

Member Avatar for stultuske
0
107
Member Avatar for iamnot

I need to store both text and images to be stored in the same field? How can this be implemented in php using a mysql database? I have used BLOB to store images in the past . Which datatype should I use for this problem? And how will this work...? …

Member Avatar for smantscheff
0
195
Member Avatar for CriticalError

Hi guys I got a table called rc_Pages then I got a column called pName (Pages Name) and now I have made a new column called pCategory (Page Category). Since there are like 60 pages and updating the pages manually can be a big issue. I need to set the …

Member Avatar for CriticalError
0
114
Member Avatar for jdseader

The following four classes are an attempt to set up three different JFrames and switch between them. The three frames are: MainView, DetailView, and FormView. The main class is MultipleFramesExample. The four source codes constitute a NetBeans project with a package called FrameViews. MainView, DetailView, and FormView are essentially identical …

Member Avatar for JamesCherrill
0
4K
Member Avatar for astian

Hi everyone, Ok, Im new to the forum so I hope I've placed the question in the right place, and here it is : I am developing a silverlight application that uses Bing Maps. The Idea behind the application is that to help land owners (farmers , agronomy businessmen) visualize, …

Member Avatar for astian
0
108
Member Avatar for laura301019

So i need to create a php table that will take the age of the user (entered via a form) it will then show double the age and half the age. The rows should display the user's age +10 +20 etc. I'm new to php so trying to get my …

Member Avatar for Biiim
0
155

The End.