132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jrosh

I want to implement an event similar to taggin a photo in wpf. Wht functionality should i use to mark a certain area of an image in order to tag it. thakx in advance. ps: i have tried <pres:RadTransitionControl.ContentTemplate> <HierarchicalDataTemplate> </HierarchicalDataTemplate> </pres:RadTransitionControl.ContentTemplate> and <Image></Image> but those dont support that fuctionality

Software Development c c# c++ image
Member Avatar for jrosh
0
185
Member Avatar for dkXIII

I wrote a selling ticket program for a concern into a text file name "Sales.txt" to show the TotalValue with the following format: 21 30 40 24 87 44 51 29 58 20 Totally, I have 10 values. However, my new assignment asks me to make a new program that …

Software Development c++ file-system
Member Avatar for Tommeh
0
271
Member Avatar for Reverend Jim

I have a form with a TableLayoutPanel with the following properties changed from default: Dock = Fill AutoSize = True AutoSizeMode = GrowAndShrink ColumnCount = 1 Margin.All = 0 one row set to AutoSize This is a stripped-to-the-basics version of part of my app. I want to generate a vertical, …

Software Development vb.net
Member Avatar for Reverend Jim
0
2K
Member Avatar for pennywise134

Hey everyone, I'm pretty unexperienced when it comes to SHELL scripting, and I'm having some issues with something. I'm trying to use a command that lists files within a directory with names that start with “t” or “f” and end with “3” or “2”. After that I will need to …

Software Development shell-scripting
Member Avatar for chris.stout
0
125
Member Avatar for Sabrachick

By background, I am a database person. I am trying really hard to wrap my head around C++ for a class I am taking. The following is an assignment that I just received. I don't want the answers but I would like if possible, to start a discussion. My class …

Software Development c++ visual-basic
Member Avatar for raptr_dflo
0
189
Member Avatar for DaAznSmurf

So my assignment is to design a simple GUI calculator using the stack data structure to perform additions, subtractions, multiplications and divisions. The calculator window should have at least two panels - one for display and the other for buttons (0 - 9, . , +, -, X, /, =, …

Software Development data-structure gui java java-swing
Member Avatar for NormR1
0
1K
Member Avatar for Anonymous123

I have an assignment to write a program in Java to implement the Natural Correspondence Algorithm for converting a linear list into a binary tree. The program should process its inputs in two steps: (a) It first builds a tree for a given input list (b) It then traverses the …

Software Development algorithm data-structure java
Member Avatar for Anonymous123
0
280
Member Avatar for Ninetie

Let's say we have the two strings FOOBAR and BFORAO. While not really equal as strings, they contain exactly the same characters and according to my needs, I can treat them as equal. And I will be calling them "equal" from now on to avoid typing again and again long …

Software Development c
Member Avatar for Ancient Dragon
0
4K
Member Avatar for crazyjdog

I am working on a random number guessing game for my class and so far I have not really been able to figure out where I am going wrong. As far as I can tell my syntax is correct, I think that maybe I am just missing something. Any help …

Software Development
Member Avatar for crazyjdog
0
164
Member Avatar for nuclear

Just wanted to know if we need to texture map the texture on the model with code or is it better to just import a model with textures already on him? (considering its even possible)

Software Development c++ gaming image
Member Avatar for mike_2000_17
0
199
Member Avatar for honeybee2090

hi guys few days ago i was trying to find some thing to learn and i found a code it leech proxies from web but method used is post method/ http webrequst .... problem is here want to do same thing with web browser here r the codes [ICODE]Dim request2 …

Software Development regex vb.net web-browser
Member Avatar for honeybee2090
0
117
Member Avatar for triumphost

case WM_MOUSEMOVE: if (wParam & MK_LBUTTON) { RECT WindowRect; POINT CursorPos; GetWindowRect(hwnd, &WindowRect); GetCursorPos(&CursorPos); SetWindowPos(hwnd, 0, WindowRect.left - CursorPos.x, WindowRect.top - CursorPos.y, 291, 157, 0); } break; Hey Guys The above code isn't working for me. I'm trying to have the user Drag my borderless window but the thing just …

Software Development c++
0
67
Member Avatar for cwpent

I'm doing a lesson that is supposed to demonstrate inheritance using the song Old MacDonald; there's an animal interface, a farm class that implements each animal object.. you get the idea. I've got two problems. First, The animal has a type and a sound, for example, a chick is [code] …

Software Development java oop
Member Avatar for joankim
0
1K
Member Avatar for stevo7624

I am new to Powershell and I am trying to get an understanding of it through borrowing script and making it work for my system. I have a script that I thought would take files from a target folder and zip them into a destination folder. It is creating zip …

Software Development assembly shell-scripting windows-api
Member Avatar for stevo7624
0
292
Member Avatar for sicko

Hi guys, I'm doing an application that works with an online mysql database. Here is a sample of my code: ~~~ Dim adapter As New MySqlDataAdapter("select * from my_table order by code", "server=my_server;User Id=me;password=password;Persist Security Info=True;database=database") Dim my_table = New DataTable adapter.fillj(my_table) ~~~ On the last line, the application freezes …

Software Development mysql vb.net
Member Avatar for Mitja Bonca
0
125
Member Avatar for pendo826

Hey i want to know how to make my single linked list a double can anyone help? #include "MyLinkedList.h" #include <iostream> int main() { SListNode<int>* list = new SListNode<int>; //Set 3 LinkedList nodes to contain 3 int variables. list->m_data = 10;//(1). list->m_next = new SListNode<int>; list->m_next->m_data = 20;//(2). list->m_next->m_next = …

Software Development c++ linked-list
Member Avatar for raptr_dflo
0
145
Member Avatar for dwlamb

New to bash, I am trying to change the names of dozens of files as I switch over to Linux. I need something that will work recursively from the root of a directory. In my research I found something like this that I have adapted: find /media/D_Drive/Music/ -name '*&*.*' -exec …

Software Development shell-scripting
Member Avatar for chris.stout
0
82
Member Avatar for chuyauchi

I have a text file contains a list of student and their grades. The format is: ` firstName + "\t" + lastName + "\t" + gpa;` Let's say if I want to make a selection to change 5th student's GPA, how can I code it? Console.Write("Please select a student: "); …

Software Development
Member Avatar for Mitja Bonca
0
149
Member Avatar for Karlwakim

Hello everybody, I need a way to practice the basics of c++ that i learned.I can use classes, objects, pointers and the very basics. What can i do to practice them in a useful way. I dont want to make a useless program. Please give me ideas and thanks !!

Software Development c++
Member Avatar for raptr_dflo
0
179
Member Avatar for mstashev

So I have an assignment where I am supposed to create an oop that will run on a provided Unix server. I have a Mac so when I run the makefile in Terminal, I don't get any errors. But when I try to run the makefile in the provided Unix …

Software Development c++ client-server unix
Member Avatar for mstashev
0
250
Member Avatar for nekoleon64

Let me try again my name is Leonard Norwood Jr. I'm doing my homework where I have to write a program that outputs the users's weight on different planets. Should sound familiar With classes, I need to have one default constuctor that will create an object representing earth. The class …

Software Development c++
Member Avatar for StuXYZ
0
2K
Member Avatar for Sahil89

Hi guys, does anybody know about render issue in WPF while using windows 7? I am facing render issues when I use effects like shadow or blur. Most controls do not appear or keeps blinking. Is there any solution to fix this problem?

Software Development asp.net vb.net
Member Avatar for Sahil89
0
118
Member Avatar for abhik1368

I have a file like this a csv file DB01967 ZIPA DB01967 PFAZ DB01992 YVBK DB01992 ZAP70 DB02191 ZIPA DB02319 YQHD DB02552 ZFPP I want to print a file of csv in the format like DB01967 ZIPA PFAZ DB01992 YVBK ZAP70 DB02191 ZIPA DB02319 YQHD DB02552 ZFPP i am totally …

Software Development python
Member Avatar for TrustyTony
0
133
Member Avatar for TheFearful

Hey everyone, I am working on this project and do not know where to start. Can anyone lead me in the right direction? I am very poor in this background and could use all the help I can get. So, any help would be very much appreciated. Here are the …

Software Development c++ linked-list xml
Member Avatar for histrungalot
0
245
Member Avatar for webstart

I have a list as alist = [[], [(u'0.77',)], [(u'0.34',)], [(u'0.12',)], [(u'0',)], [(u'0.0',)], [(u'0',)]] I'm trying to get it as like this [0.77, 0.34, 0.12, 0, 0.0, 0] using the statement rlist= map(lambda a: int(a), alist) but got an error as, TypeError: int() argument must be a string or a …

Software Development python
Member Avatar for vegaseat
0
6K
Member Avatar for tedtdu

Dear All I really realy could not find by searching.. Please give your attention for this one. 1st of all, i need to deal with multiple files, but NOT inputting file name each time. Two questions. 1) How to send more than one file to command line arguments. 2) Can …

Software Development c++
Member Avatar for WaltP
0
340
Member Avatar for qwerty__

Write a simple Mathematics quiz application which has six selections as below: 1) To register number of participants and name 2) To set level of difficulty (level: Beginner or Advanced) 3) To start the quiz (default: Beginner level) 4) To display the scores 5) To show ranking 6) To quit …

Software Development c++ mathematics
Member Avatar for WaltP
0
524
Member Avatar for Gazzmonkey

Hi, only posting here as a last resort since I cannot find anything at all online to help me with my project. Anyways, I'm developing an autonomous mobile robot with colour tracking using a khepera II as my robot and a CMUcam2 turret module as my onboard camera, I had …

Software Development c
Member Avatar for Gazzmonkey
0
194
Member Avatar for cisumma

Hello I have written a MVC2 : DAO program using an Apache derby embedded DB. Currently I have not been able to jar the program : runs in IDE. My question concerns running this program on multiple work stations of a local network. Will this be possible? Currently when I …

Software Development apache ide java
0
82
Member Avatar for jhedonghae

i have 2 combobox, one is for the start time and the other is for the end time. my problem is on how to set the time interval.. for example if user select 6:00am as start time and 6:00 am as end time it must prompt that is in invalid.. …

Software Development vb.net
Member Avatar for Sahil89
0
696
Member Avatar for windiggy

I need to figure out what is wrong with this program and correct it so it works. I have been screwing around with it for hours and still cannot figure out what is wrong. I know that I need to change the first line, but I have no idea how …

Software Development python
Member Avatar for woooee
0
373
Member Avatar for Freedom*

Hello guys, can you help me with this? i want to have a username and a password saved in the args arrow and then the user will give a username and a password. I want to compare the two usernames and the two passwords. How can i achieve that? Also, …

Software Development algorithm
Member Avatar for Mitja Bonca
0
79
Member Avatar for Doncripz

Hey guyz im beginner from java programming. Could anyone please help me fix my problem? I have this method ~~~ public void determineClassAverage() { Scanner input = new Scanner(System.in); int total; // sum of grade int gradeCounter; //number of grade to be entered NEXT int grade; // grade value int …

Software Development java
Member Avatar for Doncripz
0
5K
Member Avatar for MunkyCheez

Hi, I'm new to programming in Python, & I need help. I am trying to read from a text file, which contains: 1 4 5 3 1 0 2 4 18 5 2 0 0 9 I am suppose to implement a Simplex algorithm that can hopefully solve these numbers. …

Software Development algorithm python
Member Avatar for woooee
0
4K
Member Avatar for garu525

Hello, I'm working on an assignment right now and I need some feedback. My project is to implement a graph that uses an adjacency list like an Edge list. I'm fairly new with these and I would apprecite if anyone can see my code if I'm on the right track. …

Software Development c++ web-browser
Member Avatar for mrnutty
0
282
Member Avatar for wazzanee

hi all , i need help with a c++ program here is the qustion Question # Write a program that contains a function named "remove_duplicates" that takes an array of integers in random order, and then eliminates all the duplicate integers in the array. The function should take three arguments: …

Software Development c++
Member Avatar for wazzanee
0
138
Member Avatar for BryantFury

I have the following simple code. It consists of an array with 4 items. It first displays the items, then asks the user to delete as many as they want.(with an option to continue without deleting anything). After the user has removed or not removed items, the program will display …

Software Development c++
Member Avatar for BryantFury
0
275
Member Avatar for ttugates

Hi, I am writing a program that displays a 2D array of strings, (non jagged) onto a windows form using Visual Studio 2010 and C#. For example: string[,] fds = new string[,] {{"ant", "aunt"}}; I attempted using the dataGridView controll, dataGridView1.DataSource = fds; but, get the length of the value, …

Software Development visual-studio
0
93
Member Avatar for Asotop

Hello ! I'm currently working on a school project where at one place in the project I'm suppost to make a program, which converts a binary ip adress to decimal. The input format is either: 11111111 11110000 00000000 01111111 or 11111111111100000000000001111111 My main program, works as follow: string iPAddress = …

Software Development regex
Member Avatar for Mitja Bonca
0
146
Member Avatar for amuldev

using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace test1 { class Program { static void Main(string[] args) { char ch = (char)System.Console.Read(); Console.WriteLine(ch); Console.Read(); } } } I usually use "Console.Read()" to pause the output screen. But i doesn't work when in a program already involving "Console.Read()". What's the …

Software Development
Member Avatar for amuldev
0
95
Member Avatar for mehnihma

I need to pass buffer object which has generated values to construcor of reading class to print real time generated numbers. Which is the best way to do it? When I pass generated value I get the number but I need to pass values that are beeinig generated and writed …

Software Development java
Member Avatar for mehnihma
0
141
Member Avatar for Vasthor

[Link Anchor Text](http://s7.postimage.org/wdzzqzst7/weird_error.png) I click yes, thought so, this never popup when I'm compile any file before. [Link Anchor Text](http://s14.postimage.org/6bhslq23l/weird_error2.png) can anyone explain what I'm doing wrong here, I mean, I just copied all the code given in the book (Accelerated C++), then try to compile, but fail. help? =(.

Software Development c++
Member Avatar for Vasthor
0
227
Member Avatar for BryantFury

Hi ive made a program where it displays 10 products from a website. The customer then chooses a certain amount of those products. When the customer is finished choosing, the program will display all products the customer has chosen. Here is the full program. it works. #include <iostream> #include <fstream> …

Software Development c++
Member Avatar for BryantFury
0
585
Member Avatar for dburris

Hello, I am attempting to enter two numbers via console in my test class and call a method in my main class to add the numbers and display the answer. Java doesn't like the Calculator.Calcuate(); code. It gives me an error of "cannot make a static reference to the non …

Software Development java
Member Avatar for NormR1
0
172
Member Avatar for bhagawatshinde

Hi Guys, I have created windows application project in framework 3.5, vs2008 with Access database when i changed target platform to x64 it will give me an error like 'The microsoft.jet.oledb.4.0 provider is not registered on the local machine'. How to solve this thread Thanks in advance.

Software Development c# microsoft-access
Member Avatar for bhagawatshinde
0
119
Member Avatar for Hitman Mania

Hey, I have this simple lab that I'm working on, but I keep getting an error while compiling. Here's the question: **Write a program called lab09.c that -prompts the user for a character and then a string. -REMOVES all occurrences of that character from the string, and -prints the changed …

Software Development c
Member Avatar for jayarajtk
0
266
Member Avatar for hwoarang69

never help with pointer and functions. i want to creat a function what check if "char *test" is inside "char array[1]" int main() { char array[1] = {"one", "two"}; char *test = "one"; check(test, array); } void check(char test, char array[]) { int i; for(i = 0; i <= 1; …

Software Development c
Member Avatar for jayarajtk
0
121
Member Avatar for Sonia kh

I have mentioned the code for checker board made on visual studio .I dont know whats the problem with this code .. it just draw only one row of checker board on the drawing window :( help me [code] //#include <windows.h> // use as needed for your system //#include <gl/Gl.h> …

Software Development c++ ios visual-studio
Member Avatar for raptr_dflo
0
472
Member Avatar for dwiniers

Hello there guys! I need your vb6 expertise. I have a feature of my program with the quantity. What i want is i need a warning message if the quantity is lesser than the minimum quantity for example the minimum of 5 quantity. In my code it will reach to …

Software Development visual-basic
Member Avatar for QVeen72
0
149
Member Avatar for kris222

heres what i ve done ~~~ vb Private Sub cmdtimein_Click() If txtempno.Text = "" Then MsgBox "Please Input employee number!", vbExclamation + vbOKOnly, "Employee Record" Exit Sub Adotime.Recordset.MoveNext Else Adotime.Recordset.AddNew Adotime.Recordset.Fields("employeeno").Value = txtempno.Text Adotime.Recordset.Fields("timein").Value = Time Adotime.Recordset.Fields("timeout").Value = Time Adotime.Recordset.Fields("date").Value = Date Adotime.Recordset.Update MsgBox "You are time in!", vbInformation + …

Software Development visual-basic
Member Avatar for QVeen72
0
505

The End.