199,114 Archived Topics
Remove Filter ![]() | |
Hi please help me in this code, it gives always error on execution of command is comes. [code=vb.net] Try DBconnect() cmd.CommandText = "Designation_INSERT" cmd.Connection = con cmd.CommandType = CommandType.StoredProcedure 'Fill the Parameters of Store Procedure Param = cmd.Parameters.AddWithValue("@DesignationID", TxtDesigCode.Text) Param = cmd.Parameters.AddWithValue("@DesignationName", TxtDesigName.Text) Param = cmd.Parameters.AddWithValue("@ApprovedBy", TxtDesigApproved.Text) cmd.ExecuteNonQuery() 'Error Comes … | |
Hi I need to download a file from a http server which askes for user id and password to login. can someone help me out in downloading the file and place that in a database table. Thanks in advance Neela.V | |
![]() | Hello, i have one more problem...here it is: In my application I have more then one form/dialogs, of course. My start up (main) form is called "StartForm" and when I want to access to some other dialogs, I open up dialog and I put StartForm on ".Enabled = False" so … ![]() |
hi, Is there a way to include a php file in .tpl file. basically i have a menu (javascript,html and css based) that i want to include in the .tpl file. thanks | |
Old fart here, still a horrible newbie. Tonight, I've actually got a working solution for my problem, but the book I'm reading is unclear about something, and I'm having trouble getting Google to give me the the exact answer I want. Given, [CODE]//Header junk //CandyBar struct int main() { CandyBar … | |
Hi All, I'm trying to create a table that has 2 columns and some number of rows. I would like to add an additional row at the end that is one cell which extends the entire row! I'll show you a simplified code. The problem is that the last row … | |
Essentially what I'm trying do with nested statements is that when I enter the the second switch stament and when I exit the second switch statement it goes back to the first switch statement menu. Currently the current code exits the entire program after the second switch exits, which of … | |
I'm new to this asp.net while i'm creating a new website i got error like this i don't know what to do.. my error is... " Configuring web site 'http://localhost/mysite to ASP.NET 2.0 failed. You need to manually configure this for ASP.NET 2.0 in for your site to run correctly" | |
Hi all. :icon_smile:I am having problems with my form validation and getting it to run. I also have been unable to get the last page update to display at the bottom of the screen:icon_redface:. Is anyone able to help me to get these things to work - I am getting … | |
hi im trying to create a C# program that'll display * ** *** **** *** ** * type pattern but i can only get mine to look like this when i try to add on to the code * ** *** **** and then it stops. can anyone help on … | |
hi all iam new in this forum and i need some help in my assignment .. it's a c# game using graphics .. this game when start it should show a sheep then a chicken randomly then all graphics will move to the left .. there will be a dora … | |
![]() | I am new to arrays, and was thinking they could help me in my racing project. I have two pages, one displaying the data, and the other, currently used as a php include, that contains the array. I can get the more simple elements of the array working, but I … ![]() |
[size=4]Sams Teach Yourself E-Commerce Programming with ASP in 21 Days[/size] [b]by Stephen Walther, et al[/b] Very useful - I found this book extremely useful for beginning e-commerce. If you have no idea where to start when tackling an e-commerce project, I highly recommend this book. The ideas it provides along … | |
First of all, I'd like to say hello to the Daniweb community as a first-time poster. I'm sorry if this is a common error for you folks to deal with, but my preliminary search of the forum didn't really help me all that much. So here we are. Onwards to … | |
I have this form I'm working on and found something interesting attempt1 this way works exactly how I want, which is nothing in the input boxes and no error messages on loading the registration form, once submit is entered the empty fields have a message appear next to them, the … | |
Hi all, i tried to encrypt and decrypt the files, that was successful,, but i wanted to reduce the size of the file and then decompress or decrypt it ..Nothing happening now. Any help will be really appreciated. Thanks | |
I have followed the online tutorials for setting up your first php project using netbeans ide 6.5 mi. my project - NewPHPProject tree appears in the Projects window but i cant see the project's index.php file. What could be wrong? NewPHPProject tree | source Files | NewPHPProject tree That is … | |
I have database with a table called orders. The structure is below Index, OrderIndex, OrderNo 111, 1 112 , 1 113 , 1 114 , 2 115 , 3 116 , 3 I want a query that will loop thorugh the database and make the result Index, OrderIndex, OrderNo 111, … | |
Hi , use Sort::External; $output = '1.txt'; open(FILE, $output); my $sortex = Sort::External->new( mem_threshold => 1024**2 * 1024 ); while (<FILE>) { $sortex->feed($_); # tried to change it to ~$_ but did not work !!!!! } use Fcntl; $sortex->finish( outfile => 'desc_1.txt', # comes in ascending order !! flags => … | |
hi everyone i have a problem in my project that i have made pleaze help!!!!! this project allows the user to read words and their meanings from file and store them in AVL tree and then print the tree inorder, postorder, and preorder then print the result to file in … | |
Hi i'm new here in daniweb i would like to ask about my program i'll make a program that show if the word is palindrome or not can you correct my program when i complie my program its say Process complete then when i run the program it doesn't show … | |
What is difference between $message And $$message? in PHP | |
Hai friend's i created one web appliction with visual studio2005 , while i ran that page with internet Explorer it show's the same design which i created , then i tried the application with some other browsers like mozilla , opera and google chrome, it not showed the correct design … | |
Hi I am implementing a discussion board as a phase of my project. When we visit a web site to see replies of a thread, the url of the page is something like [url]http://forums.asp.net/t/[/url][U]1335371[/U].aspx. Could anybody please let me know, what is the meaning of number 1335371 and how it … | |
hai , i am the begineer in web development,shall i know how to develope the web page more attractive,i mean what are the combination of colors we use to backgroud color ,and font color and botton , is there any combination's there? give ur advice and suggesstion's Thank You.... | |
Hi, i have my application written in .net 3.5, My IIS is of version 5.1. When i tried to host my application in IIS(5.1) by creating a virtual directory and specifying the path of the application folder (which is in D drive in my machine). When i tried to browse … | |
when i wrote localhost/site/images/ i can see all images of my site... how can i stop it...!! i tried .htaccess with code "deny to all" but it does not show images when i run the site on browser..!! What should i do.? | |
I wanna extract the data from the file so I can sort it out, add and delete files. How can I do it? My file contains a list of songs with the song name, artist and song duration. Here is what I have so far: [code] //Nathaly Advincula //Song Assignment … | |
Hi I am taking MIS class and i need help with the EER diagram and i tried making it myself but teacher told me that it is a process diagram not an ER diagram please help me here is what i have tried: please click on this link [url]http://yfrog.com/j2mytryj[/url] and … | |
Hi I have a windows application that prints a record in a given page size. I looked all over but i could not see how did it set the page size. and now requirement is to print the paper size in legal paper size of 18.5" by 14". How can … | |
Hi- I want to use a sentinel value (-1) to end the loop of a program after the user has entered all of their data. However, how can I output inbetween each instance of the loop? Then, at the end, how can I will have an average of all entered … | |
My file contains: [CODE] Hook,Mark,In, , ,Tire,Matt,Out,01/01/2001,Mike [/CODE] My structure: [CODE] struct part { char name [NAME_LEN+1]; char owner [OWNER_LEN+1]; char status [STATUS_LEN+1]; char date [DATE_LEN+1]; char renter [RENTER_LEN+1]; } parts [MAX_PARTS], temp [1]; [/CODE] And the code: [CODE] FILE *fp; fp=fopen("parts.csv","r"); printf("%d", fp); //Added this for debugging char buf[100]; … | |
I would like to initialize a user defined struct with the = operator and a scalar type (for example: double) on its right hand side, like this: [CODE] struct real { double value; double error; ... }; int main() { real x = 1.; // supposing error=0. } [/CODE] It … | |
How to call Crystal Report from vb6 code? help me. | |
Hey so this is an assignment and what we have to do is: [quote] Design a class that can be used to represent types of food. A type of food is classified as basic or prepared. Basic foods are further classified as Dairy, Meat, Fruit, Vegetable, or Grain. The services … | |
I've started on an assignment and just can't get it right PLEASE help! The assignment is :Write a program that will do the following: 1.) Continuously prompt the user for words and store the words in a linked list. Do not use an array or in any way pre-allocate any … | |
hey guys,,i recently got this code from robocr of this community,,i got this from another website,,im trying to use this in my project to link a photo,,but im not able to do that,,i get errors one by one when i try to run the code after importing the forms and … | |
I am having some issues creating a 2-d vector. I need it to be of a determined length in the first dimension but of an undetermined length in the other. The length in the second dimention will be calculated later in the code, in one of the functions that uses … | |
Hello! Below is a part of an html document where I need to save myself time in having to manually put in the number in the p class="ArtNumbers" section. Thank you very much, I'm grateful for your time.[code]<td><p><img src="Food2/SF_Food_01.jpg"></p> <p class="ArtNumbers">1</p></td> <td><p><img src="Food2/SF_Food_02.jpg"></p> <p class="ArtNumbers">2</p></td> <td><p><img src="Food2/SF_Food_03.jpg"></p> <p class="ArtNumbers">3</p></td> <td><p><img … | |
Hi I am trying to open a MS Access db via CommonDialog1. All is fine untill I click OPEN after selecting the db I want. What I then get is a dialog for ODBC entitled SELECT DATA SOURCE with two tabs: File Data Source or Machine Data Source. If I … | |
[CODE=javascript]clock(); function clock(){ var d=new Date(); var hour = d.getHours(); var minute = d.getMinutes(); $('#hr1').css('text-indent', '-'+hour.charAt(hour.length-2)*50+'px'); $('#hr2').css('text-indent', '-'+hour.charAt(hour.length-1)*50+'px'); $('#min1').css('text-indent', '-'+minute.charAt(minute.length-2)*50+'px'); $('#min2').css('text-indent', '-'+minute.charAt(minute.length-1)*50+'px'); clock(); }[/CODE] I need help updating my jQuery clock. setInterval and looping the function doesn't seem to work. The variables are updating well but the css properties are … | |
These function calls are not compiling for some reason, I receive the following error message when I attempt to compile. [QUOTE]hw11.cpp: In function âint main()â: hw11.cpp:70: error: expected primary-expression before â]â token hw11.cpp:71: error: expected primary-expression before â]â token hw11.cpp:71: error: expected primary-expression before â]â token hw11.cpp:72: error: expected primary-expression … | |
how could i double a number when clicked on in the graphics window?... this is for graphics.py and a line separating the two sides in the graphics window and on each click on either side it must go up by 2 until 12? i can only think of using a … | |
VB.NET:i want to select data from sql server 2005 DB table and displaying into text box that depends on combo box selection using VB.NET | |
I got a search.php file and a search_results.php file like in my previous thread...the user can select from a dropDown menu what they want to search EmployeeID/EmployeeName/Manager/Department/Team then a text box where they can type in the ID, full name (with spaces) ,Department..ect I got the search for ID, Department, … | |
I am writing an application for class. The user is prompted to enter a number, then select what to do what that number. I'm using JPanel and JOptionpane for input and console for output. The application is supposed to: prompt for input, ask for what to do with the input, … | |
I am trying to add a row of int's that are located in separate arrays within my code. I am trying to get these grades to add and then turn it into an avg. My output is crazy though, and I can't figure out why....any ideas? this is the information … | |
Hi guys.!! Good day.! I just want to know on how to execute an event or function call after the resize event of the Form had been triggered!.. Thank you for giving time on this post.! | |
Hi, can anyone plz check my code to see why in the prinCLASSdata function the int A, int B ... doesn't have a value. even though it is right in the updateFrequencies function. [CODE]#include<iostream> #include<fstream> #include<string> using namespace std; void read_data(int size,string name[],int test1[],int test2[],int test3[],int test4[],int test5[]); void calculateAverage(int … |
The End.