199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
![]() | 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: |
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? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
| |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
hi i want 2 know ho to make Instant Messenger client with c++. pls. provide web resources if available.., .. pls.. | |
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 ?? | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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, @ … | |
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 … | |
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] | |
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, … | |
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 … | |
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 $ … | |
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" … | |
| |
Hai, I need to fetch records in to gridview based on fromdate and todate using c#,plzzz help asap | |
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 … | |
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) … | |
how randomise function works in c++ and how can output of the program be found when program contains randmize() function. | |
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 … | |
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 … | |
[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 - … | |
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 … | |
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 | |
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 … | |
or even make the searching faster when retreiving data. please kindly help me. thnx. | |
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 … |
The End.