43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for cebubismac

I have a Samsung Ellix 20 Thermal Parallel Printer. Can you please send me some programming sample commands using VB6? Please help me. Thank you.

Software Development printer visual-basic
Member Avatar for vb5prgrmr
0
193
Member Avatar for SpyrosMet

Dev cpp gives me the error 18 C:\Dev-Cpp\Untitled1.cpp request for member `setStats' in `plant1', which is of non-class type `Plants ()()' And the same for line 19. Please someone tell me what's wrong. I'm a noob at c++. Thanks in advance. #include <iostream> using std::cout; using std::cin; using std::endl; #include …

Software Development c++
Member Avatar for SpyrosMet
0
359
Member Avatar for jemz

hello please help me on this how to make the first letter of each word in uppercase.hoping for your positive responds...thanks in advance

Software Development visual-basic
Member Avatar for jemz
0
102
Member Avatar for xavier666

[B]Here is the sample program[/B] [CODE]# include <stdio.h> # include <stdlib.h> // COMPILER : GNU GCC COMPILER // EDITOR : CODE::BLOCKS 8.02 struct test { int data; struct test *link; }; void change(struct test *ptr); int main() { struct test *fresh = (struct test *)malloc(sizeof(struct test)); int some_data = 10; …

Software Development c data-structure
Member Avatar for xavier666
0
145
Member Avatar for hket89

How to generate a pair of random number from 1 to 8 that can fill into a 2D array in a 4x4 square? For example: 2 3 5 6 1 7 8 3 5 4 1 6 7 2 4 8

Software Development java
Member Avatar for hket89
0
257
Member Avatar for hket89

How to generate a pair of random number from 1 to 8 that can fill into a 2D array in a 4x4 square? For example: 2 3 5 6 1 7 8 3 5 4 1 6 7 2 4 8

Software Development java
Member Avatar for hket89
0
134
Member Avatar for Austinjs0102

Alright i need some help, been stuck on a basic task. I input 2 strings. I need to be able to have it compare the two strings to see which one is shorter, then count how short the item is and out put the number. ex. Word 1 Hello word …

Software Development java
Member Avatar for BestJewSinceJC
0
84
Member Avatar for a1eio

Hi, I was wondering how someone would go about making a scrolling ticker or marquee using Tkinter in such a way that allows you to easily add on text and remove.. kinda like a news scroller on the bottom of the tv? thanks all a1eio

Software Development python tkinter
Member Avatar for donnie6680
0
1K
Member Avatar for Christoph928

I need help with decrypting a 12 character message located in a file named encrypted.txt then printing the decrypted message to the screen and a new file named decrypted.txt. This is what i have so far... and don't understand how to print the char to the screen as a letter …

Software Development c++
Member Avatar for Christoph928
0
149
Member Avatar for kenth21v

please help me, give me a step by step procedure how to connect VB 6.0 and sql anywhere9..

Software Development sql visual-basic
Member Avatar for vb5prgrmr
0
271
Member Avatar for ROTC89

ok so i am new to c# and i am trying to write a program that asked the user for input on what item they want to buy, the price for the item and to show the input of the price after sales tax.i am having trouble getting the price …

Software Development
Member Avatar for apegram
0
252
Member Avatar for DdoubleD

Hello friends! I've been playing around with the MS Chart class type (System.Windows.Forms.DataVisualization.Charting) and have a situation where I would like to know how to code a query of my data using LINQ. The data I'm playing with is the PowerBall drawings data that is updated each drawing: [URL="http://www.powerball.com/powerball/winnums-text.txt"]http://www.powerball.com/powerball/winnums-text.txt[/URL] I'm …

Software Development data-structure dataset
Member Avatar for apegram
0
185
Member Avatar for ravikiran32

How can i retrieve data information displayed on the hyperterminal or is there any way to redirect the information being displayed on hyperterminal to a file?

Software Development vb.net
Member Avatar for ravikiran32
0
111
Member Avatar for stjohn999

this is my daughters homework she asked me to help and now im stuck she has worked it out and is making me look stupid need to get my selfrespect back even if i have to cheat(i used my brain and im asking you) the code is as follows but …

Software Development c++
Member Avatar for WaltP
-1
80
Member Avatar for PinoyDev

good day guys.! I just want to know on how to save to a .rtf(rich text format) file the content of the rich text box created in vb6 with pictures & text. I also want to retrieve the content of the .rtf file being created and display it again in …

Software Development visual-basic
Member Avatar for PinoyDev
0
220
Member Avatar for hermann87

Greetings from Greece, this is my first post! I'm having some minor trouble with an application I've been working on the past week. So if you could please shed some light into this. Thank you. The problem I'm having is that when the user is trying to save a file …

Software Development c++ file-system
Member Avatar for mitrmkar
1
507
Member Avatar for Skeen

So I've got this program I made, and I wanted to speed it up, using multithreading, to make use of my quad core. The program itself fully supports multithreading. The problem is, that when I'm running the program, using just one; CreateThread() it finishes in 6seconds, if I run 2 …

Software Development api c++ multithreading windows-api
Member Avatar for ireshagun
0
107
Member Avatar for bharatk

Hello I have a .py file. I am creating a .bat file which when clicked runs the python script & saves the output as a text file in the same directory. I gave this inside the batch file [CODE]%CD%\App1.py > %CD%\op.txt [/CODE] but I am not able to see the …

Software Development file-system shell-scripting
Member Avatar for bharatk
0
245
Member Avatar for Stefano Mtangoo

I already Know Ancient Dragon is fan of MSVS due to its debugging features and I use C::B because it is the only I have come to love after failing to love both VS Express and Codelite. So what do you love to use when it come to C/C++? Just …

Software Development c++ ide
Member Avatar for VilePlecenta
0
232
Member Avatar for txwooley

I wrote a script (kind of a learning thing) to open .rar archived files using unrar (non-free) in Linux. Now I want to add a section where my script will check to see if unrar is installed. To complicate matters, Linux also has a package 'unrar-free', and both use the …

Software Development python
Member Avatar for txwooley
0
128
Member Avatar for chrisname

Hi :) I'm writing a basic 2 stage bootloader (I actually do plan for it to work, it's not just a hello world loader) and I've migrated to nasm. I find it much easier to use, etc. etc. Anyway; I'm using the times directive to get the program to 512 …

Software Development assembly
Member Avatar for chrisname
0
2K
Member Avatar for JAM1011

Hi, I really need line with this I can't figure this out . I am looping through items in a list view box, I am then adding them to a string. I need each new line in the listview box to be a new line in the string. I will …

Software Development listview vb.net
Member Avatar for JAM1011
0
109
Member Avatar for deorcar

ok i have to make a matrix class for a math library and im now Very lost with what im ment to do or how to do it the code i have so far is: [CODE] #include <iostream> #include <math.h> #include "Vector2.h" class Matrix { private: float data[3][3]; public: Matrix() …

Software Development c++
Member Avatar for smarty_t2
0
98
Member Avatar for khevz09

this is the code ..but it is not displaying the first and the last number that came from the user. anyone can help me with this small problem?? [code] #include <iostream.h> #include <conio.h> main() { int f,l,f1,l1; clrscr(); cout<<"Enter the First digit:"; cin>>f; cout<<"Enter the Last digit:"; cin>>l; f1=f; l1=l; …

Software Development c++ display
Member Avatar for dusktreader
-1
108
Member Avatar for doha786

hi, i have a TextField in myGUI where some data(results) are shown after calculation. I have a 'save' button to save this result into a particular txt file.. i almost done without error....but inside my txt file it shows this kind of things: [QUOTE]ava.awt.datatransfer.StringSelection@157f0dc [/QUOTE] Please anybody help me to …

Software Development file-system java
Member Avatar for BestJewSinceJC
0
200
Member Avatar for garyinspringhil

python def question def spinBox_Changed(self, a0, b0=785, c0=300): self.LCDNumber10.display((b0-c0)/a0) this works great if I manually have b0 and c0 values there but I need to get these variables from a slider value and spinbox valve respectively. The slider is self.slider5_2.value tried lots of combos like .value display Value etc. The …

Software Development python
Member Avatar for woooee
0
154
Member Avatar for nomemory

Hello, regarding OOP I have Java background, and I usually think in java when I code OOP in python (which sometimes is actually a bad thing). [CODE=python]#!/usr/bin/python class Card(): SUIT = { 'C':'Clubs', 'D':'Diamonds', 'H':'Hearts', 'S':'Spades' } VALUES = { '2':2, '3':3, '4':4, '5':5, '6':6, '7':7, '8':8, '9':9, \ '10':10, …

Software Development python
Member Avatar for nomemory
0
400
Member Avatar for mmasny

Hello everybody, I'm new here. I'm new to C++ as well and have many problems that you might find silly. One of them is this code, not willing to compile: [code=C++] #include<iostream> class Okno; class ListaOkienEl; class ListaOkien{ ListaOkienEl* pocz; public: ListaOkien(); ~ListaOkien(); void DodajPocz(ListaOkienEl&); void UsunPocz(); ListaOkienEl* WezPocz(); }; …

Software Development c++
Member Avatar for mitrmkar
0
102
Member Avatar for axa121

[code] from string import * def removePunctuation(sentence): sentence = lower(sentence) new_sentence = "" for char in sentence: if char not in punctuation: new_sentence = new_sentence + char return new_sentence def wordFrequences(sentence): wordCounts = {} split_sentence = new_sentence.split() print split_sentence for entry in split_sentence: for word in entry: wordCounts[entry] = wordCounts.get …

Software Development python
Member Avatar for woooee
0
3K
Member Avatar for Ap0ca1ypse

Hello everybody, This must be so simple but I cannot find it anywhere. I want to split a form into two section by a line. Example TopData ______________________________________________ BottomData I cannot find the functionality anywhere and it is really bugging me. Any help will be much appreciated Thanks

Software Development vb.net
Member Avatar for Ap0ca1ypse
0
72
Member Avatar for wwsoft

hello can I keep track of objects in a list and being able to sort them by there z var ? do I use pointers ? how would I do this ? [code] #include <vector> vector<sometype> _objects_; create_object(object_type) { new object_type myobject; _objects_.push_back(myobject); return _objects_.at(list_end); } remove_object(int pos) { delete …

Software Development c++
Member Avatar for wwsoft
0
107
Member Avatar for sswati.sri

hi, I got exception"NoClassDefFoundException" at the runtime of this java code.My DSN connection is correct,sql server is also properly work,when my project excuted on tomcat.but my beans are not executed properly inly becoz of this connection error.plz give the solution to overcome this problem. [B]In my project i create connection …

Software Development java
Member Avatar for sswati.sri
0
245
Member Avatar for itsbrad212

I am making a twitter client in python and wxpython. As of now, my static text is not printing. How can I change this code so it will print out what I want it to? [CODE]import wx import twitter class main(wx.Frame): def __init__(self,parent,id): wx.Frame.__init__(self,parent,id, "Twitter Client", size=(700,400)) panel=wx.Panel(self) menubar = …

Software Development api client-server python social-media
Member Avatar for Stefano Mtangoo
0
147
Member Avatar for wilsonz91

Hi, My friend have a problem with running c++. She's using windows vista home basic. She's able to install C++ and run it but when she tries to launch any program she wrote, it pops out saying that it has a compatibility issue with this version of windows. Any ideas …

Software Development c++ windows-vista
Member Avatar for Ancient Dragon
0
168
Member Avatar for Stefano Mtangoo

I was sitting Idle and I decided to write simple image viewer to try myself on DC/Canvas but I didn't find any tutorial to guide me as I have never done that before. Here there are some restriction and I cannot view showme do. So anyone to help me with …

Software Development python
Member Avatar for Stefano Mtangoo
0
136
Member Avatar for jemz

hello please help me where i am going to download the installer vb6...so that i can practice more at my house..hoping for your positive responds...thanks in advance

Software Development visual-basic
Member Avatar for vb5prgrmr
0
148
Member Avatar for tqmd1

I have followin codes [CODE]Dim dt As DataTable Dim str As New SqlClient.SqlCommand("select code,name from employees", con) da = New SqlClient.SqlDataAdapter(str) dt = New DataTable da.Fill(dt) dt.Columns.Add("city") Dim cmd As New SqlClient.SqlCommand("UPDATE dt SET city=(SELECT top 1 city FROM master WHERE master.code=dt.code)", con) cmd.ExecuteNonQuery() [/CODE] it says [COLOR="Red"]Invalid object name …

Software Development vb.net
Member Avatar for tqmd1
0
123
Member Avatar for vidit_X

Practise problem by ~s.o.s~ Q. Write a program which performs addition, subtraction, multiplication of matrices. The dimensions of both the matrices would be specified by the user (dynamic memory allocation required). Use of structure or a class to define the matrix would be a good idea. (Expert) [CODE]#include<iostream> using namespace …

Software Development c++ matrix-multiplication
Member Avatar for vidit_X
0
266
Member Avatar for NickRx

I'm new to C++. I want to know if there's any way to shorten this code. [code] #include <iostream> using namespace std; int a, b, result; int main () //Addition (main function of this program) { cout << "Lets add numers\nEnter you first number\n"; cin >> a; //First value cin.clear …

Software Development c++
Member Avatar for Narue
0
159
Member Avatar for NathanOliver

Hey all. I have written a quine and I was wondering if I have the jist of it right. I'm not sure if the code needs to be longer or this would be a suitable answer. Here is what I have. btw driver.cpp is the file name for my source …

Software Development c++
Member Avatar for NathanOliver
0
152
Member Avatar for jemz

hello please help me on how to put indicator on flexgrid is this possible?,...if i have new added data on my flexgrid then it point to the newly added data can you help how to do this...hoping for your positive responds..thanks in advance

Software Development visual-basic
Member Avatar for jemz
0
1K
Member Avatar for jemz

hello please help me how to connect my program to microsoft acces...please help me because i don't have any idea on how to connect ...hoping for your positive responds...here's my code.. Private Sub cmdAdd_Click() For i = 1 To Len(txtLname) If IsNumeric(Mid(txtLname.Text, i, 1)) = True Or (Mid(txtLname.Text, i, 1)) …

Software Development microsoft microsoft-access visual-basic
Member Avatar for jemz
0
145
Member Avatar for lllllIllIlllI

Hi, i have been using the wxPython TimeCtrl for a while now, when fiddling with it i realised that it would never go to 10:00 AM.. It would always just skip to 11 o'clock. I found it still did this in the wxpython demo. I was wondering if this was …

Software Development python
Member Avatar for sneekula
0
95
Member Avatar for d8m9

Hello, Iam beginner in python and my english is not so good. Sorry. I want (must) to write a program witch must read the .txt file and pursuant to the informations in text write another text to another file. :) example: [B]in .txt file:[/B] <HEADLINE text="This is headline 1"> <PARAGRAPH …

Software Development file-system python
Member Avatar for snippsat
0
139
Member Avatar for SwisherStreets

How would i write a program that asks for you to input a letter (a for example) and how many letters you want to shift (3 for example) and gives you the decoded letter (D)? Also how would you loop it so it goes from Z and starts over with …

Software Development python
Member Avatar for Gribouillis
0
127
Member Avatar for ameltei

Hello, I have a project where I am using a listview to display a data received through XML. One of the columns called "STATUS" display only 2 text data, either "ON" or "OFF". I would like to know how to count how many times the word "ON" it is apearing …

Software Development listview vb.net xml
Member Avatar for ameltei
0
2K
Member Avatar for sfp

Hi, i apologize if this is in the wrong section (First Post); i am fairly new to delphi / pascal but was wondering how to create a form within a form, e.g. click a button on Form1 to open Form2, i am aware that tform.create is a function but am …

Software Development delphi pascal
Member Avatar for finalist
0
513
Member Avatar for Ap0ca1ypse

Hello, How do I reinitialise a form load event? Example; Form1 Loads data from a Db and has 3 buttons, each button represents showing data from a different table onto form2 When form2 is initialise for the first time i can use an onload event, but if i go back …

Software Development vb.net
Member Avatar for Ap0ca1ypse
0
122
Member Avatar for clisen

Hey everyone, I'm currently writing a simple text based MUD in Java for learning purposes. Currently I'm in the process of coding a Login class that prompts the user to enter a user name and password in order to access the account. Right now the problem lies in opening a …

Software Development file-system java open-source
Member Avatar for clisen
0
146
Member Avatar for teatime

I have a ContextMenu with MenuItems in it with their CheckOnClick property set to true. And I want to save the Checked state of each MenuItem in the user.config file. So what I did is bind the Checked property of the MenuItem to an application settings I created. But when …

Software Development user-interface visual-studio
Member Avatar for teatime
0
2K

The End.