132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ana_eht

Hello again Thank u for your kind helps again i have a question my problem is this i have a program with 3 list boxes when user choose an Item in one list box that item in parallel list boxes must also be chosen here is an example Quantity..... Name......Price …

Software Development vb.net
Member Avatar for ana_eht
0
98
Member Avatar for deadliest

Can you tell me how can i increase the font of my output for particular portions of myy program on the output screen in visual studio.net 2003... for example if i want to give a heading or a title in bigger font.. how can i do so???

Software Development c++ visual-studio
Member Avatar for Salem
0
152
Member Avatar for miguelms19

Just need a few pointers with the code below. I have the below class to complete but I am stuck on the isAllValidDigits() method where i have to create a loop to check and return true if all the int values of the authorId array and the programId array are …

Software Development java
Member Avatar for vchandra
0
91
Member Avatar for Seapoe

Hello, I've written a program that mimics a 32-bit MIPS processor. It does a couple of instructions. It works by reading in a Hexadecimal instruction of length 8 and then carrying out the instruction and writing the information to a file. It was working fine earlier but now I get …

Software Development c++
Member Avatar for Seapoe
0
90
Member Avatar for jockfaire

Hi, I have a windows form that has three text boxes one each for the current password, new password and confirm new password . The purpose of the form is to allow a user to change his/her password and to confirm the change . I am using a Data access …

Software Development
Member Avatar for JuhaW
0
289
Member Avatar for hitro456

Hi everyone, I have been writing a .dll in C#.net I have to write a function in that which would create a small window, accepting uname and pwd. Is there any provision in Components(.dll's) to create a small UI. which would be used by external applicaton. I mean I am …

Software Development
Member Avatar for JuhaW
0
90
Member Avatar for Vytautas

Hello, I'm trying to open file using a function in a header file and I think it works but I'm unsure if it's written as it should be. Should I use double pointer inside the FileOpen function like argv is or not? It also works without double pointers and that's …

Software Development c file-system
Member Avatar for JuhaW
0
108
Member Avatar for skyzer

im creating little program which produces cars, tractors and mopeds. car has 4 wheels and 4 cilinder engine, tractor has same, and moped has 2 wheels and 1 cilinder engine. this is what i have at the moment. next thing i need to do that with 2 factories.. home factory …

Software Development java
Member Avatar for skyzer
0
167
Member Avatar for whimsical1987

Hi, I have to do a project on Sudoku. I am finished generating the complete board. Now my major task is to generate a puzzle out of the complete board with the difficulty level. Can some one give me clue to remove the elements randomly from the board. Later on …

Software Development java puzzle
Member Avatar for whimsical1987
0
128
Member Avatar for aldm

Hi to all, I'm solving some numerical analiyse problems in C#. Is there any C# implemented function similar to eval() in Matlab? So, user type the function that he wants to evaluate in text box, and eval(String s, double x) evaluate value of that function with argument x. For example, …

Software Development c# mathematics
Member Avatar for aldm
0
629
Member Avatar for Chetan7

Hi, I' am required to convert a MATLAB function into C++, and this requires me to find determinate of a matrix. I was told that use of BOOST library would make my job easier. I went through the documentation of BOOST Library, but couldn't find much info about the same. …

Software Development c++
Member Avatar for DavidB
0
243
Member Avatar for ihatehippies

[CODE=python]>>> import wx >>> wx.NullBitmap.SubBitmap Traceback (most recent call last): File "<pyshell#0>", line 1, in <module> wx.NullBitmap.SubBitmap File "C:\Python25\lib\site-packages\wx-2.8-msw-unicode\wx\_gdi.py", line 659, in GetSubBitmap return _gdi_.Bitmap_GetSubBitmap(*args, **kwargs) TypeError: Bitmap_GetSubBitmap() takes exactly 2 arguments (1 given)[/CODE] I didn't call it, I just tried to reference it. happens with all these methods wx.DefaultDateTime.Day …

Software Development python
Member Avatar for ihatehippies
0
225
Member Avatar for JimD C++ Newb

Hi, I have a rather large binary file that I am attempting to read in, but I only want to read in the first 100 characters or so. I've tried searching the internet for help or an example, but I've only found examples that read in the entire file...and this …

Software Development file-system java
Member Avatar for balmark
0
111
Member Avatar for tjfitz68

Hello, I'm creating a new report based on data from one of our software vendors. As part of the tax calculation options, end users have four options: 1. Any remainder rounds up 2. Half penny rounds up 3. Half penny rounds down 4. Any remainder rounds down Math is not …

Software Development vb.net
Member Avatar for tjfitz68
0
83
Member Avatar for inisca

Hello all, First of all i am a beginner in vc++, so excuse my question if its simple. I was wondering if I could use the data from button1 in button 2 my code is: [CODE] public:System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { OpenFileDialog open; open.Title = "Select Wave File"; open.Multiselect …

Software Development audio c++ ios
Member Avatar for Fbody
0
191
Member Avatar for ITgirl2010

Ive started with this program def calcFinal(): while True: try: asg1Mark = int(raw_input("Enter Asg1 mark: ")) asg2Mark = int(raw_input("Enter Asg2 mark: ")) examMark = int(raw_input("Enter Exam mark: ")) final = asg1Mark + asg2Mark + examMark return final except ValueError: print 'Please enter only numbers' def mark_check(finalMark): print "Final mark is …

Software Development python
Member Avatar for woooee
0
115
Member Avatar for zachattack05

Good evening! I was hoping someone could help me here. I've been teaching myself C# for quite a while now, and I'm working on a project and have run into a problem. I would like to use the binding navigator control to allow my users to browse through various tables, …

Software Development
Member Avatar for zachattack05
0
623
Member Avatar for pluckon

I have tried a number of things. If I am copying from one folder to another on my computer it works fine. It is only when I try to put in a path to the web that it doesn't. I must need a different object to do this with but …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
138
Member Avatar for Lukezzz

I have a code that is opening a browserwindow like this: [code] Process::Start("iexplore.exe", "http://www.google.com"); //Open google in a defaultBrowser [/code] I wonder something about this "iexplore.exe". I am not sure what that meens. Does it meen that it Only will open Internet Explorer if that exists on the users computer. …

Software Development c++ google
Member Avatar for Lukezzz
0
1K
Member Avatar for dre-logics

I use Visual Basic 8.0 Zebra GX430t TT label printer ZebraDesigner which I use defined the barcode label ,called [COLOR="Green"]barcodelabel.lbl[/COLOR] SDK for Zebra I have a simple question. Can I use the same code as shown below to print defined Zebra label ([COLOR="green"]barcodelabel.lbl[/COLOR]) to a Zebra printer? [COLOR="Red"]What should I …

Software Development printer vb.net visual-basic
0
187
Member Avatar for miskeen

Hi, I want to convert unit32 variable to uint16 variable because I can't read uint16 directly from a file using sscanf. Is that possible? Thank you!

Software Development c++
Member Avatar for miskeen
0
2K
Member Avatar for Stev0

Several weeks ago, I wrote a simple web crawler that was designed to simply retrieve robots.txt from a range of IP addresses. It was entirely CLI based, and I had it working perfectly. As my python experience has increased, I decided to start learning about GUI based programming, and decided …

Software Development gui python
Member Avatar for Stev0
0
164
Member Avatar for Tellalca

I have tried to implement a stack class but i got stupid errors. There is a stupid error i know but i couldnt find it. [CODE]#ifndef STACK_H #define STACK_H /*Manual implementation of Stack class. By this way it will be possible to learn the advantages of Stack data structure over …

Software Development c++ data-structure visual-studio
Member Avatar for Tellalca
0
227
Member Avatar for sree_ec

Hi, i have some questions mostly regarding the memory segments... Can any one help me out.. 1. During a function call in C, where is the return value of the called function stored.. This is mainly a question came when i was thinking of steps during a function call. The …

Software Development c
Member Avatar for sree_ec
0
86
Member Avatar for Ajantis

Hey folks :) I was writing some code today, and I wrote a function for computing factorials without use of recursion. What do you think about this one? [CODE]int factorial(N) { int r; r = 0; while (N > 0) { r *= (n-1); n--; } return r; }[/CODE]

Software Development java
Member Avatar for jwenting
0
303
Member Avatar for sinister747

Hi All, I am pretty new to Java and i am having difficulty using overloading on the [I]equals[/I] and [I]compareTo[/I] methods. I have a sample application for a school and i need to check for duplicates in records using the equals and compareTo methods. All records have Firstname, Lastname and …

Software Development java
Member Avatar for sinister747
0
106
Member Avatar for Hoban

First off this is for a homework assignment and I am new to python. I have attempted to tweak an example of how to make a table from another post on this forum but with no luck. Here are my problems: 1) my range is small (0, 1, 0.1) This …

Software Development python
Member Avatar for vegaseat
0
114
Member Avatar for ansar_el_sonna

Dears I need your advice to make a c# application which execute UNIX commands The application procedure - connect to UNIX box - execute a UNIX script (such as <touch file_name>) from a C# GUI Any suggestions?

Software Development c# gui unix
Member Avatar for ansar_el_sonna
0
49
Member Avatar for Geodude0487

Hi I'm not sure if the answer is anywhere else in the forums but I have yet to find it. I'm working on a school project where we basically have to write a TicketMaster esque program. We have a main form, with a log-in form, and a register form. We …

Software Development c#
Member Avatar for Geodude0487
0
181
Member Avatar for goodwin912

I've got a little app to resize and watermark images. At the moment it only does one at a time but I would like to get it to do a full folder of images in one go. I have done this previously in VB using loops but im new to …

Software Development image python tkinter
Member Avatar for Tech B
0
233
Member Avatar for superchica08

hello to everyone i am new to this stuff so i was wondering if anyone could help me fix this error that i get on a code that is for a payroll assignment. when i build it i get this [B]C4551: function call missing argument list[/B]. would really like the …

Software Development c++
Member Avatar for jwenting
0
1K
Member Avatar for bandit711

How can i change this code to get a output like this: This Program Average grades and output the average and letter grade Quiz1 Quiz2 Quiz3 Quiz4 Average Grade s1 70 80 90 95 83.75 B s2 95 85 90 80 87.5 B s3 75 85 70 80 77.5 C …

Software Development c++ ios
Member Avatar for chiwawa10
0
104
Member Avatar for isaac4luck

Hi, I am quite new to Comp Sci and I just wrote a program in BlueJ that calculates the value of truth tables and validity in arguments. I followed the book's instructions and have a method with the signature: (It's in the class "Main") public static void main(String[] args) { …

Software Development java
Member Avatar for jwenting
0
167
Member Avatar for neti1987

Hi! I try to create HashSet of the next object: [CODE] import java.nio.file.Path; public class WatchedPath { public Path dir; public boolean recursive; public Filter filter; // Ctor with only Path - for comparing between the object (comparing is only by the path!) public WatchedPath(Path dir) { this.dir = dir; …

Software Development java
Member Avatar for neti1987
0
2K
Member Avatar for inisca

Hello all I have a problem.I am trying to convert 'System:tring ^' to 'const char *' but i don`t know how. can some one please help me? I use VC++ 2005 I need to open files with extension .wav my code is: [CODE] public:System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { OpenFileDialog …

Software Development audio c++
Member Avatar for jonsca
0
134
Member Avatar for ktsangop

Hi everybody. Could someone explain me the usage of python's modulo operator and/or the fmod function? why do i get these results? >>> 23%0.1 0.099999999999998729 >>> import math >>> math.fmod(23,0.1) 0.099999999999998729 >>> normally 23 mod 0.1 = 0 because 23 / 0.1 = 230 exactly is there anything wrong there …

Software Development python
Member Avatar for ktsangop
0
245
Member Avatar for sjn21682

hello there... need some help here, is it possible to get the value of a textbox from a form.cs, and use its value to a new class? if yes, how can i do it???, see, i have a textbox from a form.cs, and then i created a new class, in …

Software Development
Member Avatar for jonsca
0
212
Member Avatar for RobertQQ

Hi all!! I am new to c# and am looking for a site I can go to that has problems for beginners in c#. I tried googling it but was unable to find anything. Does any one know of a site like this? Thanks for the help!!

Software Development c#
Member Avatar for kvprajapati
0
253
Member Avatar for Lee21

guyz I need help regarding declarations of global variable.. I created a module here is the script. [CODE] Module modGlobalvar Public name As String ----------------------------------------------------------------------------------- 'here is the code in my login form Private Sub btnOk_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOk.Click Try sqlcon.Close() scmd = New …

Software Development vb.net
Member Avatar for Lee21
0
2K
Member Avatar for achalmehra

hi friends...i am developing a small windows application in vb.net using visual studio 2005. i want to design a form where user can enter multiple records.like we want to design a "bill" form where user can create the bill for any no of items.there are 4 colmns in it : …

Software Development database-design vb.net visual-studio
Member Avatar for achalmehra
0
149
Member Avatar for Alianncox

Hi, I get this error: `Exception in thread "Thread-4" java.lang.NullPointerException` When I try to send the vector to my form. Does someone knows where I made a mistake? Here is a part of my code: (this part is from my clientapplication (where I make a connection with the server) if …

Software Development java
Member Avatar for Alianncox
0
83
Member Avatar for Darshana369

I am looking for receive mail code in visual basic language. Please reply me as soon as possible..........[code][/code]

Software Development vb.net visual-basic
Member Avatar for kvprajapati
0
198
Member Avatar for pritesh2010

hello every one i had created one application front end as vb.net and back end is Access 2003. after this i had created a setup of that application. it perfectly work on my computer but when i am installing setup on my friends computer it install and run time it …

Software Development vb.net
Member Avatar for kvprajapati
0
112
Member Avatar for acdougla17

I am trying to basically use the methods as functions and then call them in main but I cant figure it out. I thought it could be done like this but maybe I am just confusing my php&mysql class with Java. At the bottom of my code, there is a …

Software Development java java-swing
Member Avatar for stephen84s
0
169
Member Avatar for johndoe444

[CODE]// this is overkill Date now = new Date(System.currentTimeMillis()); [/CODE] Why is this overkill?

Software Development java
Member Avatar for jwenting
0
145
Member Avatar for kjock002

the random function gives you a number between 0.0 and 1.0 . im trying to get a random number between -0.5 and 0.5. i asked someone for help and they told me to go off of this: [0, 1) + .1 this changes the range to [1, 2) and i …

Software Development python
Member Avatar for Gribouillis
0
101
Member Avatar for k2k

I had done a program with JFrame a year ago and I am trying to convert it to with JApplet so I can put it on the web. So far so good and I am able to see the applet and seems every functions are still working... there is one …

Software Development java java-swing
Member Avatar for k2k
0
198
Member Avatar for bandit711

Having problem set code up for five rows and 4 column. Any ideas have too do it the code, i am currently using: [CODE] cout << setfill(' ') <<setiosflags(ios::left) << setw(11) << "Student" << setw(10) << "Quiz1" << setw(8) << "Quiz2" << setw(8) << "Quiz3" << setw(8) << "Quiz4" << …

Software Development c++ ios
Member Avatar for bandit711
0
172
Member Avatar for tr6699

I have dynamically created a 2d bool array and was wondering if i could create a pointer that points to the second column of the array.

Software Development c++
Member Avatar for Ancient Dragon
0
99
Member Avatar for laudaisoi

Hello everybody ! I'm a novice , and already started learn C++ . I try sorting string alphabetically from a text file . This is my code [CODE]#include <iostream> #include <fstream> using namespace std; // Quick Sort function void quickSort(char A[][15], int lower, int upper){ if (lower>=upper) return ; // …

Software Development c++ file-system
Member Avatar for laudaisoi
0
948

The End.