199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for libathos

hi guys i want to make a c program,what it has to do is to find its current pathname every time it is executed from diferent locations and then redirect the outcome in a .txt file,through cmd.I have lack of knowledge when it comes to cmd so any help?

Member Avatar for kings_mitra
0
128
Member Avatar for pritesh2010

hello experties in my webpage i have one datagrid in datagrid i'm showing all the data.for eg date/name Title 7/14/2010 Pqrs abc gh ghfghfghh ghfghfghfg 7/15/2010 Pqrs xyz fgh fgh fgh fdg fgdfgf 7/16/2010 Pqrs lmn ytyrt yrtyrty but insted of header text like Date/Name Title i want to show …

Member Avatar for pritesh2010
0
368
Member Avatar for Lusiphur

Good day folks... This may seem like an odd question and I apologize in advance for the limited information to work with in this case but I'll do what I can to give the needed info... My website [url]http://www.bariby-quance.com[/url] has a journal/blog component that I built within it that, on …

Member Avatar for Lusiphur
0
185
Member Avatar for darling332001

Friends, I'm taking a Java programming class online and it seems that the lecture nor the book explains in detail the finer points needed for my programs to work. Thus far, I've gotten by with what I know of prior languages and trial and error. However, I'm having problems with …

Member Avatar for tong1
0
268
Member Avatar for smoothe19

How do i create such a thing like a txt file where i can save usernames and passwords? but is protected that only certain users can access and edit the usernames and passwords? Please help I tried using a txtfile but i realized anyone can access it...is there anyway of …

Member Avatar for NormR1
0
91
Member Avatar for maniakdusoleil

So, I'm working on a project for my Intro to Software Development course; it's a sudoku puzzle program. So far, I've encountered two big bugs: 1.) When I wrote the code in Visual C++, the display worked fine(it showed up on the screen as a normal puzzle), but when I …

Member Avatar for StuXYZ
0
2K
Member Avatar for interist

Hello everyone, I'm newbie with c++. I need to ask you probably a very simple question. When I write a file with numbers from an array I then read in a file something like: 7 8 9 10 11 12 When I then read this file and print on screen …

Member Avatar for mrnutty
0
80
Member Avatar for jiraiya

Hi everyone, I'm having a problem with a JUnit test I've written. I think there should be a simple solution but I can't work out what's wrong. I'm new to using JUnit so any advice would be a big help. Here's the test class below. At the moment I'm just …

Member Avatar for Taywin
0
100
Member Avatar for leahrose87

I have so many form in different module in one solution. I already instantiate a new Form as a global variables in my parent form. Then, call the code [CODE] frm.show() [/CODE] in my button1 event any idea?

Member Avatar for leahrose87
0
96
Member Avatar for subhankar02dey

I want to know using Java Sript, how can I get sub buttons when I mouseover a button, for example, in daniweb.com, when I mouseover Web Development button, then it expands and shows PHP, ASP.NET, Cold Fusion, ASP, JSP and so on....... How I can make this type of button …

Member Avatar for fxm
0
102
Member Avatar for archana.c07

Hi all, I am trying to conver string to decimal. the sting is 8 byte long and contains data as hex nembers e.g 0000000000000D72 i want to conver this data into decimal as 3442 i'm not getting how to do this help me...

Member Avatar for Software guy
0
261
Member Avatar for habib_parisa

I am using Ubuntu-gcc and have a large C code which uses routines from numerical recipes and GNU scientific library. It needs a compilation compilation because each library, i.e. nr and GNUsl, needs its own flags for gcc. Therefore I use a makefile. It works well when the code is …

Member Avatar for griswolf
0
370
Member Avatar for jcao219

This is not my code! Taken from [URL="http://stackoverflow.com/questions/3230978/code-golf-four-is-magic/3231355#3231355"]this SO post[/URL]. You can use this to get the number of letters in the English representation of an integer, from 0 to 99. So for example 5 (five) is [icode]len("five")[/icode] which is 4.

Member Avatar for TrustyTony
0
176
Member Avatar for TwijoO

hi, due to my FTP server not liking to upload .exe files in order to get my auto updater to work i have to rename the folder .file before i upload [I](example: C:/.../desktop/twijoo.exe.file)[/I] after this is downloaded i need it to check the application folder for any files ending with …

Member Avatar for TwijoO
0
179
Member Avatar for saqib_604

hy! I am writing an integer array class. but there is problem to return array from getter function. any one tell me the procedure of this task. And tell about extract operator for that class.[code]#include<iostream> using namespace std; class integer{ friend ostream& operator<<(ostream& output, const integer& num); private: int array[10]; …

Member Avatar for mrnutty
0
297
Member Avatar for saranyasara

hi we are doing ATM project in VB.NET using sql connection....how to create database in sql...there are two labels in my project namely pinno and acctno.i had database with three fields pinno ,acctno and amt.how to check the details i entered in textbox1,textbox2 are same when compared with database...pls answer …

Member Avatar for pweegar
0
106
Member Avatar for Tekito

I'm about to write a new program in Visual Basic. I have Visual Studio 6.0, but it's limitations are starting to become a problem and I'm wondering about trying Visual Studio 2008 Express (unfortunately purchasing the full version is not an option). I would hate to get halfway through and …

Member Avatar for pweegar
0
221
Member Avatar for ttboy04

hello, I have called getFruits method from another class (another class is called vegetables). I can't seem to add the names of the fruits in myTable TreeSet in class Test. The error I am getting is "cannot find symbol - variable length". Can anyone help me. Thanks [CODE]public class Test …

Member Avatar for ttboy04
0
138
Member Avatar for smoothe19

My program is not case sensitive it does not display the output my proff wants PLEASE HELP! I don't know how to make it case sensitive The output should be: As entered 0:a:apple 1:a:Apple 2:z:Zone 3:a:apple Bubble Sorted 0:a:apple 1:a:Apple 3:a:apple 2:z:Zone Selection Sorted 1:a:Apple 0:a:apple 3:a:apple 2:z:Zone My program …

Member Avatar for NormR1
0
436
Member Avatar for roezer

I am not a developer I am a user of the Internet and very active so active that I need to use a password manager now the problem with this is that I use the password manager to save me time and one of the biggest problems is that some …

Member Avatar for roezer
0
131
Member Avatar for snefmoo

iv been using a tutorial to creaete the script to show an enlarged version of an image float on the screen on mouse over. the script and everything else works but i was wondering if someone could help me to make the floating image more central as it floats down …

Member Avatar for scrappedcola
0
99
Member Avatar for DarkBerzerkâ„¢

Hey there, i am making cPanel to the websites i cr8.. so wanna it easy to the user to edit the texts.. gonna tell u what i have done. the user have cPanel page...with text form, when he type the text and confirm some script automatic save this text into …

Member Avatar for DarkBerzerkâ„¢
0
124
Member Avatar for Andreas5

Exercise 12-5 in Accelerated C++. My operator+= works: [CODE]void Str2::operator+=(const Str2& a) { iterator new_data = alloc.allocate((avail - data) + a.size()); iterator new_avail = std::uninitialized_copy(data, avail, new_data); new_avail = std::uninitialized_copy(a.data, a.avail, new_avail); uncreate(); data = new_data; limit = avail = new_avail; }[/CODE] However i cant get the operator+ to work:( …

Member Avatar for Andreas5
0
93
Member Avatar for virspy

Hello Friends, Good Morning, I want in my website the visitor ip has to be shown or it log in seperate file. As iam successful in doing that, but my problem is iam not getting the exact IP Adress of the Host or visitor. Please help me in finding the …

Member Avatar for JameB
0
77
Member Avatar for Silvershaft

Hey! I got a little login script, like when user presses the button it sends the form and does the php code to check the account, what I want to do is if the password or username is wrong, that the user will be redirected to loginpage and I want …

Member Avatar for Silvershaft
0
198
Member Avatar for mobo57

Again the dumb question. Sorry in advance and thanks for your responses in advance! Here is my code after the DB connection: [CODE]$result = mysql_query( "SELECT * FROM overall WHERE profilename IS NOT NULL AND username = '$reguser'" )or die(mysql_error()); while($row = mysql_fetch_array($result)){ echo $row['profilename'].$row['prodesc']."<br />"; }[/CODE] What I am …

Member Avatar for mobo57
0
85
Member Avatar for ttx336

Hello All, this is my first post here, I was a novice Pascal and C programmer back in the DOS days, now I am taking a C++ class based on "Programming - Principles and Practices Using C++" by Bjarne Stroustrup. In the book he gives an example in which he …

Member Avatar for ttx336
0
97
Member Avatar for patrickm129

Hello, I am making a *.vbs file and I need help putting two codes in. The first code is to make a .txt file named "Hello World", with the text in the .txt file "Time ... (your time)-Test123" Code: [CODE]myfilename = "\Hello World.txt" MakeHelloWorldFile myfilename Sub MakeHelloWorldFile (FileName) 'Create a …

Member Avatar for patrickm129
0
207
Member Avatar for DarkBerzerkâ„¢

I was looking long time ago for perfect contact form that check if the input info is right and with security image....At least one week ago found it.....and because i just joined this website today so i wanna help the members as i can :) If u want c this …

Member Avatar for DarkBerzerkâ„¢
0
915
Member Avatar for suvind

[B]When should we use for loop and when while in C ? In terms of speed up and memory consideration in embedded systems.[/B]

Member Avatar for Dervish1
0
2K
Member Avatar for judithSampathwa

hi there, i have a two forms and in one of the form there is a button to open the other window which is the second form. what i want to do is, when the second form is opened how can i make the first form in a uneditable mode, …

Member Avatar for judithSampathwa
0
113
Member Avatar for NubKnacker

I've been trying to get it to work but it just won't. For some reason everytime I run a program it freezes up my command prompt and I have to close it forcefully. Does anyone know a fix to this? One reason why I absolutely have to use this compiler …

Member Avatar for jemy
0
342
Member Avatar for WargRider

I am creating a custom 2d turn based game engine in Java, and so far everything works great. Currently, I have come to the dreaded networking :), and I made a test code, prototype of the network that I would like to create. It uses Java's MulticaseSocket class, DatagramPackets and …

Member Avatar for WargRider
0
350
Member Avatar for roba1989

Hello. I am trying to create an update form that will update values in a MySQL database. The forms are generated for each different row in the database through a while loop (ie whilst there is another row, make a new form on the page). However, I cannot get it …

Member Avatar for xylude
0
170
Member Avatar for jackmaverick1

I have been studying c++ on my own for about a year (i'm 11) and have mastered classes, functions, logical operations, and some other basic things. Now I'm interested in learning to make and use GUIs. I already know how to make a message box and have the code but …

Member Avatar for jackmaverick1
0
200
Member Avatar for NewbieXcellence

Hello, thanks for reading my post. My troubles have to do with using a python script to gather information from a web page. I'm using the 'IEC' (Internet Explorer Controller) module to handle the 'COM' stuff for me. The script looks like this: [code=python] import IEC from BeautifulSoup import BeautifulSoup …

Member Avatar for NewbieXcellence
0
337
Member Avatar for torkolort

Hi, I'm new to JSP and I'm trying to make a simple registration form. I've looked at examples and tried to do the same thing, but I have some problems. What I have so far is register.jsp : [code]<div id="register_container"> <form action="registrationProcessor.jsp" method="post"> First Name <input name="firstname" type="text" class="inputbox"/><br/> Last …

Member Avatar for ~s.o.s~
0
359
Member Avatar for BobbieJean

Hi, I have to write an airline ticket program for my class. My instructor gave us an example of a similar program so I thought I would build and run it to help me understand it better but he seems to have given us code for a program that doesn't …

Member Avatar for jonsca
0
193
Member Avatar for fussballer

Hello, I was compiling some code and get the following compiler errors: error C3861: '_stprintf_s': identifier not found error C3861: '_tcscat_s': identifier not found I got the code from the MSDN Library: [URL="http://msdn.microsoft.com/en-us/library/dd798640%28VS.85%29.aspx"]http://msdn.microsoft.com/en-us/library/dd798640%28VS.85%29.aspx[/URL] I tried to find some info about the _stprintf_s and added the header <tchar.h> This got rid …

Member Avatar for fussballer
0
530
Member Avatar for vinotharan

[CODE]#include <iostream> #include <string> using namespace std; class w { public: void InsertRow(String* myConnection) { // If the connection string is null, use a default. if (myConnection->Equals(S"")) { myConnection = S"DRIVER= {SQL Server};SERVER=MyServer;Trusted_connection=yes;DATABASE=idb;"; } OdbcConnection* myConn = new OdbcConnection(myConnection); String* myInsertQuery = S"INSERT INTO test (id)"; OdbcCommand* myOdbcCommand = new …

Member Avatar for tesuji
0
338
Member Avatar for nanosani

I have installed Visual studio and then after that I installed msdn library from a network location on my of my client pcs ... but what I get is when I press F1, it says that the external help should be installed and then tells me to insert the msdn …

Member Avatar for cadmarysoft
0
116
Member Avatar for wolfeater017

Im trying to use a different font in pygame but every time I run it I get this syntax error message [Traceback (most recent call last): File "C:\Python31\pytest.py", line 22, in <module> font1 = pygame.font.Font('C:\ActionIsShaded.ttf', 12) IOError: unable to read font filename] I tried getting rid of the qoutes around …

Member Avatar for vegaseat
0
5K
Member Avatar for stilllearning

Hi, I have some code which creates an extremely long table row, and I've been able to clean it up to a point where my performance is fairly decent. What I am trying to figure out is if its better in terms of speed to use divs as opposed to …

Member Avatar for scrappedcola
0
108
Member Avatar for seanzshow

Hi, I am attempting to come to terms with pointers and have come up against a problem. By my understanding the code below should: a, assign the value 3200 to total. b, attach the memory address of total to ptr. c, send the value at ptr to val. d, display …

Member Avatar for Fbody
0
134
Member Avatar for TotoTitus

Hello everyone. This post will contain an amount of personal feelings within it. I'm not a very experienced/skilled programmer, and my main 'background', if i can call it so is in windows forms applications (Visual C++, C#), where conceptually speaking, everything is driven by events, the only possible difficulties arriving …

Member Avatar for TotoTitus
0
195
Member Avatar for mxadam

Hi All, I get this error operator == cannot be applied to operands of type 'System.IntPtr' and 'int' firstly I had this code [code] private void SNGPH_KeyUp(object sender, KeyEventArgs e) { if (e.KeyCode != Keys.ControlKey) return; POINT curpos = new POINT(); User32.GetCursorPos(ref curpos); IntPtr handle = User32.WindowFromPoint(curpos); handle = User32.GetAncestor(handle, …

Member Avatar for Lusiphur
0
705
Member Avatar for Jesi523

I have a detailsview where some items are bound to a database and other items are not. I have two textboxes with a calendar on each. One lets the user pick the start date and the other lets the user pick the end date. I also have to dropdown boxes, …

0
74
Member Avatar for jacg4

Here is the issue: I have a multi-form application developed on C# with two forms, after I press a button I hide the first form and show the second, but how can I show the first form again if I close the second one pressing the red close button on …

Member Avatar for Geekitygeek
0
5K
Member Avatar for judithSampathwa

hi there, i am creating an application in visual studio 2008 standard edition. i have a form all frmMainMenu and a frmLogin and a frmAddNewProposal. i have a close button in frmMainMenu, i want to coed this so that when i click on the close button the frmLogin should appear. …

Member Avatar for Geekitygeek
0
469
Member Avatar for levsha

Let's say I have a form with 'file' type input control on it among other input controls. My PHP emails the submitted form data somewhere. As far as I know, in order to attach an uploaded from the form file to the email, I have to save it first in …

Member Avatar for levsha
0
93

The End.