43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Behseini

Hi Guys I am trying to make the windows Form BackColor Transparent but each time I try to set the BackColor to Transparent property I am encountering with following error message [COLOR="Orange"]Property Value is not Valid Control does not support transparent background colors.[/COLOR] I also tried to add following code …

Software Development
Member Avatar for skatamatic
0
6K
Member Avatar for lelejau

I have already downloaded the latest DX SDK (June 2010) and still, this error remains. error C2065: 'IID_IDirect3D3' : undeclared identifier I already included the headers below but it seems not to work, what am I missing? #include <d3d9.h> #include <ddraw.h>

Software Development c++
Member Avatar for lelejau
0
210
Member Avatar for neveragn

HI, I'm writing a code for the very first time, and I'm completely stuck. Some guidance would be great. I'm writing a C program that reads integars from file "integars.dat". The program should show how many numbers you have entered, how many among them were even, and how many were …

Software Development c file-system
Member Avatar for neveragn
0
139
Member Avatar for cummings15

I am trying to get my code below to display what high school the students are from from the .txt file the text file below will work but i want to add school to txt file and confused on what to change in my code [QUOTE]Alphy Beta 85 83 77 …

Software Development c++
Member Avatar for raptr_dflo
0
151
Member Avatar for Robert955

Hey, I've stumbled upon a small problem with my game. I have 10 wasps that have some AI, just wandering around and whenever a wasp gets close to the queen wasp it starts chasing it. the queen just wanders around aswell. I can also move with my character and if …

Software Development
Member Avatar for Ketsuekiame
0
182
Member Avatar for Elmo_loves_you

Hi Guys, Surely this shouldnt be such a complex task! I have done this before for a desktop application where I typed in data on the UI clicked a button and a new text file was created on the C: drive and the data added. Ive been googling and googling …

Software Development
Member Avatar for martinopresnik
0
237
Member Avatar for dbuckle

Hey guys, I'm just trying to get to grasp with structs and I have written a small test program to print out a persons name and age. Currently I am getting nothing when the program runs. Help :( [CODE]#include <stdio.h> struct person { char *name; int age; }; struct person …

Software Development c
Member Avatar for gerard4143
0
101
Member Avatar for cgen

Can someone please help me go over these codes? There are no bugs in all except LinkedListBinary.java and I have no idea why. The lines that are causing me problems are: [CODE] /** Returns an iterator of the elements stored at the nodes */ public Iterator<E> iterator() { Iterable<Position<E>> positions …

Software Development java
Member Avatar for hiddepolen
0
490
Member Avatar for rahman86

i have done my application that uses crystal report and access database. I try to publish the application but when install on client machine, it wont work. the access database wont load and so the reports. What should i do? can anyone help me?

Software Development publishing vb.net
Member Avatar for rahman86
0
151
Member Avatar for Cifale

I'm querying a SQL DB and sometimes the result is Null, so I thought I would test this but my code results in an error "Data is Null. This method or property cannot be called on Null values." Here is a snipet of my code: For i = 5 To …

Software Development vb.net
Member Avatar for Cifale
0
736
Member Avatar for nchy13

[COLOR="Red"][B]this is what compiler shows[/B][/COLOR] tree.cpp: In member function ‘void redblacktree<T>::insert(T) [with T = int]’: tree.cpp:187:12: instantiated from here tree.cpp:103:9: error: lvalue required as left operand of assignment tree.cpp:140:9: error: lvalue required as left operand of assignment [COLOR="Red"][B]if u don't want 2 go thru' d code then kindly just tell …

Software Development c++
Member Avatar for Narue
0
577
Member Avatar for circles

Hi, I'll preface this by saying I am about as beginner as it gets (the "installed compiler on saturday, open first book saturday night" kind of beginner) Basically, I have a small program that reads the current directory for any file with ".txt" and then opens and scans those files …

Software Development c++
Member Avatar for circles
0
205
Member Avatar for Mafia_ir

[COLOR="Green"]Hi there ,[/COLOR] i created a music player with c# , but i have two problems : [LIST=1] [*]If you attention to music files they have a picture (for example : picture of its singer ) how can i access to this image in my app and how can i …

Software Development
Member Avatar for charlybones
0
215
Member Avatar for vlaskiz

So i was in a making of my homework where im supposed to write a program to write (output) 2 tables to .txt file 1) given data 2) calculations that were done with that data. heres the code [CODE] /* L3-7. Turime tekstiniame faile studentų apskaitos sÄ…rašą: pavardÄ—, vardas, įstojimo …

Software Development c++
Member Avatar for vlaskiz
0
216
Member Avatar for dilbert_here00

Hello ALL, I was wondering if there is a way to run a python program at windows startup, without running the script as a windows service? I have a python program which runs a bunch of functions & then sometimes restarts the computer. At startup I want my script to …

Software Development python
Member Avatar for dilbert_here00
1
5K
Member Avatar for smmcfarl

I am trying to make a program to add, delete, and print a sorted linked list. I have tried many different things and now I am getting a Segmentation Fault so I was wondering what I am doing wrong? Here is my code so far: [CODE]//ItemType.cxx #include "ItemType.h" ItemType::ItemType() { …

Software Development c++ ios linked-list
Member Avatar for raptr_dflo
0
449
Member Avatar for Labdabeta

Is it possible to define a union at creation. ie: [CODE]union Colour { unsigned int i; char c[4]; struct{ char a; char r; char g; char b; }col; }Black(0xFF000000),White(0xFFFFFFFF),Red(0xFFFF0000),Green(0xFF00FF00),Blue(0xFF0000FF)/*etc...*/;[/CODE]

Software Development c++
Member Avatar for Labdabeta
0
130
Member Avatar for bennetk2

I am having problem with converting and initializing errors. Any help is appreciated. I am a 2 yr Computer Science major, so be gentle. Here is Code: Sorry its long! [CODE]// Kyle Bennett // CS 318 // Paint Throwing Disturbance #include <iostream> #include <iomanip> // set width and decimal #include …

Software Development c++
Member Avatar for raptr_dflo
0
378
Member Avatar for VIPER5646

Hi all I created a RDCL in the designer. I would like the User to Determine what is shown in the Report. How can I change the query at runtime? (ex. changing the customer Name) This is the query that I have in the properties SELECT [Date], Address, Customer, Orders …

Software Development vb.net
Member Avatar for VIPER5646
0
18K
Member Avatar for ramy84

hello, Below is the program written to enter item description, price and date of purchase. finally it is going to give the total amount. here i wanted to write the output of this program to a file created and saved on the desktop .To create a file, i have used …

Software Development file-system
Member Avatar for ramy84
0
866
Member Avatar for myrongainz

My teacher showed me something like this with functions but I don't quiet get it. Since, I can't ask him right now...I came here for help. I'm suppose to write a function to display days in a month. This is my first time using functions so all the help I …

Software Development c++
Member Avatar for myrongainz
0
165
Member Avatar for SweaterGirl

I'm a beginner, just starting to take a java class! I'm doing this for homework. When I try to run this, it runs- but when it gets to the question that asks "Which kind- Chocolate Chip or Gingerbread Man?" and I answer, it just skips right to the next question. …

Software Development java
Member Avatar for SweaterGirl
0
163
Member Avatar for Aghtar

Hello guys. I just have a problem that I think you pros will help me solve real quick.. I was instructed to make a table that will show the inputed miles, yards, feet, and inches this way: Units Value Meters Miles XXX XXX.XX Yards XXX XXX.XX Feet XXX XXX.XX Inches …

Software Development c++
Member Avatar for Aghtar
0
171
Member Avatar for NargalaX

I've tried this in the past, but never got it to work. How would I set specific keys to run functions, whether I am on the current form or not? Thanks!

Software Development c c# c++
Member Avatar for Greatis
0
706
Member Avatar for ilovejava

lets say i have a grid----->grid[10][10] i want to scan the grid for a char 's' what should I do should I... do a enhanced for loop and how can any show a example

Software Development java
Member Avatar for ilovejava
0
180
Member Avatar for woodenduck

I would like to have a loop that creates a JFrame, sets it visible and waits until that JFrame is disposed of before creating another. Is this possible? A solution would be greatly appreciated I can't seem to figure this one out. ex: [CODE]for(int i=0; i<5; i++){ JFrame foo = …

Software Development java
Member Avatar for woodenduck
0
150
Member Avatar for dilansankalpa

Hi, I need that user to type a date in a text box in yyyy/MM/dd format and then popup a calendar from the typed date. But to parse the date into calendar the whole date should be typed.otherwise it gives date conversion error. I need as an example;- * if …

Software Development
Member Avatar for Mitja Bonca
0
249
Member Avatar for bonzo2008

Thanks for all help. My friend have a little problem with a text file. as follows Monday Thuesday Wednesday Thursday Friday Saturday Sunday He have it to load as folows Dim namneng As String, Fnumeng As Long, strLeneng As Long ' för England Dim iDag As String Fnumeng = FreeFile …

Software Development visual-basic
Member Avatar for hkdani
0
178
Member Avatar for Goyle

Hi, for the life of me I can't solve this problem. I've solved problems far harder, but this is just baffling me. The problem: [I]Write a program which reads a sequence of integers from the standard input (the keyboard) and prints the largest value read to the standard output (the …

Software Development java
Member Avatar for Goyle
0
189
Member Avatar for Boeing

How would I write a program that writes the text in a textbox to a List Box when a button is pressed, kind of like an address book?

Software Development c++
Member Avatar for Boeing
0
165
Member Avatar for AquaNut

Hi All, Been trying to use the BindingSource.Filter on my program and everytime I fire it nothing is happening i.e. the text boxes I have setup and are not populated even though I can navigate through all the records inthe dataset using the respective navigation buttons... Code.. Private Sub ButFind_Click(ByVal …

Software Development dataset vb.net
0
95
Member Avatar for minimi

I'm trying to call two methods from main but I'm not sure how to do it. I know the program isn't completed but I want to get this done first so I can test whether it's working correctly. Could anyone help me out? [CODE] #include <stdio.h> #include <stdlib.h> void print_triangle_info(int …

Software Development c
Member Avatar for D33wakar
0
154
Member Avatar for nchy13

i have included just insert function in redblacktree class. there are[U] no compilation errors but it shows [COLOR="Red"]segmentation fault[/COLOR] [/U]on running. when i am calling insert function [B]it's not even entering into it as it's not printing the cout statement [/B]at first line of insert body. i am using g++ …

Software Development c++ ubuntu
Member Avatar for Moschops
0
170
Member Avatar for walid86

i need to print all the contents of my panel to an image. Everything works, except the Rich Text Box's.. I've checked online and i can't get my head around the code as it is fairly advanced. is there any 3rd party components that have this function? i managed to …

Software Development image
Member Avatar for walid86
-1
238
Member Avatar for dennysimon

hello all I found a problem which I cannot find way to solve I hope some body give a clue how to solve the problem thank you denny the problem------ table1 has 2 fields 1.id int (primary key) 2.datastrings (varchar) datastrings field has 3 rows string1="-1,1,1,-1,1,1" string2="1,1,-1,1,-1,-1"; string3="-1,-1,1,1,1,1" how to …

Software Development
Member Avatar for arunkumars
0
101
Member Avatar for challarao

I wrote this program for insertion sort.I compiled the source file in xubuntu terminal.But when I try to run a.out executable....terminal showing "segmentation fault".I don't about segmentation fault..when segmentation fault occurs...what is the thing in the source file that is causing segmentation fault... Thanks in advance...... [CODE]#include<stdio.h> main(){ int i,j,n,key; …

Software Development c
Member Avatar for challarao
0
374
Member Avatar for danethepain83

Hi! I'm just working on a small problem in Scheme. I am passing to the function a list, such as '(1 2 3), and I need the function to return seperate lists, such as '(1)'(1 2)'(1 2 3). I have already experiemented with many different appends and cons, and I …

Software Development
Member Avatar for danethepain83
0
2K
Member Avatar for yurigagarin

Hi guys, I have this input.txt file and I have to scan it to get information for my project. the input.txt file has format as: 33 56 34.8 N 118 24 30.1 W 37 40 23.5 S 144 50 54.1 E So I used fscanf_s to scan the file. Here …

Software Development c++ visual-studio
Member Avatar for yurigagarin
0
1K
Member Avatar for ads248

Hi Can you change the alignment of text ion a datagridview column programmatically ? i.e. Columns(0).?????????????????.MiddleCenter as I dont want to centre align all of the columns in the datagrid. Thanks Andrew

Software Development vb.net
Member Avatar for jayacer
0
8K
Member Avatar for babyhuyx

[CODE]#include <iostream> #include <Windows.h> #include <time.h> #include <iomanip> #include <string> #include <cctype> #include <algorithm> using namespace std; /*********Wallet*****************/ void blingstack(double& wallet, double& winnings, double& payoff) { if(payoff > 0) cout<< "You won $ " << winnings * payoff <<endl; wallet = wallet + (winnings * payoff); cout<<"\nYour current balance is …

Software Development algorithm c++
Member Avatar for WaltP
0
172
Member Avatar for caswimmer2011

Hello, I am confused between the differences between a key logger and key listener in Java....i looked online but I couldn't find a straight-up answer. Thanks in advance!

Software Development java
Member Avatar for Vreality
0
446
Member Avatar for Awais Ali

I want to create a key in the [B]Registry Editor[/B] of Windows XP using c++ program. After this i am to write the Name and the Data(e.g value) of that particular key using c++ program. And i am to read the Name and Data(Value) of that particular key using c++ …

Software Development c++
Member Avatar for Awais Ali
0
163
Member Avatar for Sunshine2011

[CODE] #include <iostream> #include <vector> #include <string> using namespace std; class Member { public: string Name,Vorname; //prototypes vector<Member>*generateAVector(); void SaveElementsInTheVector(vector<Member>*pAVec,Member *obj); void DisplayTheVector(vector<Member>*pTheVec); void test(); }; int main() { Member Neu; //new object //creates a vector on the heap, here with no sense,only experimentally vector<Member>*pAVec=Neu.generateAVector(); //puts data in the elements …

Software Development c++
Member Avatar for Sunshine2011
0
123
Member Avatar for cecsFTL

I'm writing a program to ask the user for 6 points for a triangle and then calculate the length of the 3 sides, the perimeter, and the area. Then the tester will have to display the properties of the triangle, length of sides, the area, the perimeter, and if the …

Software Development java
Member Avatar for hiddepolen
0
1K
Member Avatar for technopup

Hello, I have a PHP file that lists a Post Code variable ($thisPostcode). Using simpleXML I need to compare the value of the Post Code variable to the Post Code attribute in an xml document, if there is a match I need it to echo the statement below if not …

Software Development xml
0
103
Member Avatar for hszforu

what does an array contain when it is declared? For example, when i declare an int array numbers like: int[] numbers=new int[5]; now without intializing any values, i tried to print that array.So it showed me that all elements inside that array were 0. Now if 0 means empty, then …

Software Development
Member Avatar for hszforu
0
138
Member Avatar for ckwolfe

Hey, I'm a beginner at compiling (or interpreting) Haskell and some of the basic things are hard to do especially when theres not a lot of info out there for me to use. My question is, how do I run a test file after I have compiled? I compiler with: …

Software Development
Member Avatar for ckwolfe
0
131
Member Avatar for Lendaanx

Im new to java and trying to get buttons to work. My next button works as intended however the first and last do not and the previous one only takes me back one space if i'm on the second item. I need the prev button to rotate backwards through the …

Software Development gui java java-swing
Member Avatar for hiddepolen
0
184
Member Avatar for xiangzhuang

Hey guys I keep getting the "no return statement error in two places, I have commented them for you [CODE] /** * A WordsCompare object stores Strings. It is used to determine if the first word * should be placed before or after the second word in the dictionary */ …

Software Development java
Member Avatar for JamesCherrill
0
292
Member Avatar for c++_fem

Hi, Is there a way to stop a function from returning a value if a condition evaluates to true. For example my function returns the sum of two integers. How can I stop it from returning anything if one of the integers is negative [CODE] Class C1 { ... public …

Software Development c c# c++
Member Avatar for c++_fem
0
234

The End.