199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Bijaya123

In a mdiparent form a menustrip is present. when click this menustrip a new form is open. I want to develop when click the menustrip only one form is open. After open the form if i click the menustrip no form will be open. when that opened form is close …

Member Avatar for kakaworld2012
0
1K
Member Avatar for sam230

I want to check the image size in JavaScript.. for example if image size is more than 500kb and other format instead of jpg.. it should not get uploaded.. i want to check these validation before form submit.. thanks in advance.. waiting for positive ans. Regards

Member Avatar for Troy III
0
278
Member Avatar for me_mie

Hi :) Can anyone help me? I want to display image in my GUI using tkinter (python 3.2.2) Do i need to download this python image library ==> PIL-1.1.7.win32-py3.2 or actually it was already in tkinter? How about the code? Thanks for the help.

Member Avatar for me_mie
0
374
Member Avatar for rayy

hi everybody, i would be glad if someone could show me how the Get and Set functions work. thanks.

Member Avatar for promod
0
119
Member Avatar for gerchi152

I have this code in my form (in load event) wherein there is a crystal report viewer: [CODE]Dim oDoc As New ReportDocument oDoc.Load("D:\grading_report\grading_report\teacherLoad.rpt") Dim myDS As New DataSet oDoc.SetDataSource(myDS.Tables("grading_teacherload")) Dim mystr As String mystr = "{grading_teacherload.teacherid} = " & teacherLoadListView.teacherid & "" CrystalReportViewer1.SelectionFormula = mystr CrystalReportViewer1.ReportSource = oDoc[/CODE] there is …

Member Avatar for kingsonprisonic
0
870
Member Avatar for darkelflemurian

Hello everyone, i have the following problem and I come here looking for some advice. I am using c#, but i have a dll that creates the excel file in Visual Basic. i have a datagridview and the information there is exported to excel file. No problem there. the problems …

Member Avatar for darkelflemurian
0
477
Member Avatar for mothra

Hello, I have a question about converting text file elements to arrays in VB. I am generally not a .Net programmer, and have really basic question about parsing array elements in VB. I have a text file that is formatted as the following... [QUOTE] "Item1","Item2","Item3" "LineItem1","LineItem2","LineItem3" [/QUOTE] What I would …

Member Avatar for mothra
0
818
Member Avatar for jember

Please hep me with this problem: I am having a problem with string handling using c language. This is actually an assignment. Here's how the whole program must work: 1. User must input a [B]valid password[/B] 2. Once the user inputted a valid password, it will access to an employee's …

Member Avatar for jember
0
497
Member Avatar for softDeveloper

Hi All, I'm selecting text from an iframe using getSelection(). It reads everything but the tabs '\t'.

Member Avatar for softDeveloper
0
144
Member Avatar for Rakham

I'm using ListView control, with SmallIcons style in VB.NET. Icons are loaded fine, but when I start to scroll ListView down or up from scrollbar (clicking from arrows), rowheight drops to about half from normal in next 20-30 rows below/above upper/bottom row (depends from the scrolling position). After 1-2 seconds, …

Member Avatar for Rakham
0
1K
Member Avatar for Pats2KDynasty

I have searched and nothing that I have found hits directly on what I am looking for (or maybe my searches have not hit on the combo of words). In C# I have created an Excel sheet, using Interop.Excel, in which I insert some data and create a chart. This …

0
182
Member Avatar for daviddoria

I am trying to make a simple demo of a DataGridView bound to a database table. I want to add a row, delete a row, and save the table. I used the IDE to do just about everything. It created the BindingSource when I set the datasource of the DataGridView …

Member Avatar for tenorjazz
0
146
Member Avatar for rlafrance

I am trying to do something like the following [CODE] my @type1_cols = qw(col1 col2 col3); my ($col1, $col2, $col3) = split (/:/,$string); ... foreach my $col (@type1_cols){ $hash->{$col} = ${$col}; # <---- this line is the issue. how do i do ${$col} } [/CODE] any help is much appreciated.

Member Avatar for d5e5
0
76
Member Avatar for Martin C++
Member Avatar for jd2369

Good Afternoon, I am having problems clicking a button within a website, heres the html code from the website using firebug on firefox [CODE]<input type="submit" onclick="return fnbValidateLogin()" value="Login" name="Login">[/CODE] Heres the code that i tried [CODE]Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim MyElementsWeb As …

Member Avatar for jd2369
0
356
Member Avatar for Jay22

I need help fixing this one error with my code. Below Im going to upload a piece of the code which im having problems with and the output error . [CODE]int main() { int vals[100]; fstream file; string line = "----------------------------------------------------\n"; string msg2 = " Please select an option from …

Member Avatar for Jay22
0
217
Member Avatar for ret801

Hey guys, help me with my homework ! I am taking CIT 160 and for my first assignment I am to ask 5 family members, friends ,strangers etc 5 security questions which i will have to investigate further and write a report on, so I came to daniweb! please answer …

Member Avatar for WaltP
0
191
Member Avatar for Lucaci Andrew

I keep getting this error and i don't understand why. [code]Traceback (most recent call last): File "E:\University\Workspace eclipse\dictionares\src\dcts\dicts.py", line 105, in <module> fr_runt() File "E:\University\Workspace eclipse\dictionares\src\dcts\dicts.py", line 95, in fr_runt run.run() File "E:\University\Workspace eclipse\dictionares\src\dcts\dicts.py", line 58, in run self.data.write(file, key, value) File "E:\University\Workspace eclipse\dictionares\src\dcts\dicts.py", line 23, in write fh = …

Member Avatar for Lucaci Andrew
0
311
Member Avatar for dilse4sk

hi , i have made a login system which saves and chekcs the data from sql server. My login is working perfectly fine. now i just want to know how to logout from an application. can any 1 help. what functionality can i add to the logout. so that application …

Member Avatar for kingsonprisonic
0
6K
Member Avatar for jetlife76

Hi guys, i am currently working on a project that queries an inventory database through the use of radio buttons, for example; If the first button FOR THE Item(HAMMERS)is clicked, the output should be the name of the item, the number sold and the total profit(calculations) into a table. the …

Member Avatar for jetlife76
0
80
Member Avatar for VB 2012

I wanna make a Shutdown manager :icon_cheesygrin: [CODE]Dim SETGETimeOut As Integer = " -t " & NumericSecondsValue.Value.ToString Dim SETGETComment As String = " -c " & CommentBox.Text 'Dim SETGETNetwork As String = " -m " 'Dim SETGETForceclose As String =" -f" Shell("shutdown -s" & SETGETimeOut & SETGETComment, AppWinStyle.NormalFocus, False, 0)[/CODE]

Member Avatar for kingsonprisonic
0
118
Member Avatar for anand01

hi all, I need to join three tables my tables are ___________ markmaster ___________ stuid subid examcode mark ___________ _____________ subjectmaster _____________ subid subname subtype externalmark internalmark _____________ ___________ exammaster ___________ examcode examname duration description ____________ I need result like stuid,subname,subtype,examname,mark . Could any one guide to write query for …

Member Avatar for anand01
0
194
Member Avatar for adamjrleask

THIS IS A MAZE ON A TUTORIAL I AM TRYING TO MAKE < I AM TRYING TO GET TO GRIPS WITH IT ALL, THE MORE I TRY FIX THE ERRORS THE MORE I GET, THANKS TO ANYONE WHO POSTS [CODE] maze.cpp : main project file. #include "stdafx.h" #include "Form1.h" using …

Member Avatar for adamjrleask
0
371
Member Avatar for dresdor

Taking the advice of one of my relatives, I'm learning c#. Now, I've come to understand that I learn best by tinkering and playing around with things, and if I have a problem in front of me, I will learn quickly. I understand programming basics well enough, but most of …

Member Avatar for darkelflemurian
0
235
Member Avatar for s_mostafa_h

Hi every one ! I have two form : First Form for enter username and pass and Form2(Main Form). I want to save or register password and username if the user enter a valid pass . And for the next time , if the user execute this app , go …

Member Avatar for darkelflemurian
0
222
Member Avatar for dilse4sk

hi every one i wanted to get some information on how to insert data into sql server through combo box selection. i have 2 values in combo box. 1 is admin and 2nd is employee. basically its an employee registration form. could any 1 help me if during registration the …

Member Avatar for kingsonprisonic
0
175
Member Avatar for eranga246

[CODE]#include<stdio.h> #include<conio.h> int main(){ float Area; float r,h; #define pi 3.41; printf("enter the radius of the circle in centimeters\n"); scanf("%f",&r); printf("enter the height of the cilinder in centimeters\n"); scanf("%f",&h); Area=(pi*r*r)+(pi*r*h); printf("THE AREA OF THE CILINDER IS:%f",&Area); return 0; getch(); } [/CODE]

Member Avatar for gusano79
0
140
Member Avatar for zee93
Member Avatar for deceptikon
0
3K
Member Avatar for ahu

I am new to programming. I have the below code and It need to output the vote, percentage, winner, and total. I am totally lost please assist: #include <iostream> #include <string> #include <vector> using namespace std; struct electionList { void print() const; void voteTotal(); void solvePercentage(); void calcWinner(); int votes[100]; …

Member Avatar for WaltP
0
2K
Member Avatar for Ryan0

In the following code I am trying to select a file either from a file chooser or just typing out the path. The problem is I want the comboboxentry to change background color when something is put in it. The code works fine if it's a combobox (Line 7 is …

Member Avatar for Ryan0
0
619
Member Avatar for montjoile

Hi. I'm having a problem with a module in a program written in powerbuilder An event is triggered when the user change the focus to a specified textbox the event creates local variables that I set to null, then I read a string that comes from the lecture of a …

Member Avatar for WaltP
0
196
Member Avatar for hello2419

Im wondering would anyone be able to help me with making a scoreboard in c++ for a football game...Any help would be great as i cant find any info on the net.

Member Avatar for VernonDozier
0
807
Member Avatar for johnnyzats

So this program is supposed to take in a sentence and output it with correct spacing and capitalization. -For example if I entered: heY, How are You doing? -the output should be: Hey, how are you doing? The program runs fine, I just cannot get it to output. [CODE]#include <iostream> …

Member Avatar for WaltP
0
760
Member Avatar for unigrad101

I would like to create a function using the code below called drawMove which takes 2 parameters (x or 0) and square number. That draws an x or 0 in the numbered boxes on the grid below. Input should be: drawMove(turtle,cellsize,O,6) ---> this should draw a O in the 6th …

Member Avatar for woooee
0
135
Member Avatar for newbie1234

HI every one, I know this is stupid question. But i am new bie in c++. Can you please tell me. Question: I have two file a.cpp and b.cpp. i want to give output (some number) of a.cpp to as a input on other file b.cpp. And b.cpp will take …

Member Avatar for WaltP
0
128
Member Avatar for Midgard

Hi- Probably pretty simple for experienced mysql-ers, but I'm at a loss... Say I have two tables: Movies & Reviews. Movies has a RecNum field, a Title field & other info Reviews has a MovieNum field (identifying which Movie RecNum it's for), a Rating field (1-5 if rated, 0 if …

Member Avatar for Midgard
0
167
Member Avatar for personathome

Hello, For my homework I have to do about 14 functions and I have figured out all but two of them. This one; int toNumber( char c ) If the character passed in is a numeric digit, then the integer value (not the ASCII code) of that digit is returned. …

Member Avatar for Bench
0
235
Member Avatar for Martin C++

Hello, I have a PHP page called summary.php and I m trying to make the jquery script to post piece of data when <select> is modified. This is my code atm [CODE=js] <script> $("select").change(function () { page_id=$(this).attr('id'); alert(page_id); $.post("#", {id:page_id}); }) .change(); </script> <?php if(isset($_POST['id'])){ die("YES!"); } echo $_POST['id']; ?> …

Member Avatar for Martin C++
0
206
Member Avatar for Verygoodguy

I have a sql table for storing unique e-mails.I need a stored procedure that could let a user that uses aspnet page to insert data know that the e-mail address already exists on a table and specify a new one. The table looks like this: EMailID int NOT NUL (1,1), …

Member Avatar for Verygoodguy
0
145
Member Avatar for hughesadam_87

Hey guys, I have a simple numpy datatype: [CODE]spec_dtype = np.dtype([ ('wavelength', float), ('intensity', float) ])[/CODE] I chose to use this in my program because it's very easy to read in 2-column spectral data files using the genfromtxt() method. Therefore, I made a fairly sizable program around this datatype. Now …

Member Avatar for hughesadam_87
0
245
Member Avatar for ibn_sumal

Hello guys I'm trying to do something very basic but can't figure it out so far. I have a form and just want to display [U]all the user's comments one after the other[/U] in the same page once they have submitted them. It does show a user's comment however when …

Member Avatar for ibn_sumal
0
2K
Member Avatar for lastgame2007

<br /><b>Warning</b>: date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. …

Member Avatar for diafol
0
91
Member Avatar for fredfletcher

Hello, I tried many different combinations to get this to work, but with no success. As always, I try my best and spend a lot of time in trying to get something to work before I ask for help on something. My question is, how can I pass parameter from …

Member Avatar for fredfletcher
0
161
Member Avatar for emclondon

Hello guys, I am trying to learn working with Web services using PHP. I have found many methods to access and consume these services, but I've come to know Soap Client and cURL are the best way to do it. I decided to work on an API provided by a …

Member Avatar for diafol
0
307
Member Avatar for jetlife76

Hi guys i'm writing a script (Visual Studios 10 express) to simulate a restaurant cash register. I am having problems gettin my values from each selected item to add up and display in the subtotal label. As of now i have it to where when i select a quantity of …

Member Avatar for jetlife76
0
107
Member Avatar for riahc3

Hey I want to get the date and time with miliseconds in a format such as: 2012-02-09 12:41:52.982 or 2012-02-09 16:41:52.129 How can I do this in Java? (If I can get a localized version of "Tuesday" as "Tues" as well even better but if not, I dont mind. Something …

Member Avatar for riahc3
0
439
Member Avatar for HBK_100

[CODE] private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling code here: String sql="Select BADGE_NUMBER,FIRST_NAME from POLICE_TABLE"; try { Class.forName("org.apache.derby.jdbc.ClientDriver").newInstance(); Connection con= (Connection) DriverManager.getConnection("jdbc:derby://localhost:1527/Traffic Ticket System","Administrator","admin1234"); /*As we are creating a connection on a local computer we will write the url as jdbc:mysql://localhost:3306 */ Statement stmt=con.createStatement(); ResultSet rs = …

Member Avatar for JamesCherrill
0
183
Member Avatar for accra

hi, i get this error when i run my script [CODE]Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in E:\xampp\htdocs\autogh\admin\userindex\scripts\banner.php on line 13[/CODE] this is my mysql statement [CODE]$banners_num = "select * FROM banners WHERE DATE_ADD(todate, INTERVAL numDay DAY) > NOW() AND position='top_banner'"; [/CODE] Am trying to …

Member Avatar for accra
0
163
Member Avatar for Hussam Alahmadi

help me plz The program does not sum the elements of the 2 matrix this my code [CODE]package javaapplication143; import java.util.*; public class JavaApplication143 { public static void ReadMatrix(int [][]a1 ){ int val=0; Scanner input=new Scanner(System.in); System.out.println("Enter 3 rows and 3 Columns for matrix 1 "); for(int i=0 ; i …

Member Avatar for dantinkakkar
0
133
Member Avatar for rohan121212

So here is what i have done I did the basics of c++ and was quite comfortable with them Now i wanted to start with the allegro gaming library so i downloaded the library and linked it with my compiler i compile a program and it compiles fine but when …

Member Avatar for DeanMSands3
0
88

The End.