199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Darth Vader

Hello, I wonder if there could be faster way to convert a string to .Double() and Int32(), then the methods below? The code below takes approx: 7000 ms //7000 ms String number1 = "21.58"; String number2 = "21"; double getNum1 = 0; int getNum2 = 0; DateTime dt = DateTime.Now; …

Member Avatar for tinstaafl
0
1K
Member Avatar for Suzie999

Seemingly, bitmap resources within my file are becoming somehow corrupted. My code has resource bitmap image, when ran, it searches the screen for that image and returns its xy location. Runs fine and works fine at least once, and sometimes more, but then fails to find the image. When I …

Member Avatar for Suzie999
0
107
Member Avatar for M4ver1k

I'll try to keep it brief. When I try to pass the 'list' vector to the counter function my compiler throws an error of: "error: request for member size in count, which is of non-class type std::vector<int>*" Googling hasn't produced anything quite what I'm looking for syntax wise. If someone …

Member Avatar for M4ver1k
0
265
Member Avatar for shahai.ali

hi m new to `asp.net` and m trying to secure my pages so that if the user is not logged the pages are not accessed to him. previously i have done in `php` like in the following: if(!isset($_SESSION['adminlogin']) || $_SESSION['adminlogin'] == ''){ header("Location: index.php"); exit; } but i don't know …

Member Avatar for shahai.ali
0
143
Member Avatar for shahai.ali

hi to all....i have a task to embed skrill and pyaza...but i only know that skrill and pyaza are moneybookers. but i don't know how to embed them using php?? is any api is there to access both these moneybookers.????

Member Avatar for shahai.ali
0
244
Member Avatar for andrew mendonca

The local baseball team is computerizing its records. Write a program that computes batting averages and other statistics. There are 20 players on the team, identified by the player ID 1 through 20. You will have two input files: roster.txt and statistics.txt 1) The Roster File (roster.txt) - This file …

Member Avatar for andrew mendonca
0
484
Member Avatar for CarterLangley

Hi guys, I don't know if this is posted in the correct area, so forgive me if it isn't but I couldn't find a proper area for this. What I would like to know is this. I have a computer running windows 7 professional. Connected to my home hub, I …

Member Avatar for CarterLangley
0
110
Member Avatar for Fix_It

I need help with this code. It isn't working correctly. ; last error in is LASTERR Error No impersonation token ; ; reparieren.asm Help from Fetten,Dave,Frank K.,Qword,TightCoderEx, ; To err is O.K. as long as it isn't too many. ; .386 ; .model flat,stdcall ; option casemap:none ; include masm32includecomdlg32.inc …

Member Avatar for Fix_It
0
190
Member Avatar for loldafuq

** Compile program functions for: -Enter of a keyboard and a file into an array (by adding) data to 30 girls in the competition "Miss World" number, name, surname, date of birth, physical data, state and display the current contents of the array on the screen -display output data for …

Member Avatar for abd.mosaher
0
135
Member Avatar for marnun

Here is the exercise: > fileWord > Write the definition of a function named fileWord that receives a string argument that is the name of a file containing words. > > The first time the function is called, it returns the first word of the file whose name it was …

Member Avatar for marnun
0
265
Member Avatar for Super_android

Help, I'm getting the following error message: error C2040: 'money' : 'double' differs in levels of indirection from 'char [15]' error C2088: '>>' : illegal for class #include <iostream> #include <fstream> #include <iomanip> #include <string> #include <sstream> #include <string.h> using namespace std; string FileName; void starline(); float balance; float deposit; …

Member Avatar for Super_android
0
547
Member Avatar for diya45

can anyone tell me how i create search function like as in reservation i search thrugh id then how i create any help

Member Avatar for tinstaafl
0
286
Member Avatar for giancan

Dear friends, sorry for my ignorance about python containers but I have the need to store (and access) 4 different values per file in folder, namely the filename (with its path) and 3 other values (string or None). When I access the database, I will need to know the 3 …

Member Avatar for ZZucker
0
326
Member Avatar for rocksoad23

Hey, I'm developing a program in which there are two classes. The purpose of one of them is to create vectors that change dinamically (class A) and the other is a bunch of methods to operate on these vectors (class B). The question is: I don't see any need to …

Member Avatar for ravenous
0
152
Member Avatar for ricsaka

#include <iostream> #include <string> #include <fstream> #include <vector> #include <sstream> using namespace std; struct Uzenet { string honap; int nap; string time; string computer_name, szolg_name, massage; }; void kiir(const Uzenet &uzenet) { cout << "Az uzenet ideje: " << Uzenet.honap << " " << Uzenet.nap << " " << Uzenet.time; …

Member Avatar for JasonHippy
0
1K
Member Avatar for viona.diminarthi

hei, please help me. I have a project sales .. in the form of sales transactions I would add an update on caret functions texfield subtotal. caretupdate function I use to buy goods at more than one then it will be totaled automatically which will go on with new texfield …

Member Avatar for stultuske
0
374
Member Avatar for caierhui

import java.awt.event.ActionListener; import javax.swing.JFrame; //This Java Program determines the weighted average //of four test scores. //import statements for the needed packages public class Assign1 extends JFrame { //declare JLabel variables as reference to label components //declare JTextField variables as reference to input/output text boxes //declare JButton variables as reference to …

Member Avatar for love1969
0
208
Member Avatar for Kronolynx

I'm trying to write an applet with menus but is not working I'm getting these errors: load: MenuFrame$AppletMenu.class can't be instantiated. java.lang.InstantiationException: MenuFrame$AppletMenu at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at sun.applet.AppletPanel.createApplet(Unknown Source) at sun.applet.AppletPanel.runLoader(Unknown Source) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source) could some one please explain me what is wrong. …

Member Avatar for Kronolynx
0
134
Member Avatar for hwoarang69

i am using xammp for my database. i have a col called "today_date" andy type "DATE". in php i am using function "now()" to store todays date. the format is year-month-day. now let say i have one more col called "today_date_time" and type "datetime". is there a php function that …

Member Avatar for urtrivedi
0
228
Member Avatar for 9tontruck

Hi, I need to read byte by byte data from header-like file. The format of the file is in the link, please take a look http://imageshack.us/photo/my-images/96/tablefu.jpg/ I dont need the first 128bytes and I need to get the next 4 bytes. My code is like below: char* icm_name = "Samsung_to_Cannon.icm"; …

Member Avatar for Ab000dy_85
0
360
Member Avatar for showman13

I'm not sure that my title is descriptive enough, but here is what I need to do... I had a bit of a screwup today with launching a site... Within about 10 minutes of opening the site, the members created 337 transactions (stored in trans_table) Each of those transaction should …

Member Avatar for showman13
0
198
Member Avatar for vizz

How to fix position of first div at **center** and add more div **around first div** as per requirement, to, **left, right, top and bottom** and scroll to that div using fix navigation at top of page

Member Avatar for vizz
0
75
Member Avatar for myfit

Hi all I have a client program about send and recieve file on LAN Network between 2 PC, but it get an error below: "Cross-thread operation not valid: Control 'Client' accessed from a thread other than the thread it was created on" in function SaveFile in line "if (saveFileDialog1.ShowDialog(this) == …

Member Avatar for myfit
0
179
Member Avatar for Umesh17_89

I am doing image segmentation using region growing algorithm. I have created Region and Pixel class where each region has list of pixels. public class Region { private List<Pixel> pixelList; } Pixel class has fields like r,g,b, hue,saturation, brightness of individual pixel in image. The result of segmentation is list …

Member Avatar for Umesh17_89
0
235
Member Avatar for pratik65

This is my Exceptio on Run Time {"Could not load file or assembly 'file:///C:\\Program Files (x86)\\SAP BusinessObjects\\Crystal Reports for .NET Framework 4.0\\Common\\SAP BusinessObjects Enterprise XI 4.0\\win32_x86\\dotnet1\\crdb_adoplus.dll' or one of its dependencies. The system cannot find the file specified.":"file:///C:\\Program Files (x86)\\SAP BusinessObjects\\Crystal Reports for .NET Framework 4.0\\Common\\SAP BusinessObjects Enterprise XI 4.0\\win32_x86\\dotnet1\\crdb_adoplus.dll"}

Member Avatar for john.knapp
0
364
Member Avatar for Huxaifa

I want to develope an ETL application for Data Ware House Project (Decision Support System) for university, i am extracting data from, Excel, Access and CSV format files, i have done the extraction, but now the problem is the Transformation of Data, i have to clean it and standardize it, …

Member Avatar for L7Sqr
0
148
Member Avatar for biancairis93

I have to create a class of Persons that will hold information about their name,age,NI number.These details are read from a file that would look like : 55512 Bart Simpson 45 45622 John Smith 58 46231 Alicia Sands 27 My duty is to read each line from this file and …

Member Avatar for Lardmeister
0
127
Member Avatar for webline

Hi. Dear php coders... I need someone to help modify the attached ecommerce software. I want to skip "ADDRESS" step in chekout process. If someone knows this ecommerce platform and can help to customize it, please let me know where and what part of code i need to change. I …

Member Avatar for webline
0
247
Member Avatar for ziyaddinsadigov

I want to check if value is already exists in database with php. But this value can be as for example "John" or "JOHN" or "JOhn" or ... e.t.c how to check for all conditions?

Member Avatar for Atli
0
16K
Member Avatar for Dili1234

I want to get the relevant name of the product Id into a text box when I select the product id from the combobox myConnection = New SqlConnection(connectionstring) myConnection.Open() myCommand = New SqlCommand(" Select Name FROM [Product_Name_List] Where P_Id='" & ComboBox2.Text & "'", myConnection) Dim dr As SqlDataReader = myCommand.ExecuteReader …

Member Avatar for Reverend Jim
0
205
Member Avatar for tony75

Hi double[] MyArray = new double[10]; I have 10 numbers and I get average of them. But how can print out how many of the numbers that are smaller than average, and how many of the numbers that are larger than average?

Member Avatar for tony75
0
1K
Member Avatar for arcticM

I'm trying to use remote data source autocomplete, I have a code that works. I'm returning an id column from a db table. what I'm trying to do is to have the autocomplete display 2 values from the table row, for example id1 - this is id 1 id2 - …

Member Avatar for arcticM
0
203
Member Avatar for sofien.fkih

I have created a csv file, and display data from database into that file, how can I add a pie chart to that file, this is the code which I made: File file = new File("C:/Users/MY TOSHIBA/Desktop/chart.CSV"); Writer output =null; output = new BufferedWriter(new FileWriter(file)); Connection con = DriverManager.getConnection("jdbc:oracle:thin:@ 127.0.0.1:1521:XE","username","password"); …

Member Avatar for sofien.fkih
0
425
Member Avatar for Octet

Helo Daniweb, I am in the process of building a WYSIWYG text editor, in an attempt to understand how they work. I am a novice at JavaScript, however what I have learnt so far seems to make sense. The problem comes when I try and change the text rapidly, if …

Member Avatar for Octet
0
476
Member Avatar for hala.qaddoumi

***Can you help me to write a java program to evaluate a mathematical expression written in a a Prefix Order ?? ***

Member Avatar for hala.qaddoumi
0
1K
Member Avatar for lena1990

hi i want to display only elements of array tht start with a number can i do that using egrep"

Member Avatar for pritaeas
0
70
Member Avatar for hwoarang69

let say i have two tables called user and cart user-table id username password 1 dave dave 2 dan dan cart-table id user-id item_name 1 2 car 2 2 table 3 1 laptop now i understand that bother id's will be primary key. i can also create user-id f-key bc …

Member Avatar for pritaeas
0
123
Member Avatar for vipin.luhach

***How To Search Value From Data Base and IF Data is Not Available then show a message "Data Is Unavilable" My Codes are as Follows :-*** private void Sf_Reg_search_ButtonActionPerformed(java.awt.event.ActionEvent evt) { String str2 = JOptionPane.showInputDialog(null, "Please Enter Staff Reg No: ","Enter Reg No For Search", 1); try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); con=DriverManager.getConnection("jdbc:odbc:HMS_DS","",""); …

Member Avatar for stultuske
0
219
Member Avatar for MOjo72

I am working on C++ coding for Shape.cpp and in the square I am getting scientific notation as the for the area and perimeter. Can anyone please tell me what I am doing wrong. Thank you. Here is my code #include <iostream> #include <sstream> #include <vector> #include <string> using std::ostringstream; …

Member Avatar for ravenous
0
476
Member Avatar for diya45

i hve reservation form add function and add button public void addreserve() { string constring = @"Data Source=.\SQLEXPRESS;Database=htm;Integrated Security=True"; SqlConnection con = new SqlConnection(constring); con.Open(); DataTable dt = new DataTable(); SqlCommand com = new SqlCommand("insertreserveinfo", con); com.CommandType = CommandType.StoredProcedure; com.Parameters.Add(new SqlParameter("@Reservation_id", myreserv.Reservation_ID1)); com.Parameters.Add(new SqlParameter("@Guest_id", myreserv.Guest_name)); com.Parameters.Add(new SqlParameter("@Room_ID", myreserv.Room_no)); com.Parameters.Add(new SqlParameter("@Service_ID", …

Member Avatar for samsylvestertty
0
110
Member Avatar for diya45

i have a form whcih is room and in this there is when i add a data on it that is room id,room no and service type and room type then when i add the data like as room id=1 room no=2 room type=double service type=luxury then when i again …

Member Avatar for samsylvestertty
0
206
Member Avatar for Carc369

I'm used to if/else. Can someone tell me if this correct or not. It's not pulling up an error but it's not outputting what I want it to output either. Thank you! char pick; cin >> pick; if(pick == 'a' || pick == 'A') stuff inside here //For case switch... …

Member Avatar for awaisahmad13
0
139
Member Avatar for hwoarang69

my code works fine but i feel i my structure of this code is not good. can any one help me out? i puted all code in one page. so i have a page. this page is made up by 3 parts. 1st part is the header. in header i …

Member Avatar for urtrivedi
0
111
Member Avatar for Zaina jee

I want to display divisors of a number in a text box using loop. But their is some error in my program.I need help to correct it. `<html> <head> <script> function CheckDivisors() { number=parseInt(document.divfrm.num.value); d=1,sp="\t"; do { if(number%d==0) { document.divfrm.div.value=d; document.divfrm.div.value=sp; } d++; } while(d<=number/2); } </script> </head> <body> <form …

Member Avatar for Zaina jee
0
171
Member Avatar for vijaycare

Hi All, I would like to thank this community for the enormous help to develop my skills. Thanks. I have 2 databases and a single report form and a crystal reportviewer. The User can select the database which he want to work (Each of them belongs to different warehouse) So …

Member Avatar for john.knapp
0
477
Member Avatar for peepas

Windows Forms - C # I wonder edit text / numbers that I have added to a listbox. I to display the names in the listbox use this code *listBox1.DataSource = itemsfim;* To add one more name in the ListBox use: *itemsfim.Add ("Jorge - Portugal");* Now I would like to …

Member Avatar for tinstaafl
0
206
Member Avatar for gAdIs90

#include <stdio.h> #include <string.h> struct mycar { char plate[10]; int ey,em,ed,eh,emin,qy,qm,qd,qh,qmin,wd,parked; }; struct mycar car[2]; int n; void main() { void input(); void display(); int menu(); void exit(); int op; n=0; printf(">>>>>>>>>>>>>>>>>>>>>>>>+<<<<<<<<<<<<<<<<<<<<<<<<<<<\n\n"); printf(">>>>\tCAR PARK SYSTEM MANAGEMENT SYSTEM \t<<<<"); printf("\n\n>>>>>>>>>>>>>>>>>>>>>>>>+<<<<<<<<<<<<<<<<<<<<<<<<<<<\n\n"); for(;;) { op=menu(); //printf("op=%d"); if(op==0)break; switch(op) { case 1: input();break; case …

0
78
Member Avatar for weeraa

Im creating ASP.NET project. There is a gridview. in grid it has a hyperlinked column named with "select" when I click "select", i want to get row data. Most of the web sites have a lot of code about this. But I feel there must be a very simple method …

Member Avatar for philiptdotcom
0
117
Member Avatar for sheila.younkin.1

I am trying to write a program that reads words from files and then puts them into arrays and then does a count on certain words. I have moved stuff around and really I am not sure that I am even on the right track. Could someone please look at …

Member Avatar for rubberman
0
291
Member Avatar for chdboy

Hi I'm using a simple insert statemnt in from two textfield into my database using this code Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If (TextBox1.Text.Trim = "") Then MessageBox.Show("PLEASE DO NOT USE BLANK SPACES", "Data Entry Error") ElseIf (TextBox2.Text.Trim = "") Then MessageBox.Show("PLEASE DO …

Member Avatar for Reverend Jim
0
859

The End.