199,114 Archived Topics
Remove Filter ![]() | |
Hi, I want to make enter Textbox value in multiplication of 2,the value in the textbox is retrieved from database. This is my code: [code] int a = int.Parse(textBox3.Text); int b = int.Parse(textBox3.Text); int c = a + b; textBox3.Text = c.ToString(); [/code] I had retrieved value from the database … | |
Hi, I want to trigger a mail from VB6 code. Here the only specific requirement is, When the user click the button, it will do something and send the result in a mail using common id. Eg: There is common mail id called [email]RMG@xyz.com[/email] (Resource management Group) which will be … | |
Hi..Can anyone help me out? Can anyone give me a sample image uploader in php? That it will store to php mysql database? With 4 fields namely(id, image_name, images, descriptions). [b]These are my fields.[/b] [CODE]<form action="" method="post"> <input name="image_name" type="text" id="image_name" value=""/> <input type="file" name="images" id="images"> <input name="descriptions" type="text" id="descriptions" … | |
hi, I'm doing a Real Estate Website where I have an upload image web form which saves the image paths of the images into my database. I am trying to view details of the property in another web form, but I can't retrieve the images, only the data is being … | |
I have asp:calendar Now i want to select multiple dates from calendar.Is it possible that multiple selection can done or not | |
i want to make a seacrh page using c# in asp.net.. at the first page, i want to display all the record in a gridview..then,after user click a search button, the result will appear in another gridview.. what should i put to visible the previous gridview and display only the … | |
hi.. i've review the latest logout and cannot back if BACK button is press.. anyone can help me in clearly how to code it? | |
I have a table that looks like the one below: Name Score1 Score2 Score3 TOTAL Dan 71 85 23 ? Tom 58 84 87 ? sam 76 65 64 ? I dont know d command that will dynamically get the total score for each student and put it in the … | |
Hi all, i am working on converting the asp.net to pdf file.. now i'm using this code,but it give me an error "Type or namaspace name 'pdfConverter' could not be found".. is there any component i need to install..any help plz? [CODE]PdfConverter pdfConverter = new PdfConverter(); pdfConverter.PdfDocumentOptions.PdfPageSize = PdfPageSize.A4; pdfConverter.PdfDocumentOptions.PdfCompressionLevel … | |
When I set the VisibleWhenLoggedIn property of my Login control to false, my Login control automatically becomes invisible even if I'm not logged in. I've already set the Authenticate event to use my own SQL database, but this problem is still persisting. How do I fix this? Here is the … | |
Dear all. I need help regarding on my error.. this is the sample code: [CODE] Private Sub GetDetails(ByVal id As String) Dim conString As String = (ConfigurationManager.ConnectionStrings.Item("ItemListing").ToString) Dim objConnection As New MySqlConnection(conString) objConnection.Open() Dim sdr As MySqlDataReader Dim sSQL As String = " SELECT i.SuppCode,s.SuppName,s.telno,s.Faxno,s.email,s.Salesman,s.Mobileno,s.add1," & _ " i.masterefno, i.invoicerefno,a.remarks, … | |
![]() | I need to make UI in C# that works with an SQL DB. I thought piece of cake! I imported my DB files to the Visual Studio (add->existing item ->browes and add) I dragged the tables to my Forms & there were automaticly buttons like New, Delete, Save, next record,previous … |
Hi guys) Please tell me - why is it impossible to keep global variables in C in a processor register? thanks in advance) | |
I have created a CSV file on the server and want to send it to the user using the following code: [code] Dim strPhysicalPath As String strPhysicalPath = Server.MapPath( "CSV/" & PathVirtual) Dim objFileInfo As System.IO.FileInfo = New System.IO.FileInfo(strPhysicalPath) Response.Clear() Response.ContentType = "application/vnd.ms-excel" Response.AddHeader("Content-Disposition", "attachment; filename=" & objFileInfo.Name) Response.AddHeader("Content-Length", objFileInfo.Length.ToString()) … | |
Hi there I'm having trouble a with a forum query here are my 3 tables [B]categories[/B] [U]category_id[/U] category_name category_description [B]threads[/B] [U]thread_id[/U] [I]category_id[/I] thread_title thread_text [B]posts[/B] [U]post_id[/U] [I]thread_id[/I] post_text I want a query that selects all of the top level categories and displays them however in that query I am aware … | |
Hi all, I want to grab frames from video. (I want multiple frames from a video) using Java. I have tried with the code that is there on sun site. but it doesn't work(as it is for grabbing frames from web cam). If any body knows then reply asap. Thanks … | |
hi, to validate the name entered by user, i am using this expression "/^[a-zA-Z, ,]/". The name should contain only alphabets and space, if anything other than these two appear in the string, it should output alert msg. Is this expression correct? it is working fine only when numbers are … | |
I am trying to make a report which gets its data from a windows form's textboxes. My code works fine but upon display of the report, a window always appear asking to enter parameter values. How can I bypass or remove this window? Here is my code: [code] Dim report … | |
Hi, I have a weely report which contain of 2 text box. EmpNo.txt and Position.txt. I need to get the data from my access database when the form is loaded. Before go to the weekly report form the system will check the loginID and password. The empno and position data … | |
[B]How to make Blowfish Crypto in vb 6[/B] | |
Hi i'm using a table adapter.insert() method to add new data to my table and i need to get hold of the id of the inserted row. I've read around and seen that the most popular way to do this is with SELECT @@IDENTITY as Value but im not sure … | |
hie ! i am using vb 6 front end nd oracle 9i bk end ... Prob: can we on execute two diff commands (the data environment one's) on the same data report ,instead of using 2 data reports for the 2 diff commands ????(please help wit this) and one more … | |
I am basically done with this program, but now my only problem sorting the students GPA from lowest to highest. this is the .dat file (its the ways its suppose to look like when printed out): ANNA A ADAMS 11 A STREET ALLENTOWN PA 11111 11 5.50 BOB B BRADBURY … | |
I'm trying to move functions that I have created in my .h files into the .cpp files of my winForm application. I don't really know how to get this to work. Example code in .h: [CODE]void loadCustomerDetails() { SQLiteConnection^ ObjConnection = gcnew SQLiteConnection("Data Source=SwiftService.db3;"); SQLiteCommand^ ObjCommand = gcnew SQLiteCommand("SELECT * … | |
Hello! This is my first time attempting to get help but, alas, I'm desperate! I have been working on this program for a class (and it's due at midnight). I can't seem to grasp moving data in and out of arrays using nested for loops. it's a matter of entering … | |
I am writing a chutes and ladders game for a class, and it's mostly working but I can't figure out how to make the chutes and ladders work. Can I please have some hints? [CODE] board = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, … | |
HI im new to asp.net and i want help when click insert button same record is inserted instead of new record. Pls reply asap as my project is based on this [code] using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; … | |
Hi, I want to search a particular word from a string here is it $str="<a href" is there any way to find this link embedded in the string .... and if found it must echo "found..................... | |
Having issues working with dates in PHP, very new aspect of PHP for me. Couple things I'm trying to accomplish and wouldn't mind a simple tutorial/explanation of since everything I'm finding assumes I know more than I do: [B]1. How to sort by dates?[/B] [I]Currently I am trying to query … | |
I'm using DataSet ReadXML() method to load XML files of records different tables, and all are working fine. But, I would like to have the exceptional handling that in case there're records in XML files got problem, e.g. invalid data format or exceed column width and etc, it will skip … | |
Hi all, I've built a Queue class which basically uses dynamic memory allocation to make an array grow with every new element inserted. It compiles and works perfectly under dev c++, but when I included the class in a VC++ 10 Express project and instantiated an object from it, the … | |
Here's my situation. Let's say I would like to create a thread that continually prints the number 1. When a button is clicked the value should then change to 2. My issue is that I'm unsure how I change a variable in an already running thread. Here's my code: [CODE] … | |
ive been told to put all my sql statement together but i jus keep getting lots of errors with local variables in my vc++ project. sql.h[CODE]#ifndef __SQL_H__ #define __SQL_H__ #include "stdafx.h" #include <iostream> #include <string> using namespace std; using namespace System::Data::SQLite; using namespace System::Data; using namespace System::Windows::Forms; using namespace System; … | |
I am using Visual C++ Express Edition on Windows, and I am look at the windows task manager and I noticed that every second, in the process tab the memory of my C++ program increases about 8 K when I am not even doing anything. Also, I've noticed that if … | |
i'm creating a e-cart. i have a problem to update cart. I want to use session array to create cart, but i don't know how to do it. can some help me to create SESSION ARRAY which can add several data. $_SESSION['ecart'] = $details; how to add several data for … | |
Ok, so I want to create an alternate way of creating this: *________* **______** ***____*** ****__**** ********** ****__**** ***____*** **______** *________* Note: The right side is supposed to lookjust like the left side. Note 2: Replacing the underscores with asterisks(*) This is the code I have so far, but I … | |
hello there I'm trying to chroma key an image and i don't really know where to start. I am using python coding with quickdraw as my image displayer. I am trying to: first prompt the user for location of Quickdraw, foreground image and background image. second i want image rasters … | |
Hi all! I'm new to Daniweb and to programming. I'm learning Java with the book Java how to program 7th edition. I'm stuck at an exercise where I'm supposed to create three objects that each inputs an hourly rate, number of hours, and a name for the employee given by … | |
I know this is a long one but I've been trying to work around the coding for days, any help will be of great help. ______________________________________________________________________________________ [B] I have a bit of a problem, I have three pages: student_login.htm(to take in id and pwd),loginstdck.php(to check if the values match with … | |
I wanted to make a program to help me find the locations of some double valuse in current process memory. I found some code snippets to study, but Im failing at the first hurdle. First let me be clear that I am not the author of the below code, but … | |
Hello: I have a mysql table that stores customer transaction information. I want to sum column name "total" --which has values like this: $253.20-- only where the value of another column is "mossa01". For this, I passed the variable to the code via url and trimmed it. I then used … | |
Hello, I really could use some help with this hangman program. I have searched all over the internet to find an answer that i can understand. I'm a beginner at C++ programming. This program prompts the user to enter a phrase. then you guess letters. if a letter is wrong … | |
I'm planning the redesign/upgrade of my site which is currently in wordpress to something that looks like the following. Can you experts out there in .php tell me if these are: 1) just custom wordpress templates or designed from the ground up 2) how much it would cost to do … | |
/*My problem is on line with outdata1<<A3[p]<<endl; its says no operator found, help would be much appreciated*/ #include <iostream> #include <fstream> #include <string> using namespace std; struct Data { string salesperson; string style; double price; int quantity; }; int x; int y; int i=0; struct Data A1[100], A2[100], A3[100]; int … | |
these are the classes that i am going to add to my jar file: TestRegform, LogIn, LogIn$AccountInfo, and regForm. I have manifest.txt that contains: Main-Class: TestRegform (new line) then I typed this in the command line: D:\Project>jar cvfm Registration.jar manifest.txt *.class then, these came out: added manifest adding: LogIn$AccountInfo.class(in = … | |
Hi all, I am in my first Java class at the local community college but my class is online and my teacher takes DAYS to respond via email. I need some help with my homework and thought I would try here. I'm not looking for someone to give me the … | |
Hi I have never used vedctors before so I am just wondering if this is correct or not. If not, would you mind showing me the correct way to use it? [CODE]cout << fixed << setprecision( 2 ); vector < Employee * > employees( 4 ); employees[ 0 ] = … | |
Do you need to to install php, mysql, apache, and more on your computer? <URL SNIPPED> | |
Hello, Can some one give me a hand on my search algorithm? I know it's not working right and am not sure how to make it work properly. It is on line #'s 69 to 73. It has to search for the name that is already stored in the array … | |
Hey everyone, I currently am creating a Card shuffling program in C++, Ive taken care of the shuffling of the deck. Now I just need to distribute a hand of 5 cards, and determine hands. Can anyone help? Please! cardheader.h ( includes both Class Card & Deck ) [CODE] #ifndef … |
The End.