43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for cs_tx_usa

Hi guys, I am using VB 2008 Express. I have created a form which has traditional "OK" and "Cancel" buttons on it. After I execute the program I point the mouse over the OK button or Cancel button (doesn't matter) to press but for some reason sand watch icon appears …

Software Development vb.net
Member Avatar for waynespangler
0
95
Member Avatar for mike issa

i have a dll "lt360lib.dll" and want to create a .lib file in order to link with it. when trying to create a .def file using impdef.exe that comes with c++ builder i get the following error "error lt360lib.dll: unknown filetype" by the way i enter the command using command …

Software Development c++
Member Avatar for mike issa
0
840
Member Avatar for guy40az

I was wondering if anyone knows of a good resource online to learn the IDE of visual studio 2008. I have been using an older version (visual studio 6), I need to learn the 08 .net IDE. If any one has any suggestions on where to go online or even …

Software Development c++ ide visual-studio
Member Avatar for jencas
0
105
Member Avatar for Superfat

Okay, i am trying to figure out how to use the Continue, and Break flow controlls correctly, however i keep getting an error: [code]continue statement not within a loop or a switch break statement not within a loop or a switch[/code] My code: [code=C++]#include <cstdio> #include <cstdlib> #include <ctime> #include …

Software Development c++
Member Avatar for Superfat
0
160
Member Avatar for Cyberage

I have the following overloaded extraction operator function where I need to read values into an array. I keep on getting compile errors when I uncomment the: dayReport[i].dayOfMonth = dayP part. Could anyone point me to where I am going wrong. What I am trying to do is to read …

Software Development c++
Member Avatar for Cyberage
0
129
Member Avatar for Alex Edwards

I'm a complete rookie with NetBeans, and that's unfortunate because this summer our Instructor wants us to use NetBeans throughout the entire course. I'd just like to know... how do I add existing files to a project? I've tried right-clicking the project folders to see if there was some kind …

Software Development java
Member Avatar for Alex Edwards
0
182
Member Avatar for megazear7

I made a Class, and I am trying to change a variable (a variable that I set up at the beggining of the program) from inside a Class. But an error pops up and says: "local variable 'widget_stock_price' referenced before assignment" I made the variable "widget_stock_price" at the beggining of …

Software Development python
Member Avatar for vegaseat
0
90
Member Avatar for FreezeBlink

It's always bugged me how it seems that the only way to find out where you are inside a for loop is to use a counter. For instance, suppose you want to iterate through a list, and print every entry on a second line, but for the second-to-last entry you …

Software Development python
Member Avatar for vegaseat
0
93
Member Avatar for lllllIllIlllI

Hi Guys What i am trying to do here is have a tuple of numbers, lets say X. Then i have a list of a few other tuples. I want the program to find the tuple that is closest in value. [code=python] x = (214,521) lis = [(200,500),(250,550),(300,600)] [/code] I …

Software Development python
Member Avatar for vegaseat
0
119
Member Avatar for raul15791

Hi, Does anyone know how to browse through a folder to find all the files contains in it? I know how to use the opendir function but: 1. I'm having problem with looping in which i can use to browse through ALL the folders and ALL the files contained in …

Software Development perl
Member Avatar for raul15791
0
156
Member Avatar for Jennifer84

In a Form Window you have in the upperright corner, Minimize, Maximize and the other red control that you close the Form with. I wonder what this control is named and if it is possible to put code inside this control. Because if I doubleclick on it, I doulbeclick on …

Software Development c++
Member Avatar for Jennifer84
0
83
Member Avatar for Jennifer84

This perheps is a strange question but if I have a buttoncontrol on the form I could programatically make this button invisible like below: [code] button1->Visible = false; [/code] What I wonder is if it is possible to make the button Visible = false; by fading the button away so …

Software Development c++
Member Avatar for Jennifer84
0
146
Member Avatar for Zolookas

Hi, I am new to C++ and Qt and despite that i am thinking of using threads in my app. Here is an example code which outputs "." and then "QThread: Destroyed while thread is still running" error after pressing button. [CODE=C++] class MyThread : public QThread { public: void …

Software Development c++ qt
Member Avatar for Zolookas
0
1K
Member Avatar for emilio

can i drag from label and drop inside form and set the form backcolor as the labels backcolor ?

Software Development
Member Avatar for emilio
0
104
Member Avatar for bpacheco1227

I am a C++ beginner and I am stuck. I can't get the random number generators to run properly, specifically the random number generators are all coming up with 1 . The point system is not running properly either, I'm sure it has something to do with my do-while loop. …

Software Development c++ ios session
Member Avatar for bpacheco1227
0
177
Member Avatar for Clockowl
Member Avatar for bhoot_jb

I have used the Package & Deployment Wizard to put my Visual Basic Program on CD, I then copied over my database 'calculations.mdb' onto the cd also so that the VB program can access the database when installed on another PC. However, the program still searches the same path as …

Member Avatar for selvaganapathy
0
205
Member Avatar for &rea

I am trying to use Elements (a property of matrix) that will save all the elements as an array so I could access the different elements but now I don't know how works this property. I have written that [code] L->Elements(cli::array<int>(1)^get()); [/code] and I get these errors: [code] error C2143: …

Software Development c++
Member Avatar for &rea
0
116
Member Avatar for regent_royal

Hi friends, I have[B] build swing based application on windows os and I want to run this application in linux.[/B] The .jar file runs perfectly on windows. but not running on linux. gives error as below. pls. help regent@regent:~/main the law$ java -jar thelaw.jar Exception in thread "main" java.lang.NoClassDefFoundError: while …

Software Development java java-swing
Member Avatar for regent_royal
0
175
Member Avatar for &rea

Hello, I have got a matrix and I want to get his elements so I can work with them in an unsigned int[][] or in a similar way. I have proved to get them with the method Element but it returns an array and I think it don't do what …

Software Development c++
0
73
Member Avatar for &rea

Hello, I want to make a matrix like this: [code] System::Drawing::Drawing2D::Matrix^ L; L=gcnew( System::Drawing::Drawing2D::Matrix::Matrix(rect,plgpts)); [/code] rect works properly but not plgpts plgpts is an array of Points. So I make that: [code] cli::array<System::Drawing::Point>^ plgpts; plgpts=gcnew(cli::array<System::Drawing::Point, 3>); [/code] and I have this errors: Error C3149: 'cli::array<Type,dimension>' : cannot use this type …

Software Development c++
Member Avatar for &rea
0
158
Member Avatar for sawant_nitesh

I am working on a JAVA project which needs to set the System date and time. I want to open Date and Time Properties of Windows through my Project. When I click on JButton, it should open Windows Date and Time Properties. How to do it ? Please Reply.

Software Development java
Member Avatar for sawant_nitesh
0
79
Member Avatar for raul15791

Hi, I'm a beginner for Perl. Just want to ask a few simple question: 1. Which Text Editor tools is the best for Perl? 2. Some recommend JEditor. I installed it but having problem with the Exuberant CTags. After i downloaded it I cant seem to install and apply it. …

Software Development perl
Member Avatar for KevinADC
0
204
Member Avatar for QuantNeeds

So I finally I got this to work, but my problem is that it gets very messy when I try to print it as a chart. I have to print the output in a neat tabular format that minimizes the number of lines of output while remaining readable. When I …

Software Development c++
Member Avatar for QuantNeeds
0
218
Member Avatar for mrjoli021

i am having problems appending txt to a file. it overwrites the file instead of appending [code] private StreamWriter outputfile = new StreamWriter("c:\\testfile.txt"); public void SetFile() { this.outputfile.WriteLine("Test",FileMode.Append, FileAccess.Write); this.outputfile.Close(); } ----------------------------------------------------------------- main class FileRead Testing1 = new FileRead(); Testing1.SetFile(); [/code]

Software Development
Member Avatar for mrjoli021
0
99
Member Avatar for SteveDB

Well, apparently, I jumped the gun a little. My code for the program I wrote still doesn't work. It compiles fine and throws no errors, but when I run it, only my main menu list runs-- over and over, regardless of my input, and the esc key no longer works. …

Software Development c++
Member Avatar for SteveDB
0
121
Member Avatar for mg0959

Is there any way to put multiple lines of text in each selection part for the tkinter listbox? Thanks for the help.

Software Development python tkinter
Member Avatar for woooee
0
2K
Member Avatar for Zolookas

Hi, i am quite new to C++ and I am making quite complicated linux app: i need it to show wheather usb device (phone) is connected. I have a procedure which would check if phone is connected, but i need to somehow run in background to constantly (lets say every …

Software Development c++
0
92
Member Avatar for waldchr

Hi I am relatively new to c++ but have written a program that would benefit from a little background music. I need it to be mp3 format. I am using dev c++ on windows XP. can anyone help?

Software Development c++
Member Avatar for waldchr
0
211
Member Avatar for &rea

Hello, I have been using C++ for not so long and today I have find a problem that I know it is not difficult but I haven't done it before so I have no idea. I have a matrix(System::Drawing::Drawing2D::Matrix^ L) and I want to apply this property OffsetX. since now …

Software Development c++
Member Avatar for &rea
0
55
Member Avatar for arupa

write a programme to show the prime numbers between 1 to 20.

Software Development
Member Avatar for Jx_Man
0
83
Member Avatar for bokac

How to convert: [B]ThisIsMyNewString[/B] to: [B]this is my new string[/B] thanks

Software Development
Member Avatar for bokac
0
99
Member Avatar for chanthung

M writing a program to display the date ie. 15 days later after a given (present/todays)date. Wel its actually like this. As soon as i write todays date, in the next text box, the date shd be automatically displayed adding 15 days to the present date which is already displayed. …

Software Development visual-basic
Member Avatar for chanthung
-1
1K
Member Avatar for NervousWreck

I am just starting to learn C++ with the Waite group primer. I wrote a program loosely based on the books instructions to display any entered ASCII character and its numeric value and the same for the next character in the table. Heres the bug: The second character works fine, …

Software Development c++
Member Avatar for mitrmkar
0
104
Member Avatar for edrrit

Hello everyone, as will be seen from the following massage I am new to C#. I have dataGrid that reads data from mine database. Also, I can update database from dataGrid, but I want to update it in more ways. So, I have the following code just to see something, …

Software Development dataset
Member Avatar for edrrit
0
95
Member Avatar for tirso

hi to all Does any body could help me how to blink the text of my button or even blick the background color. Thanks in advance

Software Development vb.net
Member Avatar for tirso
0
719
Member Avatar for raul15791

Hi, I'm trying to write a perl program for a simple phone book. Means when the user enter a name, the phone book will search and display the name and the phone number of that person. Below is my code: [CODE=syntax] #!/usr/bin/perl; #playplay.pl use warnings; use strict; my %phonebook = …

Software Development perl
Member Avatar for KevinADC
0
192
Member Avatar for grazcy

i'm doing a game function which able to save and load game function, i want to do it in a simple way cause only a few information need to collect. :cry: Here is the save method i use which able to write things into the .txt file which work correctly …

Software Development file-system vb.net
Member Avatar for DaKasper
0
198
Member Avatar for nerden

Hi, I’m writing a programme in VB.NET [B]2008 [/B]which uses an access database; I am trying to create a query which uses the value from a textbox say txtStudentNo, to query a DataGridView say grdInfo to only show the student with the entered student number. The problem I am having …

Software Development vb.net
Member Avatar for nerden
0
187
Member Avatar for chmendell

Very new to C#. I'm a workhorse but one step at a time. I'm trying to make simple program. "What is out the door cost of an item that has sales tax?" You should enter the program and then type the amount of the purchase. Then the purchase amount is …

Software Development
Member Avatar for Ramy Mahrous
0
95
Member Avatar for ff4930

Hello everyone, I am new to maps and I have a simple question. I have a map that stores a string as key and the data I want a map<int, int> so my syntax is map<string, map<int, int> test; What would be the syntax to insert say "hello" and say …

Software Development c++
Member Avatar for Narue
0
121
Member Avatar for esy928

Hello! its me again, I need a liitle help. Our teacher gave us a homework where we need to create a program that will determine the larger of the two inputed number, plus we have to determine if the input is an integer or not. Ive already coded the program, …

Software Development java
Member Avatar for esy928
0
135
Member Avatar for Aleczz

Hello Im coding mp3 encode / ripping tool and because i have licence to realbasic im gonna make user interface with it Technical part im gonna make with akrip.dll and i have develope it more by my own way now. The meaning is use threads for ripping and encode in …

Software Development c user-interface
Member Avatar for Aleczz
0
157
Member Avatar for mark192

Hi, I need help with sending an email through gmail from a program. I substituted email adresses and passwords with generic names, this program works up to the last line where it fails to send the email. Any ideas as to why this may be? This is using [code] imports …

Software Development email vb.net
Member Avatar for conan82ac
0
84
Member Avatar for ShraddhaM

i have created one database in which there is one table **Supplier**, its **primary key is SCode**. i have one more table **Quotation**, in which i have created **SCode as Foreign Key**.nw i want to allow user **to select SCode from Combobox in Quotation table.** Format. hw 2 add databinding …

Software Development dataset vb.net
Member Avatar for ShraddhaM
0
372
Member Avatar for Agni

Hi, When i search for a pattern in a file how do i get the line and line#? basically i want to replicate the 'grep' command functionality. Now i can easily say whether the pattern exists or not using re.search funtion but i'm not able to print that particular line …

Software Development python
Member Avatar for Agni
0
125
Member Avatar for 7arouf

hi there. i created an xml, xsl, and html files and i need to create a drop down list that will allow me to quesry database my xsl files is [QUOTE] <?xml version="1.0" ?> - <Kwantlen> - <Schedule> <Semester>Summer</Semester> <Department>CISY</Department> <CourseName>Emerging Technologies</CourseName> <Prerequisite>CISY1218</Prerequisite> <CRN>2583</CRN> <Days>Monday</Days> <StartTime>16:00</StartTime> <EndTime>19:00</EndTime> <RoomNumber>G1045</RoomNumber> <Instructor>Sen</Instructor> <FinalDate>August …

Software Development html-css javascript xml
Member Avatar for 7arouf
0
167
Member Avatar for agartrell

Hey, I have a hash table for primitive values that uses a template to store the key Type and value Type, everything compiles fine as far as that's concerned, but i have a wrapper class that associates floats with ints (array indices) and that's all good except for one syntactic …

Software Development c++
Member Avatar for agartrell
0
94
Member Avatar for ninjaimp

Hi I am trying to populate a listview with all the hours of the day in 30 minute intervals. I can doing very basically from 0 to 24 with the following code: [CODE] Private Sub CreateTimeStep() For i = 0 To 25 Step 0.5 lstDays.Items.Add(i) Next End Sub [/CODE] but …

Software Development display listview vb.net
Member Avatar for ninjaimp
0
87
Member Avatar for Muttley

[code=cplusplus] class Base{ char* s1; public: ... ~Base(){ delete s1} } class Derived:public Base{ char* s2; public: ... //the constructor of the derived class will call the constructor of the //base class, so derived will contain s2 and s1 too. ~Derived(){ //HERE } void main(){ ... Base x[5]; ... }; …

Software Development c++
Member Avatar for Narue
0
125

The End.