132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for 9tontruck

Hi guys, I am having a small problem on using QNetworkAccessManager in QThread. The error message is: "Object::connect: No such slot QThread::replyFinished(QNetworkrReply\*)" And my code is header class SSLReceive : public QThread { //Q_OBJECT public slots: void replyFinished(QNetworkReply* net_reply); protected: void run(); private: void initialize(); QNetworkAccessManager* manager; QSslConfiguration config; }; …

Software Development c++ qt
0
182
Member Avatar for Dadkhah

it is my first time which I want to use ethernet card to read some date from PLC my application/software . does any body has an expereince? is it possible introduce a example or any reference for this isuue? thanks a lot in advance.

Software Development c# c++
Member Avatar for skatamatic
0
180
Member Avatar for Ruan10

**I have to create an application that will dynamically add a menu strip with menu items to a form(ie NOT dragged and dropped onto the form) in Visual Basic. The menu strip should be created in the Form_Load event handler. I have to use a TextBox for user input. If …

Software Development vb.net visual-basic
Member Avatar for Reverend Jim
0
1K
Member Avatar for sundog1

Hi again guys... Right, Having issue with a ADODB connection as I have never used one before. Currently trying to read files out of a folder using the ODBC connection that comes with the Software I want to extract data from. I have managed to get the connection to the …

Software Development dataset listview open-source
Member Avatar for lolafuertes
0
268
Member Avatar for Ruan10

I need help with the following windows form applications in VB, question is attached. PLEASE HELP ME!!!!!!!

Software Development vb.net
Member Avatar for Reverend Jim
0
595
Member Avatar for abdelhakeem

Hello Daniwebers! I was just reading This C++0x Beginner Tutorial: http://www.daniweb.com/software-development/cpp/tutorials/373787/beginning-c0x-making-a-raii-class And I was confused by something: " `int_vector(int_vector& aV);` > Obviously, this type of constructor would allow the transfer of the resource, since the source object can be modified and put into an empty-state (or "zombie-state"). But there are …

Software Development c++
Member Avatar for abdelhakeem
0
220
Member Avatar for timberwolf94

I have been trying to write a program for the game of life and have been having some issues. The rules are: 1. Any live cell with fewer than two live neighbours dies, as if caused by under-population. 2. Any live cell with two or three live neighbours lives on …

Software Development c++
Member Avatar for TrustyTony
0
351
Member Avatar for cyberdaemon

how can i save multiple record in single click using user define data type in SQL i am having problem in selecting the value in gridview using checkbox here my code View // View LAyer protected void imgbtnSave_Click(object sender, EventArgs e) { DataTable dtTable = new DataTable(); DataRow dtRow = …

Software Development
Member Avatar for taskman
0
133
Member Avatar for MoMule

I wrote a class called Creature.java that creates a random creature object with various body stats. The Creature class extends MonsterGUI. I used Netbeans to create a new jFrame form, called MonsterGUI.java to create a GUI to display the creature objects' stats using jLabels. In MonsterGUI I have a private …

Software Development gui java java-netbeans
Member Avatar for MoMule
0
1K
Member Avatar for opprogrammer

Hi guys, I'm making an RPG(role-playing game) and I need some help. Here is the code so far: class Create: def __init__(self, power, attack, defense): self.power = power self.attack = attack self.defense = defense warrior = Create(300, 50, 150) wizard = Create(500, 100, 230) characters = [ "warrior", "wizard" ] …

Software Development python
Member Avatar for Schol-R-LEA
0
201
Member Avatar for SuperManofBC

public void compareStrings() This method will prompt the user to type two strings and will put them into different String variables. Then it will compare those strings to see if they are the same, i.e. have the same letters in the same order. If the strings are the same, “same” …

Software Development java
Member Avatar for SuperManofBC
0
211
Member Avatar for stompjrkz400

Hello i have a question ! ha, what is the diffrence between these two sets of code, my proffessor says there diffrent, i just cant figure out why, they both seem to do the same thing, this is my first time working with the coproccessor and im alittle stuck, thanks …

Software Development assembly
Member Avatar for sbesch
0
98
Member Avatar for Silentme

I realise that this is a simple and probably daft question... Here is my problem. I am trying to create the VB code to change label background colors, it sounds simple, however i want a user to select from one of four lables one red/blue/green and yellow, then select from …

Software Development visual-basic
Member Avatar for mustaffa hasan
0
3K
Member Avatar for bleedi

Hiya! I have a function that creates 3D meshes procedurally from the given parameters. It creates a four-sided box, which is (for example) 1.0 wide, 1.0 high and 100.0 long. The box is then subdivided into multiple parts, so if the aforementioned box is subdivided to three parts, it will …

Software Development image
Member Avatar for Momerath
0
252
Member Avatar for stompjrkz400

hey everyone, im in my first semester of assembly, i had a quick quesiton, im working with the coproccessor now for the first time and i would like to know if The coprocessor stack holds all values as 80-bit reals then what is the largest integer data type that can …

Software Development assembly
Member Avatar for sbesch
0
195
Member Avatar for 4evrmrepylrning

I'm working with some really ugly files at the moment When I get them they can look like any of these: All data on one line delimited by ┌ `data1|data2|data3|┌data1|data2|data3|┌data1|data2|data3|┌data1|data2|data3|┌data1|data2|data3|┌` Nice data. All the bits I'm interrested already one one line per bit of information: `data1|data2|data3|` `data1|data2|data3|` Mixed: `data1|data2|data3|┌data1|data2|data3|┌data1|data2|data3|┌` `data1|data2|data3|` …

Software Development python
Member Avatar for Gribouillis
0
210
Member Avatar for DubyStev

Hello great people, I have a challenge passing array into functions.. I will be very grateful for quick responses.. THANKS

Software Development c++
Member Avatar for mike_2000_17
0
241
Member Avatar for Freedom*

i want to create a program with the grades in a school. we have to find the average of the grades depending on how many courses the student has chosen. also, we have to find how many courses each studend has passed. - the user has to give the number …

Software Development
Member Avatar for Mike Askew
0
126
Member Avatar for dangerousd28

Hi, im currently working with an SQL Server 2008 database and im trying to change values in the database usign visual basic. The following code runs correctly and I have tested changing passwords and have been able to logoff and then back on again using the new password. The problem …

Software Development sql vb.net visual-basic
Member Avatar for dangerousd28
0
226
Member Avatar for weblover

Hi, i have a list that contains 5 columns that contains strings and float values(3 strings columns and 2 float columns) .. i want to export this list to a space separated text file (each column in the list is a column in the text file) i tried to do …

Software Development python
Member Avatar for Sky Diploma
0
354
Member Avatar for poojavb

Hello Friends, I need to create a report for my project I am using Miscrosoft Visual Studio 2010 and the SAP crystal Report I am not able to set up the connection The SQL server that I am using is not coming in the drop down of the server part …

Software Development mssql vb.net visual-studio
Member Avatar for Katie Kate
0
782
Member Avatar for kindofsudden

I am new to dealing with SQL Express DB tables. I have a Windows application that gives the user a textbox that is bound to a value in my dataset (ds) which reflects my SQL table (Specs) field. The user can change the numeric value of the textbox and I …

Software Development dataset sql vb.net
Member Avatar for kindofsudden
0
238
Member Avatar for weeraa

Here is a example for my work. if a date ---> 20/03/2012 should be shown as 01/04/2012 16/12/2011 Should be shown as 01/01/2012 02/05/2008 Should be shown as 01/06/2012 My requirement is to get a given date as 1st of next month. I know to do this with IF conditions. …

Software Development vb.net
Member Avatar for poojavb
0
156
Member Avatar for rhoit

i don't know how it happen but the exe formed after compilation was 1.23 MB which has never happen before.

Software Development c++
Member Avatar for rhoit
0
369
Member Avatar for complete

Is Visual Studio Free? It looks free here: http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=240 it does not look free here: http://www.microsoft.com/visualstudio/en-us/try

Software Development visual-studio
Member Avatar for jnawrocki
0
140
Member Avatar for jrosh

I have a project named project1 in VS in a solution called Solution 'ShopEntry'. I want to have a copy of the project1 as project2 within the same solution. How can I do it without having errors. thankx in advance

Software Development
Member Avatar for bleedi
0
99
Member Avatar for Mechizedek

Hi peeps, pls i need help on how to hard code my database connect to my application . Example, i want to connect to my application using dim conn as new SqlConnection conn.ConnectionString = " connSring" dim cmd as new SqlCommand cmd.connection = conn cmd.commandType = commandType.text cmd.commandtext = " …

Software Development vb.net
Member Avatar for Mechizedek
0
175
Member Avatar for abu taher

in data environment i write Select * from item where date and date between DTFr.value and DTTo.vlaue In button I write Load DataEnvironment1 With DataEnvironment1 If .rscmborder.State <> 0 Then .rscmborder.Close .cmborder Format(DTFr.Value, "dd/mm/yyyy"), Format(DTTo.Value, "dd/mm/yyyy") End With drorder.Show but the report show all item from 1st date. it not …

Software Development visual-basic
Member Avatar for AndreRet
0
113
Member Avatar for Valiantangel

Just need some understanding on the various Prime number calculations.Please explain 1. verify by brute force that a number is evenly divisible only by 1 and itself.(dont implement the Sieve of Eratosthenes algorithm) 2. writing and running the program with upper limits of n/2 and the square root of n. …

Software Development algorithm java
Member Avatar for TrustyTony
0
123
Member Avatar for lewashby

#include <Stdafx.h> #include <iostream> #include <math.h> #include <stdlib.h> #include <time.h> using namespace std; int rand_0toN1(int n); int main() { int n, i; int r; srand(time(NULL)); // set a seed for random-number generation. cout<< "Enter number of dice to roll: "; cin>> n; for(i = 1; i <= n; i++) { …

Software Development c++
Member Avatar for ravenous
0
153
Member Avatar for mehnihma

I am trying to cast vector to a string players = (Vector<Player>) inStream.readObject(); And I get error: java.lang.ClassCastException: java.util.Vector cannot be cast to java.lang.String Can someone tell me is there a way to do it? Thanks

Software Development java
Member Avatar for mehnihma
0
533
Member Avatar for shean1488

Hi everybody, I just start learning python, and beacuse of that I don't really know all usefull packages and methods, that this language has. But I would like to know how would you write this program, or how would you change it (or may be some part of it) to …

Software Development python
Member Avatar for shean1488
0
133
Member Avatar for bestbird7788

Hi, everybody I need to conduct a large amount of data analysis on database. Could anyone recommend an interactive application for data analysis? The requirements are: 1. Able to cope with the unexpected requirement rapidly. 2. Able to perform further computations on results interactively. 3. Easy to confront even a …

Software Development
Member Avatar for bestbird7788
0
242
Member Avatar for mie.ilani

i have problem with query the database. i want to add data into two table that share same Primary key. here my code error message :The changes you requested to the table were not successful because they would create duplicate values in the index, primary key, or relationship. Change the …

Software Development dataset open-source vb.net
Member Avatar for Reverend Jim
0
347
Member Avatar for poolet

Hello, Well I am trying to finished the following progam and I need help with 2 functions [i]reverse book(s)[/i] and [i]return book[/i]... If someone can told me points where to start I will appritieate:: below is my code, note that I don't know if the [i]customer_book_count[/i] is work since I …

Software Development c c# c++
Member Avatar for mike_2000_17
0
173
Member Avatar for slpefanis

Hey all. I am busy writing a application that i can set up a list of files to copy from one location to a remote network drive. THe program has a list of "jobs" in a datagrid that it loops through and executes in sequence. What i have now is …

Software Development vb.net
Member Avatar for Begginnerdev
0
218
Member Avatar for thiemebr

Hi, I have a static sqlparameter default value which I need to display in a label but I can't get it to work. I tried: lblDefaultRate.Text = SqlDataSource1.SelectParameters["rate"].ToString but didn't work. Any idea what is wrong? Thanks

Software Development sql vb.net
Member Avatar for Begginnerdev
0
99
Member Avatar for fafa70

hi. i have a piece of code that i wanna know that in how many miliseconds it would be run. Public Sub TurnLeft(ByVal speed As Single) Dim timer As Single If Not IsNothing(Me._DriveActor) Then 'command below Me._DriveActor.Turn(speed) End If End Sub i know that we have timer class but you …

Software Development vb.net visual-basic
Member Avatar for fafa70
0
138
Member Avatar for speakon

Hello, I need to create a JDBC that connects to a mySQL database, retrieves the data from a table and displays it into a JTable. I have done this successfully, but have ran into a problem. The initial values I entered into the database (for testing) are permament. If I …

Software Development java java-swing mysql
Member Avatar for speakon
0
377
Member Avatar for beforetheyknew

Hi guys, I’ve written an application and I’m trying to utilise a database behind it. I’ve created a mysql database, and table which all appears to work correctly. I appear to have connected to the db correctly too. And hit a bit of a brick wall. As a side-note, within …

Software Development mysql vb.net visual-basic
Member Avatar for lolafuertes
0
341
Member Avatar for altec64

Hi there this is my first post here :) So I got an assignment about TicTacToe project here's a basic header and main file of my project I think i should made a basic one before adding some "advanced" features please help with the logic of the command undo thank …

Software Development c++
Member Avatar for mrnutty
0
1K
Member Avatar for abathurst

Hi, I need some help extracting information from a XML file. So far I am able to extract data from elements that look like the following: <element1>Element Information</element1> <element2 attribute=”Element 2 Attribute Information” /> But I have come across an element that has got me stumped: <element3><![CDATA[Information that I need …

Software Development xml
Member Avatar for PatSharbaugh
0
279
Member Avatar for chromatinpt

Hi, I have a List containing double values and a double mean. I need to check and store all 5 consecutive values (in indivuals lists) that are higher that mean value. At this moment my solution always clear my aux List :( any ideas? double media = 1.8815; List<double> lista …

Software Development
Member Avatar for Mitja Bonca
0
159
Member Avatar for BigEEter

Hi. I am wondering if a log file can be created in a header which is associated with a try-catch block. Below is my stripped down code for the log_header.h and log_test.cpp Here is log_header.h #include<fstream> #include<iostream> using namespace std; class thrower{ //fstream myfile2; public: void errormessage(); }; void thrower::errormessage(){ …

Software Development c++ ios
Member Avatar for BigEEter
0
394
Member Avatar for GTTravis

hi Guys, i am planning to teach myself ASP.net using vb and c# via the visual studio 2010 ide. my issue is that many books keep recommeding visual web developer as the tool to use but i want to use Visual Studio 2010 and hence can somebody point me in …

Software Development asp.net vb.net visual-studio
Member Avatar for thines01
0
141
Member Avatar for vammy

Guys, Need your help here please.. I have a windows form where i have a requirement to convert money entered as integer into string format.. like : if amt entered was 5000,it shld be converted to five thousand rupees only.. please help..

Software Development vb.net
Member Avatar for salman_hundekar
0
142
Member Avatar for salman_hundekar

how to insert special character in sql database like wise" @#$%^&&*" plz mail me ans at salman_hundekar@rediff.com

Software Development vb.net
Member Avatar for salman_hundekar
0
96
Member Avatar for dippyes

Hello i need some help for a function that I'm creating, it should perform some of the fuctions of the operand "printf". The problem I have with the funcion, is that I am unable to read the "Float" and "Double" type parameters, also i want to create a function that …

Software Development c
Member Avatar for deceptikon
0
134
Member Avatar for arunkumars

Hi, We have been using Log4Net to log errors and exception in my application, its a pretty huge project, and I know the messages are logged Asynchronously, but for a few cases the method and message that is getting logged is empty, Ex : Date:09-05-2012 22:16:13,Level:ERROR,Message:,Method:MonitorTimer,ClassName:ABC.DEF.BO.SchedulerBO.Scheduler,Parameters:,User:Admin, The Message is empty, …

Software Development
Member Avatar for thines01
0
122
Member Avatar for dre-logics

I use Visual Basic 2008 Database is Mysql Three tables: 1. table article fields: item number, item description, color number, month number 100 chair 2 3 2. table colors fields: color number, color description 1 red 2 blue 3. table months fields: month number, month description 1 January 2 February …

Software Development vb.net visual-basic
Member Avatar for dre-logics
0
192

The End.