64,152 Solved Topics
Remove Filter ![]() | |
I am kinda new to asp.net. I used asp backing flash for most of the site work i have done, but I have shied away from flash and I am having some issues understanding asp.net membership. I am currently using the web.config file to set the credentials for forms authentication. … | |
Im sure this is real easy... Please forgive my limited .Net abilities... The script below genereates the correct value I need... I just want ot place the value obtained by dblTotal into a flash param... the param below is what I imagine it would look like. [code=c] <script Language="c#" runat="server"> … | |
any body tell me how can i restrict pasting and drop in asp.net? | |
Hello Frnds, I have an application developed in ASP.Net(C#) and MS SQL, its working fine and fulfilling the requirements. Now the problem is I have a [I]MS Access Database[/I] from where I have to read some data and feed it into ASP.Net form and then save it to [I]MS SQL … | |
I am new to asp.net after previously coding in classic asp. I am needed to do a loop in VB.Net but don't know how to do it. I need to loop through a data set of 3 records and then place each record in the relevant section on the image … | |
image of my listview: [url]http://img26.imageshack.us/img26/4043/listview.png[/url] I want to total every row from my listview tallies total infected people and percentage ____________________________________________________________________ CityID | City | Population | Male | Female | Total | Percentage | Population, male, and female columns are user inputs total column is male+female textbox value per … | |
hello all i m new to shell scripting.i have seen th code substitution like a=`ls -l` and a=23 R=$(a/23/bb) first time we use ` ` and second time we use $ . can anyone tell me Why so? | |
hello all i have allready created table and wan to add Composite primary key into that so for that i am using following statement [CODE] ALTER TABLE pqrimasterdetail ADD primary key (PQRIMasterID,Type,Year,PhysiciansID);[/CODE] but in not executed successful it gives the query could not be Executed. Multiple Primary key Defined if … | |
Hi, I have am building an uninstall program and can't get the process to stop so that the files can be deleted. I am using code that I copied from a sample and it works fine with any process as long as there is no space in the name. works … | |
Am using asp.net/vb. How do i make a navigation button to link another page using vb.net ans CSS. | |
Hello, My assignment is to create a christmas tree using methods with defined parameters. 1) Print the tree at position 50 (50 spaces in) 2) Call the following Triangle (2,6) (six rows without the first 2 printed) 3) and the 1st row of these cut off triangles with the symbol … | |
Hi! Could someone please explain me the difference between the following three approaches to inserting nodes in JTree? I cannot understand why the insertNodeInto method doesn't work in the recursive procedure (Approach Nr1), but it works if it is executed from JButton (Approach Nr2). So, Recursion itself (Approach Nr1) works … | |
if been using python's tkinter for awhile to write programs when I caused an issue that I'm not sure what is my code is long even after I gutted it. [CODE]from Tkinter import * import random import operator info_dict = {} info_dict["area"] = 1 info_dict["slime_spot"] = random.randint(1,36) info_dict["slime spotter"] = … | |
Hi, everyone this is my first post here and let me tell you my problem I have a C# application, i have SQLServer 2005 installed on my computer my database is there and the program works fine the problem I'm facing is that i need to make an installer for … | |
so i am creating this message field with [CODE]self.text = wx.TextCtrl(panel, pos=(150,22),size=(100,20))[/CODE] and it works, no problem but i'd like that the text gets written from the right and not the left which is a pain... anyone have a slight clue on how to do it ? help appreciated :) | |
I am very new to C++ need to draw rectangle "JUST THE BORDER" using for loops, the below code draws three sides but i am not able to draw the right side line please help if anyone can. #include <cstdlib> #include <iostream> #include <string> using namespace std; int main(int argc, … | |
Hi all professionals, I uesd subprocess module to spawn a new process and then implement the command. The final result is the output via stdout. Here is the code I wrote: [CODE] import subprocess proc = subprocess.Popen('egrep '^HTTP/' *', shell=True, stdout=subprocess.PIPE,) stdout_value = proc.communicate()[0] print 'results:' print stdout_value [/CODE] And … | |
Our image upload form always returns the error message, "Invalid file. Please click the 'Back' button on your browser and try again." Here are the basics. ==HTML FORM== [CODE=HTML] <form enctype=="multipart/form-data" action="phpscript.php" method="post"> <input type="file" name="uploadedfile[]"> <input type="file" name="uploadedfile[]"> <input type="file" name="uploadedfile[]"> <input type="submit" value="Submit" /> </form> [/CODE] ==PHP SCRIPT== … | |
Hello, I would like to know if I need to use a regular expression to match the desired substring in order to print out 10 characters of the start codon ATG. My dna sequence is "CATAGAGATA" Thanks for any advice. | |
the file looks like: 11/29/2010 S 2907 1 11/29/2010 S 9673 4 11/30/2010 A 4321 30 11/31/2010 S 9673 12 12/01/2010 N 5789 wind_chimes 13.54 17.83 12/02/2010 S 5140 5 How can I extract out "2907" from file using >>? i think its myfile >> then something. #include <iomanip> #include … | |
[CODE]#include <iostream> #include<string> using namespace std; class Book { private: string title; double price; public: Book(); void setTitle(string s); void setPrice(double p); string getTitle() const; {return title;} [/CODE] [ICODE]error code C2059(syntax error: '{' ) and C2334(unexpected token preceding '{' skipping apparent function body occur [/ICODE] [CODE]double getPrice() const; {return price;}[/CODE] … | |
So I have the y and e endings down, just need some help with the middle. Basically, I need to double the last letter before adding er if: the last letter is b,d,g,l,m,n,p,r,s or t and the second to last letter is not the same as the last letter. [CODE]def … | |
hello someone out there...help me with algorithm to determine range of marks!! here is my code so far [ICODE]#include <iostream> #include <fstream> #include <string> #include <iomanip> struct stumarks { int studentid; int progassn; int lab; int test; int exam; char seperator; double finalmark; } stumarks[9]; using namespace std; int main() … | |
Hi I am trying to compile and run my prog3.c program, but I am getting the compiler errors below. I have tried to reference the information by doing #include "node0.c" etc., but no luck. Any ideas on how to fix this problem? I attached the files below that I am … | |
pls check my database design and give comments. i'm a newbie database designer i dont have any experience, i've researched on the net but i think it's not enough. here's my ERD: [IMG]http://i43.photobucket.com/albums/e355/bettybarnes/asas.jpg[/IMG] | |
hi, so i've been looking for a string matching algorithm that gives me a "rating" based on how close the 2 strings match.. luckily, i googled and read this article: [URL="http://www.catalysoft.com/articles/strikeamatch.html"]how to strike a match[/URL] here's the original java class code [CODE=java] package strike_a_match; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; … | |
btw any tutorials out there on how to create database with vb.net with mssql just to let me get started, i was hoping for a simple db to practice on like id,name. ive made db with php and mysql but vb.net is a bit far from php and mysql though … | |
hi dears i want designing a db.mdf Bank for a website of school that student can see their record (grade) and news of the school on web site. the principal can send email for students and teachers. whether the structure tables are apparopriate? help me in dtermining the types of … | |
Hi Guys, Wanted some help with my code. This should be the OUTPUT. Enter the size of your array: (array size should be 1-100) Enter values of your array: x[0]= (any integer) x[1]= (any integer but not equal to the value of x[0]) x[2]= (any integer but not equal to … | |
Hello, i am running a site consisting mainly of images . the problem im facing is high traffic loads sometimes from social networks on image links directly like : /i/image_123232.jpg instead of the image page. I have developed teh site in a way to use same image name as teh … | |
Hi, Simple question but why would someone use #define. Whats the difference between; #define sum 1 and const int sum = 1; both can't be changed and anywhere you sum its going to be 1!. Many thanks Alex | |
I have learn to make website using php and mysql from tutorial book And I have some problem and I don't know how to do with it. :X If anyone know about solution to fix it please help.... Here is my code [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> … | |
Hello I have below code to draw the circle, i want to add vertical line dividing the circle half and horizontal line and cross lines like in attached document. all the lines divide the circle equally with 45 degrees angle. I really appreciate the guidance from turtle import * r=100 … | |
Hello Is it possible to download a javascript slideshow which is present on a webpage? In firefox I have addons to download flash swfs but could not find anything concerning javascript. I need this as I need to develop a slideshow in javascript very quickly for a client (our js … | |
[CODE=C++] 1. //my main 2. int sizeOfArray; 3. 4. int main() 5. { 6. int i; 7. int *num1, *num2, *num3, *num4, *num5; 8. string *opening, *ending; 9. cin >> sizeOfArray; 10. command = new string [sizeOfArray]; 11. opening= new int [sizeOfArray]; 12. num1= new int [sizeOfArray]; 13. num2= new … | |
I have recently been getting a parse error that reads : Parse error: parse error in C:\wamp\www\Jumble.php on line 20 Anytime I run an HTML program on my wamp server and it is regarding a php file called Jumble.php which is supposed to arrange the data entered into the HTML … | |
hi! having issue with duration time in crystal report. i want to sum duration time 0:48 1:05 2:00 0:45 I want to sum the time in crystal report.The sum of the time should be 4:38 not 3:98. Please help.Thanks in advance | |
hello everyone i need help about msgbox "Insufficient Data" coding. below is my coding: [CODE]Private Sub cmdSave_Click() On Error Resume Next Adodc1.Recordset.AddNew Adodc1.Recordset!Dateregistration = txtDate.Text Adodc1.Recordset!Title = cmbTitle.Text Adodc1.Recordset!Name = txtName.Text Adodc1.Recordset!Ic = txtIc.Text Adodc1.Recordset!Email = txtEmail.Text Adodc1.Recordset!Phonenumber = txtPhone.Text Adodc1.Recordset!Address = txtAddress.Text Adodc1.Recordset!Address1 = txtAddress1.Text Adodc1.Recordset!Residential = cmbResidential.Text Adodc1.Recordset!Gender … | |
Hello all, I'm a new guy on this block <bowing> I have completed my "Advanced" VB.NET class this year, yet I still feel no more evolved than a newbie. So please please - be gentle <Grin> My question involves the creation of the actual database file. I have played around … | |
Good day all: I'm wondering if the cancellation of one of my onclick js function in the below code is as a result of having multiple onclick function. here is the code: [CODE] <FORM NAME="SubCategory" method=post action='accountingsearch2.php' target='_top'> <p align="left"> <div id="presetlabel">Or use Preset Periods-->></div> <div id="SubCategory"> <SELECT NAME="specifiedperiod" style="display:inline";> … | |
Hello there! So I have an assignment where I am given a text file with customer information that I need to convert into a "label" format. The original file has caret (^) symbols marking the different lines to be organized. I have the input totally finished, the only thing I'm … | |
I seem to be having an issue with using multiple class constructors? I did it for one other program and didn't have an issue. I can't seem to find the bug. Since it is complaining about multiple constructors it won't let me make Plorg1 in the 3rd set of code. … | |
How can I print some numbers during a loop for example I have a while loop, and while the loop is running i want to print the numbers of times the loop has been repeated. | |
Hi, I'm a newbie to programming in general and I'm really struggling with working out how on earth to do this! I am aware of how to open the stream and read the text file using fscanf, however I want to store the text in that file into a string … | |
write a program code thathas two functions: first() and second(). Function first() should print the string "in function first()" and then call function second()> functions second() should print the string "in function second()". in the global scope, you should call function first. | |
Hello! It is my first time to post this thread, So I hope it is in the right place. My problem is that I am creating system tools for windows with a good gui and I don't know how to start with it. One of my difficulties is making code … | |
I am working on reading data from a file into a struct array. The first line of the file tells how many users there are, then the following lines are the username, password, and a pincode.So the file is setup as follows: 15 mah123 happy 1234 bah123 moody 4567 ...etc … | |
I have made a program that uses struct where a user can input a grade,average, and their name. I am trying to make it so their can be three students each with a grade average and name but I can not figure out how to make a loop so it … | |
Hello there, This is my first time posting on these forums. I was wondering if I could please get some help, there is a minor glitch in my code but I cannot figure it out. Basically, I have to create a class called XYPoint, and according to given criteria, have … | |
Ok, I'm not new to C++ but I am used to running a g++ compiler vs Microsoft's VS C++. I understand what this error should mean. It should mean that I'm missing a ';' on the line before or in the class Polygon. I can't seem to find anything wrong. … |
The End.