132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for venomv1

I have encountered a block in my programming escapade. The project that I am working on is from a visual basic 6.0 programming book and is a program that opens a data file filled with roman numerals, read to end of file, and outputs the numerals digit form, performs a …

Software Development visual-basic
Member Avatar for Klahr_R
0
192
Member Avatar for YumnaZia

This is my program for a notepad! I am getting error at the part where I'm trying to extract the text from another .txt file!! I used the method realLine() but it only reads one line!! I want to know what other methods can I use here to extract the …

Software Development java java-swing
Member Avatar for YumnaZia
0
337
Member Avatar for chetanbhasin

I am looking for an HTTP server in C/C++ that can take data from another application and send it over the network. My basic motive is to create a command line application which takes a request type/id as input frmo the web server and generates an output which it gives …

Software Development c++ web-browser web-server
Member Avatar for Ancient Dragon
0
648
Member Avatar for eldiablo1121

Hello, I'm attempting a calculator program, but I keep getting cannot find symbol errors, I believe I called everything I needed and initialized the variables, I do not know what's wrong. Here is the code: import java.util.Scanner; import java.io.*; public class Calculator { public static void main(String[] args) { do …

Software Development java
Member Avatar for eldiablo1121
0
441
Member Avatar for chetanbhasin

I recently tried compiling an example linked at Mongoose project's website using code::blocks and got certain errors. As I do not know where I went wrong I will list everything that I did in the process. 1. Created a new C++ console application project in Code::Blocks for Windows 2. Copy …

Member Avatar for Ancient Dragon
0
659
Member Avatar for rabbit337

My task is to create a complete binary tree. The only requirements are that it be a dynamic tree with nodes and pointers - I may use temporary arrays to help with the intial tree construction. Where I need help is with the insert(Node) method. Here's what I have so …

Software Development c
Member Avatar for sonu_1
0
1K
Member Avatar for lostC#

I run this program but it does not assign the value of or 3 to s, instead before running it gave the sintax error unassigned local variable 's' private void button1_Click(object sender, EventArgs e) { int i, y, s; i = 8; y = 6; if (i == 6) { …

Software Development
Member Avatar for lostC#
0
167
Member Avatar for somjit{}

Since the underlying data-structure used here is an array , which is itself iterable via `for-each()` , i'm wondering how much benefit implementing `Iterable` will provide here. I would appreciate if someone could review my code and suggest any further improvements. **Code:** import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; class ResizingCircularArray<E> …

Software Development data-structure java queue
Member Avatar for somjit{}
0
1K
Member Avatar for lewashby

In the following small c++ program I'm trying to add '0' (zero characters) until the number of characters in the users input can be evenly divided by 3. I'v got it working except that it doesn't work when only on character is feed to the program. input -> 123 -> …

Software Development c++
Member Avatar for vijayan121
0
182
Member Avatar for Jacklittle01

I am trying to make a save feature in a game so that a player could save, then quit the game, then open the window again to select proflie and play from when they left off. Thanks!!

Software Development python
Member Avatar for james.lu.75491856
0
432
Member Avatar for mukulnimker7751

Hi All, I need to access cmd of a remote server from local machine using batch scripting or shell scripting. Can anyone help me out in this. I need this very urgently. Regards Mukul

Software Development shell-scripting
Member Avatar for mukulnimker7751
0
232
Member Avatar for gmmorpheus

Private Sub Save_Record() Dim cmd As New OleDbCommand Dim sSQL As String = String.Empty Dim arrImage() As Byte Dim myMs As New IO.MemoryStream Dim bSaveImage As Boolean = False Dim strImg As String = String.Empty Try If Not IsNothing(Me.pic1.Image) Then Me.pic1.Image.Save(myMs, Me.pic1.Image.RawFormat) arrImage = myMs.GetBuffer Else arrImage = Nothing End …

Software Development microsoft-access vb.net
Member Avatar for Kishan Tilak
0
645
Member Avatar for ZombieKnight93

Hi, I need help , the assignment I have to do is for a healthprofile class but I am having issues . It doesn ' t show the month , day , or year in mm / dd / yyyy format it only shows 0 / 0 / 0 . …

Software Development java
Member Avatar for asaa
0
252
Member Avatar for fugio

I'm trying to create a HScrollBar same scrollbar in datagridview, when resizing the form and columns the impact HScrollbar make it work. expect people to help, thank

Software Development
Member Avatar for Alhlwany
0
111
Member Avatar for sshinde

Hi can anybody please let me know how to print barcode in visual basic 6.0 with code 93 font,i am using printer object to print on to the printer.also code through which i can minimize the width of the barcode so that it can print completly on the label.

Software Development printer visual-basic
Member Avatar for asaa
0
3K
Member Avatar for beanboy

hi,.... i am trying to develop a one-to-one [B]chat application[/B] as a part my j2ee web app (jsp and servlets used) ,... help me with this. what els should i learn in addition to socket programming? which architecture should i follow? how many days wil it take for an avaerage …

Software Development java socket-programming
Member Avatar for JamesCherrill
0
201
Member Avatar for zmem32

I'm not sure what the the code is addressing in each of these addressing modes. I know that the opcode is moving data, but where is the code addressing the code at in each addressing modes: register addressing > mov ax, bx immediate > mov ax, 1 or > mov …

Software Development assembly
Member Avatar for zmem32
0
88
Member Avatar for Garidius

Hello to all, Maybe you can help me with this, I would like to know if it is possible with Perl read from binary and get a string pattern given by a regex? If possible, may you show me an example please. Thanks for any help.

Software Development perl regex
Member Avatar for Garidius
0
132
Member Avatar for anto_nee

hi frnds here i found many solutions for vb thanx for all your help and now i came with a new problem i have a file (doc,xls,txt, jpg or whtever it is) here i have to open that file from vb i have the filename i cant imagine i have …

Software Development visual-basic
Member Avatar for Md Saiful
0
224
Member Avatar for mbatipen

I'm a novice in c++ and intend to carryout a project on automatic control of an egg incubator. This project is to be used as an end of course defence. Soebody should kindly give me a c++ code for a temerature and humidity sensors. This will be used to programme …

Software Development c++
Member Avatar for mbatipen
0
218
Member Avatar for Rebecca_2

Hi, I am very new to programming but am hoping it will be able to speed a few things up for me. However I am struggling to work out how to write a Python3 script that does the following and am wondering if you could help me out. I have …

Software Development file-system python
Member Avatar for Gribouillis
0
332
Member Avatar for Thundermax

Hello guys, I need to make a program that counts the number of times a particular word appears in a text file on a line. For example, the User chooses the word "test" to be told at the end of each line of txt should show how many times that …

Software Development c
Member Avatar for Adak
0
153
Member Avatar for talha.nehal

I use Dev 5.4.1 and so far I have not found libraries which work properly for making user-interface. Allegro or graphics.h or QT or some other libraries. For Qt I have heard that you need another IDE What about the others

Software Development c++ ide qt user-interface
Member Avatar for mike_2000_17
0
347
Member Avatar for Israel_1

Hi I need help with finding the area underneath a curve. Here is what I have so far; #include "stdafx.h" #include <iostream> #include <string> #include <cmath> using namespace std; struct term { float coeF; float exP; char name; }; struct function { int size; term terms[10]; }; struct Integral { …

Software Development c++ mathematics
Member Avatar for Israel_1
0
1K
Member Avatar for TechSupportGeek

BACKGROUND: ----------- **1 Button** **1 File** That Needs To Be Written To **1 TextBox** **1 NumericUpDown** So, in my application I need to write to a file that will contain several lines. Input is taken from a TextBox and a NumericUpDown control and it comprises a string of general format …

Software Development file-system
Member Avatar for TechSupportGeek
0
162
Member Avatar for JadeRayne

I'm pretty rusty on my Java skills but I was trying to write a program that prompts the user to enter a string and displays a maximum length increasing ordered subsequence of characters. For example, if the user entered Welcome the program would output Welo. If the user entered WWWWelllcommmeee, …

Software Development java
Member Avatar for JamesCherrill
0
511
Member Avatar for james.lu.75491856

I tried downloading the file and playing it using `winsound` to play it with the flag `SND_MEMORY`, but it only accepts `str` instead of the `bytes` object I got from `urllib.request.urlopen`. Using `decode()` needs a valid encoding, but I don't have one. CLARIFICATION:downloading the file I mean as using `urllib.request.urlopen` …

Software Development python
Member Avatar for snippsat
0
1K
Member Avatar for darylglenng

package numberpyramid; public class Numberpyramid { public static void main(String[] args) { int x = 9; for (int i =1; i<=x; i++){ for (int j =1; j<=x-i; j++) { System.out.print(" "); } for (int k=i; k>=1; k--) { System.out.print((k>=10)?+k:" "+k); } for(int k=2; k<=i; k++) { System.out.print((k>=10)?+k:" "+k); } System.out.println(" …

Software Development java
Member Avatar for pallav89
0
643
Member Avatar for Ismatus3

Hello , I am making tries to display images in different tkinter windows , in every window displaying a different image , for this i made this code : # -*- coding: cp1252 -*- from Tkinter import * import Tkinter as tk import ttk from PIL import ImageTk, Image import …

Software Development display image python tkinter
Member Avatar for Ismatus3
0
5K
Member Avatar for friendly1

http://www.getfriendlynotes.com/index.php?q=topic_disp&subsno=3&prog=431251#tpc1

Software Development c
Member Avatar for best4earn
0
92
Member Avatar for kiail

Hello, I have a list that holds transactions. Currently I'm trying to write it to the console and have each transaction numbered with the transaction amount included beside it. I currently have code that produces something like Transaction #1: $400 Transaction #1: $400 Transaction #2: $599.99 Transaction #2: $599.99 How …

Software Development
Member Avatar for Momerath
0
150
Member Avatar for jason.craft.5439

So I have this assignment for school and I've got the program working, but some minor issues (maybe major issues with cleanilness of code, but working on it). I'm having to make a Guess My Number program and it seems to work, but when I start a new game it …

Software Development vb.net visual-basic
Member Avatar for kRod
0
460
Member Avatar for tiff2013

I have created a calcuator that takes in single ints and appends them together to make larger numbers and can do basic functions. Now I have to take this program the .cpp and the .h files and convert them to allow decimal point numbers. I am thinking about changing all …

Software Development c++
Member Avatar for tinstaafl
0
130
Member Avatar for hahanottelling

Can anyone help me with displaying text in a C++ window? I've read the chapter 9 at winprog but it makes no sense to me. here's the code I'm using: [code]#include <windows.h> #include "resource.h" /* Declare Windows procedure */ LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM); /* Make the class …

Software Development c++ data-structure queue
Member Avatar for Nick_3
0
5K
Member Avatar for riyu930

for creating a GUI that allows the user to run the executable files through inputs

Software Development gui
Member Avatar for riyu930
0
90
Member Avatar for crag0

I am still new to programming and hoping someone can point me in the best direction. I am creating a script that monitors a directory and creates a zip file and then mails the archive. I have successfully monitored the dir and can zip the files. I am somewhat lost …

Software Development python
Member Avatar for Gribouillis
0
364
Member Avatar for Ahmed.C

Hello. I've been working on this password manager and basically I want to encrpyt a saved file which contains password and account information. When the user clicks save then it should add an encryption and save it so that even if its opened in notepad or wordpad etc it will …

Software Development encryption vb.net
Member Avatar for Ahmed.C
0
189
Member Avatar for YumnaZia

i am a newbie to java and I want to know how a thread can be implemented!

Software Development java
Member Avatar for YumnaZia
0
274
Member Avatar for intes2010

Is it possible to make a web request using sockets? I am still studying about socket programming in VB.net and i wanted to upgrade my web request code using sockets. Here is my web request code: Dim cweb As String = "http://www.samplewebsite.com/" Dim POST As String = "sample post data" …

Software Development socket-programming vb.net
Member Avatar for intes2010
0
452
Member Avatar for NathanOliver

I was reading some articles on cplusplus.com and for kicks I read the template tutorial. At the very end of the section there is this paragraph: Since no code is generated until a template is instantiated when required, compilers are prepared to allow the inclusion more than once of the …

Software Development c++
Member Avatar for vijayan121
0
163
Member Avatar for parth2911

optput its not proper i am tring to print 1 to n given number prime number plese solved error.....

Software Development c
Member Avatar for nitin1
0
305
Member Avatar for ADPYvette

I am building an application that needs to access a database. I installed SQLite.net, made references to SQLite for Windows Runtime and Microsoft Visual C++ Runtime Packages. Now, how do I connect to the database? In other words, what are the Visual Basic codes? Note that I do not see …

Member Avatar for ADPYvette
0
209
Member Avatar for Jazerix

Hey there I've been working on a little tool for the last few hours, first i got all my info raw from the site, then i found out there was an api for youtube (stupid me >_<) but after hours of trying i simply cant get it working [CODE]YouTubeRequestSettings settings …

Software Development api c c# c++
Member Avatar for Sivakumar_1
0
284
Member Avatar for stilgharc

I can successfuly insert data but when I close the app the data is not save please help me..and how to retrieve the BLOB image in ms access and display it to datagridview. this is my code when I insert data Private Sub addStudent() Dim insertQuery As String = "INSERT …

Software Development vb.net
Member Avatar for stilgharc
0
236
Member Avatar for spowel4

I am populating a combobox with a list of names and the list contains approximately 7600 items. Here is the code: foreach (string customerName in customerNames) { comboBoxCustName.Items.Add(customerName); } This loop takes nearly one minute to complete (58.6 seconds to be precise). I don't think it should take that long, …

Software Development
Member Avatar for spowel4
0
229
Member Avatar for Zsmash

#include <windows.h> #include <stdio.h> #include <conio.h> void gotoxy(int x,int y); int main(int argc, char *argv[]) { char urname[1],surname[1],fullname[1]; start: system("COLOR 1c"); gotoxy(11,9); SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),291); printf(" "); gotoxy(11,10); SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),291); printf(" "); gotoxy(11,11); SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),291); printf(" "); gotoxy(11,12); SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),291); printf(" "); gotoxy(11,13); SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),291); printf(" "); gotoxy(11,14); SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),291); printf(" "); gotoxy(11,15); SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),291); printf(" "); gotoxy(14,10); …

Software Development c
Member Avatar for Ancient Dragon
0
373
Member Avatar for Mayra71

I try to get the response from a request to a web service in Sonic, I can send the request and the webservice receive that request, but I cant receive the response, I receive Response = nothing I'm using vb.net 9, visual studio 2008. Please help me. I think something …

Software Development data-structure vb.net visual-studio
Member Avatar for Begginnerdev
0
320
Member Avatar for renzlo

Hello, Everyone, I need your help with my code, I am trying to display the image from database to picturebox but I can't figure it out. Below is my code: Private Sub LoadImage(ByVal ind As Integer) Dim cn As New SQLiteConnection("Data Source=C:\db\QC_ASD_2013_08_09.qdb") Dim cmd As New SQLiteCommand(String.Concat("SELECT beeld_data FROM image …

Software Development image sqlite vb.net
Member Avatar for Begginnerdev
0
534
Member Avatar for ktsangop

Hello! I would like some help with a piece of java code that i'm having problem. I have to make simultaneous tcp socket connections every x seconds to multiple machines, in order to get something like a status update packet. I use a Callable thread class, which creates a future …

Software Development java os-x socket-programming
Member Avatar for ktsangop
0
524
Member Avatar for Neha_4

Hi, I am using JSeparator as horizontal gridline. I want modify the JSeparator's continuous line display to dashed/dotted line. I am using Gridbag layout for my JPanel. Since I have to enable auto-resize for JSeparator, I cannot use a fixed length. I tried overiding paint & modified stroke to display …

Software Development java
Member Avatar for JamesCherrill
0
220

The End.