199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bill_kearns

Hi Folks! I am developing my first Windows Forms app in C# using VS 2008. Back in my VB 6 days I always used Wise Installation System to package my apps into a single .EXE file for distribution. What is the best Installer creation software for Windows Forms applications with …

Member Avatar for bill_kearns
0
203
Member Avatar for Dan08

Hello everyone, well I'm having some problems changing line every time my PHP code writes something to a file. Right now, it's writing the time of everyone, who visits my website, then it adds a comma and his ready to write the time of another person that visits the website. …

Member Avatar for Dan08
0
99
Member Avatar for prade

hi, i i recently installed dev c++ 4.9.9.2 ....the first hello world program i wrote gave me some insane messages when i compiled & the exe files which gets created...my antivirus detects them as trojan flies & deletes them....i tired & re -installed dev again but it didnt help...please help …

Member Avatar for gerard4143
0
167
Member Avatar for goulda660

I have been trying to write this program for this class that I'm in. The main objective is to make it able to save drivers to a file and then just be able to look up the drivers and then save them back to the file. I thought that if …

Member Avatar for daviddoria
0
208
Member Avatar for cool_jatish

Hi everybody..................... how to read a unicode characters (arabic characters) form ResultSet object which appears after extraction as question marks like this(?????) ................. I want to display the fetched UNICODE word from the database and display it in JTextArea............... but getting the same output..............[??????] If anyone knows method to display …

Member Avatar for cool_jatish
0
145
Member Avatar for love_dude1984

hi.. im building an app wher i want to retrieve data from PDF which will be questions of some sort...like as follows.. A. Group A A.1 Whats your name? A.1.1 Whats your Middle name? A.1.2 Whats your sur name? The questions could also be like as follows.. A.1.1.2.3 question 1? …

Member Avatar for bhavu4u
0
128
Member Avatar for Frankey

Hi there, I am building a blog at the moment i have a amazing script that search a post for the images in it. So i can just setup a post template, call the images that are in the post and go. In this way i put the images unedited …

Member Avatar for Frankey
0
203
Member Avatar for still_learning

Hey guys, Got a quick question for you. If I have an text input field for a search engine and I want the font to be larger, how would I do this? Right now changing the size attribute only changes the length of the field. Here is my code right …

Member Avatar for NaveenRahul
0
85
Member Avatar for Tellalca

Hello everyone, i was just trying something when i got the error. I debugged and it says string password <Bad Ptr> and that password string have more than lets say 100000 childs of characters in it. I used the string::resize() member function but it doesnt seemed to solve the problem. …

Member Avatar for Tellalca
0
192
Member Avatar for azegurb

hi all I have CMS system with Mysql storage. in this system there are options to add news title, news subject, news theme and image upload features. i would like to add PHP bbcode options to the theme section of this code. for ex i need to write smth bold …

Member Avatar for cwarn23
0
180
Member Avatar for andydeans

hi, could anyone recommend a free mysql query builder? i have been working on a database and had some help with some small queries, however i need to create a large recordset through dreamweaver and wondered what tool i could use to generate my query visually? many thanks

Member Avatar for andydeans
0
94
Member Avatar for bertyhell

I'm looking for a package that can convert a phone number to its country code i know how to write it myself but beter to check the net first anybody ever heard of something like this? eg: 0032586987 > Belgium please give me a link it would save me enormous …

Member Avatar for bertyhell
0
4K
Member Avatar for OmniX

Yes I know you are not able to refresh in php, but insert meta tags into an echo statement that can refresh, or use javascript, etc. The problem is I have tried all these solutions and it still does not work. :( So I will tell you my problem and …

Member Avatar for ax8l
0
557
Member Avatar for polly89

Hi everybody. right now i'm doing a hotel reservation system using php and phpmyadmin. The process involved 1) user inputs check-in and check-out dates (to check what rooms are available during the dates input) 2) database is queried for all room categories AVAILABLE within the dates indicated step 1 and …

Member Avatar for pritaeas
0
138
Member Avatar for cwarn23

Hi, I have made an encryption and decryption script for those who want to encode data and decode the encoded data. This script may especially be useful for those who do not have the mbstring library installed as it uses a math grid. So for example you can store the …

0
340
Member Avatar for puppykillaz

I have written the code and I am new to working with classes. If someone could point me in the right direction I think I can figure it out. I looked at MSDN and learned this much, so maybe I didn't get the right understanding but I thought I would …

Member Avatar for Oxiegen
0
145
Member Avatar for halluc1nati0n

Aight. I have a query regarding File I/O : [CODE]// Keep reading the file in a loop for some 100 seconds.. for (int x=0; x<100; x++) { // Code for reading file - say readFile() Thread.currentThread().sleep(1000); /* sleep for one second */ }[/CODE] Now, I need to read a file …

Member Avatar for halluc1nati0n
0
625
Member Avatar for ALOK.53

hii alll, i am working on very simple gridview control.i m able to edit update n cancel bue AS SOON AS I CLICK ON DELETE :I GOT EXCEPTION AS : Object reference not set to an instance of an object. [CODE]protected void GridView1_RowDeleting(object sender, GridViewDeleteEventArgs e) { GridViewRow row = …

Member Avatar for reach_yousuf
0
147
Member Avatar for qasimidl

I m using sqlserver there is table name of Attendence Columns of Tables are 1)EmpCode int 2)AttendenceDate datetime 3)AttendenceTime Datetime 4)status tinyint Data in table would be like this Code AttendenceDate AttendenceTime status 1001 3/27/2009 3/27/2009 9:05 1 1001 3/27/2009 3/27/2009 7:05 0 1002 3/28/2009 3/27/2009 10:05 1 //user didnot …

Member Avatar for kvprajapati
0
82
Member Avatar for JSPnewbie

I have a problem I hope someone can help me with in JSP. Whenever I write code in the JSP page, netbeans underlines it as illegal saying "The content of elements must contain well formed character data" E.g [CODE]<% System.out.println(request.getParameter("user")); %>[/CODE] Why is this wrong? I haven't been able to …

Member Avatar for peter_budo
0
88
Member Avatar for macobex

I've just learned how to use vectors. I'm thinking about, what is the best way to create a vector, IF you do not know its initial size. Here are some of my options. 1.) This is the simplest I think, but is there any memory issue about this technique? [CODE] …

Member Avatar for n.utiu
0
138
Member Avatar for n.utiu

I have been recently experimenting with functors and tried o make my own one, inheriting from unary_operator, but I get some errors. [CODE] template <typename T, int intN = 0> class cIsBad : public unary_function <T, bool> { public: bool operator() (const T& tParameter) const { return tParameter == intN; …

Member Avatar for n.utiu
0
113
Member Avatar for gigsniper

[CODE]client.java:18803: orphaned case case 130: // Clicking some stuff in game ^ client.java:24856: illegal start of expression private int somejunk; ^ client.java:24948: illegal start of expression public int EssenceMineX[] = { 2893, 2921, 2911, 2926, 2899}; ^ client.java:24949: illegal start of expression public int EssenceMineY[] = { 4846, 4846, 4832, …

Member Avatar for masijade
0
140
Member Avatar for karolik

So I have a program that reads data/text files, with 1 number on each line and makes a binary search tree from it. When i insert a node, there should be two data variables updated, searchcost and key.. Key being the actual number of the element, and the searchcost is …

Member Avatar for karolik
0
142
Member Avatar for tarheelfan_08

Hey guys I am trying to do some work with exception handling and I had to create and array with 100 elements in the main to hold cars in inventory, and create and int numCars to hold number of created cars. Then I had to create a for loop that …

Member Avatar for tarheelfan_08
0
257
Member Avatar for tjlee87

Hi, I have trouble with the "enqueue" section of this code, can anyone here find the fault within my code. I've been working on this for over 15+ hrs and I can't not find what I am doing wrong here. If there is anything else I need to provide, I'll …

Member Avatar for tjlee87
0
110
Member Avatar for salman1986

Actually these are Some of Interviews Questions that i have to answer in an interview. I have got Some Confusion :-/ in My answers that why posting here .. So that Any Genius Can Answer these Question Correctly 1) Which of the following are true about Extension methods? 1) They …

Member Avatar for kvprajapati
0
184
Member Avatar for Asheem

The program needs to read a file, in which position are mentioned in form of 0 and 1, and location (i,j), of the robot, who has to go the end point has to, generate numbers, randomly, BUT ALSO STORE THOSE LOCATIONS SO THAT THE ROBOT DON'T GOES TO THE SAME …

Member Avatar for WaltP
0
128
Member Avatar for Asheem

The program needs to read a file, in which position are mentioned in form of 0 and 1, and location (i,j), of the robot, who has to go the end point has to, generate numbers, randomly, BUT ALSO STORE THOSE LOCATIONS SO THAT THE ROBOT DON'T GOES TO THE SAME …

Member Avatar for WaltP
0
183
Member Avatar for yasokrish

Hi,am newbie to c programming.can u explain the above c program which reads a file more than its capcity.. i couldn understand more than this.. Thanks,Yasokrish.[code]#include <stdlib.h> #include <stdio.h> #include <string.h> int bof(FILE *badfile) { char buffer[12]; fread(buffer, sizeof(char), 40, badfile); return 1; } int main(int argc, char **argv) { …

Member Avatar for muditAggarwal
0
163
Member Avatar for abhay1234

I have this code [code] Public Class Form1 Private connectionstring As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data source=c:/testn.mdb" Dim conn As New System.Data.OleDb.OleDbConnection(connectionstring) Dim cmd As New System.Data.OleDb.OleDbCommand Private ssql As String Dim dr As System.Data.OleDb.OleDbDataAdapter Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click conn = New System.Data.OleDb.OleDbConnection("Provider=Microsoft.Jet.Oledb.4.0;data source=c:\nikhil\testn.mdb") …

Member Avatar for kvprajapati
0
107
Member Avatar for satimis

Hi folks, I have a .dat file (Bible verse) with the verses indexed according to date. It works in Linux environment. On clicking the program it popup the verse of the day corresponding to the date of computer. It'll repeat in following years. Now I want to use the .dat …

Member Avatar for kvprajapati
0
138
Member Avatar for BobbieJean

Hi, I'm having trouble with...I don't know, either choosing the correct loop to use or maybe using the one I need but having it incorrectly placed. Right now, the program will give the "Invalid item number" message from my else statement if I enter an invalid value in the first …

Member Avatar for BobbieJean
0
99
Member Avatar for BobbieJean

Hi, I've been working on this program for nearly two days straight and I just can't get it quite right. So it's supposed to get input from the user and apply it to a switch statement. There are 5 cases that represent the cost per item for each case. Then …

Member Avatar for BobbieJean
0
102
Member Avatar for paragr

Hi, I am getting one error continuously and recorded in my application log cfcache could not retrieve the page content. HTTP status code '401 Unauthorized' That is the description of error I searched on the net for solution/help but could not find anything useful. Thanks in advance for any suggestions …

Member Avatar for samaru
0
178
Member Avatar for kjock002

[CODE] # PURPOSE: to calculate the sum of the first (n) counting numbers # # INPUT(S): the number (n) which will be the last number added to the sum # # OUTPUT(S): the sum of the first (n) counting numbers # # EXAMPLES: input: 4 ; output: 10 # input: …

Member Avatar for Gribouillis
0
116
Member Avatar for jeswin12

My requirement is that i have two sections Admin and User - [B]Admin[/B]: textbox to add NEWS to MS SQL database. [B]User Home page[/B]: News scroller that reads the news from the database and displays (scrolls right to left) it Both admin and user page is done in [B]ASP[/B]. Please …

Member Avatar for avishek04
0
127
Member Avatar for Loki421

Hi everyone! I need some help please, i've been trawling the net for hours now and can't find what i'm after. Does anyone know how to either return an xml structure or create an xml doc from a cfdirectory query so i can use it in a Flex tree? Any …

Member Avatar for samaru
0
68
Member Avatar for jojo5

hi every one ; I need ur help in my Assignment I want to know the Size of internal registers & How many instructions processor can execute in one clock cycle & Size of on-chip cache & Size of processors in terms of Area they occupy. for x86 family (8086, …

Member Avatar for jwenting
0
86
Member Avatar for missconfused

hi... i am currently developing a reservation system which has a map locator using visual studio 2008.. the scenario was this, when the user click in any of the amenities available and a transaction was completed, the color would change. I was able to change it but if you check …

Member Avatar for missconfused
0
66
Member Avatar for sirtrucker

I have my calculator GUI to display as I want it too. When I put in my mortgage amount and choose an option from the drop down box and hit calculate everything works as it should but when I try to manually put in the terms and interest rate and …

Member Avatar for jwenting
0
204
Member Avatar for JohnPhilipps

Good evening, I have been working with derived classes and what could seem like an easy problem has had me look into it for hours. [U]My error message:[/U] Square.h(14) : error C2512: 'Rectangle' : no appropriate default constructor available Everything works well if I don't use my derived class "Square.h" …

Member Avatar for JohnPhilipps
0
236
Member Avatar for billmaster

Complicated question with simple answer I hope? I have an executable compiled using vb5. When installed on user's machine, I get an error when first form is displayed. The error is due to MSVBVM50.dll no being present or registered. In order to prevent this error being raised, can I perform …

Member Avatar for vb5prgrmr
0
134
Member Avatar for tristan17

Hi, I am looking for the algorthim for converting rgb to hsv values. Does anyone know of any program or algorithm in php?? thanks in advance, tris

Member Avatar for almostbob
0
414
Member Avatar for karthiken07

I need to write some contents in the text file (notepad), with some specified font, and size .is it possible in C, kindly let me know.

Member Avatar for Ancient Dragon
0
158
Member Avatar for lastlight

Howdy all, For some reason I just can't get my modules imported into my CGI script and run in a browser. It will print the HTML fine in a command prompt call, but the browser gives an "Internal Error 500." Error in Firefox & IE: Server error! The server encountered …

Member Avatar for ItecKid
0
159
Member Avatar for johndoe444
Member Avatar for pearle

Suppose I have something like [CODE]char *threeDays[3] = {"Monday","Tuesday","Wednesday"};[/CODE] and I wanted to extract the first letter of each string and create another string using those letters. How would I go about doing it? I tried [CODE]char str[4]; strcpy(str,*(threeDays+1)); strcat(str,*(threeDays+2));[/CODE] but that gives me "TuesdayWednesday". I just want a string …

Member Avatar for pearle
0
1K
Member Avatar for X-Boy

I new to Python and I'm trying to make this script work, I made this in php, but I'd like to know how to do it in python... I'm trying to encode a file with base64 and then decode and write the binary data to a file. [CODE=Python]import base64 binaryfile …

Member Avatar for bumsfeld
0
5K
Member Avatar for johndoe444

from wikipedia: 1. [CODE]find . -name "*.foo" -print0 | xargs -0 grep bar[/CODE] The above command uses GNU specific extensions to find and xargs to separate filenames using the null character; What is the null character? What is the significance of "separate filenames using the null character;"? why should we …

Member Avatar for nezachem
0
158

The End.