64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for chanlichin

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 …

Member Avatar for chanlichin
0
158
Member Avatar for Frederick2

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&, …

Member Avatar for Frederick2
0
117
Member Avatar for Lukezzz

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]

Member Avatar for Lukezzz
0
98
Member Avatar for koyel555

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' …

Member Avatar for FlashCreations
0
172
Member Avatar for dennis.wu

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 …

Member Avatar for dennis.wu
0
2K
Member Avatar for esesili

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 …

Member Avatar for mrnutty
0
133
Member Avatar for Sune

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 …

Member Avatar for Sune
0
150
Member Avatar for llemes4011

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 …

Member Avatar for llemes4011
0
2K
Member Avatar for llemes4011

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

Member Avatar for llemes4011
0
174
Member Avatar for josephe

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 …

Member Avatar for josephe
0
130
Member Avatar for Alexar93

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 …

Member Avatar for serkan sendur
0
104
Member Avatar for garylelandsmith

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, …

Member Avatar for garylelandsmith
0
76
Member Avatar for metalclunch

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: …

Member Avatar for vibs123
0
181
Member Avatar for sam_inquisitive

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" …

Member Avatar for mytime19
0
159
Member Avatar for guyod

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 …

Member Avatar for Salem
0
104
Member Avatar for hawashafiq

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 …

Member Avatar for hawashafiq
0
149
Member Avatar for Nevidea

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 …

Member Avatar for agyeia
0
2K
Member Avatar for bshyama24@gmail

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?

Member Avatar for dnanetwork
0
110
Member Avatar for conan19870619

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 …

Member Avatar for harsh2327
0
2K
Member Avatar for bshyama24@gmail

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?

Member Avatar for dnanetwork
0
91
Member Avatar for mahela007

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?

Member Avatar for Stefano Mtangoo
0
119
Member Avatar for pluring

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 …

Member Avatar for pluring
0
144
Member Avatar for agam360

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 …

Member Avatar for stoymigo
0
224
Member Avatar for M A

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 …

Member Avatar for M A
0
76
Member Avatar for snakay

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 …

Member Avatar for snakay
0
2K
Member Avatar for poliet

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 …

Member Avatar for poliet
0
85
Member Avatar for chiraag

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 …

Member Avatar for vali82
0
905
Member Avatar for mahela007

What is a parser and what does it do? For example, what would an HTML parser do in python?

Member Avatar for mahela007
0
337
Member Avatar for AdventDeo

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"> …

Member Avatar for AdventDeo
0
145
Member Avatar for VBNick

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. …

Member Avatar for VBNick
0
2K
Member Avatar for momoh

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 …

Member Avatar for momoh
0
168
Member Avatar for EvilOrange

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 …

Member Avatar for EvilOrange
0
260
Member Avatar for and12

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 …

Member Avatar for VernonDozier
0
221
Member Avatar for z_zendegi

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

Member Avatar for ddanbe
0
102
Member Avatar for Nogat21

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 …

Member Avatar for Nogat21
0
110
Member Avatar for IrishHenshin

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 …

Member Avatar for IrishHenshin
1
118
Member Avatar for atch

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

Member Avatar for atch
0
121
Member Avatar for abu taher

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 …

Member Avatar for jhai_salvador
0
127
Member Avatar for q8_dreamy
Member Avatar for JameB

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 …

Member Avatar for JameB
0
5K
Member Avatar for and12

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 …

Member Avatar for and12
0
113
Member Avatar for tyliang

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 …

Member Avatar for tyliang
0
187
Member Avatar for gretty

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 …

Member Avatar for gretty
0
148
Member Avatar for Yle

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 …

Member Avatar for poliet
0
153
Member Avatar for CNIDog

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 …

Member Avatar for CNIDog
0
130
Member Avatar for Nathan Campos

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 …

Member Avatar for Nathan Campos
0
233
Member Avatar for pirula

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 …

Member Avatar for pirula
0
186
Member Avatar for ndfi54

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 …

Member Avatar for poliet
0
161
Member Avatar for jingo1126

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 …

Member Avatar for wildgoose
0
182
Member Avatar for mk27

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 …

Member Avatar for mk27
0
181

The End.