43,549 Solved Topics
Remove Filter ![]() | |
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 | |
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++ | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
[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++ | |
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++ | |
[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 | |
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++ | |
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 | |
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 | |
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++ | |
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++ | |
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 | |
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 | |
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++ | |
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 | |
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++ | |
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! | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 … | |
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 | |
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++ … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
[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 … | |
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 | |
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++ | |
[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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … |
The End.