132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Roger_2

please help me, i need to print my array in nasm. this is what i have so far, section .bss section .data array dd 1,2,3,4,5 arraylen equ $ - array section .text global _start: _start: mov edx, arraylen mov ecx, array mov ebx, 1 mov eax, 4 int 80h exit: …

Software Development assembly
Member Avatar for Roger_2
0
14K
Member Avatar for samisallaj

I'm trying to use this code, but it will only display the image in jtextpane and it does not display the text. JLabel label = new JLabel("<html>some text here<img src='http://www.yoursie.com/image.jpg'></html>"); then using this label in JTextPane.

Software Development image java
Member Avatar for samisallaj
0
292
Member Avatar for Kamrun

which version of crystal report will support for vb6 in win 7? will cr Xi r2 applicable with vb6 in win 7 32 bit.

Software Development visual-basic
Member Avatar for Behnam_1
0
103
Member Avatar for Akhila_1

Hi, I wantd to know how to adjust my form size such that, when i run my code in a different monitor with different screen resoultions my program should not look small or large. Please help me with code for the same. thanks akhila

Software Development vb.net
Member Avatar for Minimalist
0
2K
Member Avatar for rakibtg

in java jframe swing how i can use system default scrollbar style? eg. the default style looks like [this](http://i.imgur.com/3wrBufN.png).

Software Development java java-swing
Member Avatar for JamesCherrill
0
167
Member Avatar for ogsirus

I have written a program which allows the user to see specific SVN revision of a directory. It consists of an advanced TreeView and a ListView. The Treview is populated by the directory the user has specified and the ListView is populated when the user enters a revision number in …

Software Development listview
Member Avatar for ogsirus
0
163
Member Avatar for rayan22

double sum = 0; double d; for (d = 0; d < 10; d = d + 0.1 ) { sum = sum + d; } The program has a syntax error because the semicolons in the for loop are in the wrong place. The program has a syntax error …

Software Development java
Member Avatar for Priyanka_9
0
233
Member Avatar for tmcclure57

I'm actually helping my wife. She's learning Python. Me? VB.net and C# are my preferance. So I try to help her. All she wants to do is paint a command button, use this to launch another program written in python. I have spent the past few days trying to find …

Software Development machine-learning python visual-studio
Member Avatar for vegaseat
0
132
Member Avatar for Hector_2

I can't get it to compile. I've tried so many things. The errors |29|error: expected unqualified-id before '{' token| |266|error: expected '}' at end of input| |266|error: expected unqualified-id at end of input| ||=== Build failed: 3 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===| Here is the code` #include …

Software Development c++ data-structure queue
Member Avatar for Hector_2
0
286
Member Avatar for marina_ch

Hello, I have a code I'm working on that is supposed to keep track of airline tracks. You need to know the airline name, the flight number, and the date and time of a set of flights. Once you have a set of flights, you would like to be able …

Software Development c++
Member Avatar for marina_ch
0
1K
Member Avatar for PinoyDev

Good day! Is there a way to make the data report to show only the fields selected by the user? I have a form where the user can select the fields(from ms access table) in the list box(checkbox enabled) to show in data report. The total fields is almost 50. …

Software Development display visual-basic
Member Avatar for Santanu.Das
0
151
Member Avatar for ram_10

I'm trying to learn scripting in Python. So, I started using an exercise and it had this question for me. Define a function that computes the length of a given list or string. And I can't use the built in function len(). I tried the code below and I can't …

Software Development python
Member Avatar for vegaseat
0
194
Member Avatar for divinity02

I have one question, when you want to add a game round in a java game, how do you do it, do you use the round().method or do you simply put (round++) + 1?

Software Development java
Member Avatar for JamesCherrill
0
373
Member Avatar for Gebby

Now retiring and would like to resume hobby of writing programmes. Is VB6 Enterprise the one to buy or has it been superceeded?

Software Development visual-basic
Member Avatar for Gebby
0
214
Member Avatar for KIMSOO

How to run this souce code.... I don't know if how I will have to revise. visual studio 2010\projects\binarysearchtree\binarysearchtree\binarytree.h(7): error C2143: 구문 오류 : ';'이(가) '<' 앞에 없습니다. visual studio 2010\projects\binarysearchtree\binarysearchtree\binarytree.h(7): error C2059: 구문 오류 : '<' visual studio 2010\projects\binarysearchtree\binarysearchtree\binarytree.h(8): error C2143: 구문 오류 : ';'이(가) '{' 앞에 없습니다. #ifndef …

Software Development c++ visual-studio
Member Avatar for David_50
0
320
Member Avatar for COKEDUDE

This program goes against everything I have been taught and learned in C. How does this compile? Why does this not need to be int main? Why no return 0? Don't you need an initial declaration of sub() above main? That bugs the crap out of me. I like keeping …

Software Development c
Member Avatar for vegaseat
0
194
Member Avatar for bostjanv

Hello, Can someone, please, comment on the following curious fact that I encountered in C (actually, I use gcc, which has the default language Gnu C): If one writes const int a=10; const int b=a; one gets an error indication at the declaration of b (not constant!). I would be …

Software Development c
Member Avatar for bostjanv
0
114
Member Avatar for VictorK19

I'm trying to read a message (string/text) from the server, and I set the buffer size really large (buffer_size = 1000) so that I only need to read once from the server. So my question is if the message is exactly 10 bytes, and I call read(socket, buffer, buffer_size), then …

Software Development c++
Member Avatar for aradicev
0
294
Member Avatar for gashaye

write a program that create an array with size provided by the user,let the user enter the value, after the data has been entered,have your program output the values with index number.

Software Development c++
Member Avatar for rubberman
0
92
Member Avatar for maybnxtseasn

[CODE]//--------------------------------------------------------------------------- #include <windows.h> #include <CommCtrl.h> // needed for adding custom toolbar #include "resource.h" #pragma hdrstop //--------------------------------------------------------------------------- //--------------------------------------------------------------------------- LPCTSTR ClsName = L"FundApp"; //LPCTSTR WndName = L"Resources Fundamentals"; const int NUMBUTTONS = 3; TCHAR AppCaption[40]; LRESULT CALLBACK WndProcedure(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam); //--------------------------------------------------------------------------- INT WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, …

Software Development c visual-studio
Member Avatar for alfgaar
0
877
Member Avatar for Suzie999

My code does not appear to be formatting correctly when I ctrl k,f. looks like this... namespace CS_TexasHoldem { class Card { private char suit; char value; public Card() { } } } Does that look weird? What can I do about it, I'm pretty sure it does not do …

Software Development
Member Avatar for Suzie999
0
126
Member Avatar for Simon180

Am currently using the following code to build my userlist but the down side to this is it will loop names over and over making duplicate names so am having to do extra code to stop same names showing up in list so am wondering if there a more professional …

Software Development pascal
Member Avatar for Simon180
0
181
Member Avatar for Shawn_5

Scanner input = new Scanner(System.in); String secretWord ; String guess, dash = "-", upWord; int numGuesses = 0; int numWord; final String SENTINEL = "!"; System.out.println("Player 2, please look away. Player 1, please enter the secter word: \n"); secretWord = input.next().toUpperCase().trim(); numWord = secretWord.length(); for(int dashNum = 1; dashNum < …

Software Development java
Member Avatar for cool_zephyr
0
150
Member Avatar for Garidius

Hello to all, I have a console executable file that I run from DOS console passing some options and an input file. I'd like to give to this exe file a GUI. I'd like that the GUI was a new exe file that could contain inside my console exe file …

Software Development c++ file-system gui
Member Avatar for Garidius
0
661
Member Avatar for Xiao_1

in the reisgter how i put it togeter time and date of the code when i keyin the admin No and admin card then it record the the access datatbase. Private Sub btnRegister_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRegister.Click If String.IsNullOrWhiteSpace(txtcard.Text) Or String.IsNullOrWhiteSpace(txtadmno.Text) Then MessageBox.Show("Please complete the …

Member Avatar for LesF
0
184
Member Avatar for aradicev

Hi, I have run into an obstacle while trying to restart a direct sound device on windows 7. What I'm doing is clasical stuff: 1. Create the interface `DirectSoundCaptureCreate8(CConfig::GetMainSoundDeviceCaptureGUID(), &m_radioRecordObj, NULL);` 2. Create the buffer `m_radioRecordObj->CreateCaptureBuffer(&m_radioRecordDesc, &pDsb, NULL);` ... `pDsb->QueryInterface(IID_IDirectSoundCaptureBuffer8, (LPVOID*) &m_radioRecordBuf);` 3. Start the buffer `m_radioRecordBuf->Start(DSCBSTART_LOOPING);` after some time …

Software Development c++
0
168
Member Avatar for deceptikon

*Warning: This code is tested, but not as-is. I combined multiple files to simplify the snippet.* One of my specialties is document imaging, and custom tools to handle it. A common request for both scanner sources and file import is correction of when pages are not properly oriented. To avoid …

Software Development image
0
2K
Member Avatar for tony75

Hi I installed a different version of Python but how to choose edit with IDLE to open scripts in python 2.7 or python 3.2 on my Windows desktop?

Software Development python
Member Avatar for tony75
0
431
Member Avatar for Himanshu Chawla

**Construct a binary tree using the following pre - order and in - order trasversals : Pre-order:ABGHMCDEF In-order:BHMGADFEC ** I Just Need a Diagram of Binary Tree . I have tried a lot with youtube tutorials but not getting the answer plz help.

Software Development c
Member Avatar for deceptikon
0
295
Member Avatar for prodani

http://pastesrc.com/view/JbIfLyTVbu I've been looking over the Web, but cannot seem to get it to work...

Software Development c++
Member Avatar for Maritimo
0
101
Member Avatar for Lijo_1

I am facing the issue. Did anyone solve this issue

Software Development
Member Avatar for JorgeM
0
127
Member Avatar for lithium112

Ok, I am really hoping there is someone who has some experience with old Cobol forms(exe's) and loading them into an MDI Parent as an MDI child. At the moment, I am calling the exe file as a process, but from what I see at the moment, there is no …

Software Development asp.net assembly cobol
Member Avatar for lithium112
0
141
Member Avatar for Roger_2

my assignment involves creating a grading program. my program must accept a number from the user within the 0 - 100 range and return the corresponding letter grade based on this rubric: 90 to 100 = A 80 to 89 = B 70 to 79 = C 60 to 69 …

Software Development assembly
Member Avatar for sbesch
0
3K
Member Avatar for Roger_2

I am attempting to reverse an array2 however my program seg faults and ends right at `mov eax, dword [edi]` . theoretically this should work just fine. please any insight or alternative method/recommendations, my professor and pupils are equally stumped. Anything is much appreciated, this is my code: global _start: …

Software Development assembly
Member Avatar for sbesch
0
294
Member Avatar for My_1

Hello, I have problem with jbotton. I have botton decalre it. but how do i access it ? because I have 10X10 or 100 botton. let i want to access 95 botton how can i do that? how do i set the title? here is code import java.awt.*; import javax.swing.*; …

Software Development java java-swing
Member Avatar for JamesCherrill
0
329
Member Avatar for nitin1

I have learnt basic android in the last month. I have learnt about fragments, listview, adapters, acitivties, intents, content providers, databases, animations. I want some basic apps' ideas in which I can implement these things and can improve my learning? I am not too good in Java also. I know …

Software Development android android-development java listview
Member Avatar for Slavi
0
132
Member Avatar for BORIS_4

t = txtSearchMo.Text z = Combo1.Text Adodc1.Recordset.Filter = "br_name like '" + t + "'" Or "mo like '" + z + "'" why this code have mismatch error appear?? help me pls

Software Development visual-basic
Member Avatar for BORIS_4
0
50
Member Avatar for Xiao_1

how i put it like i am a student so i choose student and key in username n password, if choose worng like i click lectuere but i not, so cant is worng cant login Private Sub cbinfo_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cbinfo.SelectedIndexChanged Dim conn As …

Software Development open-source visual-basic
Member Avatar for Xiao_1
0
100
Member Avatar for rayhaneh

I find a code that sorting the names and at this program shouldnt be difference Between "a" and "A" and my Question is what does line 20 said ..!? #include <iostream> #include <string.h> #define MAXNAMES 100 using namespace std; int compare(string s1, string s2){ int i; for ( i = …

Software Development c++
Member Avatar for rayhaneh
0
276
Member Avatar for razstec

Hi everyone, I haven't touch in vb6 in 12 years so im very rusty... :s But now i need a little exe that allow to open and view office and pdf files, i dont need it to save or allow changes. Since its going to work with a batch file …

Software Development adobe file-system pdf visual-basic
Member Avatar for Reverend Jim
0
124
Member Avatar for Betty96

Implement a C function that can perform addition of two 15-digit (positive) integers. As in C the maximum integer number that can be stored in memory is 2147483647 it is not possible to use primitive data types in order to add very large whole numbers. For this reason, you are …

Software Development c++
Member Avatar for David_50
0
189
Member Avatar for leghorn

Hi I need to create a desktop application for a small scale firm.Its more of an inventory managemnt sort of app. I need to keep a tab on various parameters-some arithematic,others strings. I need to input these values in and retrieve the information - at that time, or months later. …

Software Development
Member Avatar for sbesch
0
287
Member Avatar for vegaseat

For those of you who are inquisitive, here is a little Python program to approximate the value of pi to 77 digits. You can easily go further, just change the value n in range(n+1).

Software Development python
Member Avatar for sneekula
0
3K
Member Avatar for jeram.burbon

I am trying to output how many students were processed, how many of the students had a February 29th birth date and the birthdate of the oldest student. I figured out how to output the first two except how to output the oldest student. is the ckOldestBirthDate and updateoldestBirthDate in …

Software Development java
Member Avatar for stultuske
0
534
Member Avatar for EarlZhaoy
Member Avatar for gusano79
0
93
Member Avatar for MasterHacker110

Recently I've been fooling around with some fun mathmatic (dont knwo if that is even a word) stuff. I recently took on the task of trying to calcualte PI. I have a very simple program in python that does this for me: import math from datetime import datetime top = …

Software Development python
Member Avatar for sneekula
0
351
Member Avatar for andruluchko

Hello. I have to print information (Full name. date of birdth, count of children) using output operator overloading. But i get two errors: "no instance of constructor matches the argument list" and "cannot convert from int to int". I have to use public and private modificators too. Can you show …

Software Development c++
Member Avatar for Moschops
0
188
Member Avatar for bballmitch

Alright, so im making falling numbers and i need to display points while its running. in the code its keeping track, but i have no way of displaying it. in regular C++ i would just do cout<<score; but in openGL it doesn't work that way as most of you know. …

Software Development c++ display opengl
Member Avatar for TWAT
0
2K
Member Avatar for Trle94

Hello there, I have this code: If listItem.SubItems.Item(0).Text = " " Or listItem.SubItems.Item(0).Text = "" Then ListView1.Items.Remove(listItem) End If Now is it possible to make somehow to it actually count how much items got removed ? Want to show it example as: 'Clearing completed. XX Lines were removed.'

Software Development vb.net
Member Avatar for Begginnerdev
0
147
Member Avatar for infiniteloop56

Hi guys, I have some what of a quick/dumb question. How would one traverse a binary search tree using a loop instead of recursion (An algorithm would be vwry useful if possible)? I appreciate any help . Thanks

Software Development algorithm java
Member Avatar for JamesCherrill
0
5K

The End.