43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for clouds_n_things

Im writing an address book to use from terminal, how would I return the users contact info from the end-users input from the dictionary I created?

Software Development python
Member Avatar for clouds_n_things
0
191
Member Avatar for Rahul47

We all have been on facebook and also appreciate its beauty. Now here is the point. I am developing an application in VB.NET which also implements the functionality of account management. I have added a menustrip to handle various operation of account and now I want to add a menu …

Software Development vb.net
Member Avatar for Rahul47
0
98
Member Avatar for trishtren

hey, Im having a problem adding a javafx Canvas node to the scrollpane node. Im using the **.setcontent(canvas)** method of the scrollpane and there are no syntax errors. The Scrollpane does expand in width (hbar appears longer) but it still looks empty. I know the canvas is working correctly as …

Software Development java
Member Avatar for trishtren
0
1K
Member Avatar for MasterHacker110

So if you want to send a text file to some you would use: Client: char* rbuffer; //will save file content here ifstream file; file.open(filepath, ios::in | ios::binary | ios::ate); //open file if(file.is_open()){ file.seekg(0, ios::end); size = file.tellg(); //file size! cout << "The file size is " << size << …

Software Development c++ ios
Member Avatar for Nick Evan
0
338
Member Avatar for MasterHacker110

I have this RSA encryption code but it doesnt encrypt the whole message its suppose to encrypt. It only encrypts #include <iostream> #include <string> #include <string.h> using namespace std; // prime numbers int p, q; //compute int n ;//= p * q; //totient int phi;// = (p - 1) * …

Software Development c++ encryption
Member Avatar for MasterHacker110
0
149
Member Avatar for a9602

hey.... im supposed to make a school project using files and graphics..my topic is telephone directory.if i have to delete a particular entry,should i keep making a new file or is there any alternative with regards

Software Development c++
Member Avatar for a9602
0
182
Member Avatar for Rahul47

Hello all, I Wish to call Button1_click event of Form1 in Button2_Click event of Form2. i.e Calling event of one form into evnet of other form. How can I achieve this? Thanks.

Software Development vb.net
Member Avatar for Rahul47
0
164
Member Avatar for Rahul47

I want to create tables in database dynamically i.e at the click event of a button or any other event. Suggest me HOW ? Thank You

Software Development vb.net
Member Avatar for Rahul47
0
114
Member Avatar for monching

Greetings! I have a problem with my dialog box, my project has multiple form. When I try to exit the dialog will appear, If will the OkButton the method function as what i want, but if I click CancelButton the from will close itself but the program is still running. …

Software Development vb.net
Member Avatar for tinstaafl
0
241
Member Avatar for ryklon

I'm encountering a problem when I try to write over a network stream. When I press this button here, I can successfully write to the tcp stream and the other part of the program successfully receives the data. Dim ClientSocket As TcpClient Private Sub btnConnect_MouseClick(sender As Object, e As System.Windows.Forms.MouseEventArgs) …

Software Development vb.net
Member Avatar for ryklon
0
569
Member Avatar for Valosar

First of all I'm using pythong 2.7.3 and libtcod 1.5.1 I am following a tutorial found at http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod,_part_2 and have code matching (as far as I can tell) exactly what it is telling me to do. My code is below. The general idea is to create a white and yellow …

Software Development python
Member Avatar for Valosar
0
205
Member Avatar for Ancient Dragon

![Untitled40](/attachments/small/0/Untitled40.png "align-left") I'm trying to figure out how to add a new connection to MySQL running on a different computer on my network. When I click Project --> New Data Source a list of drivers appears, but none of them are MySQL (see thumbnail) which I have previously installed. I'm …

Software Development dataset mysql open-source vb.net
Member Avatar for Ancient Dragon
0
281
Member Avatar for pars99

I have been making an Adventure Game and when I try to test it, it always comes up with Hello! Welcome to the adventure game! What is your name? Parsia Parsia? Well hello there! Let us begin... You are at a trail with two paths. Left or right? left Traceback …

Software Development microsoft python
Member Avatar for vegaseat
0
279
Member Avatar for bulleh

Hi guys!, I thought i'd try and learn a bit of python to keep myself occupied, and i was wondering if you could give me some constructive criticism on a word guessing game i have created. I'm an amatuer programmer and i'm always looking at improving when and where ever …

Software Development python
Member Avatar for bulleh
0
254
Member Avatar for a_lan

I have got very weird problem with a int variable. There is a code: #include <EEPROM.h> #define dht_dpin 14 byte bGlobalErr; byte dht_dat[4]; int a; void setup(){ pinMode(13, OUTPUT); a = 0; InitDHT(); Serial.begin(9600); delay(300); Serial.println("Humidity and temperature\n\n"); delay(700); } //end "setup()" void loop() { digitalWrite(13, HIGH); delay(300); digitalWrite(13, LOW); …

Software Development
Member Avatar for a_lan
0
164
Member Avatar for erezz

Hi, I have a log file contain 28 lines, 1-I need to grep the line with the size next to that i need to grep the name from the line Example: Size element 1. 906K ykms2 2. 1.2M ykps1 2-if one or more of the lines are missing I need …

Software Development file-system shell-scripting
Member Avatar for erezz
0
211
Member Avatar for Divinedar

I am trying to reference a cell with a date from one worksheet to the other. I am using ='Statistics MVP'!A16 but it doesn't give me the date format it just gives me the number 41125 or any other number. When I format as a date form I get 1/0/1900 …

Software Development visual-basic
Member Avatar for Divinedar
0
109
Member Avatar for rajsharma_85

Hi, How can I set the the cursor initially in the text box whenever my application executes? Please help. Thanks

Software Development vb.net
Member Avatar for Rahul47
0
5K
Member Avatar for ThatBitchYeah

I have no idea hw to approach this... i need to end my program, shown below by the user pressing the letter Q on the keyboard. Help? #include <stdio.h> #include <stdlib.h> float subtract(float x, float y); int main (void) { float x, y; printf("Please enter a real number:\n"); scanf("%f", &x); …

Software Development c
Member Avatar for ThatBitchYeah
0
337
Member Avatar for lukecalland

I need to program a way of storing and deleting multiple objects so that they stay around even after the program has been closed and that when you re-start the program you can search for an object? I'am using python 3.0 not 2.7. i.e. I create A class with different …

Software Development python
Member Avatar for vegaseat
0
167
Member Avatar for GDICommander

Hi, everyone! When I'm building my project on Visual Studio 2008 that uses Xerces, I have the following linker errors: [CODE=text] 2>XmlPersistingService.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static void __cdecl xercesc_2_8::XMLPlatformUtils::Initialize(char const * const,char const * const,class xercesc_2_8::PanicHandler * const,class xercesc_2_8::MemoryManager * const,bool)" (__imp_?Initialize@XMLPlatformUtils@xercesc_2_8@@SAXQEBD0QEAVPanicHandler@2@QEAVMemoryManager@2@_N@Z) referenced in function …

Software Development c++ seo xml
Member Avatar for Dazza2
0
1K
Member Avatar for sciwizeh

Hello all, I have not tested the code I'm posting here to see if it compiles, but I have an issue in a large codebase and I believe that this should be the simplest program to demonstrate the issue; class base { public: shared_ptr<base> clone()=0; }; typedef shared_ptr<base> baseptr; class …

Software Development c++ oop
Member Avatar for sciwizeh
0
21K
Member Avatar for MasterHacker110

I know you are suppose to use GetPrivateProfileString(); But I dont know what the arguments for the commad is.

Software Development c++
Member Avatar for Doogledude123
0
86
Member Avatar for anestistsoukalis

I think that the problem is in lines 59-63 #include <stdio.h> #include "genlib.h" #include "ctype.h" #include "simpio.h" #include "string.h" typedef struct{ char name[30]; long sell; double supply; }domiT; void ypologismoi(domiT stx[],int *p,FILE *infile); void emfaniseis (domiT stx[],int *p,FILE *outfile); main() { int p; FILE *infile,*outfile; domiT stx[100]; ypologismoi(stx,&p,infile); emfaniseis(stx,&p,outfile); system("pause"); …

Software Development c
Member Avatar for tinstaafl
0
226
Member Avatar for mumaga

public void paintItems() { ArrayList inRoomItems = ((Room) scenery.getCurrentRoom()).getItemsArray(); Point origin = new Point(380, 10); int layerNumber = 50; int numberHorizontally = 0; int n=inRoomItems.size(); for(int i=0; i<n; i++){ image = new JLabel(((Item) inRoomItems.get(i)).getImageIcon()); imagePane.add(image, new Integer(layerNumber)); image.setOpaque(false); image.setBounds(origin.x, origin.y, 100, 100); origin.y += 90; numberHorizontally++; if (numberHorizontally % 3 …

Software Development gui java
Member Avatar for mumaga
0
165
Member Avatar for joshl_1995

Hello, I was wondering if there is a way to display formatting in a richtextbox eg. If i put **test** the word "test" would be i bold (only the word "test" and the rest would stay the normal). or if i put `test` the word "test" would be i size …

Software Development vb.net visual-basic
Member Avatar for Dani
0
461
Member Avatar for sanket044

hello, I am going to create a project which is having multiuser configration, So i decided to take vb.net as frontend and oracle as backend. So the database will be on server and all client willhave software installed. Questions are : 1. Do i need to install oracle in all …

Software Development client-server oracle vb.net
Member Avatar for sanket044
0
249
Member Avatar for mumaga

I need to work on error handling and recovery for the World of Zuul. I was wondering where usually try catch exception should be used, which processes that need them? I know that I have to use them for opening and writing to a file,,,

Software Development java
Member Avatar for mumaga
0
171
Member Avatar for biscayne

My code has a couple of "multiple assigments" and somehow I think there should be a nicer way to do this in Python. This is how it currently looks like: # sum price fields paf = paf + float(pa) pbf = pbf + float(pb) pcf = pcf + float(pc) pdf …

Software Development pdf python
Member Avatar for biscayne
0
251
Member Avatar for Mr.M

Hi I' haven't started this project yet so I'm just doing a research on how to modify a file on a server side via a client side. Just to enlighten what is my question. I want to create a server which will create: 1) the File (as a Directory) of …

Software Development client-server file-system vb.net
Member Avatar for Begginnerdev
0
294
Member Avatar for JamesCherrill

Hello all. I'm currrently working on a GUI that needs to support dragging some application-specific objects from a selection area onto a work area (JPanel). It's currently working in a "click where to place the object, then click the Add button" mode, but that's not good enough. The obvious approach …

Software Development gui java java-swing oracle
Member Avatar for JamesCherrill
2
1K
Member Avatar for joshl_1995

Helllo Community, I was wondering if there is a way to get all the second nodes from an xml file example: <?xml version="1.0" encoding="utf-8"?> <!--XML Comment--> <Main-Node> <Second-Node> <Third-Node>Node</Third-Node> </Second-Node> <Second-Node> <Third-Node>Node</Third-Node> </Second-Node> </Main-Node> Please Help...

Software Development vb.net xml
Member Avatar for Begginnerdev
0
191
Member Avatar for wolwayne

After playing for 5 or more times the total scores are going out or range (In the table generated at the end). I tried using long but didnt helped. #include<conio.h> #include<iostream> #include<stdlib.h> #include<string> #include<windows.h> #include<time.h> using namespace std; unsigned flag=0, ply_m,ply_t,ply_s,zz,i; //funct for gotoxy void gotoxy(int x, int y) { …

Software Development c++
Member Avatar for wolwayne
0
123
Member Avatar for ImZick

Hello its me again... sorry to keep on posting about my problem well here it goes.. If you see in the attached file. ![Sum](/attachments/large/4/Sum.jpg "Sum") I have an AM Ervielette, Marriane etc. now i need to add their Total Calls for Ervie and Total Visits same goes to the other.. …

Member Avatar for ImZick
0
283
Member Avatar for monching

Hello My sample program has many buttons. I want my two button's `pausebtn` and `continuebtn` will perform click when a letter on the keyboard will be pressed, let say letter C or P. Private Sub pausebtn_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles pausebtn.KeyPress pausebtn.PerformClick() End Sub This are …

Software Development vb.net
Member Avatar for monching
0
480
Member Avatar for teckforce

I was wondering the best way to implement a square root button. Below has everything from 0-9, the four functions, and a decimal and clear function. Dim valueOne As Single Dim valueTwo As Single Dim operation As Integer Dim answer As Single Private Sub Button1_Click(ByVal sender As System.Object, ByVal e …

Software Development gui vb.net
Member Avatar for teckforce
0
258
Member Avatar for mark.scutt.7

Has anyone used a card reader with vb6 and can you recommend one to get? I want to issue cards with names for players so they clock in to start the poker game and during poker slide to clock out where the program will determine their position and any points …

Software Development visual-basic
Member Avatar for mark.scutt.7
0
113
Member Avatar for dheeraj.mangrah

Hi, Could anyone solve this for me. I'm using VB 2010 and Access Database file. The database consists of a table called 'usertbl' with 'username', 'type' and 'level' fields. The records are as follows: Record 1 - Username: admin Type: admin Level:1 Record 2 - Username: user1 Type: user Level:2 …

Member Avatar for dheeraj.mangrah
0
130
Member Avatar for WDrago

All, I am pulling my hair out with this. I need to make a constant String avaiable to all classes in my program and I can't figure out how to do it. This is a simple console app... I've tried the obvious, `public static const myString = "whatever";` but I …

Software Development
Member Avatar for WDrago
0
106
Member Avatar for bnitishpai

I am currently working on a very simple project. But I am having problem with special characters. The one character which I find very annoying is ' . This single quote / aphostrophe is ruining my project while entering names like "James D'souza". Can anyone please help me in recording …

Software Development sql vb.net
Member Avatar for pedders
0
2K
Member Avatar for magyarosi.botond

Hi guys. I was wondering how Cnet Downloader, and ninite.com works. Is there a backend server which compiles the exe file before every download? Is there any other way to modify something in an .exe file without recompiling? Thanks.

Software Development c++
0
120
Member Avatar for Depreciated

Hello people, I am new to crystal report. Normally, I would insert columns in the crystal report viewer and then look at the records at the Main Report Viewer. All the rows/records in that particular columns of that table will be shown. And then I found out about this SQL …

Software Development sql vb.net visual-studio
Member Avatar for Depreciated
0
331
Member Avatar for thanadaray

At first, I have "C:/test02.txt" too good positive a film for stunt scheduling i think objective My codes with open('C:/test01.txt') as words: ws = words.read().splitlines() with open('C:/test02.txt') as file_modify4: for x in file_modify4: sx = map(str.strip, x.split("\t")) ssx = sx[0].split(" ") ## list for w in ssx: if w in …

Software Development objective-c python
Member Avatar for Lucaci Andrew
0
133
Member Avatar for ztdep

Dear friends: I download a c packge for my computation work. there is a function " aft2boundar(int *, double *)" in it. i write a "main.cpp" with vs2010, when i compile, it gives me the following error unresolved external symbol "int __cdecl aft2dboundary(int *, double*) but i have include the …

Software Development c++
Member Avatar for ztdep
0
156
Member Avatar for Fame95

I have the following code : using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace PentruTestari { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { richTextBox2.Text = "int int"; richTextBox2.SelectionStart = …

Software Development
Member Avatar for Fame95
0
372
Member Avatar for MasterHacker110

I have this code in C++ but I dont know ho to do it in C. Any Help? Code #1: #include <vector> // for vector #include <sstream> // for stringstream #include <iostream> #include <string> int main() { std::stringstring ss; std::string input, temp; std::vector<string>; comand; std::cout << ": "; std::getline(cin, input); …

Software Development c++
Member Avatar for Gonbe
0
136
Member Avatar for lewashby

The following line of code should result in GROUPS holding a number from 1 to probably 4 or 5. I need the next line to simply add 1 to whatever this lines results to. I've tried a lot of tings in bash but I can't make it happen. Any ideas? …

Software Development shell-scripting
Member Avatar for L7Sqr
0
108
Member Avatar for new_developer

Hi there, I am using code blocks and working on bank account programe. I have three classes but just included main function code. My programe works all fine, in which user create account and then deposite initial balance **but before end of do while loop, there is getline function to …

Software Development c++
Member Avatar for deceptikon
0
1K
Member Avatar for rishif2

hello experts . . . there is one textbox , one label and one command button i have written following to print textbox content to label `label1.caption=text1.text` and when & is inputted in textbox then underscore(_) is placed in the place of &. and i know that we use & …

Software Development visual-basic
Member Avatar for AndreRet
0
241
Member Avatar for poojavb

Hello Friends, Can anyone tell me how to increment a String variable by 1 in database. Suppose the database table has value as SL1000 and we want the next value to be SL1001. What should be done for such type of requirement in java.

Software Development java sql
Member Avatar for mrsathishkumar
0
720

The End.