199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for hawash

Hi iam trying to make dual function visual c++ button what I did was [url]http://www.4shared.com/file/105379147/23d04050/dualactionmfcbutton.html[/url] I want it to work can anyone help me ? Thanks

Member Avatar for hawash
0
108
Member Avatar for faranak

Hi I'm New In Crystal Report. I Want to Create A Report That User Define Column's Of Report In RunTime . I Used Parameters Field But When User Just Select One Column For His Report , It Show One Narrow Column And Others Columns are Hide .(I Want report setting …

Member Avatar for Ramy Mahrous
0
109
Member Avatar for losh177

I'm having problems reading taking an input using cin.getlin [CODE][LIST=1] [*]cout << "Enter record: "; [*]cin.getline(title, 100); [*]csis << "Enter record title: " << title << endl; [*]rec->setTitle(title); [*]cout << "Enter performer: "; [*]cin.getline(name, 100); [*]csis << "Enter performer: " << name << endl; [*]rec->setPerformer(name); [/LIST][/CODE] The program jumps to …

Member Avatar for tux4life
0
165
Member Avatar for kanodi

Hi guys, wonder if you could help me with a problem I am having. I am working on a app that parses an XML file, and when executed from my IDE(Netbeans) all works flawlessly, however when I deploy and execute my app via Webstart I get a NullPointerException on the …

Member Avatar for kanodi
0
217
Member Avatar for icedece

Hi i've created an animation for a game where a set of blocks moves from left to right across the screen automatically through the use of a timer. However when i set the interval of the timer below 150 the image starts to flicker as it's moving. I've read that …

Member Avatar for vb5prgrmr
0
119
Member Avatar for payamrastogi

Hi, I'm using C#.net 3.0. I have use the frameGrabber class to grab the frames from the video file and to convert the frames into bitmap format.The code is giving error in the "foreach (FrameGrabber.Frame f in fg)line of the code" highlighting "in" giving error---"InvalidCastException was unhandled by user"(Unable to …

Member Avatar for Diamonddrake
0
210
Member Avatar for Pacman21

Okay.. Lets say I have ten labels and I want a random number between one through ten in each label.. But in the labels I dont want to have duplicates so that way in labels 1 through 10 they will have an integer between 1 and 10.. But randomized..

Member Avatar for vb5prgrmr
0
196
Member Avatar for Zandermander

Hello, I'm making a little app that runs through a Richtextbox and makes it turn string "[BK]" red. But I can't get it to make all of the "[BK]"'s red. i found this little piece of code, but I can't get it to work, it looks like it should though. …

Member Avatar for Teme64
0
628
Member Avatar for RahulV

Hi, I open notepads and other applications using shell during runtime. But now I want to check out whether these applications are open or not. How am I supposed to do that?

Member Avatar for vb5prgrmr
0
120
Member Avatar for RahulV

Hi, I have created a project using MS Access db its working fine except one. A dialogue box opens up when running its exe, saying [B]"Please enter MS JET OLE DB initialization information."[/B] But I have provided all the DB connection information and other related information at runtime during initialization …

Member Avatar for vb5prgrmr
0
245
Member Avatar for rizillion

[code=cplusplus] #include <iostream> #include<string> using namespace std; int main() { string str1="Amusement Park"; string str2="going to"; string str3="the"; string str; cout<<str2+''+str3+''+str1<<endl; cout<<str1.length()<<endl; cout<<str1.find('p')<<endl; cout<<str1.subtr(1,5)<<endl; str="ABCDEFGHIJK"; cout<<str<<endl; cout<<str<<endl; cout<<str.length()<<endl; str[0]='a'; str[2]='d'; cout<<str<<endl; return 0; }[/code]

Member Avatar for neigyl_noval
0
99
Member Avatar for billymcguffin

Hello, I was wondering if you can extract an item from a rss file and display it in a div. like extract the title and put it in an h3 tag, extract the description and put it in a paragraph, and have the link below, and all automatic, so you …

Member Avatar for essential
0
535
Member Avatar for billymcguffin

sorry about the bad title, but this is a code that takes a string, defined in an array, and converts it to the next string in the array by replacing letters one at a time. it works fine, but i want some modifications. code: [CODE]function scroll(message_loop) { var messages = …

Member Avatar for billymcguffin
0
89
Member Avatar for ofranko

i'm a school teacher writing an addition app using Python. It was going ok but i didn't like the editor so i found a new one(NetBean6.5). i copied/pasted my code but the NBeans editor is looking for a "main" module... i've done a little c++ so i understand what it's …

Member Avatar for vegaseat
0
110
Member Avatar for daviddoria

If I have /home/doriad/Scripts/Python/ and inside I have a bunch of folders, ie Geometry, Math, Other, etc that each contain scripts (.py files), is there a way I can just add /home/doriad/Scripts/Python to PYTHONPATH and then somehow [code] from Geometry/Spherical import * [/code] rather than having to add every subdirectory …

Member Avatar for vegaseat
0
2K
Member Avatar for stottlifey

I am a total NOOB to ICT, and was wondering if anyone would help me make a website using flash, php, and javascript. Please help, I will work out giving you money when the site is up and running and making money. I have got a graphics designer for free …

Member Avatar for jcanaway
0
126
Member Avatar for jen140

Hello all. I have a small problem . How can I, in c#, windows forms aplication,ComboBox, use AutoComplete. Lets imagine that i have 5 items in the ComboBox that are : Abcd Abcdd Acc Accd Add If i start writing "ab" it will only display items that starts with "ab" …

Member Avatar for Ramy Mahrous
0
326
Member Avatar for FallenPaladin

HI, I am trying to construct a regEx pattern to match a UK tax code. The pattern i have created is "^(/BR{1}/|/D0{1}/|/NT{1}/)|^(([Kk]{1}[1-9]{1}[0-9]{2,3})|([1-9]{1}[0-9]{2,3}[LPTYlpty]{1}))" I thought this would match the codes as BR or D0 or NT or K followed by 3 or 4 digits or 3 or 4 digits followed by …

Member Avatar for FallenPaladin
0
1K
Member Avatar for csurage

Hi, I was creating a Gui for one of my classes and I hit a major bump. I am trying to take words from a text file and just display it in the text box. I know how to read files, what I don't know is how to change the …

Member Avatar for csurage
0
254
Member Avatar for dip7

Hi How to create a graph/table inside a message box? The message box will appear after clicking a button. Thanks

Member Avatar for Diamonddrake
0
136
Member Avatar for redmaverick

I have to generate html files from .java files. I tried generating from eclipse but was stumped. there are just 4 files. Can somebody help me out. Send me a pm please!!!

Member Avatar for redmaverick
0
118
Member Avatar for kvprajapati

I have two integer numbers. I want to find which number is greater than other one without using relational operators.

Member Avatar for Dave Sinkula
0
184
Member Avatar for add4
Member Avatar for losh177

Hi, do not know how possible is this but here it goes, i'm trying to declare an array once a program is running. This is how i'm thinking: [CODE][LIST=1] [*]int size; [*]cout << "Enter size of array: "; [*]cin >> size; [*]Holding *holdLib[size]; //this is a base class pointer array …

Member Avatar for losh177
0
123
Member Avatar for ganmo

Hello, I wonder what I need to do to use find() from <algorithm> to search in a vector containing some Struct, with two string vars. I'm not asking for codes now, I just want the principles. I written this, and got compilation error. [CODE=cpp] #include <iostream> #include <algorithm> #include <string> …

Member Avatar for ganmo
0
289
Member Avatar for Stefano Mtangoo

I'm trying GUI Library to see what fits me. I want to try GTK+ too. But I don't know where to start. At GTK+ site I took a look at C++ bindings [url]http://www.gtkmm.org/[/url] and found * glibmm 2.20 (stable) * gtkmm 2.16 (stable) * libgnomecanvasmm (stable) * gconfmm (stable) * …

Member Avatar for Stefano Mtangoo
0
304
Member Avatar for sniper1983

I was told to write the question here instead of in c# forum, so I post it here as well. Hi.. I am trying to update a webcontrol on a main site from a usercontrol but how can this be done. Let's say I want to update an asp:textbox from …

Member Avatar for sniper1983
0
131
Member Avatar for khenz

hi guys, i've been battling with this program for too long now... i cant seem to get it to compile. i believe the problem lies in my use of objects being passed to different classes as parameters. (i will do my best to only paste code that i believe is …

Member Avatar for ArkM
0
138
Member Avatar for ithelp

I have one related question is Jython going to replace Python in a few year ?

Member Avatar for jlm699
0
110
Member Avatar for QuintellaRosa

I have a file format for storing text of any sort. It's a file format from a company, so I can't change it. Basically, in the beginning of the file, a series of "string starts on char#", "string length equals" values determines the "address" where a string starts and how …

Member Avatar for ArkM
0
255
Member Avatar for shazzy99

Is there a way to read MS Office document word by word in C#. I could read the whole stoyr like [code] doc.ActiveWindow.Selection.WholeStory(); doc.ActiveWindow.Selection.Copy(); IDataObject data = Clipboard.GetDataObject(); [/code] However then can we use any method using data object to read the ms word documents word by word?

Member Avatar for jbisono
0
113
Member Avatar for T.Cavanagh

Hi i am new to AJAX but i havejust managed to write one of my first basic scripts. What it does is takes all the news items out of a database and lists them as links. When you click a link i want all of the data that is linked …

Member Avatar for essential
0
1K
Member Avatar for shijunair

hello everyone, I am stuck with this problem.If anyone could help me, it would be a great favour. I am working on a leave application. Here the leaves are been applied by employees and accordingly the leaves are been approved or cancelled. so the problem is that when i am …

Member Avatar for shijunair
0
2K
Member Avatar for DevC++4.9.9.2

I am trying to work with listbox in visual stuido 2008. I am new to c# as of 2 days ago however im very experienced with c++ and batch. I was wondering if someone could give me some quick help on how to use mouse clicks. In particular i have …

Member Avatar for ddanbe
0
156
Member Avatar for QuintellaRosa

I'm new to C++ and I'd like to start correctly. But I need to know what are the best practices for code sharing, like: _ use [ICODE] int void (main) [/ICODE] instead of other statements; _ use standard libraries when possible; _ what are the naming conventions for C++? I've …

Member Avatar for Ancient Dragon
0
80
Member Avatar for plysaxaphone

im trying to write a program to calculate BMI for practice. I have it working for the most part but im having trouble with 1 thing. I want to say if its any letter or not a number then display an error message. Here is the code that I need …

Member Avatar for FlamingClaw
0
109
Member Avatar for lolguy

Hello guys i began reading K&R but there problem in a code i dont really understand it here code of a sequeeze function [code] /* squeeze: delete all c from s */ void squeeze(char *buffer, int c) { int i, j; for (i = j = 0; buffer[i] != '\0'; …

Member Avatar for lolguy
0
163
Member Avatar for JAGjug

Hello everybody. I have a quastion: is it possible to play swf without flash player installed? I mean include swf and flash player itself in one exe-file.

Member Avatar for JAGjug
0
85
Member Avatar for jabroni7

hi Please help me with code or links i have a text box,when ever some one types a letter or more ,it should search those letters from an array of values or from a mysql table and display all the values starting with value in a text box in a …

Member Avatar for csharplearner
0
156
Member Avatar for Liszt

I use this command to check for the Computername wich returns: [code] SystemInformation::ComputerName->ToString(); //returns: MYCOMP-EG03R8F [/code] When manually rightclicking "My Computer" and check what name I have, it says with lowcase letters: [B]mycomp-eg03r8f[/B] So it doesn´t return the correct name. It shows Capitals. But if I do this command instead: …

Member Avatar for Liszt
0
210
Member Avatar for csharplearner

Hi all, How to merge a forum into a pre-exisiting website? All what i mean is i took a forum(which has its own registration , sigin-in feature) and a preexisting website (which too have its registration and signin feature). Both are now hosted in the same domain and use different …

Member Avatar for csharplearner
0
186
Member Avatar for Venom Rush

Hi Guys/Gals I have a page that has iFrames on it. Now the pages that are shown in the iFrames each have their own code on them. I'd like to know if it's possible to use variables that are on the page holding the iFrames in the pages inside the …

Member Avatar for Venom Rush
0
71
Member Avatar for daviddoria

I want to make an input stream parser capable of handling input in any of the following forms: [code] x y z x,y,z x, y, z (x,y,z) (x, y, z) [/code] Is there a clever way to do this? Or do I have to check the first character, if it …

Member Avatar for ArkM
0
86
Member Avatar for ddanbe

[CODE=csharp]private void txb_keydown(object sender, KeyEventArgs e) { //check if A key was pressed if (e.KeyCode == Keys.A { //OK } }[/CODE] The above code works fine, but how can I do this for the % key? Looked everywhere, I can check for the tilde key etc. but I can't seem …

Member Avatar for ddanbe
0
159
Member Avatar for ning2009

Hi, there With a lot of help in this forum, I strated to use Python to accomplish something. Here I am looking for guide about how to improve my code speed. This code is to determine the normal direction of a polygon with four points. Every four points have 6 …

Member Avatar for ning2009
0
218
Member Avatar for dav555

how can i convert a hex value of a byte (unsigned char) to a short value? [code="c++"] unsigned char hexByte = 0x02; short value= ??? [/code] thank you for your help!

Member Avatar for dav555
0
286
Member Avatar for lolguy

Hello guys I m trying to code a program to fix indented code but problem is that i will use strstr to search for the for string then i ill read it till it encounted \0 then i wanna jump to next line to add 4 spaces before the code …

Member Avatar for lolguy
0
104
Member Avatar for litu

hi, i have a jsp with 3 tabs add,modify,view. when i select modify there are two dropdowns. when i select a value from 1st dropdown i have to populate another dropdown based on the selected value. now the problem is when i am going from servlet to that jsp after …

Member Avatar for hardik.rajani
0
88
Member Avatar for new2JS

Hi I want to capture a Windows OS event. In Java Plugin Checker, when the user is prompted to install a JRE there is a File Download window pops up with Run,Save and Cancel buttons. I want to get the control back when the user clicks on Run/Save/Cancel. I need …

Member Avatar for peter_budo
0
96
Member Avatar for Vandithar

Hi, I have a string like this: [code] $string="Lake City 84132, USA. FAU - Carrell, D T AU - Carrell DT FAU - Emery, B R AU - Emery BR"; [/code] I want to extract AU and only its contents. The output should be like this: [code] AU - Carrell …

Member Avatar for katharnakh
0
106

The End.