64,152 Solved Topics
Remove Filter ![]() | |
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? … | |
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? | |
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 … | |
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 … | |
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 … | |
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 … | |
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]; … | |
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 … | |
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 … | |
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:( … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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, … | |
![]() | 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 … |
| |
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 … | |
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 | |
Can anyone tell me how to access enum constants in another package... | |
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" … | |
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), … | |
[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 … | |
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 … | |
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 … ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
can anyone tell me how to publish web application from asp.net? | |
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 | |
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. | |
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 … | |
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 … | |
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 … | |
[CODE]var strs="hello"; var strslength=strs.length();[/CODE] is this correct? | |
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 … | |
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> … | |
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 … | |
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 … | |
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 … | |
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] | |
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 … ![]() | |
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); … | |
![]() | 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 … |
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 … |
The End.