199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for abelingaw

Ok, im having a long time creating reports for my program. I would like to ask if it is possible to connect my program to an existing msword file. E.g: If i click a button on my form, lets say cmdLeaveReport, an msword file named leavereport.doc will open (of course …

Member Avatar for AndreRet
0
248
Member Avatar for exception

can someone help me how to get the value of the cell of the sharp grid?? like in msflexgrid str = grd.textmatrix(row,col) tnx

Member Avatar for AndreRet
0
158
Member Avatar for dimasalang

hey, i'm new here..need help is it possible to save your work from other applications (e.g. word, excel, photoshop etc.) using vb6?? thanks.. this is for our thesis.. ASAP

Member Avatar for AndreRet
0
524
Member Avatar for Nathan_12

I have a home work assignment to make a photo gallery using the cImage module. It is supposed to have a forward and a backward button, and display images named picture0, picture1, picture2... so that after you click the forward button on the last picture it will go back to …

Member Avatar for SgtMe
0
205
Member Avatar for Abayiz

Hello! I am trying to read some data from an existing .txt file, actually that data consists of three columns, and dozens of raws. I can read it and write it to another new .txt file, but the problem is, it generates only one column with all those data, which …

Member Avatar for Abayiz
0
170
Member Avatar for zerey02

.I am creating an online quiz using PHP and MySQL. .what i want to come up with is a quiz page having a frame where the user is able to see the question and then choose from the available answers on the dropdown list. after which the user then clicks …

Member Avatar for R0bb0b
0
521
Member Avatar for pordsky

Hey guys. im having a hard time to code tower of hanoi in vb.net using stack. any help you can offer. (vb.net codes please) Thank you in advance guys. Good day!

Member Avatar for crunchie
0
59
Member Avatar for bbauraj
Member Avatar for manga127
Member Avatar for manga127
0
277
Member Avatar for dee2020

AUCTION.JAVA package English_Auction; /** * * */ public class Auction { // A unique identifying number. private final int number; // A description of the lot. private String description; // private int startPrice; // private int reserve; // The current highest bid for this lot. private Bid highbid; // private …

Member Avatar for dee2020
0
129
Member Avatar for shabadoo

I have a project that when opened automatically shows a userform for LOGIN/PASSWORD. Everything works great except that if the user clicks the Close(x) button included in the title bar of the userform, the userform is exited but the workbook is still open to its first page. Is there any …

Member Avatar for abelingaw
0
112
Member Avatar for jonnypixel

Hi, I am trying to check MYSQL table field for existing Tags. If they exist i dont want it to insert the tag. If they dont exist i want it to run the INSERT query. My code below wont work though.. it just keeps returning already exists even when the …

Member Avatar for jonnypixel
0
2K
Member Avatar for mhaviv

Hi all, I have written a simple function to compute factorial in C++. It computes OK until 31! which is 738197504. Now for factorial 32 it gives me a negative result and for 34 it gives me 0. I know that on my machine LONG_MAX is 2147483647. So in my …

Member Avatar for NathanOliver
0
92
Member Avatar for a.fattah

hello all.. i'm new in C# programming. the scenario is i have a datatable is usercontrol and i need to insert row to that datatable on other form, and i need to access the row on that datatable from other form. how can i do that? thanks in advance..

Member Avatar for a.fattah
0
1K
Member Avatar for TooMpa

Hi trying to create a list structure list "nvidia/ati" had before you select something in one list and then the second list updates with values based on you selection. It will not be drivers and static items tho. So the purpose of this is to get a tree structure from …

Member Avatar for TooMpa
0
147
Member Avatar for luke noob

the problem is that its an undifined varible ($last) intill i type the second word, i [code=php] if($_POST) { $q=$_POST['searchword']; $q = explode(' ', $q); $first = $q[0]; $last = $q[1]; $sql_res=mysqli_query($mysqli, "select * from dogs where firstname like '%$first%' and lastname like '%$last%' order by id LIMIT 5"); while($row=mysqli_fetch_array($sql_res)) …

Member Avatar for luke noob
0
163
Member Avatar for TheDocterd

Hi there I want to know how I can save a checkbox value into sql server 2005? The check box is in my windows forms application... Thanks

Member Avatar for kvprajapati
0
292
Member Avatar for baby_c

please anyone help me to catch this.i tried to return an array from function and access it within main function.i just got a warning [CODE]"function returns address of local variable "[/CODE] and when i execute the program it gives garbage values as array elements..cam you help me pls... [CODE]#include<stdio.h> int …

Member Avatar for baby_c
0
148
Member Avatar for netclick

I would like to design web site templates and start selling templates online. I am a designer not a programmer. Is there a Framework for Wordpress that I could use to build various design layouts with options in various places? I would liek to sell them as my own rather …

Member Avatar for badsolo
0
279
Member Avatar for atticusMom

I'm not including code yet as to the fact I've restarted several times. I think if I can determine how to start I can make some headway. Here are my beginning instructions. High-level specifications Your project manager has assigned you the task of developing a subsystem that tracks the populations …

Member Avatar for quuba
0
340
Member Avatar for feoperro

Hi, After completing a PHP website, with html, javascript and mysql connections - What can I do to ensure good security and what threats should I be aware of? Thanks, Ashton.

Member Avatar for diafol
0
98
Member Avatar for aznelite89

i keep tried many time and the program could not be scan and no output displayed and some illegal character.... pls help or give some guide .... thanks you.... here is my code [CODE]#include<stdio.h> #include<stdlib.h> #define NO_OF_WEEKS 14 #define NO_OF_STUDS 5 void looping(); void List_Student_Details(); typedef struct { int year; …

Member Avatar for darkbreaker
0
139
Member Avatar for Katana24

Hi - I'm making a program to calculate PI to n number of decimal places, the calculations are all going fine and now I want to combine values from two arrays into one 2D array for quick reference. I'm a-little confused on how to do this. It should go like …

Member Avatar for Katana24
0
2K
Member Avatar for Lerilaine

I have 2D char array, dynamically allocated (using malloc). I need to add another line to it but I have no idea how to use realloc with 2D arrays. I have this: [CODE]res = (char **) malloc(1 * sizeof (char*)); for (i = 0; i < 1; i++) { res[i] …

Member Avatar for Narue
0
1K
Member Avatar for Alex86fire

Hey guys, I have a problem, I have to take a text and depending if a boolean - split_words is true or false I have to parse the text on some lines splitting the words or leaving them whole. for example, text is: This is the text I have to …

Member Avatar for Alex86fire
0
165
Member Avatar for rickylakhay

hi guys. i seem to be having a problem using ms dos. now manually i know how to connect to a network and upload files onto a server. im struggling to create a shell script that will automatically detect when an internet connection is present and then connect to it. …

Member Avatar for VulcanDesign
0
357
Member Avatar for novice2

I have two tables table 1 idn ......1..........2 name....john......mary table2 id......1...........2.........3...........4 colors..white......red.......blue.......green idn......1..........2.........1...........1 I have my query SELECT * FROM table1,table2 WHERE table1.idn=table2.idn and I want to get results like this: name...........colors --------|------------- john....|...white ........|...blue ........|...green mary....|...red So if anyone can help me with php code to achive this result?

Member Avatar for novice2
0
118
Member Avatar for vbx_wx

I`m getting the following error in my code(line 65): [code] error: expected constructor, destructor, or type conversion before ‘*’ token [/code] [code] namespace SocketSpace { class Error { public: Error(const std::string& msg = 0) throw(); const char* what() throw(); ~Error() throw(); private: std::string message_m; }; class Socket { public: void …

Member Avatar for vbx_wx
0
144
Member Avatar for duttydea

I have just written this code o update my MYSQL Server with data from an Arduino Micro controller using Ethernet. Basically I want to pass the variables collected by the Arduino to the Server. Whenever I try to use this script the Values [I]$_POST['Name'][/I] [I]& $_POST['Value'][/I] do not get passed …

Member Avatar for somedude3488
0
149
Member Avatar for gpjacks

So, I am in the mid part of my C++ class and am having trouble with a vector project at the end of the chapter. I don't expect the answer, but if someone would point me in the right direction I would greatly appreciate it :) #1). Write a loop …

Member Avatar for gpjacks
0
266
Member Avatar for jlivvers

Hi, I have a windows form that adds new entries to a dataset via a datagrid using the updateAll method. Im passing in an id from another form and id like to specify this in the sata thats being written to the dataset. So by default the id would already …

Member Avatar for Mitja Bonca
0
173
Member Avatar for vanalex

Hello everybody! I want to ask something that crossed my mind today about strcpy..I wrote the following piece of code and although i didn't expect it to work..it worked! [CODE] #include <iostream> using namespace std; int main() { char name[20], *dname; cout << "what's your name?: "; cin.getline(name, 20); strcpy(dname, …

Member Avatar for WaltP
0
67
Member Avatar for tech9x

i want to find the number in a string and then store it into int, i tried sub string, but the compiler tells me that i cannot convert string to integer. what can i do??

Member Avatar for WaltP
0
74
Member Avatar for mar1obaz

I need to create different strings inside a while loop, the problem is how to name them and not having them overwritten each time for ex: [CODE] while (i<10) { String x=scan.nextLine(); //here is the problem, x gets overwritten each time i++} [/CODE] Thank you in advance.

Member Avatar for mar1obaz
0
107
Member Avatar for feoperro

Hi, After a user has registered, if they do not respond to the email sent to activate their account: then what is responsible for deleting the pending registration? Is it a database script? Thanks, Ashton.

Member Avatar for feoperro
0
136
Member Avatar for Deepak20

package sha; import java.security.MessageDigest; /** * * @author deepak */ public class Sha { public static void main(String[] args) throws Exception{ MessageDigest sha = MessageDigest.getInstance("SHA-1"); byte [] i1 = args[0].getBytes("UTF8"); sha.update(i1); byte[] hash = sha.digest(); System.out.println ("Result: Success"); // Display plain text and digest System.out.println ("Original plain text was : …

Member Avatar for Deepak20
0
208
Member Avatar for Wattsits

so. i downloaded a dll of the net and im trying parse data through it. this bit of code i pretty much ported from VB so i expect a reason its not working for me is the syntax is incorrect. iv tried to make it as c# as i know …

Member Avatar for Wattsits
0
122
Member Avatar for darkbreaker

I wrote a function in C that receives a pointer to a character array as argument and switch all accented letters with their corresponding character, the code is as follows: [CODE]void removeacc(char *texto){ char a[]="\x83\x84\x85\x86\xa0\xc6",A[]="\x8e\x8f\xb5\xb6\xb7\xc7"; char e[]="\x88\x89\x8a\x82",E[]="\x90\xd2\xd3\xd4"; char i[]="\x8b\x8c\x8d\xa1",I[]="\xd6\xd7\xd8\xde"; char o[]="\x93\x94\x95\xa2\xe4",O[]="\x99\xe0\xe2\xe3\xe5"; char u[]="\x81\x96\x97\xa3",U[]="\x9a\xe9\xea\xeb"; char n[]="\xa4",N[]="\xa5"; char c[]="\x87",C[]="\x80"; char y[]="\x98\xec",Y[]="\xed"; int …

Member Avatar for darkbreaker
0
138
Member Avatar for liveurlifeteddy

Hello everyone, i got a question, but cant figure it out here's the question: Declare a structure to hold the time. It should have 2 members: one for hours and one for minutes (each as integers). Declare another structure for date. It should have 3 members: one for day, one …

Member Avatar for liveurlifeteddy
0
112
Member Avatar for serkan sendur

for(var i = document.getElementById("tableId").rows.length; i > 0;i--) { document.getElementById("tableId").deleteRow(i -1); } I had to write this because it took me an hour to find out the error about deleting rows from an html table by javascript. If you do this it generates an error : for(var i = 0; i …

Member Avatar for bertyhell
0
52K
Member Avatar for hiddepolen

Hi Daniweb! I couldnt find my problem anywhere else on this forum, so I decided to make my own thread... My problem: I'm trying to make a function to decide how many decimals a 'double' has. My code (slightly edited, here's the base of it): [CODE] // int m = …

Member Avatar for MattyRobot
0
185
Member Avatar for ayesha91

HEllo this is reaaally urgent, the deadline is within less than an hour and thirty minute, and I lost hope that I can fix the problem myself. I know it has to do with pointers and allocating memory dynamically. The assignment was to use operator overloading to add two sets …

Member Avatar for dwks
0
169
Member Avatar for mehargags

Hi all, Im learning PHP recently so a bit of a noob here... I'm making a purely php form(without using JS for the moment) which has 2 date selection SELECT boxes displaying month/day Pls note that I need to be able to return the previously selected Value of these Select …

Member Avatar for mehargags
0
95
Member Avatar for kroken

Hi, how can i count the users online on site? followed this guide [url]http://www.stardeveloper.com/articles/display.html?article=2001112001&page=1[/url] but i would like something that updates every 5 minutes and destroy the session when a user logs out

Member Avatar for martin5211
0
190
Member Avatar for natha_peepli

[CODE]mport java.net.*; import java.io.*; class Ur { public static void main(String[] arg) throws Exception { URL u = new URL("http://www.whitehouse.gov/"); InputStream ins = u.openStream(); InputStreamReader isr = new InputStreamReader(ins); BufferedReader whiteHouse = new BufferedReader(isr); System.out.println(whiteHouse.readLine()); } }[/CODE] It shows the error.. when i changed the site to [url]www.google[/url] .com \Program …

Member Avatar for natha_peepli
0
176
Member Avatar for blacknred

Hi I just started with python, and trying to implement some system admin tasks and running into some rough. Basically I need to do some task on whichever share exists on their corresponding server. eg Server A has shares 1,2 and 3 Server B has share 1 and so on. …

Member Avatar for blacknred
0
90
Member Avatar for claudiordgz

Hi guys, I am trying to load a Haptik.hpp to control a Novint Falcon. I receive error C2144 syntax error and C4430 in the next line [CODE] //---FUNCTION // Desc: C-based entrypoint to retrieve IHaptikLibrary interfaces //-------------------------------------------------------------------------------------------------------------> extern "C" HAPTIK_DLL_IMPORT_EXPORT PVOID GetHaptikLibraryInterface(IN UINT32 interfaceId = HAPTIK_IHAPTIKLIBRARY); [/CODE] So I pasted …

Member Avatar for Ancient Dragon
0
553
Member Avatar for Thropian

ok well I'm working on making a dungeon explorer and I can't get images to work...so far I have this[CODE] from Tkinter import * class App: def __init__(self, master): frame = Frame(master) frame.pack() canvas = Canvas(frame, width = 225, height = 225) canvas.pack() gif1 = PhotoImage(file = 'Fhall.gif') canvas.create_image(0, 0, …

Member Avatar for Thropian
0
145
Member Avatar for Oregand

Hi guys, This week Ive been wrecking my head trying to write a code to run the following program: This program must test the dice 50 times. Then the results will be recorded and summarised. For each number (1 to 6), the program will print the most times that number …

Member Avatar for kramerd
0
122
Member Avatar for SaaDwTk

I need an code to goes to this page: [url]http://admin:adminms@192.168.0.118[/url] Wait 3 seconds Goes to: [url]http://192.168.0.1/cgi-bin/dial?rc=@&A=H0&rd=status[/url] Wait 3 seconds Goes to: [url]http://192.168.0.1/cgi-bin/dial?rc=@&A=D0&rd=status&ZT=1290636163550[/url] And stop

Member Avatar for SaaDwTk
0
111

The End.