64,152 Solved Topics
Remove Filter ![]() | |
Hi, I am now want to retrieve only year from my table(summary),field name(dates). So i am facing the problem on how to display the year in combo Box. my sql statement as below. Thanks If i put [b]SELECT DATES[/b], that means day,month and year will display. So, what should i … | |
Only have Visual Studio 2008 about a week but just ran into something inexplicable to me. This include file (and others like it)... [CODE=C++] //DoTestData.h #ifndef DOTESTDATA_H #define DOTESTDATA_H unsigned int iCreateDB(TCHAR*); unsigned int blnMakeTable(SQL&); int GetRecordCount(SQL&, unsigned int&); unsigned int blnInsert(SQL&, TCHAR**, unsigned int&, HWND, int); unsigned int blnDumpData(SQL&, … | |
How would you write a string that has "are" in it: I beleive this would be a wrong way ? String GetString = [B]"Hello how "are" you"[/B] | |
I have created a form, created a table with background image (image can be changed dynamically) & inside table there are some divs <div>. There are some texts in div, these texts can be altered. What I need to submit/preview the form, when the form will be submitted 'only table' … | |
class B is nested insider class A but it does not declare the class B as its friend. However, the member function void B::print(A a) can access to the private member data int a, b of class A. The books introduce the nested class must be declared as friend then … | |
Hi all, I am having problem about file operations. There are a few numbers in my txt file. I want the program to calculate average of these numbers in the txt file. The code I have written is as below. Number of numbers in the file is 5. When I … | |
I have adapted a program that implements a register of players and stores the players in a struct, with BIN file handling. Now it's not possible to use the records after they have been loaded from the BIN file. The compile is ok and both functions below are excuted without … | |
Hello, I'm trying to get my first RMI Program working, and I keep getting a Timed out exception. I believe that the error is occurring in the "bind" method... Does anyone know what the problem might be? Here's the code and the error: [code=Java] /** Server */ import java.rmi.registry.Registry; import … | |
Hello, for the project I'm working on, I need to be able to access say, a JPanel object that was created from the execution of a Jar file, and use it inside another class outside of the Jar file. Any ideas? Thanks | |
I'm a student trying to teach myself C. I know the basics of it and now I would like to write a simple DLL using the WinAPI so I can use it in another BASIC-like language. I'm using CodeBlocks with the compiler it comes with (since I can't afford to … | |
hi :) This is my code: [code] public static void ChangeColor(string myObject, string myColor) { myObject.ForeColor = Color.myColor; //This doesnt work, why? } private void button1_Click(object sender, EventArgs e) { ChangeColor("Programming", "PowderBlue"); } [/code] "Programming" is a label I've written many programs in VB but i'm new to C# so … | |
I have suddenly began getting 'out of memory' messages while editing an Acess2003 module VB code. It deletes the entered text that caused the message. There is no error number - that's the exact text. Restarting Access and rebooting have no effect. XP SP3, Access 2003, VB 6.5, 1.5GB memory, … | |
Hello. First of all, sorry for making the other thread before looking more deeply. I did not make this mistake this time, though. I have a really odd error. I have no idea what might cause it. Here's the error (Gives me two of these). [code] \main.cpp(74) : error C2143: … | |
hi , i m looking for a project which contains some graphics,lots of functionalities, and most of all is something different from the normal management projects (online test,hote; or lib mgmt etc). I have thought of something related to "Stock exchange" or Artificial intelligence project(which can predict behavior of situations-"brainstorming" … | |
Thanks in advance for any one who helps me. Code is in C using unix system calls. I am writing a code that forks a process and that forked process gets worked on by a function, in my case its called processone. I had a similar program, in which i … | |
hello reader.. i am developing a website. One of the web's page is PRODUCT page where user can view, or purchase the item. There are 3 categories under PRODUCT which are; pet, gardening and food.. I'd like to implement user preferences in this page. User will pick its preferences via … | |
I am able to create .xlw files that will open with Microsoft Excel, but is there a way to turn that into a .csv file? The code I use to create the .xlw file is as follows: [code]Set oExcel = CreateObject("Excel.Application") Set oBook = oExcel.Workbooks.Add Set oSheet = oBook.Worksheets(1) oSheet.Range("A1").Value … | |
Hi All, as per as I know dataset can do the work of datareader.Only the difference in connected and disconnected architecture.But Is there any area where we have to use only datareader without dataset? | |
Hi, I have one question. You know some applications can be minimized to the lower right corner and with a hot key (e.g. ctrl+F1). Once the hot key is pressed, the application is activated or some event is activated. I wonder how to do that in java if there is … ![]() | |
Hi, I am using [B]file upload[/B] control in .net. But I want , the user only able to upload doc, docx and pdf file.How do I make it possible? | |
I was trying to find out what tk is (with respect to tkinter) and I regularly came across the words API and "binding". What do they mean? | |
Hi! What i want to do is for my program to detect all USB disks inserted and return the device path (/dev/XXX) and system type. My first tought was to fetch output from fdisk -l but thats not very fancy and i guess there is some function or such to … | |
Hello, this is my 1st post here,:) I have a problem With C#.net 2008, I can't find the way to send variables from form to form, Could you post here all the ways to do so? + But my problem really is this.:icon_eek: I have 2 Forms, 1-[B]Form1[/B], 2-[B]SP[/B]([I]name of … | |
Hello, I have an array 'summed_MWloss' which has the following content: [0.00024064097412677081, 0.0010840802387205584, 0.003607376872954593, 0.0078014804983401742, 0.013657631815844617] I am having trouble writing it into a CSV file into seperate rows. The code I am using at the moment is: [ICODE]t = open(r'F:\IPSA\My_Work\Python_Files\my_powerD2.csv', 'w') output = csv.writer(t, dialect='excel', delimiter=',') output.writerow(summed_MWloss)[/ICODE] which allows … | |
Hi all, What I want to do is, when I leave a cell I want to make sure that that cell is not null, that is there is a date data there, and when I leave, I want to add some days to date and place this result on another … | |
Hello, I have a class with as many objects I need. I am changing the value of some member variables individually here and there, however, now I want to be able to change one specific member variable of all objects e.g. bool visibility at once, so that all objects wll … | |
Hi there all, Could someone please tell me how I could increase my precision for floating point arithematic? My requirement is that I add a very small value of the order 10^-7 with a relatively big value, say 36.63 and then I want multiply it with 10^7. The problem Im … | |
What is a parser and what does it do? For example, what would an HTML parser do in python? | |
Hello, I have a MySQL database and I'm trying to make a dropdown list using PHP based on the value stored in my DB. So far I have this (copied, pasted, and edited from another forum): [CODE] <form action="maintest2.php" method="POST"> <table border="0" cellpadding="2" width="100%"> <tr> <td><b>Main Category:</b></td> <td> <select name="Name"> … | |
Hello! I have a piece of software called X-Mouse Button Control, and its able to intercept mouse events. The website for my mouse had this instead of a driver specifically for the mouse. In the program, I am able to "Intercept" the functions of Leftclick, Rightclick, ect, globally for windows. … | |
Got a small detail problem that I cannot get to understand myself. The program, see attachments draws dots on the screen. There is a dot class for the details of the dots to be stored, that is size, colour, shape (square or round) Problem is with the colour...Cannot get other … | |
every thing works till the fopen, the sprintf works as i'm printing to check that. i just doing know what is causing this not to work it prints "cannot open (null)" but the filename var does have something assigned to it. any help will be welcomed [CODE="c"] char tmpfilename[10]; char … | |
Edit: Title - java access denied on graphic file Edit: I didn't realize i didn't finish typing the title before submitting. I put my applet on the web but it says not initialized and the error is complaining about my graphic. Am i not allowed to have graphics? How can … | |
I want to convert my measures taht is in pixels to cm in c# but I can't I search MSDN but can't find useful information Please help me | |
i'm with a question related to string comparing...i'm trying to compare two strings (well char pointers in fact :)), im using _stricmp for case insensitive comparison, but even with the conventional strcmp i'm not getting the result i want. [code=cpp] if(_stricmp(value,gen_arr[i])== 0){ file.seekp(-1,ios::end); file.put((i)); file.flush(); file.close(); printf("Editing of field %s … | |
Hey so basically as the title suggests I want to develop a PHP website on my Mac, the site will not be hosted on my laptop but will be hosted on an Irish web hosting server. Anyway I am wondering what is needed to develop on the Mac? I just … | |
Hi, I've just came across declaration of this form: [code=c++] void fun() throw(); [/code] Could anyone explain what is the pourpose of this and maybe someone knows good book with thorough explanaition on this subject. Thank you | |
I made data report with condition. I want to input a student id number in a text box and press a button to show all data of this student, but a problem when i input a number in the text box (and press the button) for show the report a … | |
Hi, is there any function or algorithm that can completely remove a string array element? For example, string mystring = 'x', 'xx', 'xx', 'xxx'; if I want to remove 'xx' and I know the position of 'xx' in the array, I want this : mystring = 'x', 'xxx'; Anything? I … | |
1. My code runs but the text panels won't display properly in the panel until i hide the frame and open it again or click min/max. 2. Can someone suggest the kind of layout i need to keep letters of each word together so it doesn't wrap to the next … | |
I want to sub-function the reading and printing data. But it says data corrupted. Sorry for my poor english. Example of inputfile.txt [code] Michael 000000 m michael@abc.com 75 82 90 [/code] [code] #include <stdio.h> #include <string.h> void readData(); void printData(); struct student { char studName; int studID; char sex; char … | |
Hello I have a function that takes in a 'word pattern' & a word & determines if the word contains the same characters in the same position as the 'word pattern'. [QUOTE]For eg; 'word pattern' = he??? word = hello - The function will return true because the word variable … | |
Hello, my problem is of that kind beginners use to have. After following some glut tutorials I've decided it's time to do something small generally on my own. An obstacle appeared at the very beginning. At the moment I got stuck, all my code was supposed to do was drawing … | |
I need to create a table to store matched pairs that I can query and get a count of how many times a particular matchup was entered. For example "5" might be paired with "6", but "6" might be also paired with "5". (Quotes are for clarity - not to … | |
Hello, I'm starting in Assembly development. Then recently i buy a book of Assembly, in it i have the table with the decimal numbers to hexamals and to binarys, like this: [code=asm]Dec - Hex 1 - 01 2 - 02 3 - 03 4 - 04 [...] 10 - A … | |
I am so confused, I want to add some anti-spam security to my upcoming register page but something is really wrong. Note that my server is Coldfusion MX7 (i can not afford better) and because of that i can not use cfimage(captcha). This is what i have: [code] <cfset strLowerCaseAlpha … | |
I am working on a program to rewrite an assortment of integers in increasing order yet they are in decreasing order. I am pretty sure the problem is in my indexMax or sortArray functions but I cant find it. Can anyone help? [CODE]#include <stdio.h> #include "genlib.h" #include "simpio.h" #define size … | |
ok im kinda new to this forum and new to assembly as well. i was given a homework on tasm if someone could help me fix or add or delete some codes in wat ive place thank you very much.. program is about adding two input charactars like 1+1=2. ive … | |
Hi. I've actually never used python but I'm an experience programmer in other languages. I wanted to do some "script-fu" for gimp, which uses scheme or python (it used to use perl, but AFAICT the bindings and modules are unmaintained and broken). I don't really like the look of scheme … |
The End.