43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for jagruthi

Hi friends Plz help Me this is fist time that i sending the post if any mistake plz live it I send My form with manage attachment with the name of untitle my qurey was how to add column to datagrid which we select the item in dropdownlist([B]example[/B] in dropdown …

Software Development vb.net
0
58
Member Avatar for HelloFromHell

Hi, I've recently started learning C++ using 'C++ Demystified' and I'm trying to make this function work. I've done the pointers chapter and I saw a little function that uses <cctype>, and I'm trying to get it to work. Heres the code: [CODE=c++]#include <iostream> #include <cctype> using namespace std; bool …

Software Development c++
Member Avatar for HelloFromHell
0
112
Member Avatar for boni_go

Hello, I have some problem with os exception. In the traceback info I get only the errno without the description. for examplem when I write: [code=python] import os; os.listdir("no-exists-dir-name"); [/code] I get the exception: [code=python] Traceback (most recent call last): File "<interactive input>", line 1, in <module> WindowsError: [Error 3] …

Software Development python
Member Avatar for SteveWhite
0
453
Member Avatar for freddiecool

Hi can anyone help me i get an illegal start of expression public static void main everytime i try to compile.My code is below. Thanks... public static void main (String []args){ PrylDialog pd=new PrylDialog(); System.out.println("Welcome!!!!! "); int option=0; do{ option=pd.kommando(); switch(option){ case 1:pd.skapaPerson(); break; case 2: pd.skapaPryl(); break; case 3: …

Software Development java
Member Avatar for freddiecool
0
235
Member Avatar for altzaportu
Member Avatar for Duoas
0
163
Member Avatar for laspal

Hi I wanted to know how can I delete class object inside list. class Record: def __init__(self): self.list = [] def add(self): fname = raw_input("First Name:> ") lname = raw_input("Last Name:> ") street = raw_input("Street:> ") self.list.append( Person( fname, lname, street)) Now I have added my Person object into the …

Software Development python
Member Avatar for katharnakh
0
4K
Member Avatar for PL.P27

Hi everybody. First of all happy new year to all. Secondly, I am 3 months into learning Java and GUI and I am having some trouble with comparing strings. I am doing hangman and I have a text field set up for when the player wants to guess the entire …

Software Development gui java
Member Avatar for rajatC
0
97
Member Avatar for Cyb3rAssasin

I cant get sleep(5) to work is there a special include i have to load?

Software Development c++
Member Avatar for Duoas
0
93
Member Avatar for guitarrick

Hello everyone. Happy New Year. I've been going over last semester's book and have found that I've already allowed the basics to run away! We ended with classes, so I've gone back to just doing exercises with basic functions and I keep getting a linker on this one.: Takes input …

Software Development c++
Member Avatar for guitarrick
0
82
Member Avatar for Phaelax

Any direction someone could point me in for auto-sizing only the last (right-most) column in a jtable? I want the user to be able to set the size of columns and be allowed to set them beyond the scrollable viewing area, but if the viewing area is wider than the …

Software Development java
Member Avatar for Phaelax
0
1K
Member Avatar for obscured47

Hi again, Is it possible when throwing a custom exception to pause the program instead of just exiting? I have a throw customexception("error msg") in my main and I want to print the error msg and then press return to exit or something like that. Thanks

Software Development c++
Member Avatar for obscured47
0
155
Member Avatar for arasten

Hi there, i want to make a program that has a label and i want that label to move from right to left and do it again and again by using timer if its possible, for example: i want it like an electric commercials in some shops or posters...the text …

Software Development visual-basic
Member Avatar for AndreRet
0
1K
Member Avatar for Karkaroff

in the following code, getch() is executed before the file is displayed.! whats wrong? how can i correct this? [CODE='c++'] void ReadFile() { char fname[13],ch; cout<<"Enter filename : "; cin>>fname; strcat(fname,".mth"); temp.open(fname,ios::in|ios::nocreate); if(!temp) { cout<<"File does not exist!!!"; getch(); return; } temp.get(ch); while(!temp.eof()) { cout.put(ch); temp.get(ch); } temp.close(); getch(); } …

Software Development c++ ios
Member Avatar for Karkaroff
0
311
Member Avatar for javaAddict

Does anyone know where can I find how to calculate how many days February has for a given year?

Software Development java
Member Avatar for javaAddict
0
294
Member Avatar for thetechguy

I am somewhat new to the c++, so you've been warned. Yesterday I decided I wanted to create a program that displayed a Go board and allowed you make moves. Fairly simple task, didn't take me that long but, I feel that the code could be a lot shorter and …

Software Development c++
Member Avatar for thetechguy
0
734
Member Avatar for toolmanx

Running AMD XP SP1 - Bitmap can be any bitmap with a bitcount of 24. Compiling with Borland using .cpp extentions. I'm still having trouble getting CreateDIBitmap to work for me. The hex bits from my bitmap are saved in memory. I can see them. I've read that Windows just …

Software Development c++
Member Avatar for toolmanx
0
542
Member Avatar for xeption12

Can anyone please help me with an answer? I have Intel Core 2 Quad Q6600 2.4 Ghz processor and i've downloaded PC Wizard 2008 to see information about computer (especially for CPU usage and temperatures). The problem is (it isnt actually a problem ... ) why when using Borland C++ …

Software Development c++
Member Avatar for xeption12
0
152
Member Avatar for ruudboy

Im using: [CODE]OpenFileDialog1.Title = "Select your image" OpenFileDialog1.InitialDirectory = "C:" If OpenFileDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then PictureBox1.Image = New System.Drawing.Bitmap(OpenFileDialog1.FileName) End If[/CODE] for browsing an image but i want to create a filetype so i have to use OpenFileDialog1.Filter but it wont work. I've used: [CODE]OpenFileDialog1.Filter = "Foto's (*.jpg,*.bmp,*.jpeg,*.png,*.wmf,*.gif)|*.jpg|*.bmp|*.jpeg|*.png|*.wmf|*.gif"[/CODE] How can …

Software Development image vb.net
Member Avatar for ruudboy
0
90
Member Avatar for Qpido

[URL="http://img442.imageshack.us/img442/3852/programjy5.jpg"]My Program[/URL] The link above leads to a picture of the program I made. This program makes the price show up out of an Excel file for transportation costs. With the help of some on this forum I have gotten this far with the program, and I'm very grateful for …

Software Development queue visual-basic
Member Avatar for Qpido
0
201
Member Avatar for Gardibald

Firstly to tell that im glad to find your site. Thanks i've starting a new program and i need to backup my tables. so i tried the command [CODE]copyfile[/CODE] and [CODE]send to[/CODE] but it doesent work. so please help me. i need to save my db tables to another location …

Software Development pascal
Member Avatar for Gardibald
0
110
Member Avatar for crunchycoder

im adding lines to a richedit control and after a while it starts to overwrite text i create the window like this in the main window proc WM_CREATE [code] HINSTANCE RichEditLibHinstance = LoadLibrary("Riched32.dll"); HWND RichEdithWnd = CreateWindowEx(WS_EX_CLIENTEDGE, "RichEdit", "", WS_CHILDWINDOW | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_HSCROLL | WS_VSCROLL …

Software Development c++
Member Avatar for Duoas
0
176
Member Avatar for Dha_King

Hello everybody, this is a sad story really, 3 days ago my code worked fine now it don't. I get this error "XML Parsing Error: junk after document element Location: [url]http://localhost:1218/projektCsharp/Default.aspx[/url] Line Number 11, Column 1:" If i try to remove or mark out "<?xml version="1.0" encoding="utf-8" ?> <guestbook xmlns="http://me.com/guest.xml" …

Software Development xml
Member Avatar for Dha_King
0
934
Member Avatar for kartik07

I know how to pass a single text from one form to another form 1- declare a public variable in the general part of the form like this [B]public varaiableName as String[/B] 2- in the [B]form_load()[/B] write [B]variableName=text1.text[/B] 3- you can access this variable from any other form using the …

Software Development visual-basic
Member Avatar for choudhuryshouvi
0
142
Member Avatar for emilio

hi i'm trying to write program to create a mirror print of a binary tree the code is : [CODE]typedef struct Node { int info ; struct Node *left , *right ; } Node ; void swapNode ( Node *n1 , Node *n2 ) { Node *tmp = NULL ; …

Software Development c
Member Avatar for emilio
0
96
Member Avatar for gjain81

Hi I want code to find out the crc32 checksum of a string in c# that should follow the zip algorithim of this crc32 methodology. Could not find any freakin code out there using google :( Can any one help?

Software Development
Member Avatar for gjain81
0
153
Member Avatar for eranga262154

Hi all, I've create a window as follows, [CODE=cplusplus] void CRtf::Initialize(void) { HWND m_hwnd_RTFBox = CreateWindowEx( WS_EX_APPWINDOW, RICHEDIT_CLASS, "RichTextWindow", WS_BORDER|ES_MULTILINE, 0, 0, 100, 100, ::GetConsoleWindow(), NULL, 0, NULL); } [/CODE] After doing all the process, I've destroyed the window as well. My question is this. I use the above handler …

Software Development c++
Member Avatar for eranga262154
0
105
Member Avatar for GRaymer

Just wondering if anyone has experience with wxPython. I've been looking for info about the spinButton I want to increment it at 5's or 10's just wondering if anyone has some quit hints or info. Thanks

Software Development python
Member Avatar for vegaseat
0
84
Member Avatar for guy40az

I am a new to linux and the gcc system I was just wondering if someone could answer a couple of questions about the including hearder files like the math.h file. I was making a simple program and using some math trig functions. I keep getting the error cosf undefined …

Software Development c++
Member Avatar for Salem
0
176
Member Avatar for Karkaroff

Please help me in self documenting the program below. All you have to do is, take a quick glance at the following code to see if you can understand what each part is doing. If you have any difficulty in understanding(at a quick glance that is!), please tell me, so …

Software Development c++ ios queue
Member Avatar for Karkaroff
0
251
Member Avatar for kv79

HI, can anyone write me some about decompile for C/C++.Is it possible to decompile ( .exe).

Software Development c
Member Avatar for Jishnu
0
81
Member Avatar for atrusmre

How would I replace the text in a file with c#. I can write to the file, but if I write to the file a second time it appends the new data to the old rather than replace it. Here is a copy of what I'm using [code] fsFile = …

Software Development
Member Avatar for DenisOxon
0
156
Member Avatar for sivaslieko++

I am writing a Queue class implementation, and my Queue holds a object called Flight. I tried to create this object by struct. Some part of my code is here: [code=c] #include <stdio.h> #include <stdlib.h> typedef struct { int C_TIME; int D_TIME; char FL_NUM; char D_CITY; }Flight; #define MAXSIZE 5 …

Software Development c queue
Member Avatar for Duoas
0
190
Member Avatar for Byron P

I posted a question last week: "Detect Data change in datagrid". I may be so green at VB.net that I may not have even asked my question correctly and plain enough that someone could propose a solution, so here goes again: I am creating a Windows Form and I need …

Software Development vb.net
Member Avatar for Byron P
0
110
Member Avatar for bobei89

Please help me... after the execution of the program. It write the new information to it. However, the .txt file do not display the new information properly. (The index number stick with the name...). It is a half work program. Please help me solve this problem or else i cannot …

Software Development c display file-system perl
Member Avatar for bobei89
0
680
Member Avatar for bis student

hello ,Im a new member and Im not very good in english , so please excuse me , I have question : write a C++ program that declares an array alpha of 50 component of type double . Initialize the array so that the first 25 components are equal to …

Software Development c++
Member Avatar for invisal
0
4K
Member Avatar for silent_letter

I am a new learner of C and I tried to write a program about searching a keywrod from a .txt file and counting the number of time that the keyword repeats My program is below...it can't work...and I can't understand why.... can someone please help me...T_T Thank you [CODE]#include<stdio.h> …

Software Development c
Member Avatar for silent_letter
0
164
Member Avatar for nljavaingineur

Hi everyone, Found a code listing from [url]www.yamaza.com/java/Calc.java[/url] that helps me understand a better way of programming a calculator. Trying to understand this code. Can anyone tell me what does the boolean isFixReg() below mean? Thanks in advance. [code=java] //******************************* // Java script of Calculator // << Calc.java >> //=============================== …

Software Development java
Member Avatar for Jishnu
0
262
Member Avatar for sneekula

I want to make a small Molecular Weight calculator. If the user for instance enters the molecular formula for dichloro-benzoic acid as "C6H3Cl2COOH", I would like to split it into a list like ['C6', 'H3', 'Cl2', 'C', 'O', 'O', 'H'] so I can then combine all the carbons, chlorines, oxygens …

Software Development python
Member Avatar for sneekula
0
118
Member Avatar for ceyesuma

Is the a prescribed architecture for making individual components and then putting them together to make a complex component containing its individual components?

Software Development java
Member Avatar for Great_qiang
0
134
Member Avatar for hawisme000

ummm, i got a for that is connected to a database, and have an add, edit, delete cmd buttons. if example i have "MyName" already on a certain field of a table on a database, then on my form i wanna add "MyName" also, what i want is there will …

Software Development visual-basic
Member Avatar for hawisme000
0
134
Member Avatar for kartik07

I have been asked to buid a VB code which is flexible.Wen i take project from one place to another,i need not change path in all forms.If i change in one place,then it gets reflected in all other forms. ex:In com1,I hav path=e:\proj\a1.MDB which I use in al the forms; …

Software Development visual-basic
Member Avatar for kartik07
0
149
Member Avatar for tgifgemini

[B][/B] [B]Ladies and gentlemen, first I want to wish each and every one of you a wonderful and prosperous new year.[/B] This is not really a problem. I am looking for an efficient and quick way to copy table content from one database to identical tables in another identical database. …

Software Development visual-basic
Member Avatar for hkdani
0
1K
Member Avatar for zoner7

[CODE=C++] #include <iostream.h> int main() { enum Days { Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Â_Saturday }; Days DayOff; int x; cout << "What day would you like off (0-6)? "; cin >> x; DayOff = Days(x); if (DayOff == Sunday || DayOff == Saturday) cout << "\nYou're already off …

Software Development c++
Member Avatar for Lerner
0
89
Member Avatar for maslak

I am a novice. I want to replace a content with a variable How do I do that ? Thanks

Software Development python
Member Avatar for sneekula
0
136
Member Avatar for laspal

Hi I am new to python. So i am having problem while coding. Here the code import sys class Person: def __init__(self): self.list = [] def AddContact(self): fname = raw_input("First Name:> ") lname = raw_input("Last Name:> ") street = raw_input("Street:> ") self.list = [ fname, lname, street] def ListAll(self): print …

Software Development python
Member Avatar for sneekula
0
102
Member Avatar for HB25

Hi I am working on a payroll program which have 3 forms. First form has three text box (First name, Surname, Total Hour) and one command button Calculate. After the user put the info he/she will click calculate button and this will show the second form which display the (firstname, …

Software Development visual-basic
Member Avatar for hkdani
0
646
Member Avatar for drkprgrmer

i have this small program that im using to test some things. i have a visual c++ at school but its like 5 years old or whatever and i got visuall c++ 2008 expess at home and i need to know how to get this program to get the vector …

Software Development c++
Member Avatar for drkprgrmer
0
102
Member Avatar for TheBeast32

Hi again, i'm making a macro building pogram. I have got mouse movement down, but now i have no idea how to do mouse clicks or keyboard input. Please help! I'm also using dev-c++ 4.9.9.2. Here's my complete code for the program. [code=c++] POINT MousePoint; int X = 0; int …

Software Development c++ ios
Member Avatar for iamthwee
0
190
Member Avatar for Quakes

Hello there, I'm very new to C++ and I'm mainly using it for graphics using the opengl libraries. Anyway, I'm having trouble with some initialisation. I am writing a file reader class that will read a file containing vertex and face data for a series of polygons. Data.h [CODE]#ifndef _DATA_H_ …

Software Development c++ file-stream opengl
Member Avatar for Quakes
0
131
Member Avatar for corneliu9d

Hello! I'm newly registered, but I have taken a look here before. More precisely, [URL="http://www.daniweb.com/forums/thread73544.html"]here[/URL], a thread which helped me a lot, as I were a total beginner in working with MIDI. My problem is that, though I don't get any errors, I don't hear any sound. The funny thing …

Software Development c
Member Avatar for corneliu9d
0
173

The End.