199,114 Archived Topics
Remove Filter ![]() | |
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? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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? | |
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 … | |
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... | |
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 … | |
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. | |
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 … | |
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]; … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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:( … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
[B]When should we use for loop and when while in C ? In terms of speed up and memory consideration in embedded systems.[/B] | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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, … | |
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, … | |
![]() | 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 … |
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. … | |
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 … |
The End.