132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Violet_82

HI all, I was looking at this program and noticed few things: import static java.lang.System.out; public class Employee { private String name; private String jobTitle; public void setName(String nameIn) { name = nameIn; } public String getName() { return name; } public void setJobTitle(String jobTitleIn) { jobTitle = jobTitleIn; } …

Software Development java
Member Avatar for Violet_82
0
3K
Member Avatar for Webbsta

Hey guys, I have written a "bot" program that is scriptable to do certain automated tasks, e.g. type, move mouse, interact with windows etc. I have a little window on this bot program (picture box) which captures the screen and places a crosshair on the window which shows the user …

Software Development
Member Avatar for Webbsta
0
227
Member Avatar for Obike

I'm having a problem updating records from my VB.Net application to the database (Access Database). I've tried all sorts of update technique and i keep getting either "syntax error in update statement" or "data mismatch in criteria expression". heres the code i'm using: Public Function save1stsemester() 'this code updates 1st …

Member Avatar for Obike
0
558
Member Avatar for daino

Anybody know what the below means. I'm building Gnuplot on Windows XP with a MinGW compiler. It could have something to do with the flags at the top of the message below but I don't know how to work that out. Error starts 8 lines down. gcc -DHAVE_CONFIG_H -I. -I.. …

Software Development c++
Member Avatar for daino
0
656
Member Avatar for عشقي

hi every one, i'm writing a code to split a file into many files with a size specified in the code, and then it will join these parts again. the problem is with the joining code,it doesn't work and i can't figure what is wrong, can any one help? this …

Software Development java
Member Avatar for عشقي
0
339
Member Avatar for riahc3

This a followup to these two threads: http://www.daniweb.com/software-development/java/threads/438729/recursive-ftp-listingmakingcreatingetc-access http://www.daniweb.com/software-development/java/threads/439941/recursive-ftp-listingmakingcreatingetc-access...-part-2 For the "real thing" Ive decided to break it to two function: Insert file and make directory. Ill reexplain what I am trying to do. Im going to go a folder called "webfolder". If it isnt found, it is created. If …

Software Development java
Member Avatar for riahc3
0
324
Member Avatar for Gujjar007

can anyone give a hint in Complete Binary Tree Insertion ?????

Software Development c++
Member Avatar for Gonbe
0
150
Member Avatar for firewall321

Hey guys, i'm kinda desperate.. because of illness I had to miss 2 months of uni, I was seriously sick and could not even leave house for that time, now it's an exam time and I have no idea how to write it.. fortunately our teacher gave us 8 small …

Software Development c++
Member Avatar for T-Dogg3030
0
125
Member Avatar for happygeek

An in-the-wild exploit targeting a vulnerability with Java 7 has led to security experts the world over warning users to disable the Java plug-in for their browser clients at the very least, and preferably uninstall Java altogether. The CVE-2012-4681 vulnerability, comprising two flaws, along with a couple of other 'related …

Software Development cybersecurity java oracle
Member Avatar for vmk99
0
688
Member Avatar for Nethran

First off, some setup. I'm doing the final course project for my C++ class, and this is the first time I've had trouble. The things I'm supposed to be doing in this assignment seemed a lot simpler before I started working on this, and now I'm just hitting walls. The …

Software Development c++ data-structure ios
Member Avatar for Nethran
0
355
Member Avatar for Lle26

Public Module BackupRestoreModule ' save all db Public Function SaveDB(ByVal FileName As String) As Boolean Try ' create the stream writer object Dim FS As New System.IO.StreamWriter(FileName) ' open DB connection and start a transaction Dim Conn As New OleDb.OleDbConnection Dim Tmp As New LMS_DSTableAdapters.BookTableAdapter Conn.ConnectionString = Tmp.Connection.ConnectionString Conn.Open() Dim …

Software Development file-stream vb.net
Member Avatar for poojavb
0
108
Member Avatar for Thomas7399

Hi, I am trying to insert values into my local SQL database. Here is my code: Imports System.Data.SqlServerCe Public Class AddSensor ' Shared variables Dim con As SqlCeConnection = New SqlCeConnection("Data Source=C:\Users\Bryan\documents\visual studio 2010\Projects\SiteSecure v1.1\SiteSecure v1.1\Database1.sdf") Dim cmd As SqlCeCommand Dim myDA As SqlCeDataAdapter Dim myDataSet As DataSet Dim oForm1 …

Software Development dataset open-source sql vb.net visual-studio
Member Avatar for poojavb
0
288
Member Avatar for Harshita_garg

Hi! I am working on a project in which I have some variables & I have assigned certain default values to those variables.Output of the project should be somewhat like as shown below :- a = 10 b = 20 c = 1 d = 4 ... & so on …

Software Development c++
Member Avatar for azeem abbas
0
221
Member Avatar for huntvbcode

I want to know **what are the prerequisites Softwares Needed to install on my pc to start vb.net 2008 and ms sql Standalone and Server Client Software Development**? I have P4 Processor, 4 GB Ram, 1 TB Hard Disk, Oprating System Windows XP Professional Service pack 3. Visual Studio 2008 …

Software Development sql vb.net visual-basic visual-studio
Member Avatar for M.Waqas Aslam
0
286
Member Avatar for Darth Vader

Hello, I wonder if 2 backgroundworkers which are asynchronous can call the same function like in the code below. What I wonder is if the function is called Exactly at the same time from 2 workers. Can anything go wrong here or is this not a problem. I am not …

Software Development
Member Avatar for Darth Vader
0
154
Member Avatar for yous

Hi Guys I need to retrieve a value from the javascript below in my html code and inject this value into a webbrowser. how can I format and invoke this script ? $(function(){jQuery.liveviewWithTable({enableCountsTable:false,enableCountTable:true,countTableElement:$("#count"),directionIn:$.getParam("Counter.DirectionIn"),liveSumUrl:"/local/people-counter/.api?live-sum.json",loadingAnimationUrl:"/people-counter/images/ajax-loader.gif",dataTypes:["in","out"]})}); Thanks a lot

Software Development java javascript vb.net
Member Avatar for yous
0
158
Member Avatar for Cw Will

Anyone can help? What is the codes to let the word in twinkling motion? I am in trouble of it ><

Software Development c
Member Avatar for Adak
0
281
Member Avatar for Coach_Nate

I was wondering if there is any way to parse integers from a string (like in java)? Anyone know of a built in function in c++?

Software Development c++
Member Avatar for rubberman
0
261
Member Avatar for vikuseth

I am using one dll in my application for including the functionality provided by that dll . This dll i am getting after installing one msi . But in my application i have a requirement like if the user has not installed that msi then we have to show one …

Software Development c++
Member Avatar for rubberman
0
229
Member Avatar for ford.cotterill

Hi I have the two queries below, they run far too slow around the 20 second mark , I have around 18,000 rows on the videos table and 2,000 on the other. Any thoughts? Thanks $query="SELECT videos.VIDEOID, videos.title, (select video_thumb_chosen.thumb from video_thumb_chosen where video_thumb_chosen.videoid = videos.VIDEOID group by video_thumb_chosen.thumb order …

Software Development sql
0
129
Member Avatar for monching

Hello there, How to add items in combo box from mysql database? 'mySQL statement 'tryCatch method ComboBox1._______ = myReader.GetValue(myReader.GetOrdinal("Uname")) I'm trying use this: ComboBox1.items = myReader.GetValue(myReader.GetOrdinal("Uname")) but an error occured.

Software Development mysql vb.net
Member Avatar for Reverend Jim
0
307
Member Avatar for phorce

Hey, I have a function in C that I am trying to convert over to C++. I have done everything, apart from this line: memcpy(mel[i],&temp[melstart[i]],mellength[i]*sizeof(double)); I need a way of copying the elements in temp[melstart[i]] over to a vector of doubles.. Here is the C code: void Setup_Mel(int fft_size, int …

Software Development c++
Member Avatar for mike_2000_17
0
173
Member Avatar for pop_cola

Hi guys, Do you have some sort of guidelines on how a user is notified that there's a new upgraded revision of the application (assembly information) or set-up files? The situation is like this, I have created a vb.net application and created a set-up file using VS2008. Now everytime I …

Software Development assembly vb.net visual-studio
Member Avatar for pop_cola
0
166
Member Avatar for kdar

Hello everyone, I am working on one program that generates a lot of data...eventually it can be in GB range. And the way I am doing it now is just by writing to ascii file everything time... like this: ofstream flowC("outputfile.out"); // declared at the start flowC << prevsid << …

Software Development c++ file-system
Member Avatar for L7Sqr
0
615
Member Avatar for Harley_Quinn

Hey Guys, I'm extremely new to the coding in Assembly language MIPS - currently I'm using QtSpim. And I was wondering how I can go about multiplying two numbers that I input and display that number, as well as, find an average of numbers and displaying that. Any info would …

Software Development assembly
Member Avatar for Harley_Quinn
0
148
Member Avatar for calvintmoss

So I am using spim and I am trying to figure out how to take a users input say "16" and then print it as 9 digit binary number. for example 16, 000010000 or say 4, 000000100, 67 01000011 etc etc always 9 spaces and in binary. I have all …

Software Development assembly
Member Avatar for sbesch
0
387
Member Avatar for bobby2525

Hello, I've been working on this code for a while and I can't get it to display A to a(Uppercase to lowercase) as well as lower to upper, a to A. I've looked around and found suggestions on here and googel from other similar threads that I've tried but none …

Software Development assembly
Member Avatar for sbesch
0
1K
Member Avatar for TheBrick

Hello all, I have a class with a std::set member that I am trying to send to terminal via std::cout. I am trying to achieve this by iterating through the set and dereferencing the iterator. I am unable to achieve this. Anyone able to point me in the right direction …

Software Development c++
Member Avatar for TheBrick
0
237
Member Avatar for vijaycare

Hi All, I have 2 data table in my application and want to create a new table from those 2 tables. Dim sql As String = "Select ID, DESC, QTY from Purchases Where PDate >= @StartDt and PDate <=@EndDt order by ID" Dim da As New OleDb.OleDbDataAdapter(Sql, Con.conn) da.selectCommand.Parameters.AddwithValue ("@StartDt", …

Software Development vb.net
Member Avatar for Reverend Jim
0
181
Member Avatar for laian.alsabbagh

Hello, I have this java code which draws to me 100 nodes(with the sink node)(like the figure) that are connected by links, at the end I will get a tree , now I need to redraw the tree in(shortest path tree using prim algorithm )I have the nods in ( …

Software Development algorithm java java-swing
Member Avatar for laian.alsabbagh
0
421
Member Avatar for MrMicro

i need explain for that bits 16 arr db 0x5,0x1,0x3,0x2,0x7,0x3,0x6,0x4,0x9,0x5 arr_e equ $ i dont know how to make look up table in emu8086 and i dont know whats meaning of bits 16 and "arr" is a file on pc or it's a normal word in a code in the …

Software Development assembly
Member Avatar for sbesch
0
224
Member Avatar for Alda1992

Hello everyone, I write code in assembler, which subtracts two numbers. I need advice on how to modify the code subtracted from a positive number to a negative number. For example: 826-(-621) = 1447 Thanks for you advice ; 826 = 0x33A, 961 = 3c1 ; 576 = 0x240, -621 …

Software Development assembly
Member Avatar for sbesch
0
151
Member Avatar for Begginnerdev

Hello my fellow Daniwebers! I am having some problems wrapping my head around the task sorting a List(Of CustomType) I have a list containing a custom class. The class contains Two DateTime objects, Start and End. I am trying to sort the list descending so that the shortest timespan will …

Software Development vb.net
Member Avatar for Begginnerdev
0
450
Member Avatar for Vish0203

I'm new to win32 application building using C. I'm using DEV C++ and I'm able to get a window, by using the "windows application" icon in DEV. I want to know how to display our text on to the window??? That'll be very helpfull! This is the readymade code generated …

Software Development c c++ gui
Member Avatar for Ancient Dragon
0
4K
Member Avatar for M4ver1k

I'm trying to iterate through a struct, but wanted to be able to do something along the lines of: string searchy = "jimmy"; string suffix = "firstname"; for (person dude : pnum){ if (dude.&suffix == searchy){ // Do things } } For those familiar with Perl/PHP, I'm trying to accomplish …

Software Development c++ perl
Member Avatar for M4ver1k
0
276
Member Avatar for kaywt

Ok... Got a lab to generate 150 random numbers and then sort the 1st 50 by BUBBLE SORT, the 2nd 50 by SHELL SORT, and the 3rd 50 by SELECTION SORT. After I get those three to work correctly then I need to MERGE SORT the three of them together. …

Software Development c++
Member Avatar for kaywt
0
181
Member Avatar for kaur.reinjarv

I need to transform E-DOC XML INSDES (instruction to dispatch – document sent from Seller to Logistics company) to Edo XML INSDES using XSLT transformation and verify final by XSD scheme. Here is the E-DOC XML <PickingRequest> <Order No="C3710177"> <OrderDate> 2012.11.15 </OrderDate> <ShipFrom> 4771459000007 </ShipFrom> <ShipTo> 9854485652622 </ShipTo> <Lines> <Line …

Software Development xml
0
103
Member Avatar for np2100

Hello I have been thinking for a while on how to do this one program in c++. I am trying to make a quiz in c++ with 4 yes or no questions. After the quiz has been taken I want to have it ask another question depending on how many …

Software Development c++
Member Avatar for Gonbe
0
341
Member Avatar for vikuseth

#include "B.h" class A { public : A() { s_b = new B(); b = new B(); } static B s_b ; B b ; }; #include<iostream> using namespace std ; #include "A.h" int main() { cout<<"hello"; } In my project i have seen static object as above . But …

Software Development c++
Member Avatar for deceptikon
0
181
Member Avatar for pestallozi

a) Write an algorithm to add and multiply two large integers, which cannot be represented by built-in types. b) Write a “c” function to find recursively the maximum and minimum element of an array A of size “n” elements. Find also the number of comparisons required for this. a) Write …

Software Development algorithm c
Member Avatar for pestallozi
0
121
Member Avatar for RockyBalboa

I am new to vb and trying to create a timer that will countdown for sets of time interval. I managed to display the countdown for enddate but I have no idea how to continue to enddate1 as soon as enddate finished. My code as follows: Public Class Form1 Dim …

Software Development vb.net
Member Avatar for tinstaafl
0
166
Member Avatar for Ranjan_1

why in a calculator program using command line argument multiplication not done???? in Gcc

Software Development c
Member Avatar for Peter.Aye
0
56
Member Avatar for imperator

Hey, I have created one digit 7-segment screen in vb.net, which works fine, but I need several digits to show. How can I show the screen in multiple instances, which can be controlled separately? The form code is in attachments. Any suggestions appreciated!

Software Development vb.net
Member Avatar for imperator
0
209
Member Avatar for davecoventry

I am trying to access a string. wchar_t *str; char *Pname; FILE *fp; str = somefunction(); Pname = str; fp = fopen ("/tmp/test","a+"); fprintf(fp,"%s\n",Pname); fclose(fp); str actually contains "ABigName", but the file simply contains the first letter, "A".

Software Development c
Member Avatar for deceptikon
0
178
Member Avatar for Agni

I have a some libraries which have a lot of common classes but the namespaces are different. Most of the code I was writing could be easily reused by classes in both libraries so after some reading I tried a technique of using the templates to pass namespace. As you …

Software Development c++
Member Avatar for Agni
0
127
Member Avatar for norsalwani.shasa

the answer of Write a class for rational numbers. A rational number is quotient of two integers, such as 2/3 or 1/2. Your class should have three constructors. One constructor takes no argument, and initializes the rotational number to 0. Another constructor takes a numerator only (the denominator is assumed …

Software Development java
Member Avatar for JamesCherrill
0
198
Member Avatar for bipinbaglung

NavigationController.h #import <UIKit/UIKit.h> @protocol NavigationControllerDelegate; @interface NavigationController : UINavigationController<UINavigationControllerDelegate> @property (nonatomic , assign)id<NavigationControllerDelegate , UINavigationControllerDelegate> delegate; -(void)cancelImagePicker:(id)sender; @end @protocol NavigationControllerDelegate <NSObject> - (void)mediaPickerController:(NavigationController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info; - (void)mediaPickerControllerDidCancel:(NavigationController *)picker; @end NavigationController.m #import "NavigationController.h" #import "DataViewController.h" @interface NavigationController () @end @implementation NavigationController @synthesize delegate; -(id)init{ UIViewController *controller = [[DataViewController alloc]initWithNibName:@"DataViewController" bundle:nil]; …

Software Development ios objective-c
0
104
Member Avatar for thePAkid

I'm trying to output data to a file. I half killed myself trying to get the program to work , everything works all data is working except for a few errors will show later. Heres my code // Week 13: In Class Exercise - 5 Solution #include <iostream> #include <string> …

Member Avatar for thePAkid
0
248
Member Avatar for satsujin

Hi folks, I was wondering if there was some way to delete all Labels from a Tkinter canvas in one go. I'm not even sure if the labels are being drawn on the canvas since you only use the master(self.root) when creating it but I do the same for buttons …

Software Development python tkinter
Member Avatar for satsujin
0
2K
Member Avatar for lulu79

I have a LINQ function to get 3 things :: Line, Average of Duration and Count I have a problem to sort it based on Average Of Duration column. Here is my code: Dim group2 As IEnumerable(Of DataRow) = _ From row In Ds.Tables(0).AsEnumerable() _ Group row By LINENAME = …

Software Development asp.net vb.net
Member Avatar for lulu79
0
752

The End.