64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for usafsatwide

I'm not sure if you all need all my files, but I'm getting the following error message when compiling: productionworker.cpp(8) : error C2440: '=' : cannot convert from 'const char [4]' to 'char' productionworker.cpp(10) : error C2440: '=' : cannot convert from 'const char [6]' to 'char' Can anyone help? …

Member Avatar for usafsatwide
0
265
Member Avatar for libathos

hi guys i want to make a c program,what it has to do is to find its current pathname every time it is executed from diferent locations and then redirect the outcome in a .txt file,through cmd.I have lack of knowledge when it comes to cmd so any help?

Member Avatar for kings_mitra
0
128
Member Avatar for pritesh2010

hello experties in my webpage i have one datagrid in datagrid i'm showing all the data.for eg date/name Title 7/14/2010 Pqrs abc gh ghfghfghh ghfghfghfg 7/15/2010 Pqrs xyz fgh fgh fgh fdg fgdfgf 7/16/2010 Pqrs lmn ytyrt yrtyrty but insted of header text like Date/Name Title i want to show …

Member Avatar for pritesh2010
0
368
Member Avatar for Lusiphur

Good day folks... This may seem like an odd question and I apologize in advance for the limited information to work with in this case but I'll do what I can to give the needed info... My website [url]http://www.bariby-quance.com[/url] has a journal/blog component that I built within it that, on …

Member Avatar for Lusiphur
0
185
Member Avatar for jiraiya

Hi everyone, I'm having a problem with a JUnit test I've written. I think there should be a simple solution but I can't work out what's wrong. I'm new to using JUnit so any advice would be a big help. Here's the test class below. At the moment I'm just …

Member Avatar for Taywin
0
100
Member Avatar for TwijoO

hi, due to my FTP server not liking to upload .exe files in order to get my auto updater to work i have to rename the folder .file before i upload [I](example: C:/.../desktop/twijoo.exe.file)[/I] after this is downloaded i need it to check the application folder for any files ending with …

Member Avatar for TwijoO
0
179
Member Avatar for saqib_604

hy! I am writing an integer array class. but there is problem to return array from getter function. any one tell me the procedure of this task. And tell about extract operator for that class.[code]#include<iostream> using namespace std; class integer{ friend ostream& operator<<(ostream& output, const integer& num); private: int array[10]; …

Member Avatar for mrnutty
0
297
Member Avatar for Tekito

I'm about to write a new program in Visual Basic. I have Visual Studio 6.0, but it's limitations are starting to become a problem and I'm wondering about trying Visual Studio 2008 Express (unfortunately purchasing the full version is not an option). I would hate to get halfway through and …

Member Avatar for pweegar
0
221
Member Avatar for snefmoo

iv been using a tutorial to creaete the script to show an enlarged version of an image float on the screen on mouse over. the script and everything else works but i was wondering if someone could help me to make the floating image more central as it floats down …

Member Avatar for scrappedcola
0
99
Member Avatar for Andreas5

Exercise 12-5 in Accelerated C++. My operator+= works: [CODE]void Str2::operator+=(const Str2& a) { iterator new_data = alloc.allocate((avail - data) + a.size()); iterator new_avail = std::uninitialized_copy(data, avail, new_data); new_avail = std::uninitialized_copy(a.data, a.avail, new_avail); uncreate(); data = new_data; limit = avail = new_avail; }[/CODE] However i cant get the operator+ to work:( …

Member Avatar for Andreas5
0
93
Member Avatar for mobo57

Again the dumb question. Sorry in advance and thanks for your responses in advance! Here is my code after the DB connection: [CODE]$result = mysql_query( "SELECT * FROM overall WHERE profilename IS NOT NULL AND username = '$reguser'" )or die(mysql_error()); while($row = mysql_fetch_array($result)){ echo $row['profilename'].$row['prodesc']."<br />"; }[/CODE] What I am …

Member Avatar for mobo57
0
85
Member Avatar for judithSampathwa

hi there, i have a two forms and in one of the form there is a button to open the other window which is the second form. what i want to do is, when the second form is opened how can i make the first form in a uneditable mode, …

Member Avatar for judithSampathwa
0
113
Member Avatar for WargRider

I am creating a custom 2d turn based game engine in Java, and so far everything works great. Currently, I have come to the dreaded networking :), and I made a test code, prototype of the network that I would like to create. It uses Java's MulticaseSocket class, DatagramPackets and …

Member Avatar for WargRider
0
350
Member Avatar for jackmaverick1

I have been studying c++ on my own for about a year (i'm 11) and have mastered classes, functions, logical operations, and some other basic things. Now I'm interested in learning to make and use GUIs. I already know how to make a message box and have the code but …

Member Avatar for jackmaverick1
0
200
Member Avatar for BobbieJean

Hi, I have to write an airline ticket program for my class. My instructor gave us an example of a similar program so I thought I would build and run it to help me understand it better but he seems to have given us code for a program that doesn't …

Member Avatar for jonsca
0
193
Member Avatar for fussballer

Hello, I was compiling some code and get the following compiler errors: error C3861: '_stprintf_s': identifier not found error C3861: '_tcscat_s': identifier not found I got the code from the MSDN Library: [URL="http://msdn.microsoft.com/en-us/library/dd798640%28VS.85%29.aspx"]http://msdn.microsoft.com/en-us/library/dd798640%28VS.85%29.aspx[/URL] I tried to find some info about the _stprintf_s and added the header <tchar.h> This got rid …

Member Avatar for fussballer
0
530
Member Avatar for wolfeater017

Im trying to use a different font in pygame but every time I run it I get this syntax error message [Traceback (most recent call last): File "C:\Python31\pytest.py", line 22, in <module> font1 = pygame.font.Font('C:\ActionIsShaded.ttf', 12) IOError: unable to read font filename] I tried getting rid of the qoutes around …

Member Avatar for vegaseat
0
5K
Member Avatar for Jesi523

I have a detailsview where some items are bound to a database and other items are not. I have two textboxes with a calendar on each. One lets the user pick the start date and the other lets the user pick the end date. I also have to dropdown boxes, …

0
74
Member Avatar for jacg4

Here is the issue: I have a multi-form application developed on C# with two forms, after I press a button I hide the first form and show the second, but how can I show the first form again if I close the second one pressing the red close button on …

Member Avatar for Geekitygeek
0
5K
Member Avatar for wwefriend
Member Avatar for Ancient Dragon
0
83
Member Avatar for Cap'nKirk

Hi, I have a couple of questions regarding DataGridView. I have a DGV that is created at runtime, it has 3 columns. I would like to change the mouse cursor to HAND on only 1 of these columns, is this possible, if so how? Also how can I stop the …

Member Avatar for Geekitygeek
0
560
Member Avatar for tungnk1993

I want to write an application that can detect whether a value in CSS/HTML file has changed or not, how can I do that ? Please post example code / import as much as possible. Tkq

Member Avatar for tungnk1993
0
178
Member Avatar for amit.hak50
Member Avatar for Jesi523

Hello, I have a detailsview control on my page with a template field for the date. I wanted a pop up calendar control to populate the date so I added that: [CODE]<asp:DetailsView ID="addEventDetailView" runat="server" Height="50px" Width="503px" DataSourceID="eventDataSource" AutoGenerateRows="False" DataKeyNames="eventAuid" DefaultMode="Insert" CellPadding="4" ForeColor="#333333" GridLines="None" OnItemInserting="addEventDetailView_ItemInserting" OnPageIndexChanging="addEventDetailView_PageIndexChanging" OnItemInserted="addEventDetailView_ItemInserted"> <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" …

Member Avatar for Jesi523
0
431
Member Avatar for rapids79

Hi, As per the code snippet: [CODE]typedef struct TimeSlotConfigurationList_LCR A { A_SEQUENCE_OF(struct B) list; asn_struct_ctx_t _asn_ctx; } A_t; #define A_SEQUENCE_OF(type) struct { type **array; int count; /* Meaningful size */ int size; /* Allocated size */ void (*free)(type *); } typedef struct B { TimeslotNumber_LCR_r4_t x; ENUM{Yes(0), No(1)} y; ENUM{Ok(0), …

Member Avatar for rapids79
0
130
Member Avatar for benhowdle89

[CODE] <script> $(document).ready(function() { var refreshId = setInterval(function() { if ($('#recent td') > '200') {.css("background-color", "#1eff00")}; },1000); }); </script> [/CODE] The above is what i'm trying to achieve but its definitely not working! I have a table being outputted by PHP from a MySQL Db but i need to highlight …

Member Avatar for benhowdle89
0
110
Member Avatar for fizzle

Hi all, I'm completely new to C but have dabbled with Bash scripting before. I've been trying to get my head around pointers etc. I have a small routine to check for the existence of a string in a file and print to screen, I claim no originality it's a …

Member Avatar for fizzle
0
167
Member Avatar for benhowdle89

Hi I have a html page with a div and i'm loading data into it every 10 seconds (using jQuery load().) from a php page which is querying a mysql db. This is great but what i want to do is if a value in the table i'm loading into …

Member Avatar for rajarajan2017
0
1K
Member Avatar for acrocephalus

Hello! I have written a piece of code that creates 3 folders in the working directory, asking the user to proceed even if it may overwrite existing folders. The problem is that the more pictures there are the more time it needs to create the folders. Is there any way …

Member Avatar for TrustyTony
0
88
Member Avatar for Simes

I have written some code in Python for a tanks game and I need to write pseudocode for the Tank's move method and main game functions (battle and bonuses). What is bold and underline are what I need to do pseudocode for in the quoted text. I know what pseudocode …

Member Avatar for Simes
0
533
Member Avatar for Shikhin

Hello, I am trying to make a program which will sort a array of 10 elements using bubble sort. I searce dthe forum and google but douldnt find a problem similar to mine. I cam up with the following code: [CODE]#include <stdio.h> #include <stdlib.h> void swap(int *, int *); int …

Member Avatar for Shikhin
0
92
Member Avatar for noname1015

I hit an overflow error 22053 while retrieve data from oracle database.One of the data type of database is number. After I insert floating point value into data of this data type, overflow error occur while retrieve data from database into datatable. This problem doesn't occured while the data's value …

Member Avatar for arunkumars
0
134
Member Avatar for rapids79

Hi..I am writing a server code for TCP/IP. The code is: [CODE]#include<winsock2.h> #include<windows.h> #pragma comment(lib,"user32.lib"); #include<stdio.h> #include<string.h> #include"tcpip.h" /*Function definitions for communication over TCPIP*/ /*Parameters for TCP/IP Communication*/ WSADATA wsaData; WORD version; int error = 0; SOCKET server_addr; SOCKET client_addr; struct sockaddr_in Start_Server; int length = 0; char tcp_ip_recv[20]; char …

Member Avatar for rapids79
0
267
Member Avatar for kayfar
Member Avatar for kayfar
0
75
Member Avatar for tungnk1993

I want to write an application that can detect whether a value in CSS file has changed or not, how can I do that ? Please post example code / import as much as possible. Tkq

Member Avatar for Some-Jackass
0
128
Member Avatar for MARKAND911

I want to use crystal reports in my window application (C#.net). I have my database in MS Access. I want to connect Access database with crystal report using stored queries. How can i do this.

Member Avatar for MARKAND911
0
133
Member Avatar for esia168

Hello, I have googled the similar problem that many people are facing but I still can't solve mine. I'm trying to visit the ASP.NET Web Site Administration Tool at [url]http://localhost:49274/asp.netwebadminfiles[/url] The page shows me the error "An error was encountered. Please return to the previous page and try again." Some …

Member Avatar for esia168
0
749
Member Avatar for P00dle

I have a GUI with a table on it with only 1 column(more will be added later). The Gui gets an arraylist that has to be iterated through and then each value has to be inserted into the table. Whatever I try, I can't get the GUI to set the …

Member Avatar for P00dle
0
76
Member Avatar for stevenm84

Hi all, I've been asked to do a website for a rural based school. They want an online application for admissions. I have a basic knowledge of webpage design but not advanced enough...here are the following requirements: Aim: to develop an online application management system. 'front end' users can apply …

Member Avatar for griswolf
0
180
Member Avatar for aladar04
Member Avatar for aladar04
0
97
Member Avatar for prajaktaran

I was started a thread for how to do the setup. You was told me the solution, I have publish my project 1. [B]In Build menu - publish the project.[/B] I have publish a setup in Visual Studio 2008. It's running very well on my PC. But when i tried …

Member Avatar for arunkumars
0
119
Member Avatar for aladar04

Please see the comment on code below to see the problem. [CODE]<html> <head> <title>Sequence: x ^ n -1</title> </head> <body> <script type = "text/javascript"> var sqn; var pow=1; var pans=1; do { sqn = prompt("Enter Sequence: "); }while(sqn<0); var psqn; psqn=parseFloat(sqn); if (psqn==0){ document.write("0"); } else if (psqn>0){ document.write("9<font color=red> …

Member Avatar for aladar04
0
120
Member Avatar for Michael27

I'm trying to create login form in C#. I store username and password in SqlServer 2008 express using the stored procedure [CODE]ALTER procedure [dbo].[InsertNewUser] ( @UserName varchar(30), @Password varchar(30) ) as If exists(Select 'True' from Users where UserName = @UserName) begin --This means that the user name is taken select …

Member Avatar for arunkumars
0
171
Member Avatar for neolyte120109

Private Sub btnOk_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOk.Click If txtuser.Text = "" Then MsgBox("Please Enter a Username or Password, DOnt leave it blank", MsgBoxStyle.Exclamation, "Access Error") ElseIf txtPass.Text = "" Then MsgBox("Please Enter a Username or Password, DOnt leave it blank", MsgBoxStyle.Exclamation, "Access Error") Else End …

Member Avatar for Teme64
0
160
Member Avatar for aqhulcus

hi, i'm really new to programming in general, and i think i've figured out how to insert and select data from mysql databases, however, i can't seem to get values from a table and work on it here, i'm trying to 1) grab a number from my table 2) generate …

Member Avatar for aqhulcus
0
272
Member Avatar for Nivass

Hi, I have drawn the rectangle using picture box paint. Now I like to edit the drawn rectange (Like to increase or decrease the length of the drawn rectangle). how cab i do this. for code refer below link: [url]http://www.daniweb.com/forums/thread286159.html[/url]

Member Avatar for Nivass
0
140
Member Avatar for DarkBerzerk™

Hi i am new in this website and i hope i have fun with all the members here, I am trying to make code that get all the names of the files from folder and beside each one link to delete it This is the code i have done but …

Member Avatar for rajarajan2017
0
155
Member Avatar for QWaz

Hi, I am having a bit of trouble getting my fetch(PDO::FETCH_OBJ) to print the way I want. I am also unsure if fetch(PDO::FETCH_OBJ) is the right thing to use. Code below. [CODE] $sqlTotal = "SELECT SUM(price) FROM `$user` WHERE `cart`=1"; $total = $conn->query($sqlTotal); $total->execute(); $totalResult = $total->fetch(PDO::FETCH_OBJ); $totalResult = print_r($totalResult); …

Member Avatar for QWaz
0
143
Member Avatar for b1izzard

Hi all I am trying to insert a record into MS-Access database using VS2008 as front end and this is my code i am using to connect to the database. login.mdb has two tables(login,schedules) [CODE] Dim con As New OleDb.OleDbConnection Dim cmd As OleDbCommand Dim myquery As String Dim count …

Member Avatar for shuhana84
0
251
Member Avatar for niche1

This url : [url]http://www.lincolnsrealdeals.com/nav5c.html[/url] has passed validation and renders the way I need it to on firefox, but not on ie8. The problem is that the hover over "By Location" renders the notation: "Where do you want to buy it?" under all the navigation when it's meant to render just …

Member Avatar for niche1
0
89

The End.