199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for wickedsunny

Hiiz is there a way that i can rewrite .htaccess from a php file? well actually i am using a cms for my site and whenever i make a new page i have to rewrite it in htaccess to make it work and SEO friendly. so i was wondering if …

Member Avatar for wickedsunny
0
377
Member Avatar for julseypart

basically i would like to add up the total size of all the files for a particular user and display it in a label...this is what i have so far: [ICODE]SqlConnection myConnection = new SqlConnection("Data Source=.\\SQLEXPRESS;AttachDbFilename=|DataDirectory|\\ASPNETDB.MDF;Integrated Security=True;Connect Timeout=30;User Instance=True"); myConnection.Open(); SqlCommand myFileCommand = new SqlCommand("SELECT SUM (fileSize) FROM aspnet_Files WHERE …

Member Avatar for julseypart
0
99
Member Avatar for Tavicz

Wel, I have discovered, how to copy one text file to another,yet. (See code bellow). However, I really need to Cap every word in the source text file and copy the text that way to the second file. But I'm desperate. I tried few ways to make it (via Character.toUpperCase()) …

Member Avatar for Tavicz
0
142
Member Avatar for shazzy99

Can anyone help me out with the code. I'm getting the Null Reference Object Exception at the following line textFile1_Paras[paraNumber] = line; I'm trying to separate paragraphs from a text file into string array [code] int paraNumber = 0; string[] lines = File.ReadAllLines(filePath1); foreach (string line in lines) { while …

Member Avatar for shazzy99
0
114
Member Avatar for dreamer14

Is It possible? Tried this but all i see is blank haha [code] while (rs.next()) { String c=rs.getString("ProductID"); String d=rs.getString("ProductName"); String e=rs.getString ("ProductImage"); out.print("<option value="+c+"><img border=0 src=\"picture/" + e + "\" width = \"170\" height=\"157\"></option>"); } [/code] ANy one with recommendations on how to make a picutre based drop down …

Member Avatar for dreamer14
0
161
Member Avatar for Olsi009

Hi guys (again), Another exercise in Turbo Pascal about linked lists. [COLOR="Green"][B] Write a program that merges 2 linked lists and sorts elements from the lowest to the greatest. let suppose the list has this elements list = ^pointer; pointer = record value:integer; next:list; end;[/B][/COLOR] Please help, I have an …

Member Avatar for LizR
0
318
Member Avatar for viswa_007
Member Avatar for emilio

hi I'm trying to use this code that i found to send an email message using c# application. i have an iis service running on my computer and the smtp server is configured as my providers smtp server. the problem is that when i try to send mail i get …

Member Avatar for BlackSun
0
198
Member Avatar for shasha821110

I have an assignment about the String Class overload function and operator. Here is the problem i face: Need an append() function to construct the String. So the String constructor is: [ICODE]String::String(char *s) { init(); append(s); }[/ICODE] [ICODE]String& String::append(char *other) { String temp; temp.m_length=strlen(other)+strlen(temp.m_buffer)+1; temp.m_buffer=new char[] m_length; if(!m_length) { strcpy(temp.m_buffer,other); …

Member Avatar for shasha821110
0
115
Member Avatar for kenji

Hi, I have a question regarding fscanf. In my program I call [icode]fscanf(fp, "%15[^,],%d,%315[^;];", anum, &bal, cust)[/icode]. Everything works fine and there is no problem with the syntax, the only trouble I am having is that I need to copy the ';' as well into cust and use it as …

Member Avatar for death_oclock
0
77
Member Avatar for cppnewb

I am having trouble using cin.getline and classes. Here is the code[CODE] #include <iostream> #include <cstdio> #include <cstdlib> #include <string> #include <fstream> using namespace std; class RememberPlans { public: string date; string subject; string resources; string description; }; RememberPlans nds; // Function Prototypes bool enterPlans(RememberPlans& nds); void exportData(RememberPlans& nds); void …

Member Avatar for cppnewb
0
414
Member Avatar for rapture

Hi all, I'm researching how to move data from a C#.Net web program into our accounting MAS90 database and back. I can do this manually, what I want to attempt to figure out is how to make the system do it without me having to hit a button. I'm hearing …

Member Avatar for rapture
0
165
Member Avatar for RohitSahni

I will be starting working on perl and java soon.. Can anyone please help, form where to start so that i get the confidence of working on it and i can do hands on.

Member Avatar for verruckt24
0
163
Member Avatar for lakshmi mani

A University has decided to computerize its exam grading. They have a standard paper that contains 25 multiple choice questions each with four choices. All the answers by students are entered in a file. You are to read the file and calculate if the student passed or failed (60% or …

Member Avatar for Freaky_Chris
0
120
Member Avatar for tomtetlaw

Is there any macros in DarkGDK like this: [code=c++]#ifdef __DARKGDK_WINDOWS #include "MY_WINDOWS_HEADER.h" #else #include "MY_LINUX_HEADER.h" #endif[/code] any help would be appreciated, thanks in advance!

Member Avatar for Comatose
0
115
Member Avatar for Apollo64

I am some-what new to programming in python, and i'm trying to make a game but I need to know some of theses thing. Sprites I have sprites created, but how do I import them and print them on the screen? Movement I am completely clueless on how to make …

Member Avatar for jlm699
0
112
Member Avatar for karthisargunan

[B]I am developing one project in C language,In it several records are there... By maintaing those kind of records,I easily store the record name {For eg. filename 1 filename2 means i know how to store it by using 2 Dim. array but i dont know how to print it or …

Member Avatar for karthisargunan
0
307
Member Avatar for CasTex

Hello coders, I have a script that saves the values to database. I have this value [CODE]$uzuncuk = $cummle." is easy to use. We suggest you to install ".$cummle." to your computer and view the features of the product. For your safety, please have a decent antivirus installed, with updated …

Member Avatar for CasTex
0
107
Member Avatar for Modo

hi guys how r u doing .. i am trying something in java .. i want to know if there is a way to the java looks into the current year. i want to be to return the age of someone after filling in his birth year .. and then …

Member Avatar for Modo
0
137
Member Avatar for d0pedup

I'm from a C background and need help with the following lines of code [CODE] struct IGame { // Summary // Entry function used to initialize a new IGame of a GameMod // Parameters // pGameFramework - a pointer to the game framework, from which a pointer of ISystem can …

Member Avatar for d0pedup
0
195
Member Avatar for dineshjaju

[CODE]#Python code: import csv # first we need import necessary lib:csv file=open("dinesh.csv") #prepare a csv file for our example testWriter = csv.writer(open('dinesh.csv', 'w'), delimiter=' ', quotechar='|', quoting=csv.QUOTE_MINIMAL) spamWriter.writerow(['Test'] * 5 + ['Wow'])[/CODE] [B]Error:-[/B] <type 'exceptions.IOError'>: invalid mode: w args = ('invalid mode: w',) errno = None filename = None message …

Member Avatar for jice
0
104
Member Avatar for firoz.raj

Can anybody tell me how should i generate automatic sr no which match with mr no. i have written a code but it is not working properly. [code] Dim crystal As CRAXDDRT.Application Dim Report As CRAXDDRT.Report Dim cparam As CRAXDRT.ParameterFieldDefinition Dim cparams As CRAXDDRT.ParameterFieldDefinitions Dim con As ADODB.Connection Dim rs …

Member Avatar for firoz.raj
0
204
Member Avatar for lifeworks

Hi Im creating a list of tutorials on my website and I want to group them by the designer. Is it possible, to write a MySQL query which will function on a PHP website which prints the designer name once and then lists all of his tutorials underneath... in one …

Member Avatar for lifeworks
0
119
Member Avatar for rak4u

Hi this is useful links for new [B].NET [/B]developer or any body who is new to .NeT These link contain most of FAQ of window form [url]http://www.syncfusion.com/faq/windowsforms/default.aspx[/url] [url]http://windowsclient.net/blogs/faqs/default.aspx[/url] 101 Visual Basic .NET Code Samples provides a large group of well categorized and documented examples of code. This is a very …

Member Avatar for rapture
0
135
Member Avatar for Somali Rathore
Member Avatar for khr2003

I am not sure where to post this topic but I though this section is the right one. I have a large amount of data in a MS word file. Basically, I want to automate the posting of this data into my website through the normal form of posting topics …

Member Avatar for khr2003
0
115
Member Avatar for Ved_TheOne

Hello, I know it may be silly to ask this but I m stuck with this: so please help I have two classes in the same namespace [QUOTE] 1. Setting_Layers_Path class files Which helps in establishing connection to the layers(GIS connections). It contains number of functions which return an object …

Member Avatar for bhaskerlee
0
212
Member Avatar for jjaunich

Hi, I've just started a Java course, which is giving me trouble because I've had so much unscheduled overtime. I have three programs due that have small problems that I can't fix no matter how many changes I've made. They are really basic, but I've only been one week into …

Member Avatar for verruckt24
0
152
Member Avatar for edgar5

I'm starting to get the hang of writing VB.NET code--very simple jobs, but covering some esoteric subject matter. The first two tasks I needed to accomplish came about because I decide to import my (rather large) CD collection onto my new (also rather large) external hard drive; I used Apple’s …

Member Avatar for rak4u
0
347
Member Avatar for 1bennyd

Hi guys, I have written some C++ code to do three things: 1. Read data from a delimited file (user specifies type of delimiter used), and return data as a "2D array". 2. Print 2D array to console. 3. Write the 2D array to a tab delimited text file. I …

Member Avatar for d0pedup
0
153
Member Avatar for bhavya_talluri

hi i just visited n joined this community. Actually i had no idea about these languages n i wan to learn them starting from c will u tell me a good site or any suggestion how to learn

Member Avatar for ajay.krish123
0
93
Member Avatar for a_best007

hi i am currently doing a project, and want to build in MFC...however i have just started working on it and find it really confusing... i have some doubts..please clear it as this is really very urgent(i have to complete the gui in a very short time) 1) I have …

Member Avatar for jencas
0
106
Member Avatar for OracleLite

I'm in the process of writing a program that generates six random numbers. If I run the program I have so far, there's a bit of a problem. It is possible for this code to generate the same random number more than once. Generally speaking, lottery tickets require the numbers …

Member Avatar for javaAddict
0
487
Member Avatar for chombe

Hi there, I'm trying to develop a forum application in asp.net with c#. To post new threads I used a multi line text box to write the message. but i want to embed the MS word's tools in this page so that the user can easily write his/her message. Thank …

Member Avatar for sedgey
0
142
Member Avatar for Datsun90

Hi all, I have a SQL table that has "RecID" as it's PK and identity column in the same time. When I add a new record in the table directly, the [B]RecID[/B] increments correctly. But when I try to add new record in data grid view (VB 2005 Express) and …

Member Avatar for Datsun90
0
255
Member Avatar for kenji

Hey Guys, Im having a spot of trouble with dynamic memory allocation and any help would be appreciated. My problem is the I have 2 classes Bank and Account and I am making a dynamic array of the Account member variables. Everything seems to work fine until I try to …

Member Avatar for Salem
0
95
Member Avatar for sal21

After the treeview is filled is possible to: count how may AG-xxxxx are in 8501-xxx, count how may items are in each AG-xxxxx, , count how may items are in each SETT. -xx, ....ecc and store the result in a var or count during the treeview is filling and return …

Member Avatar for QVeen72
0
322
Member Avatar for taichou

how can i arranged the input words alphabetically, like in the dictionary..[B][B][B]please help me....please!!!![/B][/B][/B]

Member Avatar for ajay.krish123
0
125
Member Avatar for rajeshkhanna_in

Hi all, I have developed a software that is basically a Question Paper Maker, I have stored all the questions in a MEMO field in an MSACCESS table. Now while I try to print the random questions on a report, it shows the question with all the rtf codes and …

Member Avatar for rajeshkhanna_in
0
79
Member Avatar for java2000

Im trying to make a counter that tells how many times a name appears with array. I am using a scanner that read the names from a file and stores it an array. It then uses random class to pick a random name. I then stored all the names that …

Member Avatar for java2000
0
175
Member Avatar for smartness

Hi people... I have phpVideoSearch script, and want to add a feature, that if someone a specified page, to add to mysql a +1 value... Example this is the page: [CODE]watch.php?title=Riz+Khan&link=http://www.youtube.com/v/[B]xE0wOa5R6KY[/B][/CODE] i've set a code to create a id for this video like: [B]yt_xE0wOa5R6KY[/B] Can someone help me create a …

Member Avatar for mwasif
0
194
Member Avatar for maddogsprofiles

Can someone help me with this database, code bellow [CODE]-- -- Table structure for table `bapps` -- CREATE TABLE `bapps` ( `bappID` int(11) NOT NULL auto_increment, `bappFROM` int(11) NOT NULL default '0', `bappBUSINESS` int(11) NOT NULL default '0', `bappTEXT` varchar(255) NOT NULL default '', PRIMARY KEY (`bappID`) ) ENGINE=MyISAM AUTO_INCREMENT=51 …

Member Avatar for maddogsprofiles
0
215
Member Avatar for Avalon

I have recently turned my site into a [URL=http://casino.finditjack.com]php site[/URL]. The only problem is I am trying to run more than one banner at the top. I don't want one underneathe the other. I would like them side by side and centered. Also, I have seen on some sites similar …

Member Avatar for KCNS
0
476
Member Avatar for Elmo_loves_you

Hello Everyone :S I am rather new to ASP.NET. I have an SQL Server 2005 database set up. So far its quite basic with just two tables (UsersLogin, Roles). My aim is to allow users of different ranks to login to the system ie. Admin, Staff etc. [B]UsersLogin [/B] table …

Member Avatar for salaam_taher
0
163
Member Avatar for homeryansta

[CODE]void getinput(char sentence) { cout << "enter something => " << endl; char ch; cin.get(ch); int count = 0; int i = 0; while(ch >= ' ' || count >= SIZE) { if (isalpha(ch)) { [B] [COLOR="Red"]sentence[i] = ch; [/COLOR][/B] i++; } cin.get(ch); count++; } }[/CODE] This is the function …

Member Avatar for homeryansta
0
67
Member Avatar for impactdesign

I am trying to create a personality test using javascript and I need help writing a javascript that calculates 4 columns of 12 rows. Each column will have it own total. So column 1 = total 1, column 2 = total 2 and so on. What I would like to …

Member Avatar for essential
0
127
Member Avatar for berillio

hello everybody, I am installing some (~10y old) research software which must have been using vb4, because when I started installing it failed because it was looking for vb40016.dll (got that) than oc25.dll (got that one too), and then PUSHHELP.VBX. This is where I got stuck, there a lot of …

Member Avatar for Teme64
0
81
Member Avatar for navin agarwal

Hi, i have written jsp in which onchange of value in a dropdown another dropdown will appear. I have used ajax & the entire <select> tag i m passing from action. as [code]if( (selectedAccountDivision.equals(""))&& accountDivisions!=null) { //System.out.println("inside acc div if block"+selectedAccountDivision); //out=out+"<table><tr><td class=\"contentBluemain\" width=\"60%\">Select Year<span class=\"contentRedmain\">*</span></td>"; //out="<table><tr><td class=\"contentBluemain\" width=\"60%\" nowrap>Select"+accSubDivTitle+"<span …

Member Avatar for navin agarwal
0
120
Member Avatar for AdRock

I have made a base class and a derived class and I am having a couple compile errors. [QUOTE]SavingsAccount.hpp(9) : error C2512: 'Account' : no appropiate default constructor available[/QUOTE] What i want to do is be able to give the savings account an inital balance and it changes the currentBalance …

Member Avatar for AdRock
0
157
Member Avatar for number87

ok what i need to do is to make a script function which allows me to change the records in a file. I read some other posts about using sed but i still could not get it to work. The function runs But nothing changes in my file. This is …

Member Avatar for eggi
0
101

The End.