43,549 Solved Topics
Remove Filter ![]() | |
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 | |
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++ | |
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 | |
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 | |
Hi I want to read a pascal file a find a certain word in that file. Thanks Software Development pascal | |
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 | |
I cant get sleep(5) to work is there a special include i have to load? Software Development c++ | |
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++ | |
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 | |
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++ | |
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 | |
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(); } … | |
Does anyone know where can I find how to calculate how many days February has for a given year? Software Development java | |
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++ | |
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++ | |
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++ | |
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 … | |
[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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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++ | |
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++ | |
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 … | |
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 | |
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 … | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
[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 | |
[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++ | |
I am a novice. I want to replace a content with a variable How do I do that ? Thanks Software Development python | |
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 | |
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 | |
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++ | |
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 … ![]() | |
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 | |
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 |
The End.