64,152 Solved Topics
Remove Filter ![]() | |
I have SQL Compact installed, and I'm using VS C# 2008 Express. I'm kinda confused though. I try to add: [CODE]using System.Data.SqlServerCe;[/CODE] And get an error. It don't even pop up in intellisense. I've tried adding reference paths to the DLL's (not sure if I'm doing it right) but still … | |
Hello everyone, I'm having a really strange problem and I can't figure out why. [CODE=java] public void readEmpregados(ArrayList <Classe_Pessoa> list) throws IOException, ClassNotFoundException { FileInputStream file; try { file=new FileInputStream(this.empregados); } catch (FileNotFoundException e) { this.empregados.createNewFile(); return; } System.out.println("I'm here"); try { ObjectInputStream out=new ObjectInputStream(file); Object prototype=out.readObject(); if (prototype instanceof … | |
im using the python command prompt to enter these commands and after the window is shown. it becomes "not responding" which makes all later commands to it do absolutly nothing, including simply trying to resize the window with the mouse. this is how the code starts out... [CODE]import os, sys, … | |
I have a problem reading in data from a CSV file using tabarray (see code below) because the CSV file has a incomplete fields in the last record of the file. As a consequence I get the following error: [COLOR="Red"] File "build\bdist.win32\egg\tabular\io.py", line 170, in loadSVcols assert (Lens == Lens[0]).all() … | |
Hi all, I have a picturebox with scalemode pixel dim height as integer dim width as integer height = picbox.scaleHeight width = picbox.scaleWidth picbox.PaintPicture pic, 0, 0, height, width, 0, 0, picheight, picwidth note: picheight and picwidth are the height and the width of pic (in pixel) that has been … | |
Hi, Im new here and to java programming in general. I've been given an assignment to write a sorting algorithm and then test it using JUnit tests. The problem is when I try to compile the tester class i get a ".class expected" errors followed by three "; expected" errors … | |
Hi everybody, Again, I try to deal with exercise from a book Think Python version 1.1.19., exercise 9.2. (case study: world play) My contents of the words.txt is: "Ahoj, Toto je moj prvy pokus otvorit a citat subor. Vela stastia " Thing is, if you have a look at a … | |
I just made a 'Hello World' program [code] #include<stdio.h> int main() { printf("Hello World\n"); return 0; } [/code] [code] exe file size = 15.5 KB Source file size = 79.0 B [/code] Then i made a data structure program (implementing stack, queue, deque) [code] exe file size = 21.9 KB … | |
I wonder what is the name of his widget. It manages wxFrames whose in turn manages wxNoteBooks. It is like wxAUI but its Frames has maximize windows. I wonder what is equivalent wxWidgets/wxPython for [URL="http://www.swordsearcher.com/features/screenshots/swordsearcher-screenshot-full.png"]this [/URL] see here Thanks | |
Okay, being a Linux guy, I absolutely hate it when applications are not cross-platform (Windows only). So, I decided to write myself a cross-platform media player. I have spent quite the bit of time making it look great on Linux, but I am unable to do the same on Windows … | |
Hi, I was playing around last night with having one main frame that contains several windows you can open under the window menu. For example you might have a chat window and you might have a game board window. I want these windows contained by one larger frame that represents … | |
hi, I have been doing my ASP.net project in C#.I am a beginner to a programming world.i have Performed executed some sql queries by writing some Connection strings..But i am looking for finding another method,which i could get simpler by calling some function like "studadapter.fill(dataset,"src table")" which is to fill … | |
Hi! I don't have much experience with python, so I hope you could help me. I have to do a program that delete all the punctuations of a input txt document, but i can't figure out how to input the name(of the xy.txt) in the function. Function [CODE]import string def … | |
Hello all, I have a php function that deletes the contents of a database table that relies on a javascript confirm box to tell it what to do as follows javascript function as follows [code] function deleteMasterList() { var outcome = confirm("Delete Master List, you will have to re-enter all … | |
Major a/v sync issues using Logitech webcams and directshow and dspack Followed various MSDN methods and other peoples thinly described methods on the net and still to no avail. Im using a logitech quick cam pro 4000 and CANNOT get the audio and video in sync. Ive tried tonnes of … | |
Hey all, I've tried many times to write a C++ class around a C library to make a nice clean interface to that library. Now I keep on getting the same problem: Once in the class, I initialize the C library, and then the C library complains that EG: error … | |
Hello, I'm writing a music player and I'm having trouble with one of the most important concepts of it: remembering songs you add to your "Library". The main draw of my music play is being quick and efficient at everything, and keeping that in mind, what would be the best … | |
Hi, I am trying to make and use my own DLL within a C++/CLI project. The DLL project contains an header utc.h file with the following declaration: [code] namespace utc { __declspec(dllexport) void dthr (int dt[3], int hr[3]); }[/code] The source of the dthr.cpp file starts with: [code] namespace utc … | |
Hello guys, I'm trying to make this work [CODE]all: daemon client daemon: cd ./daemon; make daemon client: echo going in cd ./client; make client clean: cd ./daemon ; make clean cd ./client ; make clean[/CODE] But I'm having 2 problems: 1) Make ALWAYS tells me there's nothing to be done. … | |
Why when I save a float value into database (the data type is float as well), for example 24,62 in database is writen as 24,6200008392334. I have entered only 2 decimals, but in db there is plenty of them. This is how I have: [CODE]string Together = textBoxAmount.Text; string[] Seperated … | |
hi, i'm new to php... i have created a login page -- login.html, where user can enter username & password. when they submit the form, leads to a validation page -- login.php if login succes it forwards to 3rd page. Suppose if it fails, then again redirects to login.html where … | |
I have a file that contain data structure as below: L,13206,11,02,06,000,3981.100 19,22,25,26,19 END L,13207,11,02,06,000,6561.000 22,24,7,8,9,25,22 END K,[COLOR="Red"]1[/COLOR],P [COLOR="red"]-18970.811,53728.643[/COLOR],BKL,,e-Coord,M END so how can i extract 1 and -18970.811,53728.643 and export it into a new output file with new structured as below: C [COLOR="red"]1 [/COLOR] [COLOR="red"]-18970.811 53728.643[/COLOR] For your information, the value … | |
First, I want to thank you for helping if you did, if not, thanks for checking it anyway. Second, I have been working on this for awhile, and I am slowly making progress. I am to make an address book, and for the most part I am getting it done … | |
I am a beginner at Java. I have been given an assignment to make a simple address book(without applets) using Java. It should have the following functions:- 1) search-by name,city. 2)add-name,telephone number,city,address. 3)modify. 4)delete. I am still working on the program.But the problem comes when the screen(black one) becomes too … | |
Hi, I'm trying to locate a certain row in my datagridview, using textbox _textchanged event. Grid is populated with table having 2 columns as primary keys. With one column I have no problem, but using 2 columns I'm having exception . [code] private void dfSponsorname_TextChanged(object sender, EventArgs e) { try … | |
If I'm running a Do... Until or a For... Next loop in a button click event, is there a way I can allow the user to click the same button while the loop is running and escape the loop? | |
Hi, everyone. I am stuck in such a situation: When failing to open a file, of which the name is in Unicode, I need to show the user something like "Can't open file: \My Document\file-name-in-unicode.txt" by throwing an exception . I often use exceptions this way(is this a good way?). … | |
Hi guys, I'm a newbie in Visual Basic and I need some assistance. I have 2 tables in mysql: 1. stats (stats_id,statsno,statsName) 2.stats_det (stats_det_ID,stats_id,stat_DateAdd,stat_UserAdd,stat_DateModif,stat_UserModif) I have a form named status and from here I want to add a new record in the first table (stats). I've created the insert statement … | |
Dear Experts How to display picturebox as oval shape. Please help | |
can anyone give me a sample code of a while statement with more than one condition? please... | |
Hi I have problem to get data from tag (eg: <TEXT></TEXT>). For example the string is like this: [CODE]$string = "<TEXT> Some text </TEXT>"; if($string =~ /<(TEXT)>\s*(.*)\s*<\/\1>/g) { $result = $2; print $result, "\n"; }[/CODE] It works fine, but if the string is like this: [CODE]$string = "<TEXT> Some text … | |
I have a listView, in 1st column is are article names, in 2nd column are prices of these articles (data type of float). And I have checkBoxes. What I would like to do, is to count the prices in 2nd column of all selected rows. And then the counted value … | |
Hi, i am trying to develop a tool box for simple graphics...basically i want to give users an option to use a tool box and design basic drawings at run time...the drawings would be like simple network diagrams...some nodes connected to a backbone types... my friends (google, yahoo etc.) have … | |
Hi one and all, I am using C#.net language in asp.net framework using visual studio 2008. I have one checkbox as input control and two textboxes named textbox1 and textbox2 as asp controls. First the client needs to type something in textbox1 and after that the client needs to check … | |
![]() | I have been reading about pointers, which IS confusing. I'm sure there is a purpose, but I don't know why I need them yet. For example [CODE] [COLOR=Red]var1 = 23;[/COLOR] [COLOR=Blue]// assigning 23 to var1[/COLOR] [COLOR=Red]var2 = var1; [/COLOR] [COLOR=Blue]// assigning the value of var1 to var2[/COLOR] [COLOR=Red]var3 = &var1;[/COLOR] … |
hello.... i want to do text fadein ,fade out using javascript onload page. actually i want to display text which is in database that text will appear in front end with fadein and fadeout effect. anybody plz help.............. | |
How to create independent search engine like google? Without linking with google how to search images and videos? | |
I've managed to get PHP to work well with SQL, but date and time-related parts of my site are proving difficult to understand. I've created 3 records with these dates: December 26th (2009) - 2:25pm January 5th, 2010 - 3:00pm January 7th, 2010 - 9:00pm I'm trying to get it … | |
How to search images from diferent websites and display without storing it. (Problem is how to search and display images like google image search with perticular word entered by user) | |
Gentlefolk, Totally new to the world of C C++, compilers and linkers. I am attempting to compile and build some demonstration application code which access BlueTooth devices. Have all the .C, .H files, also a .lib. Using the LCC c ide-compiler-linker, etc on Windows-32 Compile one module - no errors. … | |
Hi How Can I Change The Height of Rows in DBGrid ? Thanks. | |
In undefined cases, anything can happen, the program can crash, or unexpected results be thrown up. What happens is up to the compiler. In unspecified cases, the Standard has deliberately not defined the exact behaviour of a few things so that the compiler is at liberty to do as it … | |
[code=c] printf ("%d",EOF);[/code] This gives me -1 [code=c]scanf ("%d",&a);[/code] [code=c]printf ("%d",a) [/code] where a is int (as EOF is an int), this gives me some junk value [code=c]printf ("%d",getch());[/code] This gives me 26 I've always given the input as ctrl+z (that's right, na!) What's the correct value of EOF ? | |
Im trying to make the run.bat file read the .class files from the folder classes/src. But before I didn't package my .java files and the created .class files were found in /classes. But now that I packaged my .java files, the newly created .class files are being read from inside … | |
Hi. This is the first Topic I've posted at (the cool) daniweb site so go easy on me. I want to put the cities of England with all their districts in a database. I can think of the following two ways to do this: 1) [B]cities[/B] ([U]cityID[/U], cityName) [B]districts [/B]([U]districtID[/U], … | |
Hi everyone I have the lightbox working properly on the site but actually want it to pop up/open automatically, say after 2 seconds after the page is loaded and without having to trigger it by klicking a href link. I noticed daniweb has exactly the same function here on this … | |
hi i am creating a webpage with a menu down the left hand side. depending on which link in the menu you click a table on the right of will show the relavent information. the table will show the relavent information from a mysql table based on the link clicked. … | |
hi i am creating a webpage with a menu down the left hand side. depending on which link in the menu you click a table on the right of will show the relavent information. the table will show the relavent information from a mysql table based on the link clicked. … | |
Hi guys, I understand the difference is that the params of ctor 2 are declared const with n being passed by reference. However, I don't seem to understand what difference having these params (n and a) declared constant with n being passed by reference makes? I mean, I'd understand the … |
The End.