199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for drabsch

I am using a MDI Form and several documents can be opened using "CommonDialog1.ShowOpen" If i open a file then go back to open another file but click cancel or the "x" then it will open the last file. so i need to know how to clear the "#1" my …

Member Avatar for vb5prgrmr
0
540
Member Avatar for iamthwee

Hello there, I need 2 learn binary search tree 4 my assinement in java but canot find anything useful. If anyone no of a useful link please tell me. Why is there no source code for deleting a node...that's all i ask how to delete a freaking node arg. :eek:

Member Avatar for kdc
0
183
Member Avatar for alikSmehoff

Hello, how can I open MS Word application in my Delphi program? I think, it is necessary to work with ActiveX or maybe there is any other way or some free software for this purpose?

Member Avatar for BitFarmer
0
1K
Member Avatar for AdRock

I don't know if this is the right board for this but here goes I have finsihed writing my program and it compiles fine on windows using the MinGW compiler. Ihave it compiling and running fine I tried compiling on a linux machine to create an executable but i an …

Member Avatar for AdRock
0
177
Member Avatar for sameh_ba

i need to write a C++ or Java program that will receive as input an IP Address in decimal format 192.168.2.125 The program will identify and print the class of that IP according to the first octet. Then it will perform binary bitwise AND operation between the IP address and …

Member Avatar for sameh_ba
0
150
Member Avatar for daviddoria

If I have the following setup: [code] Point* MyPoint = Object->GetMyPoint(); if(MyPoint->GetValue() != 2) do something; else do something else; [/code] If MyPoint is NULL or invalid, the MyPoint->GetValue() will cause a segfault. This should fix it: [code] Point* MyPoint = Object->GetMyPoint(); if(MyPoint) { if(MyPoint->GetValue() != 2) do A; else …

Member Avatar for JasonHippy
0
122
Member Avatar for Ineedhelpplz

So I have an assignment that I have been attempting for 2 weeks now and the class has been given extensions twice now. Everyone seems to be struggling with this part of the assignment. The assignment is to do K&R Exercise 5-13, unix tail command. [COLOR="Red"] Instructions: "The program takes …

Member Avatar for Ineedhelpplz
0
247
Member Avatar for seo2005

Hi, This has been discussed ealier, but i would like to know how the loop executes 1. #include<stdio.h> 2. #include<conio.h> 3. void main() 4. { 5. int x,y,z; 6. scanf("%d",&x); 7. if(x>0) 8. { 9. y=x/10; 10 z=x%10; 11. x=y; 12. printf("%d",z); 13. } 14. printf("%d",x); 15. } Suppose I …

Member Avatar for pramodsajwan07
0
116
Member Avatar for Vdub.za

HI I want to calculate the amount of days left between now and let's say 5 days from now using daysbetween. everytime i try to run my app, it says that daysbetween is a an undeclared identifier. i want to use this function to limit the length of time a …

Member Avatar for BitFarmer
0
152
Member Avatar for SAINTJAB

Hi, I want to create a mysql table in a database in C#. this table should have unlimited fields where the user can add more information to it without having to overwrite the already existing information. I want to do this cos I will not know the amount of info …

Member Avatar for Geekitygeek
0
514
Member Avatar for Vdub.za

Hi guys, I got a another question. i want to know how to go about saving a form1 to disk instead of printing it, so that i can email it to someone in a format that can be opened and read by the recepient. like for instance a home loan …

Member Avatar for BitFarmer
0
148
Member Avatar for shakunni

I need to edit every character of a string for an assignment; apply a simple Caesar cipher on it. What is the C equivalent of "charAt()"? I remember my prof saying that all strings are terminated with a certain character in C and that you could run a while loop …

Member Avatar for shakunni
0
81
Member Avatar for gundalav

I tried to print all the possible combination of members of several vectors. Why the function below doesn't return the string as I expected? [CODE=c] #include <iostream> #include <vector> #include <fstream> #include <sstream> using namespace std; string EnumAll(const vector<vector<string> > &allVecs, size_t vecIndex, string strSoFar) { string ResultString; if (vecIndex …

Member Avatar for Sodabread
0
205
Member Avatar for a_arunsankar

I have created a small application to open the Flash File from my VB.Net Windows Application. To open the Flash file - I have used the Shockwave Flash Object. When I run the application directly from the Solution, the flash files are opening perfectly. But, once I created the EXE …

Member Avatar for a_arunsankar
0
140
Member Avatar for sandeepani

Are there any APIs or components that can be used for GIS development?

Member Avatar for Ramesh S
0
132
Member Avatar for Vampirewombat

Name Address1 Address2 Addess3 ---------------- --------------------- -------------------- ------------------- Name1 Address1 Address2 Address3 Name2 Address1 (NULL) Address3 Name3 Address1 Address2 (NULL) I need to take this information and export it into a CSV file with the Owners Address (combination of add1, add2 and add3) As a single string, Then take the …

Member Avatar for BitFarmer
0
647
Member Avatar for kiranpreddy05

Pls help me out i am using visual C++6.0 enterprise edition.... [code=c++] /*--------------------------------------------------------------------------*/ /*--------------------------------------------------------------------------*/ // Source file originally created by PegWindowBuilder // // // Class Name: ecgclass // // Notes: /*--------------------------------------------------------------------------*/ /*--------------------------------------------------------------------------*/ /* WB Auto-Generated Start (1) */ #include "peg.hpp" #include "ecg_res.hpp" #include "ecgone.hpp" extern PegResourceTable Default_Theme_ResourceTable; /* WB Auto-Generated …

Member Avatar for Fbody
0
239
Member Avatar for DdoubleD

Hello friends! I have some database tables that store Image/Bitmap as part of each record as a Byte[]. I also have method that loads all the tables records into a DataTable and I would like some suggestions on how I can get this Byte[] column in my DataTable to be …

Member Avatar for DdoubleD
0
266
Member Avatar for moorcroft

Hi I have a TreeView object created on my website using the following code: In my Page_Load method I call BuildDocumentNavigationTree() as in: [CODE=C#]private void BuildDocumentNavigationTree() { TreeNode rootNode = new TreeNode(currentDocumentStructure.Label); rootNode.Value = currentDocumentStructure.UniqueId.ToString(); rootNode.Value = rootNode.Value + " : " + currentDocumentStructure.Title.ToString(); AddChildElementNodes(rootNode, currentDocumentStructure); TreeView1.Nodes.Add(rootNode); } private static …

Member Avatar for DdoubleD
0
627
Member Avatar for TobbeK

Hi I put my hope to anyone experienced in the PdfSharp class library or perhaps can find an answer anyway. Please provide some code example, I have tried many variations and have already seen most of the existing errors. I have some problems adding new pages. I want to add …

Member Avatar for TobbeK
0
2K
Member Avatar for debasishgang7

hi i want 2 know ho to make Instant Messenger client with c++. pls. provide web resources if available.., .. pls..

Member Avatar for kabeer.khan
0
2K
Member Avatar for dskumar_85

hai friend's , i am developing one website , in that i placed an image , my question is how to enlarge that image like pop up ??

Member Avatar for Ramesh S
0
84
Member Avatar for gibson.nathan

im working with a two class program. i have one for calculations and the other for the main method like so: [CODE] /** * Write a description of class CO2FromWaste here. * * @author (your name) * @version (a version number or a date) */ public class CO2FromWaste { private …

Member Avatar for AndreiDMS
0
333
Member Avatar for shishtawitch

AOA, i am developing a site, i want that when ever a user signs up on my site, it should get its own folder like youtube........!! i.e [B]youtube.com/user/username[/B] my problem is that i want to get variable wihout adding any .php extension. So how can i get or add when …

Member Avatar for shishtawitch
0
95
Member Avatar for mitsuevo

Hey guys, I want to create a new array in python. But cant seem to find a way of doing it without having to give initializing values... Basically i want to do wat this java line does float myArr[65353]; and to make matters worse when storing/retrieving data i wont be …

Member Avatar for mitsuevo
0
10K
Member Avatar for mitsuevo

hey guys, i have a problem.. i have this chunk of text like this..... [code] No. Time Source Destination Protocol Info 2 0.005318 192.168.110.33 192.168.110.44 ICMP Echo (ping) request Frame 2 (98 bytes on wire, 98 bytes captured) Ethernet II, Src: Cisco-Li_4d:e1:30 (00:1c:10:4d:e1:30), Dst: IntelCor_4d:77:83 (00:13:02:4d:77:83) Internet Protocol, Src: 192.168.110.33 …

Member Avatar for mitsuevo
0
223
Member Avatar for Sandar Khin

Hi all, Pls explain me about Timer and Thread.May I know the usage of Timer and Thread with examples if possible.I can't control these Class very well.Thank in advance.Pls help me.

Member Avatar for Sandar Khin
0
96
Member Avatar for Natsu29

Hello all! Looking for some help with this, I've been using a book to make an sql database to store names, and was hoping to use a button to randomly select any of the names in the database to be allocated to one of two machines. Also there is a …

Member Avatar for Natsu29
0
136
Member Avatar for Moselekm

Alright, I have been struggling with this for a while. I just sort of want to grasp and test out everything I have learned, but that's hard to do when they don't seem to work. Basically all I want to do is cause an event [MessageBox] when I hit a …

Member Avatar for Geekitygeek
0
328
Member Avatar for wchitamb

I have some tables that i have created in SQL Server and i want to write a stored Procedure that will insert data on to one of my tables AND also be able to update say if i select record [CODE] CREATE PROCEDURE Sp_cust_SaveCustomer --ALTER PROCEDURE cust_SaveCustomer (@id int, @ …

Member Avatar for sknake
0
218
Member Avatar for P00dle

Hi guys 'n' gals Just need some advice - I am using a sorted map to store info that I read line by line from a text file. example of info: id product price 1 option_1 23 2 option_1 23 3 option_1 23 2 option_2 24 3 option_2 24 3 …

Member Avatar for P00dle
0
88
Member Avatar for waknash

Hi All, I'm looking for a technique how to save image generated from php to png/jpg/gif, save the image to the server. Later, I want to include the image file to a pdf file generated from a php code. I'm referring the image generated php from [URL="http://www.daniweb.com/forums/thread199886.html"]HERE[/URL]

Member Avatar for venkat0904
0
2K
Member Avatar for Abhishek_Boga

Hii... I'm having 2 .aspx page 1) Detected Vulnerabilities Report 2) Missing Patches Summary Report When I'm clicking on Detected Vulnerabilities Report it is executing fine and after when Im clicking on Missing Patches Summary Report it is also executing fine. For both of this report Im passing 2 parameters, …

Member Avatar for sknake
0
121
Member Avatar for P00dle

Hi all, and thanks for your help, in advance. I 'm stiing here with 2 choices, and I need help deciding which one to take. I want to take certain factors into account(i.e. efficiency, speed) I have values that I want to place into a SortedMap. I can do this …

0
143
Member Avatar for Hilliard

Hey guys, Just trying to do a simple shell script to generate a query line... can someone tell me why this does not work? [CODE]for e in `cat file.txt`; do echo INSERT INTO \`omstest_omstest\`.\`GEN2_FIELD\` VALUES \(NULL, '$e', '$e', '4', '2009-10-05 00:00:00', '0' '0'\)\;; done;[/CODE] if you take out the $ …

Member Avatar for sknake
0
193
Member Avatar for wchitamb
Member Avatar for bk_bhupendra

hi , i am doing a project in C#, windows application. i am using sockets for communication between systems. now i am facing an error... its given below.. pls help me to solve this [code]System.Net.Sockets.SocketException was unhandled Message="Only one usage of each socket address (protocol/network address/port) is normally permitted" Source="System" …

Member Avatar for sknake
0
426
Member Avatar for nanosani
Member Avatar for dhana3

Hai, I need to fetch records in to gridview based on fromdate and todate using c#,plzzz help asap

Member Avatar for sknake
0
117
Member Avatar for Wilmar1980

Hi all, I've searched for this problem in several forums, and as I couldn't find it in any of them, I decided to start this thread. I am a magnet for weird problems. There's this groupware webapplication that I want to test, and for that, I put it on my …

Member Avatar for Wilmar1980
0
92
Member Avatar for Qvintus

Hello i have been trying to make a program that should restart my server if it crashes. Just some few problems... it won't work. [CODE] Imports System.Net.Sockets Imports System.Text Module Module1 Sub Main() Console.Title = "Shifty Server Keeper" Dim clientSocket As New System.Net.Sockets.TcpClient() While clientSocket.Connected = False Try clientSocket.Connect("127.0.0.1", 27015) …

Member Avatar for Qvintus
0
104
Member Avatar for aarpitgenius

how randomise function works in c++ and how can output of the program be found when program contains randmize() function.

Member Avatar for samsons17
0
92
Member Avatar for liemonline

Hi, I'm a beginner to C++. I'm writing a linked list template but I get this error: 1>Tester.obj : error LNK2019: unresolved external symbol "public: __thiscall List<int>::~List<int>(void)" (??1?$List@H@@QAE@XZ) referenced in function _main 1>Tester.obj : error LNK2019: unresolved external symbol "public: __thiscall List<int>::List<int>(void)" (??0?$List@H@@QAE@XZ) referenced in function _main I'm using Visual …

Member Avatar for jonsca
0
1K
Member Avatar for A.Najafi

Hi All, Using Visual studio 2008, I have an application that its data can save to a binary file, using *.SDB extension, Moreover users can open this file from my application. I have 2 questions about this. 1- How can I assign an icon to this saved file with SDB …

Member Avatar for A.Najafi
0
91
Member Avatar for adelphe

[CODE]void menu() { int userinput; static value *head = NULL; static value *tail = NULL; cout << "1 - Insert value" << endl; cout << "2 - Print list" << endl; cout << "3 - Delete value" << endl; cout << "4 - Quit" << endl; cout << "5 - …

Member Avatar for abhi_elementx
0
111
Member Avatar for crystality

Hello! I'm getting this infamous problem: [B]Segmentation fault (core dumped)[/B]. Not sure what's going on. ='( Please help! I've red-ed and bolded the parts that I think are problems. In the following class, I'm trying to create a class called 'BucketHashTable'. I want to create an array of known size …

Member Avatar for abhi_elementx
0
231
Member Avatar for adcodingmaster

i m making chess in java swing and does not getting how to implement[B][I][U][COLOR="Red"] check & checkmate condition.[/COLOR][/U][/I][/B] any sugessions plz thnx in advance

Member Avatar for BestJewSinceJC
0
2K
Member Avatar for herms14

guys I'm just new with visual basic. I would like to ask a question regarding coordinates.. Suppose I have object lets say a button how do i get the coordinates of the button in the form? also I want to button to move given a particular path, example if i …

Member Avatar for herms14
0
114
Member Avatar for brenn13
Member Avatar for brenn13
0
122
Member Avatar for uncbball

Hey, so I have to make a program that has to multiply two 3x3 matrices (among other things). I used classes to do the project, but I just can't seem to get this multiplication to work. Here is my code so far: [code]void matrix::mult(const matrix& u) { double c[9]; double …

Member Avatar for abhi_elementx
0
156

The End.