199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for igreenb

I am trying to have a Macro save an Excel 2007 spreadsheet as a PDF (I have the Save as PDF or XPS installed.) How can I get the file name to save as 2 cells concatenated? I am working with the following code so far. Any help greatly appreciated. …

Member Avatar for Ionelul
0
1K
Member Avatar for TrueCoding

Ok first of all when I was reading a thread on Timers before this guy posted code for a timer and its really good, but only problem with it which I cant figure out is that when I run the program the Msgbox("You have run out of time")..Which is from …

Member Avatar for TrueCoding
0
181
Member Avatar for r5berndt

Hey guys, Im new here so I hope this post is in the right spot. Im trying to get my code to callout to the other functions. When I debug the code, it only executes the Int Main section of my code. Can someone help me out and explain how …

Member Avatar for Fbody
0
103
Member Avatar for donaldw

I am using MS SAPI (5.1 or 5.3) to read a script using a call like this (in MS VC++): [CODE]Voice -> Speak(script.AllocSysString(), SPF_DEFAULT, NULL);[/CODE] I want to be able to limit the total duration of the time spent reading the text to length X (hard limit). Is there a …

Member Avatar for donaldw
0
186
Member Avatar for nevergone

Hi, I have a website called [url]www.site.com[/url] I have a product.php file and a categories.php file that generate the URL's and content dinamically. In .htaccess I have the following rule. [CODE]RewriteRule (.*)_(.*)\.html product.php?category=$1&name=$2 RewriteRule (.*)\.html categories.php?category=$1[/CODE] Everything is ok by now. When I try to change the rewritting rule to …

Member Avatar for nevergone
0
123
Member Avatar for vivitabak

I made a program simulating that of the lobby of a hotel, and I have a problem with storing the record variables into the file...for some reason only those variables of type string are saved and those of integer and of array are not, or if they are stored, thay …

Member Avatar for FlamingClaw
0
142
Member Avatar for fallingstar1

I need help creating a script allowing one file to move to another folder and when moved the date and time should be appended to the end of the file name. Please help thank you FS

Member Avatar for Salem
0
96
Member Avatar for 1manik

Hi, I want to ask you, how can I do a program, which will be read characters from a keyboard in random time. I mean it, that if I write some characters on a keyboard in every time, when I come to the PC, it save it to txt and …

Member Avatar for Salem
0
118
Member Avatar for SG01

I am battling with this code. I want to open a word document from a button and want the document (attendance register) to be available to resources once compiled and using on CD from another PC. At present having issues getting it right!!! [CODE]Public Class Form2 Private WordApp As New …

Member Avatar for Nattynooster
0
123
Member Avatar for MrJNV

So I have this assignment in which I need to use Selection and Projection operators on n-ary relations. The book really doesn't cover it in a way I understand and doesn't explain it in terms of c++, so could someone help me out. Could someone give me a "c++ code …

Member Avatar for MrJNV
0
276
Member Avatar for toll_booth

OK, in reference to my last thread, I finally got PIL installed and set up. I can even successfully import it (from PIL import Image). All that remains to be done is for me to successfully get an image into my GUIs, and I'll be good to go. Can someone …

Member Avatar for vegaseat
0
176
Member Avatar for Mobix

Ok i wrote this function to print as many characters as needed but it doesnt work can anyone help me? It only fails in loops where after every cycle the number of times gets multiplied. [CODE]Function TfrmDeliveries.WriteChar (letter : char; times : Integer): String; var i_count : Integer; s_temp : …

Member Avatar for Ionelul
0
105
Member Avatar for CobraAviTek

Hi, I've been working on this one problem in C++ for hours, starting last night. I haven't been able to figure it out completely but have been able to complete 3 of the 6 functions required for the program. I'm in the process of completing the fourth and have run …

Member Avatar for Lerner
0
1K
Member Avatar for LloydFarrell

hi all, im looking to resize an image from the following code, but i keep getting errors when trying to resize the image inline. [code] <a href="read_message.php?messageid=' . $row['message_id'] . '">' . $row['img1'] . '<br>' . $row['datetime'] . '<br>' . $row['message_title'] . '</a><font face="Verdana, Arial, Helvetica, sans-serif" size="1">&nbsp;(You have mail)</font><br><br> …

Member Avatar for colweb
0
127
Member Avatar for miskeen

Hello guys, I've a class with a cpp and .h files. It's a part of a large program. I would like to create an array of structs and use it wherever in the same class, i.e. I want to initialize it in a specific function and use it in other …

Member Avatar for miskeen
0
162
Member Avatar for yznk

In my code my "ndeps" is not being declared in my "setdepends" function and i dont know why. Can anyone help me figure out why? [CODE] #include <iostream> #include <fstream> #include <cstdlib> #include <cstring> using namespace std; class Object{ private: Object **depends; int ndepends; public: Object(); char *id; enum Color …

Member Avatar for Stefano Mtangoo
0
192
Member Avatar for xSDMx

Here's the code I put together to create concentric circles using Python: [CODE]def concentric(myTurtle,number,spacing): for radius in range(number): x = myTurtle.xcor() y = myTurtle.ycor() myTurtle.up() myTurtle.goto(x,spacing) myTurtle.down() drawCircle(myTurtle,radius*y+spacing) myTurtle.up() myTurtle.goto(x,spacing) myTurtle.down()[/CODE] It, however, has a critical flaw. I need the code to be able to goto any given set of …

Member Avatar for xSDMx
0
753
Member Avatar for rasizzle

Hey all, Here is some code for reading Excel spreadsheets (2003 and before) with PyExcelerator. My main problem is that if I leave a cell blank, it gives me an error. I want to be able to have blank cells on my spreadsheet without any problems. Does anyone have any …

Member Avatar for Gribouillis
0
507
Member Avatar for cwarn23

Hi, I am glad to announce the release of the PHP robot which stores information from daniweb topics to answer questions. You may view my bot at [URL="http://chat.cwarn23.info/"]http://chat.cwarn23.info/[/URL] and it can answer all sorts of questions. In addition you can chat to other people who are online at the time. …

Member Avatar for diafol
0
142
Member Avatar for dalip_007

hi can anyone plese let me know how can we accept payment through credit card online? i have seen many credit card payment method on many website and want to have on my website. please help Thanks

Member Avatar for nelixinc
0
396
Member Avatar for ttboy04

Hello, What I want to do is reset the pig's position to 0 and it's colour to pink. I don't how if I amended the the constructor correctly so the final line sends a resetCount() message to the newly created Animal object. The above code is not working because nothing …

Member Avatar for ttboy04
0
270
Member Avatar for Tellalca

I got some linker error, couldnt find the mistake. What is wrong? [CODE]#include "myStack.h" //Imports the Stack header file containing the declaration of the member functions myStack::myStack() /*The stack is initialized as empty */ { count=0; } //end of Stack::Stack constructor Error_code myStack::push(const Stack_entry &item) /*If the stack is full …

Member Avatar for Tellalca
0
173
Member Avatar for gear26926

The following javascript code does not work .Not able to figure out the reason.Cud anyone help plz [code=html] <html> <head> <title>AJAX RSS Reader</title> <link rel="stylesheet" href="style.css" type="text/css" /> </head> <script language="javascript" type="text/javascript"> var RSSRequestObject = false; // XMLHttpRequest Object var Backend = 'http://www.google.fr/news?hl=en&ned=en&q=ajax&ie=UTF-8&output=rss'; // Backend url window.setInterval("update_timer()", 1200000); // update …

Member Avatar for Airshow
0
176
Member Avatar for K0ns3rv

Hello fellow daniwebians. Consider the following constructor: [CODE=C++] Vector3f::Vector3f(float* f) { x = *f; f++; y = *f; f++; z = *f; } [/CODE] Now let's create an object of the Vector3f class [CODE=C++] //Create an object of Vector3f Float f[] = {13,3,7}; Vector3f myVector(f); [/CODE] All is well right …

Member Avatar for K0ns3rv
0
122
Member Avatar for vlowe

Hi all, im looking for some help with some javascript if thats ok. I am building a system for creating a booklet. I want the user to be able to select the quantity of booklets they require. (eg 50, 75, 100, 125) Then also select the number of pages each …

Member Avatar for Airshow
0
286
Member Avatar for Lukezzz

Hi, I have a special question about banners that usually is possible to put on a webpage with HTML code. The HTML code holds some addresses to this specific banner in form a http:// addresses. As C++ can call addresses like this my quesiton is this: Is there any possibility …

Member Avatar for Lukezzz
0
134
Member Avatar for mibushk

Hello, I would need your help, I have a Perl code that makes a folder structure, it reads a txt and creates the folders Now I have an issue I have to go through this folder structure and insert a file delete_me txt is yhe lowest level, and I have …

Member Avatar for d5e5
0
414
Member Avatar for warne

Hi, CPP : How do i call a function in another program? the main function is in one program and i want this main function to call a function in another program. Can anyone please give me the sample code for this? Thanks in advance

Member Avatar for corby
0
125
Member Avatar for rena0514

i am trying to create a tic tac toe GUI but i am having trouble...here is my code: [CODE]import javax.swing.JFrame; public class TtTDemo { public static void main(String[] args) { JFrame frame = new JFrame ("TicTacToe"); frame.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE); frame.getContentPane().add (new Main()); frame.pack(); frame.setVisible(true); } } [/CODE] [CODE]import java.io.BufferedReader; import java.io.IOException; …

Member Avatar for peter_budo
0
391
Member Avatar for danarashad

I am pretty sure this is easy to figure out, but I don't know javascript that good. I am trying to declare variables dynamically but what I have below does not work. What I want to accomplish is the following. var id1 = document.getElementById("sid").value; var id2 = document.getElementById("sid").value; var id3 …

Member Avatar for scrappedcola
0
103
Member Avatar for attackthis

So far I have this as my main [CODE]#include <string> #include <iostream> # include <fstream> #include "money.h" using namespace std; int main () { ifstream infile; ifstream outfile; infile.open ("transaction.dat"); int precision = 6; int width = 20; if (infile.fail ()) { cout << "Opening input failed" << endl; } …

Member Avatar for attackthis
0
166
Member Avatar for manolisvl46

hallo there everyone.. i got an array from my database [CODE]$save=split("[|;]",$listOfItems);[/CODE] and what i want i s after making some changes to the attributes on the array above to export them on an csv or excel format but directly as a message to the browser .. i dont want it …

Member Avatar for colweb
0
2K
Member Avatar for dualdigger

Hi; I have a Q/A based game which randomly selects questions that are stored in access file table. I have define a vector and a stdstream that takes no of questions as input. The no of records are 300 and I want the program to select only 30 questions but …

Member Avatar for dualdigger
0
147
Member Avatar for dan1992

can some wan say me , a script or a php code to make the website to have more language thx :D

Member Avatar for dan1992
0
87
Member Avatar for notmasteryet

trying to make a tictactoe (in class) c++ program but i cant seem to get the board printed when i enter the 2nd set of numbers. if you see nay other mistakes please let me know ..... thanks in advance first time here :) [// [CODE]#include<iostream> using namespace std; const …

Member Avatar for MaraShyla
0
88
Member Avatar for anjal_pawar

Write a program to print * / * / * / * / * / * / * / using two child thread. One thread responsible for printing * and another for /

Member Avatar for MaraShyla
0
176
Member Avatar for ppotter3

I am currently writing a program called Encoding and Decoding strings with the Enigma Class. This was a class assignment, but it already has been turned in, and I would like help (I am not looking for the work to be done for me) so I may learn from my …

Member Avatar for ppotter3
0
2K
Member Avatar for emaduddeen

Hi Everyone, I would like to know how to make a DataView global to a particular form. The DataView is currently created and returned from a function within a public class residing in another .vb module. All help will be appreciated. Thanks. Truly, Emad Here's what the code in the …

Member Avatar for emaduddeen
0
220
Member Avatar for davidcrossan

hi there i am building a one page website that i need query data from an access database (visual studio 2008 c# xml). I need to do a sql query displaying customers with possible bookings if any. I have been able to display all customers details but i am finding …

Member Avatar for Mohtshm
0
156
Member Avatar for thuyson
Member Avatar for kvprajapati
0
81
Member Avatar for emeryDan

I am looking for a C# grid component (not for database). I found GridView on the net but it seems buggy since it only supports four columns and crashes when I use more than four columns.

Member Avatar for kvprajapati
0
70
Member Avatar for Othello911

:'(Help Please! I am new to C#. I am using VS Studios to develop Silverlight 4.0 business app. I have a page with a mediaelement on it and buttons to control the video. I have the video added to the project, I have set the Build Action to "Resource" but …

Member Avatar for Othello911
0
83
Member Avatar for scorpio222

hi. i am creating a new csv file pro grammatically in C# where i am going to take values from a csv file that is already present with me. consisder this csv file, firstname,lastname,middle,company,email xxxxxx,xxxxxxx,xxxxx,xxxxxxx,xxxxx yyyyyy,yyyyyy,yyyyyy,yyyyyy,yyyyyy zzzzzz,zzzzzz,zzzzzz,zzzzzz,zzzzzz I need to read certain values from each row of this file and …

Member Avatar for scorpio222
0
201
Member Avatar for bigbags911

[CODE]public class TicTacToe3 { public static void main(String[] args){ } int input = 0, turn = 0, mov = 0; String sq1; int[][] table = new int[3][3]; int play; public void table() { for (int row=0; row < 3; row++) for (int col=0; col < 3; col++) table[row][col] = ((row …

Member Avatar for parry_kulk
0
101
Member Avatar for Rageagainst20

Hello, I am using Compact Framework for an Intermec CN3 I am watching a textbox's length and then automatically triggering an event when scanning a barcode (Using Code 128 barcodes) [CODE] private void txtBox_TextChanged(object sender, EventArgs e) { if (txtBox.Text.Length == 16) { DoMethod(); } else { ///Does nothing } …

Member Avatar for ddanbe
0
246
Member Avatar for Hakoo

In my MS SQL 2005 i have given "[B]Windows Authentication[/B]". Now how to connect with NETBEANS?? I means wat to give in User Name and Password fields?? I tried to give my User name and password while login into Windows. But not working. I am getting this error [COLOR="Red"]"the user …

Member Avatar for pclfw
0
118
Member Avatar for senormateo2011

[B][I]Write a program that allows the user to display 1, 2, or 4 images in a grid of panels. At program startup, the user is prompted ofr the number of images. If the input number is not 1, 2, or 4, the program quits with an error message. Otherwise, the …

Member Avatar for biedi
0
294
Member Avatar for bahr_alhalak

[COLOR="red"]Hi every one, I need ur help on this part of my project i cant know to solve it and i done what i can....[/COLOR] the problems are: 1- the time must be update with time of computer but i cant do it just I take the current time??? 2- …

Member Avatar for bahr_alhalak
0
112
Member Avatar for sri_sreeraj

Hi, I am a dot net beginner. I have learned programming in c# for website developing. Now I would like to learn vb.net . So I am trying to convert one of my previous work from c# to vb. But now I am facing a problem while converting to vb. …

Member Avatar for kvprajapati
0
179
Member Avatar for Stefano Mtangoo

Hi, I need to secure my password and here are my questions. 1. What is the best method of making a salt? I have seen enough arguments for not using user info but rather random values. 2. How do I know user salt if I used random one? Should I …

Member Avatar for Stefano Mtangoo
0
140

The End.