132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sfuo

Hi I have been trying for a while to make a win32 app client be able to talk to a server app that I put on my friends computer. I am not 100% sure if the problem is caused by the fact that I have two routers which may interfere …

Software Development c++ client-server
Member Avatar for sfuo
0
171
Member Avatar for DNDSH

hi all i have a C++ assinment and i can't solve it can anyone help me to solve it is three questions: Q1. Write a C++ program that sends a pointer of an array of characters to function with the function profile void Analyze ( char *abc) . Function Analyze …

Software Development c++
Member Avatar for DNDSH
0
273
Member Avatar for mypicturefaded

I need to pull out the information in the Document\Property(label = Individual Information)\value. The code I am using does not work, or I am not using it correctly. What would be the correct syntax? [ICODE] <?xml version="1.0"?> <fnApiResponse status="ok" xml:space="preserve"> <document idmId="12214" name="214214" label="me" class="Signature" version="1" mime="image/x-win-metafile" library="mylib" user="me" group="blah" …

Software Development xml
Member Avatar for mypicturefaded
0
122
Member Avatar for johndoe444

Hi, This is the existing code: [CODE]for c in chartNames: chartUrl = baseChartUrl+c hd = extractChart(chartUrl) writeChart(hd,c) for key in hd: if key in chart: chart[key].append(c) else: chart[key] = [c] [/CODE] when i wanted to insert a line before [CODE]chartUrl = baseChartUrl+c[/CODE] by putting the cursor to the end of …

Software Development python
Member Avatar for jlm699
0
162
Member Avatar for GooeyG

I'm just having a hard time understanding the syntax of C++. The book(How to program C++ (fifth edition), by Deitel & Deitel) that my school recommended is impossible for me to understand of what is going on. Can anyone offer any advice or suggestion in making the learning curve of …

Software Development c++
Member Avatar for Q8iEnG
0
139
Member Avatar for serkan sendur

in windows installer user interface i want to have check box dialog and according to what checkboxes are checked, i want to display textbox dialog. how is that possible? thanks.

Software Development user-interface
0
70
Member Avatar for MrNoob

Hello people i got a h.w to do Using nested loops to produce the following pattern: F FE FED FEDC FEDCB FEDCBA I had idea to do it but that will require array and strlen(char first int of the outer loop) and the thing says that I must do it …

Software Development c
Member Avatar for MrNoob
0
230
Member Avatar for history84084

I am using a textbox as a user visible log on my form1. The following code works as long as it is used only on form1.cs. lboxLog.Items.Insert(0,"Log this message"); If it is used on any other form I get the following message The name 'lboxLog' does not exist in the …

Software Development
Member Avatar for sknake
0
93
Member Avatar for Zetlin

Hi everyone it's been almost a year since I gave up programing in python so I have forgotten a lot of things, so just bare with me. Ok so I was playing around with python and ended up with this little program. [code=python] def test(): number = input("Number: ") scale …

Software Development python
Member Avatar for jlm699
0
114
Member Avatar for asw.asela

i need to develop my own application with user name and password which allow users to login to windows.....how can i do tha....pl guide me on this...... thanks

Software Development c#
Member Avatar for asw.asela
0
111
Member Avatar for TrintiyNoe

[CODE]cin<<a;[/CODE] lets say the user enters 'i' if i have a variable i,i want its variable to be displayed or some arbitary "Invalid output" message, any way of doin this,instead of using n case statements in switch???? Is there a way for direct redirection?

Software Development c++
Member Avatar for TrintiyNoe
0
125
Member Avatar for TrintiyNoe

can u tell me a way to remove the excess spaces from a sentance using Ws? or anyother way? Lets say i have "This is a sentance" I want "This is a sentance" with ws?

Software Development c++
Member Avatar for Tom Gunn
0
156
Member Avatar for painless

plz help me out ... i m using the following code to display an image which resides on my pc (C:\Users\vivek\Pictures\firefox,JPG)... but when i run the code ....there is no compile time error..n also not any run time error..n the output is a empty frame :'( [code=java]import java.awt.*; import javax.swing.*; …

Software Development display image java java-swing
Member Avatar for painless
0
133
Member Avatar for macla

Hi, How to control disk I/O for partcular application in windows

Software Development c++
Member Avatar for Salem
0
87
Member Avatar for u8sand

Hey guys, I've been programming in consoles/visual C++. But i've been wanting to learn WindowsAPI programming WITHOUT the stupid visual interface for a while now. Could someone provide me some pointers on a good place i can learn this? Right now I'm using [url]http://www.winprog.org/tutorial/start.html[/url]

Software Development api c++ windows-api
Member Avatar for u8sand
0
105
Member Avatar for u8sand

I am interested in making my own Hide to Tray program that will hide any program i choose to the tray. I already know how I'm going to do it.. all i need is to know how to hide another window. In Visual C++ you do this->Visible = false; telling …

Software Development c++
Member Avatar for u8sand
0
76
Member Avatar for hypernova

I am searching for a book(s) which explains things like the following - 1. Difference between memory allocation of local and global (or other static variables)....? (or why i cant initialize a global variable more than once outside main and all other functions) 2. Holes in structures, and structures and …

Software Development c++ oop
Member Avatar for Tom Gunn
0
147
Member Avatar for Nitz

Hey everyone. I need a bit of advise on my code. Here is a sample image. [quote] ^ 20+ | | | | 15+ | | | | 10+ | | | | 5+ | | | | +----+----+----+----+----+----+----+----+> 0 5 10 15 20 25 30 35 40 Upper Left: …

Software Development java
Member Avatar for ~s.o.s~
0
217
Member Avatar for DezireSoftware

Hello, everybody. I'm not new with C++, or anything, it's just been about a year since I've bothered with Client/Server for MMORPG Making. I am in need of experienced coders to help me out, and teach me, to get me back up there. The engine will be free to use, …

Software Development c c# c++ client-server
Member Avatar for Sky Diploma
0
173
Member Avatar for kes_ee

I am having a text file contaning the following: "int Function1 (int arg1, "0|1", char * arg2); int Function2 (int arg1, " ", char * prt1); ..." I need to open this file, split the each word and store it as global variable. I did this in Perl but now …

Software Development perl python
Member Avatar for Lardmeister
0
808
Member Avatar for athlonica

Hi Guys! I need help with something that I can't figure it out on my own. I'm working with an XSLT stylesheet that constructs some URLs that are finally presented as an html page. I want to add to one of those URL a variable that I know how to …

Software Development java javascript xml
Member Avatar for xml_looser
0
92
Member Avatar for llemes4011

Hi. I started looking into JavaMail today, and I got the basics down. But when I sent a message to my friends Gmail account, it said that the message my not be from me, and was sent to spam... does anyone know why?

Software Development java
Member Avatar for llemes4011
0
98
Member Avatar for metinh

Hello everyone. I am trying to implement CDATA wrapping of values conditionally in XSLT. My requirements are: - If the value contains <, >, &, ", ' then it must be wrapped in CDATA in the transformed output. - if the value does not contain any of the above characters, …

Software Development xml
Member Avatar for fpmurphy
0
803
Member Avatar for Furtano

Call by Reference with String Hello, how can I transfer a String variable with Call by Reference? Here my code: [code=c++] #include <cstdio> #include <iostream> #include <sstream> #include <string> void int_to_hex(int *dez,string hex_string); // Prototype int main(){ string hex_string; //then hex_string becomes a value... int c = 123; int_to_hex(int_to_hex(c, hex_string); …

Software Development c++
Member Avatar for Furtano
0
199
Member Avatar for llemes4011

I'm writing an Email Client, and I need a JSplitPane that splits 4 or 5 JPanels instead of 2. I looked around and didn't really see anything that looked like what I need. I need it so I can adjust the size that is allotted to the subject, sender, date, …

Software Development java
Member Avatar for llemes4011
0
834
Member Avatar for makymakaru

hi.. i'm very new in this programming thing but i need to make this hello world program work in windows and linux environment. thing is i encoded the program below and i used cygwin and andlinux to compile and i still get i think some errors. I'm lost.. really i …

Member Avatar for makymakaru
0
463
Member Avatar for krokodajl

Hello, I need some tips to develop an application(Windows Forms, C#). My app will read/write data to/from database. I wonder to know how can I develop displaing some message during reading or writting data to database. I will be grateful if you support me with any ideas.

Software Development
Member Avatar for sknake
0
88
Member Avatar for jamojo

Hello Everyone, I am using ths class as my reusable SQL select for my queries in other classes. But when I used this in other classes, it generated me this error: java.sql.SQLException: Network error IOException: Address already in use: connect Can anyone give me some idea or advise on how …

Software Development java oracle sql
Member Avatar for jamojo
0
179
Member Avatar for nlvraghavendra

Hi guys I'm creating a web application with language support. So i've defined the languages using .resx resource files. After building and compiling the application i get .resources file in the dll file. After delivering the product to the client, the client may want to change some values that has …

Software Development
Member Avatar for sknake
0
95
Member Avatar for TrintiyNoe

Hey,i just came by an example where,a string was split off using strings, the input was something like, "342c234" basically, a string where it is full of numbers and in between a char, i used ascii values in a for loop to split them,but somebody just did some sort of …

Software Development c++
Member Avatar for TrintiyNoe
0
111
Member Avatar for stevnlon

I wonder if i could pick anyones brains on somthing? [CODE]public void show(String add) { try { statement.execute("select * from Staff_Details WHERE Address2 =" + add); [/CODE] This is a section of code im working on. The string variable add at the end of the SQL statement is not working …

Software Development java sql
Member Avatar for masijade
0
137
Member Avatar for cyrogathoni
Member Avatar for mr_scooby

Im trying to make a simple windows form that records the date based on a click on a month calendar, the distance driven and time taken based on text box inputs. Im ok with arrays in console mode but no idea when it comes to forms/button click events. this code …

Software Development
Member Avatar for ddanbe
0
107
Member Avatar for ermithun

Hello All please help me understand the below code snippet, [code=syntax] LDAPControl** LDAPControlSet::toLDAPControlArray() const{ DEBUG(LDAP_DEBUG_TRACE, "LDAPControlSet::toLDAPControlArray()" << endl); if(data.empty()){ return 0; }else{ LDAPControl** ret= new LDAPControl*[data.size()+1]; CtrlList::const_iterator i; int j=0; for(i=data.begin(); i!=data.end(); i++,j++){ ret[j] = i->getControlStruct(); } ret[data.size()]=0; return ret; } } [/code] please note in the above code, data …

Software Development c++
Member Avatar for Sky Diploma
0
81
Member Avatar for r0n

hi everyone how should i move the data of the multiple text file to another text file... (for instance you have two text files readFile1.txt and readFile2.txt and you have to move the data of the two text files in another file which is writeFile.txt ) how should i read …

Software Development java
Member Avatar for r0n
0
4K
Member Avatar for gingank

I'm a newbie in VB i want to ask if have a vb form 1 if i press the command button "ADD" it will call out the form i do vb form 2 so what is the coding for it ah?? Help me thank you

Software Development visual-basic
Member Avatar for pmyk
0
122
Member Avatar for lotrsimp12345

here's my code, don't see why it doesn't print out [code] #include <iostream> using namespace std; int main() { cout<<"enter a passage into input to find out how difficult it is to read\n"; string passage; cin>>passage; char letter; int space=0; while(letter!='\n') { if(isspace(cin.peek())&&letter=='\n') { cout<<"from space"; space=space++; } } cout<< …

Software Development c++
Member Avatar for Nick Evan
0
243
Member Avatar for scholar

Hi Friends, I am trying to make an application which will have a configuration form.That form would be having next and previous buttons. Clicking on next button should display different content on the same form. Please suggest different ways to accomplish it.

Software Development
Member Avatar for sknake
0
215
Member Avatar for scholar

Hi friends, I am trying to add multiple LABEL controls in my program using a GROUP.I am using the folllowing code [CODE]Label newlabel = new Label(); void functionname(..... , ....) { int i = 0; foreach (string s1 in s2) { newlabel = new Label(); newlabel.AutoSize = true; newlabel.Text = …

Software Development c#
Member Avatar for ddanbe
0
313
Member Avatar for pardeep3dec

Hi friends, Can u tell how can i connect to ms access table from a remote pc within LAN. I want to make a small programme for database manipulation on LAN. Whose database will be stored on a single pc and another can access that data from remote pc within …

Software Development vb.net
Member Avatar for eloelo22
0
130
Member Avatar for maheen123

Hi I want to update a database record using vb forms. Im using a button for this purpose...how can i do this.. is there any way like in oracle that just a commit statement save changes.. here i need to write all fields and assign their values in db... please …

Software Development oracle vb.net
Member Avatar for eloelo22
0
89
Member Avatar for babbu

i want to enable or diable some controls on another form depending on the action in the current form. how can i write the code for this in the current form

Software Development vb.net
Member Avatar for kvprajapati
0
101
Member Avatar for teked

Hi i want to display the version number of my application in VB6, I know the solution is going to be really simple.. please help!

Software Development display visual-basic
Member Avatar for teked
0
4K
Member Avatar for ermithun

Hello All Can anyone provide me a sample code, executing which generates a segmentation falut. need to understand how it works. Thanks.

Software Development c++
Member Avatar for tux4life
0
189
Member Avatar for blueandyellow

Hello. I've hit a brick wall on an assignment for class. I've included the instructions and what I have gotten so far. My major problem is converting the number for days of the week to the actual day. Any help will be greatly appreciated. Thanks! Insert code into the Clock …

Software Development java
Member Avatar for ithelp
0
371
Member Avatar for TrintiyNoe

Hey,can u ppl tell me a simple way of converting a string into a integer? I have something like [ICODE] string str1 ("1000"); string str2 ("2000"); [/ICODE] i wanna convert them into integers and add them,any idea how?

Software Development c++
Member Avatar for TrintiyNoe
0
128
Member Avatar for ermithun

Can anyone help me to let me know whats happening in the below code when , [code] data=cs.data;[/code] happens as FYI, data is an empty list created of type std::list and the constructor definition given below is a copy constructor [code=syntax] LDAPControlSet::LDAPControlSet(const LDAPControlSet& cs){ DEBUG(LDAP_DEBUG_CONSTRUCT,"LDAPControlSet::LDAPControlSet(&)" << endl); data=cs.data; } [/code] …

Software Development c++
Member Avatar for ermithun
0
296
Member Avatar for ermithun

please refer the code below, /** * Constructs an empty std::list */ LDAPControlSet(); only this much is there in its respective class,LDAPControlSet. i want to understand that how does it create an empty list from std when nothing's there in its below constructors?? Moreover, the below constructors are the copy-constructors.. …

Software Development c++
Member Avatar for ermithun
0
122
Member Avatar for fourstar

Hi all, I have been working on this code all day and can't seem to really get a grasp on it. Essentially I need to calculate the number of days in the year when the user inputs a month (by name), day, and year My output would look something like …

Software Development c++
Member Avatar for fourstar
0
2K
Member Avatar for amadaeliseo

Pls help, Can anyone help me to implement n-way merge sort (external merge sort) algorithm in c#. Thank you.

Software Development algorithm
Member Avatar for Diamonddrake
0
94

The End.