64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for JayOne

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 …

Member Avatar for sknake
0
112
Member Avatar for Ugaton

guys got some problems with regards to c# programming im new with this one.. my problem is displaying 5 integers or numbers that is having a 3 spaces in between the numbers.. want some of your codes.. thanks a lot guys... Happy new year

Member Avatar for ddanbe
0
106
Member Avatar for Crushyerbones

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 …

Member Avatar for Crushyerbones
0
181
Member Avatar for senateboy

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, …

Member Avatar for vegaseat
0
9K
Member Avatar for RogerI

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() …

Member Avatar for RogerI
0
149
Member Avatar for neosonic

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 …

Member Avatar for neosonic
0
2K
Member Avatar for tfitz666

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 …

Member Avatar for tfitz666
0
219
Member Avatar for vlady

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 …

Member Avatar for vlady
1
258
Member Avatar for xavier666

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 …

Member Avatar for xavier666
1
176
Member Avatar for Stefano Mtangoo

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

Member Avatar for lllllIllIlllI
0
158
Member Avatar for SoulMazer

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 …

Member Avatar for Stefano Mtangoo
0
120
Member Avatar for adams161

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 …

Member Avatar for adams161
0
119
Member Avatar for ajijacobm

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 …

Member Avatar for ajijacobm
0
158
Member Avatar for zrin

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 …

Member Avatar for zrin
0
100
Member Avatar for mr_scooby

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 …

Member Avatar for mr_scooby
0
156
Member Avatar for instinctfx

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 …

0
76
Member Avatar for harryhaaren

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 …

Member Avatar for harryhaaren
0
445
Member Avatar for SoulMazer

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 …

Member Avatar for SoulMazer
0
146
Member Avatar for BobFX

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 …

Member Avatar for Excizted
0
185
Member Avatar for Crushyerbones

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. …

Member Avatar for Crushyerbones
0
136
Member Avatar for Mitja Bonca

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 …

Member Avatar for sknake
0
119
Member Avatar for nadnakinam

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 …

Member Avatar for mangel.murti
0
605
Member Avatar for wasyazwan

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 …

Member Avatar for wasyazwan
0
407
Member Avatar for Dougnukem

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 …

Member Avatar for blackeyedanel
0
216
Member Avatar for shubhang

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 …

Member Avatar for blackeyedanel
0
231
Member Avatar for snakay

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 …

Member Avatar for snakay
0
1K
Member Avatar for OldQBasicer

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?

Member Avatar for Progr4mmer
0
156
Member Avatar for kevintse

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?). …

Member Avatar for kevintse
0
3K
Member Avatar for venom80

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 …

Member Avatar for venom80
0
2K
Member Avatar for tqmd1
Member Avatar for selvaganapathy
0
89
Member Avatar for aladar04
Member Avatar for aladar04
0
533
Member Avatar for back2arie

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 …

Member Avatar for k_manimuthu
0
144
Member Avatar for Mitja Bonca

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 …

Member Avatar for Mitja Bonca
0
3K
Member Avatar for pankaj.garg

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 …

Member Avatar for pankaj.garg
0
110
Member Avatar for happyns

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 …

Member Avatar for happyns
0
100
Member Avatar for Geek-Master

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] …

Member Avatar for new programer
0
490
Member Avatar for muralibobby2015

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..............

Member Avatar for muralibobby2015
0
158
Member Avatar for vizz

How to create independent search engine like google? Without linking with google how to search images and videos?

Member Avatar for FlashCreations
0
124
Member Avatar for whitestream6

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 …

Member Avatar for darkagn
0
723
Member Avatar for vizz

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)

Member Avatar for vizz
0
93
Member Avatar for iru

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. …

Member Avatar for iru
0
277
Member Avatar for fayyaz
Member Avatar for daudiam

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 …

Member Avatar for Narue
0
169
Member Avatar for daudiam

[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 ?

Member Avatar for Narue
0
141
Member Avatar for kilermage

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 …

Member Avatar for kilermage
0
73
Member Avatar for M40

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], …

Member Avatar for gtdriver94
0
161
Member Avatar for zeroge

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 …

Member Avatar for JugglerDrummer
0
78
Member Avatar for ryan1987

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. …

Member Avatar for ryan1987
0
80
Member Avatar for ryan1987

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. …

Member Avatar for ryan1987
0
75
Member Avatar for pac-man

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 …

Member Avatar for Excizted
0
132

The End.