43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for nihar.budumuru

i need some project topics in image processing and image compression to do my final projects send me some list plaese....

Software Development java
Member Avatar for masijade
0
100
Member Avatar for Kingcoder210

I want to set resolution automatically when my program will run. I want to make it (resolution) 1280*1024. What should I write there in my vb.net program to set resolution when my program will run? When user will stop using my program it will get default resolution. Thats all. Please …

Software Development vb.net
Member Avatar for Oxiegen
0
133
Member Avatar for bpatt22

How would you modify this gui code to designate only certain spots on your canvas to drop your image? Like when your playing solitaire and the game only allows you to drop your card in a certain spot. [URL="http://www.daniweb.com/forums/post1111987.html#post1111987"]http://www.daniweb.com/forums/post1111987.html#post1111987[/URL]

Software Development gui image python
Member Avatar for bpatt22
0
649
Member Avatar for KhairilSyahrin

Anyone know how to implement a timer code? What do i have to do in order to implement a timer? And the timer is one minute and then the vb program continues. thank you so much.

Software Development visual-basic
Member Avatar for KhairilSyahrin
0
146
Member Avatar for ultimatebuster

Is there a way to accomplish the following in python? [CODE=javascript] try{ // something } catch (e) { // display e.message, e.name, e.linenumber } [/CODE]

Software Development python
Member Avatar for Gribouillis
0
213
Member Avatar for flyingguitar

Hey Guys, I'm having some trouble compiling my code. it says that there's an error in one of apple's header files. /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.3.sdk/usr/include/arm/_types.h:13: error: expected constructor, destructor, or type conversion before ‘typedef’ nvm, solved

Software Development apple c++
Member Avatar for flyingguitar
0
113
Member Avatar for Rickay

I am trying to get the following code to take in either a number or an integer, determine whether what the user inputted is an integer or a letter, and then print a random digit if it is an integer, or a random letter if it is a letter. [CODE]#include …

Software Development c++
Member Avatar for jonsca
0
239
Member Avatar for andrewtrench

Hi, First off, I'm a real greenhorn so please forgive me asking questions which may be bleeding obvious, but I have searched and searched and cannot find an answer to my problem. I'm trying to import a CSV file into sqlite3 database in python. The CSV file has 56 columns …

Software Development python sqlite
Member Avatar for TrustyTony
0
582
Member Avatar for bpatt22

What approach should I use to return all dict keys that have the maximum value. The code below outputs 1, but I would like for it to return 1, 2. [CODE]import operator d1 = dict() d1[0] = 1 d1[1] = 2 d1[2] = 2 maxValue = max(d1.iteritems(), key=operator.itemgetter(1))[0] [/CODE]

Software Development python
Member Avatar for TrustyTony
0
8K
Member Avatar for vivri

Hi, I've looked all over the web for several days and seem to find no answer to this issue. I would appreciate any leads. Thanks in advance for your time! I need to find the underlying disk capacity (total size) of an unmapped network share in windows (Win7, XP, Server …

Software Development c# hard-drive microsoft
Member Avatar for vivri
0
220
Member Avatar for shaynerossum

Thank you for reading my thread. I am experiencing an issue using struct tm and I can't figure out what I am doing wrong. I have looked at several examples and read up on the structure, but to me it all looks right. I would appreciate some fresh eyes on …

Software Development c++
Member Avatar for shaynerossum
0
431
Member Avatar for bettersaid

im a newbie to python, still learning as of today. as a part of my 'self-training' i listed some topics to practice every week but i was not able to run it successfully and im stuck. what i wanted with my activity is for it to read a .txt file …

Member Avatar for woooee
0
180
Member Avatar for Jamesbch

Hello everyone, I'm working on a program that reads a PNG and extracts a custom chunk from it (using libpng). But now I've got problems to actually register my callback function to handle unknown chunks. According to the official documentation I have to declare which chunk is "unknown" (by their …

Software Development c image
Member Avatar for Jamesbch
0
812
Member Avatar for Kanoisa

Hi all, Im working on the design of a function at the moment and im not sure if the if statement i want to do is safe. Ill start with the data structures i have as this is where the problem could come from. (simplified with relevent bits only) [code] …

Software Development c++
Member Avatar for Kanoisa
0
118
Member Avatar for Rickay

For a program I am working on, I need a way to use an if function for a variable, if the variable is within a certain range of numbers. i.e. [CODE]if(x == 1-5) // meaning if x is from 1 to 5 //do something... if(x == 6-10) // i.e. if …

Software Development c++
Member Avatar for jonsca
0
135
Member Avatar for AngelicOne

I've tried reading through [B]datareader[/B] from the database. Tried dataadapter, reading from dataset and datatable. All of them generates an error when reading empty rows. Yes, I have used try and catch statements but the error still generated, that is transforming only in a messagebox. What I want is to …

Software Development dataset
Member Avatar for Lusiphur
0
315
Member Avatar for Mattisc

Hello, I have created a timer for my Winforms to tick down from 300 to 0 and then refresh my form. I have used this.refresh when it hits 0 but it doesn't seem to do anything as the label is still the same when it has completed it's timer function. …

Software Development
Member Avatar for Mattisc
0
208
Member Avatar for G_S

Hi, a simple question: how do I enable deleting inside a python program? I have a python program that asks for user input, users write some words and then press enter. The problem is they can't use backspace or supr to delete anything, instead, the program prints ^? each time …

Software Development python
Member Avatar for G_S
0
205
Member Avatar for Oxiegen

Hello. I'm having a bit of difficulty implementing Drag and Drop. The scenario is this. I have a project with an MDI child where I want to drop documents from Windows Explorer. The code is all in place (this is just for debugging purposes) and I have set AllowDrop to …

Software Development vb.net visual-studio
Member Avatar for Oxiegen
0
216
Member Avatar for kishore sy

how to read 25 digit number in java???? i want to write a porgram to perform addditon and substraction between 25 digit numbers

Software Development java
Member Avatar for kishore sy
0
557
Member Avatar for selle05

In MDIParent, in my formload in MDIParent, one form is load. And i want the form when i click a button, there is another form will be loaded INSIDE the MDIParent? how is that? Can somebody teach me the code? Thank You!

Software Development vb.net
Member Avatar for selle05
0
102
Member Avatar for Mattisc

I am trying to move Txt files from one folder to another but I keep getting an error message stating "illegal characters in path". I think it's because of the * in the file name but how do i change it to except it? string sourceFile = @"C:\\new1\*.txt"; string destinationFile …

Software Development file-system
Member Avatar for swagerr
0
1K
Member Avatar for Mattisc

I am trying to move Txt files from one folder to another but I keep getting an error message stating "illegal characters in path". I think it's because of the * in the file name but how do i change it to except it? string sourceFile = @"C:\\new1\*.txt"; string destinationFile …

Software Development
Member Avatar for Geekitygeek
0
83
Member Avatar for lolwtf

We want to use a licensing system for our new software, so we know that our customers are using the same amount of apps that they paid for. The general idea is to get their processor ID and HDD serial number and combine them to make our license string. I …

Software Development encryption vb.net
Member Avatar for ghimangi
0
360
Member Avatar for JohnDove

Part of the app I am writing allows users to create an encrypted, password-protected output file that they can email safely to a central store. I can't have the users choose their own password for the encryption as the central store needs to access the contents of all the output …

Software Development app-store encryption vb.net
Member Avatar for ghimangi
0
147
Member Avatar for benhowdle89

Hi, I'm developing a data logging application using VB for the actual logging to a MySQL database. I'm reading a value from a device and then running an insert query every minute. This is great but if the value doesnt change all day then my records are going to all …

Software Development vb.net
Member Avatar for benhowdle89
0
191
Member Avatar for Hardz

I have 3 computers connected to each other, pc1 is the server while pc2 and pc3 are clients. I created a windows application using c# and MS sql server as database at pc2 where in the sql server was installed, anyway, i didn't installed sql at pc1 server coz of …

Software Development client-server sql
Member Avatar for Hardz
0
175
Member Avatar for Kingcoder210

I can use following codes to change resolution but problem is that when I run my program it changes resolution(1280*1024) & show form which doesnt fit the screen though its width is 1280 & height is 1024. But when I close that program & run it again then it works …

Software Development vb.net
Member Avatar for Oxiegen
0
308
Member Avatar for ashwiniku

i wanaa compare 2 array list and find the uncommon data in 3rd arry list i have written below code ArrayList db2Crns=new ArrayList(); ArrayList oracleCrns=new ArrayList(); ArrayList leftOverCrns=new ArrayList(); db2Crns=testDB2Connect.getDb2LoggedInCrns(); oracleCrns=testOracleConnection.getDataFromPartyAuditInfo(); int array1Size = db2Crns.size(); int array2Size = oracleCrns.size(); System.out.println(db2Crns.size()); System.out.println(oracleCrns.size()); for(int i=0;i<oracleCrns.size();i++) { String val=oracleCrns.get(i).toString(); int k=0; for(int j=0;j<db2Crns.size();j++) …

Software Development java
Member Avatar for masijade
0
112
Member Avatar for Nivass

Hi, Have resize the image to fit the picture box (for other purpose). now i tried to zoom in the image and i succeed on it. but my problem is when i zoom the image the image get zoomed and image moves toward right. How can zoom the image without …

Software Development image
Member Avatar for nick.crane
0
245
Member Avatar for zack_falcon

I'm a newbie C# programmer, and I would like to ask for help on this error. I was trying to get a button to change its image when it is clicked, a task that sounds so simple, I know, but whenever I run the program and click said button, it …

Software Development c c# c++ image visual-studio
Member Avatar for Geekitygeek
0
211
Member Avatar for potato4610

Using nested for loops, how do I write a program that asks the user to input an integral number and then displays a diagonal line with that many dots on the console screen starting in the column? An input of 4 would display four diagonal periods, while an input of …

Software Development c
Member Avatar for Liyaan
0
97
Member Avatar for PM312

hi I am trying to add numeric text with [B]thousand seperater format [/B]in three textboxes. Problem is amount after thousand seperate get ignored i.e if text1.text is 1,250.00 text2.text is 3,500.00 and text3.text is 2,100.00 the result in text4.text is 6.00 instead of 6,850.00 Text4.Text = Text1.Text + Text2.Text + …

Software Development visual-basic
Member Avatar for AndreRet
0
205
Member Avatar for jellybeannn

I've got a DropDown which I populate from a database. When an item is selected I want to redirect to another page with the selected id, but the problem is it passes "1" no matter what was selected. [code] protected void Page_Load(object sender, EventArgs e) { Populate(); } public void …

Software Development open-source
Member Avatar for jellybeannn
0
113
Member Avatar for djenoe

i know i need to post properly using (code) (block codes),, this is my understanding of that rule if i'm wrong pls teach me, i will abide. thank you I have been trying to get this code right for 4 days, i am losing hope. i know you'll understand me. …

Software Development java
Member Avatar for djenoe
0
113
Member Avatar for djenoe

this is my whole code hi NOrmR1 would you give me a hand mate please [CODE] import java.util.*; class Property { private String ID; private String description; private String location; private double weeklyRR; private char status ; private boolean visibility; public Property (String pID, String pDesc, String pLOc, double weeklyR …

Software Development java
Member Avatar for djenoe
0
104
Member Avatar for selle05

How to read per row in a table in mySQL as the database? i want each username when they login, they will go to their respective forms. Like for example, there are 3 users and each user have their different forms. can someone help me with this... thank you! This …

Software Development mysql vb.net
Member Avatar for Teme64
0
81
Member Avatar for ChroNoS

I am using the following function to convert ascii to hex, but it is not working properly. [CODE]Private Function HexString(EvalString As String) As String Dim intStrLen As Integer Dim intLoop As Integer Dim strHex As String EvalString = Trim(EvalString) intStrLen = Len(EvalString) For intLoop = 1 To intStrLen strHex = …

Software Development visual-basic
Member Avatar for Teme64
0
5K
Member Avatar for KhairilSyahrin

Hi, I'm a student from Malaysia and I am trying to do a program where the program will run and then when it reaches a certain part, it will show a message and pauses the program until the user clicks done/continue/yes button at the message. Flow: Programme running-->Message-->"Please close all …

Software Development visual-basic
Member Avatar for KhairilSyahrin
0
266
Member Avatar for Mrinny

Hi people, This is my first post here. It really is a nice community, especially for people who are not "qualified" programmers with the "attitude". I am a programmer by hobby and did not like being in any community previously. There are some really nasty folk. Great job guys! This …

Software Development vb.net
Member Avatar for Mrinny
0
707
Member Avatar for gunbuster363

I want to crawl my gf's xanga's post into my computer for better reading but it require me to login before viewing the post I am wondering ,can python crawl this password protected webpage? I already have the id and password, because that is my id. the login webpage, for …

Software Development python
Member Avatar for gunbuster363
0
682
Member Avatar for AngelicOne

I'm almost finish with my project that was made in visual studio 2008 using C#, so i want to ask this ahead of time. I want the project to be an executable file, this is my first time so how could I do it? One more thing, my form has …

Software Development visual-studio
Member Avatar for Lusiphur
0
322
Member Avatar for thilangane

Hi, I am working on a project and when I run my code, I get a segfault. I checked it with valgrind, and it says that I am trying to access a memory location that I maybe not malloc'd, stack'd or recently free'd. The only 'mysterious' thing I'm doing is, …

Software Development c++
Member Avatar for thilangane
0
234
Member Avatar for kdmuk10

Here is my code, i am getting the following error message. How do i handle it? [code]package simp; import java.io.*; public class fCase { public static void main(String [] args) throws IOException { BufferedReader readObject = new BufferedReader(new InputStreamReader(System.in)); System.out.println("Enter your expressions here"); String userEntry = readObject.readLine(); String [] toki …

Software Development java
Member Avatar for kdmuk10
0
1K
Member Avatar for blueman:-0

i have alot of forms , when i press in button that's open the other form in new one how i can make it open in the same form & not open it in new one

Software Development java
Member Avatar for WargRider
0
167
Member Avatar for AngelicOne
Member Avatar for AngelicOne
0
172
Member Avatar for job2

So, I have this code snippet where I read a text from a TXT-file: [code] file = open('test.txt', 'r') content = file.readlines() file.close() print(content) [/code] The printout: [code] ['My name is x.\n', 'I am 45 years old.\n', '\n', 'My girlfriends name is y.\n', 'She is way too old for me.\n', …

Software Development python
Member Avatar for TrustyTony
0
140
Member Avatar for Hektzu

My c++ code [CODE=c] string map = "111111111111111111111111111" for (int i = 0; i < 20; i++) { int number = atoi(map[i]); } [/CODE] Gave me error: cannot convert parameter 1 from 'char' to 'const char *' Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style …

Software Development c++
Member Avatar for Hektzu
0
217
Member Avatar for trippinz

I use Visual Studio and when I go on Properties->Settings, I cannot seem to find the setting thingy for background image. I do not like .XML files for user settings so I use settings instead. I want to change the background image of a menustrip and then when the application …

Software Development c# image visual-studio xml
Member Avatar for trippinz
0
266
Member Avatar for CanYouHandstand

Hi All I'm using SetWindowsHookEx to hook the keyboard. The connection is made and I am able to trap key presses. I'm also trying to call GetKeyboardState to obtain the state of the other keys at the time of the key press (to identify if shift, ctrl etc is pressed). …

Software Development c++ operating-system qt queue
Member Avatar for CanYouHandstand
0
670

The End.