43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for toolmanx

I am having trouble getting ReadFile to work for me. I am runnng an AMD with XP SP1. I compile with a .cpp extention normally using Borland Bcc32 but I have also compiled using cl.exe. I declare LPVOID lpBuffer and have tried assigning memory using malloc. I also tried GlobalAlloc. …

Software Development c++
Member Avatar for Salem
0
532
Member Avatar for <1337>Me</1337>
Member Avatar for Jishnu

Hello, I'm planning to do a project which involoves a lot of GUI. Does anybody know whether there is any IDE available that supports a code wizard feature for C++? For eg in VB, we design the menus, frames, text labels, etc. and when we click on 'generate code', the …

Software Development c++ gui ide
Member Avatar for Jishnu
0
156
Member Avatar for rinoa04

Hello, I am interested in learning Visual Basic programming language and am a beginner. Can anyone introduce any tutorial resources or e-book for a beginner in Visual Basic. Thank you very much :)

Software Development visual-basic
Member Avatar for sadicarnof
0
146
Member Avatar for FSinister

Hi, I'm new here, but you'll probably be seeing too much of me before long ;) My names Daniel. I have this sort method for sorting (essentially) an array, but it does strange things that i can't quite figure out, and it doesn't sort. the array is a feature of …

Software Development java
Member Avatar for FSinister
0
153
Member Avatar for HLA91

Hi guys Im trying to make a maths game for a friend of mines little brother jase, but I need it to generate 2 random numbers between 1 and the maximum number that jase said. I cant figure out how to get the rand1 = (rand()%10)+1; so that the 10 …

Software Development c++
Member Avatar for invisal
0
730
Member Avatar for meirab

i have an interest in boost/regex library - i need to extract url from a file ----> bookmark.html (from ie6) the regex demo programs use this library - but it is from 2003. when i try to run the program - i get an error: LINK : fatal error LNK1104: …

Software Development c++ regex
Member Avatar for meirab
0
205
Member Avatar for shizu

Hihi.. I would like to ask about ::FindWindow's function.. I execute a program call ABC.exe.. I have coding like below.. HWND window = ::FindWindow("ABC", NULL); but I get the window value is NULL.. may I know what is my mistake..?? I had execute the ABC program, suspose it can return …

Software Development c++
Member Avatar for dubeyprateek
0
326
Member Avatar for majestic0110

HI all I am new to C # and have picked up a copy of Sams teach yourself c # in 21 days. I hold a BSc in software design so I am not new to programming. However I am surprised at how similar c # is to java ( …

Software Development c#
Member Avatar for majestic0110
0
142
Member Avatar for aan@ucsc

Can anyone help me to do this if a jTextField has text like this 1A2B89C0 array[0]=1; array[1]=10;//A should convert to 10 ,B to 11,c to 12,........ array[2]=2; array[3]=11;//B to 11 array[4]=8; array[5]=9; array[6]=12;//C to 12 array[7]=0; actualy this part is needed for a program which is convert a number in …

Software Development java
Member Avatar for aan@ucsc
0
98
Member Avatar for picklesandmayo

I've been working on a project for a few days now, and I am running out of time by trying to research everything I am doing. My task for this particular program is to create an inventory program that reads from a file and then allows the user to manipulate …

Software Development c++ ios visual-studio
Member Avatar for picklesandmayo
0
2K
Member Avatar for people123

I came to a point in my C++ book where I have to start using bitwise operators, such as &, ^, and |. I have a hard time grasping the concept of exactly how do I manipulate bits, the following example supposedly "turns off the 6th bit", therefore inverting the …

Software Development c++
Member Avatar for people123
0
140
Member Avatar for Roadphantom13

Ok. Newbie poster/programmer so bear with me. I created a beginner math program that should be usable by young children. I have it working for the most part but now there are three things I would like to do to make the program more professional. First, I would now like …

Software Development python
Member Avatar for jrcagle
0
115
Member Avatar for Jishnu

Hello, I've read in a book that APIs in the native APIs start with one of the two prefixes: Either Nt or Zw, so that the functions have names like NtCreateFile or ZwCreateFile. What does Zw stand for? It further says: [I]Both versions actually point to the same code in …

Software Development api c++
Member Avatar for Jishnu
0
142
Member Avatar for picklesandmayo

So after putting together this program, I am trying to sort multiple words alphabetically using [TEX]qsort ()[/TEX]. I have been using examples of [TEX]qsort ()[/TEX] found on the web and trying to adapt them to my cause, but all I've done so far is confuse myself. There are no errors, …

Software Development c++
Member Avatar for picklesandmayo
0
126
Member Avatar for jem00

is it possible to create a looping list? [code]import time # a day value of None = > def dayOfWeek(DayNum = None): # match day order to Python return values days = ['Monday','Tuesday', 'Wednesday','Thursday', 'Friday','Saturday','Sunday'] theTime = time.localtime(time.time()) # Check for default value if DayNum == None: Day = theTime[6] …

Software Development python
Member Avatar for jem00
0
77
Member Avatar for kv79

Hi to all. Can i make a Window,who have a power to be always active but invisible for me?How?

Software Development c++
Member Avatar for kv79
0
84
Member Avatar for jem00

Hey guys, I don't understand the for loop. Could someone explain it to me? for example [code] >>> # Measure some strings: ... a = ['cat', 'window', 'defenestrate'] >>> for x in a: ... print x, len(x) ... cat 3 window 6 defenestrate 12 [/code] what is x? how does …

Software Development python
Member Avatar for jem00
0
121
Member Avatar for Queatrix

I have tried to assemble the following code in TASM and Flat Assembler, but they both give an error for every line of code. What is going on? How can I get the assemblers to assemble the * code?? Thanks for any help you can provide. [code] [BITS 16] [ORG …

Software Development assembly
Member Avatar for Queatrix
0
137
Member Avatar for Ancient Dragon

Its pretty rare for me to post questions here but I came across this one about qsort I can't answer. If I try to sort an array of character strings such as [icode]char array[255][20][/icode] qsort works ok as expected. But if I declare the array like this qsort fails: [icode]char*array[255][/icode] …

Software Development c
Member Avatar for Ancient Dragon
0
313
Member Avatar for Sprinkles

Basically i have a VB6 project where i have a web browser on my form. I have a listbox and command buttons. What i have so far is when you click one of the command buttons, it opens a text file that is on your desktop. That text file contains …

Software Development visual-basic web-browser
Member Avatar for Sprinkles
0
78
Member Avatar for majestic0110

HI all am trying to construct this hybrid of java and mysql. the data comes from a mysql database and I want it to display in the gui. this I have achieved thus far. However I have buttons that sort by surname, first name, ID tag etc....I need event handlers …

Software Development api gui java java-swing sql window-manager
Member Avatar for majestic0110
0
225
Member Avatar for rajatC

i m new to java...i made my first applet...a simple applet to showing "THIS IS MY FIRST APPLET"..but it's not working...i m not able to see it in mozilla firefox and IE7... plz help.. the code is here... [B]tryApplet.java[/B] [code=java] import java.awt.Font; import java.awt.Color; import java.awt.Graphics; public class tryApplet extends …

Software Development java
Member Avatar for rajatC
0
143
Member Avatar for stubBuddy

The following code consists of 2 functions: one called Options and the other called checkOptions. The Options function is fine. No problem, it is taken from Johnson M. Hart's book. The second function was added on to attempt to complete an exercise at the end of the chapter. Okay, the …

Software Development c
Member Avatar for stubBuddy
0
176
Member Avatar for P90K

Im new whith vb6, i onley now de basic of it. but i have a problem with excel. I opend and existing excel file with vb6 in a private sub. [CODE]Dim xlApp As Excel.Application 'Nodig voor werken met excel Set xlApp = New Excel.Application 'excel openen xlApp.Visible = True xlApp.Workbooks.Open …

Software Development visual-basic
Member Avatar for P90K
0
116
Member Avatar for welbyobeng

Ok am new in java programming and I am trying to conduct a simple class called Area. If anyone know anything about java you can help me. I am writing a class that has three overloaded static methods for calculating the area of the following geometric shapes. circles rectangles cylinders …

Software Development java
Member Avatar for javaAddict
0
266
Member Avatar for ceyesuma

Can any one help me find some code to start building an OutlookPanel?

Software Development java
Member Avatar for masijade
0
106
Member Avatar for Queue

After writing out the main functionality for my templatized data structure, I am stumbling with the syntax to allow for Compare (so the user can provide a definition for less). If I am not mistaken, I need to add at least another constructor. I tried reading the STL implementations for …

Software Development c++ data-structure
Member Avatar for Queue
0
215
Member Avatar for balla4eva33

If I have a const char * of "bad,cold,new" how can I count just the number of commas? Do I need to convert it to string? If so, how do I do that? Do I need to convert all the commas to zeros first? How do i do that?

Software Development c++
Member Avatar for balla4eva33
0
163
Member Avatar for White-Gandalf

Introduction: I already tried to post this on the dev-c++ - forum at sourceforge, but didn't check for the far too low frequency at that forum (about two questions per week). Thus i tried t find a better visited one and found this here. I use: Dev-C++ 4.9.9.2 Windows XP/SP2 …

Software Development c++ ide microsoft-access
Member Avatar for White-Gandalf
0
131
Member Avatar for n.aggel

hi, i have the following program [CODE]see the attachment[/CODE] when i try to compile through the command line {with the scipt compile} everything works fine... when i try to use my makefile...i get tons of errors.... It is my first serious try with makefiles and i would like some assistance …

Software Development c
Member Avatar for Barefootsanders
0
94
Member Avatar for claudiu_is

anyone knows what event can I fire when I edit the contents of a datagrid cell ?

Software Development
Member Avatar for claudiu_is
0
144
Member Avatar for kv79

#define ID_FILE_EXIT 40001 #define ID_FILE_OPEN 40002 And all other things like this which have these number .Which number i can use for my own ID 's ? And where i can find all of this? I try a MSND but it took me too much time so i ...?

Software Development c++
Member Avatar for kv79
0
183
Member Avatar for Nbkrooney

I am looking to make a small program that will cut down the repetetive need to insert BB tags in to achievements lists on a site I work for. So far I have got the algorithm sucessfully reading the first line of the file, and outputting it using cout. The …

Software Development algorithm c++ file-system
Member Avatar for Lerner
0
165
Member Avatar for rajatC

i want to calculate the exact run time of my program in [B]seconds[/B]....i used [B]clock() function of time.h library...[/B] what i did is that i made two [B]clock_t [/B]type objects... initialized one of them in the start of main() function and the other in the end.. and calculated the difference..as …

Software Development c++
Member Avatar for Narue
0
194
Member Avatar for kv79

Hi to all, Function Information Minimum DLL Version user32.dll Header Declared in Winuser.h, include Windows.h Import library User32.lib Minimum operating systems Windows 95, Windows NT 3.1 How to use user32.dll in Dev-C++? Where to find User32.lib ? I tryed in C:\windows\and Dev-C++. Where is the diffrence in Header betwen Declared …

Software Development c++ operating-system
Member Avatar for kv79
0
82
Member Avatar for meme123

Hi, I'm getting the error msg, "non-static can't be referenced from a static context", on my Readfile... what is the simplest way of fixing it? Thanks. import java.util.Date; import java.util.Calendar; import java.text.SimpleDateFormat; import javax.mail.*; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; public class Bulkloademail { public static void main(String[] args) { …

Software Development java
Member Avatar for satya5321
0
249
Member Avatar for Sawamura

hi all, i want to make error handling but a complete ones. i was done with exception (ex) but i need a little bit more like error line,error number or other. does any one know how to do this? thx. best regards.

Software Development vb.net
Member Avatar for Sawamura
0
130
Member Avatar for stokey

I'm trying to get the program to loop back to the friends array and re-compare the two user inputs again and keep doing it until the 2nd input is the same as the first. We haven't covered this yet in my class but could someone help me to find this …

Software Development c++
Member Avatar for stokey
0
103
Member Avatar for picklesandmayo

ok, so I have been working all day on this program and I am kinda stuck. The goal is to have a user input several words, then (ignoring case) alphabetize them (using [ICODE]qsort()[/ICODE] only) and count how many times each word was used. This is what I've got so far: …

Software Development c++
Member Avatar for picklesandmayo
0
100
Member Avatar for emilio

i have an array which contains third level pointers : [CODE]char * arrP1 [ ] = { "father", "mother", NULL}, * arrP2 [ ] = { "sister", "brother", "grandfather", NULL }, * arrP3 [ ] = { "grandmother", NULL}, * arrP4 [ ] = { "uncle", "aunt", NULL }; char …

Software Development c
Member Avatar for Duoas
0
104
Member Avatar for RoOose

Hi.... I'm a new member . I've a code , but there is a part I didn't undestand it. Can u help me to undestand it? I am writing the part I didn't understand it by red color: [code] import javax.swing.JOptionPane; public class SortingArray { public static void main(String[] argus){ …

Software Development java java-swing
Member Avatar for RoOose
0
133
Member Avatar for majestic0110

Just out of curiosity, which IDE is used by people (primaily). I myself use Blue J. This IDE was introduced to myself on my bachelors in Software design. Just wondered what you all use ............

Software Development ide java
Member Avatar for majestic0110
0
154
Member Avatar for xtr.eme

Hi, my first post here! I have been using python and wxpython for a short time, and have written a few programs, but they all look the same with the standard grey form background... How could I make a really nice interface in python, like the one on Windows Media …

Software Development python
Member Avatar for xtr.eme
0
63
Member Avatar for dhirennaik

dear freinds, from right clicking on project I have add New Item as Component class and change component to TextBox. Then from Toolbox i have add Textbox from this component Now, when i put the textbox from component i need a keypress event as a parent event for all the …

Software Development
Member Avatar for Jugortha
0
85
Member Avatar for Run.[it]

Is there a way in Visual Basic .net to make textboxes uneditable? I have my program reading data from a file and displaying the contents in various textboxes but dont wish to allow the user to be able to edit the contents of said textboxes.

Software Development vb.net visual-basic
Member Avatar for Run.[it]
0
83
Member Avatar for hawisme000

can any1 help me use a progress bar(if im not mistaken) i wanna put a loading bar in my login form but i dont know the syntax i must put thx in advance to any1 who can help

Software Development visual-basic
Member Avatar for jayDC
0
128
Member Avatar for web_master

hey i guess anyone here cud be able to help me....... i wanna start learning C++ n i dont know where to get a decent C++ compiler..... i have tried "Borland C++ 4.5" n i dont know why it shows wierd errors to me...... one of my friend who knows …

Software Development c++
Member Avatar for Ancient Dragon
-1
120
Member Avatar for kv79

Hi to all I have a little(big) problem of knowledge how to use Resource File. I thought when i open a Dev-C++->File->New->Resource File. The files who have extension on .rc . Can you give me any script about that? So if you willing to help me plz respond. Thank you …

Software Development c++
Member Avatar for kv79
0
91
Member Avatar for Church

I read my text file into a string with something like [CODE]String = My.Computer.FileSystem.ReadAllText("textfile.txt")[/CODE] now the text in the file looks something like xxx xxxx xx xxxxxxx xxxx xxxxx and i have to seperate everything into several arrays.. which really wouldn't be a problem but i can't seem to figure …

Software Development visual-basic
0
77

The End.