199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Altarium

Hello! I may be posting this in the wrong section (in which case I apologize), but is it possible to detect (using javascript or other web language) if the person using a computer has admin rights? I have a feeling it would not be possible (security and all), but I'm …

Member Avatar for Altarium
0
90
Member Avatar for networkmancer

During Loading of form I call connectpaybox to show the list in the combobox, but after that it will result in the error "[COLOR="Green"][I]Operation is not valid due the current state of the object"[/I][/COLOR] but the combobox items that was taken from the database shows. I tried "select CAGECOST from …

Member Avatar for networkmancer
0
505
Member Avatar for DavidB

I had an old version of Mathcad (version 7) running on an old computer (running Windows 2000). That computer recently died, but I have several .mcd files saved. I doubt there is an upgrade path for me; my version was too old. And 95% of the time, I used it …

Member Avatar for TrustyTony
0
274
Member Avatar for klemme

Hi Guys, This is the image I am animating (The html surrounding it): [CODE] <div class="index_top_left_img"> <img src="products/wrangler-jeans.gif" width="198" class="IndeximgOpa" /> </div> [/CODE] I have this few lines which fades the images in and out: [CODE] $(function() { $('.IndeximgOpa').each(function() { $(this).hover( function() { $(this).stop().animate({ opacity: 1.0 }, 500); }, function() …

Member Avatar for pritaeas
0
206
Member Avatar for softDeveloper

Hi all, I have Text in MySQL utf 8 and an iframe displaying this text, and the page content is utf8. Does anybody know why the iframe caret position doesn't match with MySQL position when there are line breaks, and how to fix it? Regards

Member Avatar for softDeveloper
0
109
Member Avatar for timkunce

I am only allowed to use int, unsigned int and float. Must be accurate to the 7th significant digit. Currently I overflow 'float top' at an x value greater than 13. Thank you for your time. [CODE] #include <iostream> #include <iomanip> using namespace std; float sum=1,x, top=1,factoral=1; int main(void) { …

Member Avatar for Se7Olutionyg
0
4K
Member Avatar for shahinkey

Dear all, I have problem with reading from ini file. My code is as follows, but it has Error with GetPrivateProfileInt. It cannot read and the error is : error C2664: 'GetPrivateProfileIntW' : cannot convert parameter 1 from 'const char [9]' to 'LPCWSTR' 1> Types pointed to are unrelated; conversion …

Member Avatar for AritraP
0
287
Member Avatar for jacksantho

I want to take backup of my server database at my local machine........ how can i do this...... Thanks in advance

Member Avatar for pritaeas
0
84
Member Avatar for choosechrist

In my project, all my forms access the connection string from the login form which takes data from an XML file [CODE]Dim thisConnection As New SqlConnection(LoginForm1.cnString)[/CODE] now when i create crystal reports. i first select a viewer which calls the report via code [CODE]cmd.Connection = thisConnection cmd.CommandType = CommandType.Text cmd.CommandText …

Member Avatar for choosechrist
0
311
Member Avatar for davy_yg

page-news.php [CODE] <?PHP /*-------------------------------------------------------------------------------------- @Desc : Simple and Cool Paging with PHP @author : SachinKRaj - http://blog.sachinkraj.com @updates : http://blog.sachinkraj.com/how-to-create-simple-paging-with-php-cs/ @Comments : If you like my work, please drop me a comment on the above post link. Thanks! ---------------------------------------------------------------------------------------*/ function check_integer($which) { if(isset($_REQUEST[$which])){ if (intval($_REQUEST[$which])>0) { //check the paging variable …

Member Avatar for blocblue
0
261
Member Avatar for torrm

Hello all. A friend is shipping some items in a container so it gave me the inspiration to write a quick little program. This only took 20minutes at best so please bear that in mind. The basic idea is if the containers size is known, and the cost is known …

Member Avatar for Labdabeta
0
428
Member Avatar for jemz

Hi, Can i ask something what type of eclipse should i use in developing android.there are many of them,can you help me on this please.Thank you in advance. Eclipse IDE for Java Developers, Eclipse IDE for Java EE Developers, Eclipse Classic 3.7.1, Eclipse IDE for C/C++ Developers (includes Incubating components), …

Member Avatar for jemz
0
209
Member Avatar for VasquezPL

Hi guys, I need your help: I tried to initialize an array like this: [CODE]string[] relation1;[/CODE] then I fill it with another function that contains the code: [CODE] for loop then: relation1[z] = something; [/CODE] but...compiler always writes that: [CODE]relation1' is never assigned to, and will always have its default …

Member Avatar for VasquezPL
0
292
Member Avatar for vlaskiz

Currently working with graphical interface and dynamic object arrays, Got two text files with kinda same data on it, my current task is just to read and output that data. Problem is most likely either with my read function or function to determine how much data there is in files …

Member Avatar for vlaskiz
0
612
Member Avatar for alenD

Hi all, I am doing something like this int f(){ umap::iterator p = mmap.find(s); if(p != mmap.end()){ ....... } } My memory usage is somehow constantly increasing. While exiting the function do I need explicitly delete the iterator p? Thanks in advance, _alen

Member Avatar for MastAvalons
0
590
Member Avatar for faraz ahmad

Aoa, Hello All, i am having problem in this question Write a program that takes integer input from the user and store into the array dynamically allocated each time a new element is added. Your program should prompt user to take integers until he enters -1, which means end of …

Member Avatar for MastAvalons
0
344
Member Avatar for learntosucceed

I'm noob at GUI Swing. I have 2 questions. 1)I'm trying to implement a program that reads a text file, so I can use it to add multiple tabs to the program based on the amount of data in the text file. For example, text file have 3 names. I …

Member Avatar for nandosss
0
2K
Member Avatar for jerry4all

I've been all over looking for how to get this done. below is the script I use to parse sms to my provider's API.however I've been having issues deliver a more than one page sms. I later found out there's need to add a UDH to each page to concatenate …

Member Avatar for jerry4all
0
156
Member Avatar for bhallarahul

hi everyone you guys helped me many time this time again i need your help Actually i want to learn struts frame work and i read the content of 2-3 sites but i m not able to learn how to run my first simple application. Can any one help me …

Member Avatar for bhallarahul
0
132
Member Avatar for capton
Member Avatar for DeanMSands3
0
415
Member Avatar for tom12

#include <iostream> #include <string.h> using namespace std; int main() { char clear[200]; char cipher[200]; int x,i; cout<<" Enter a string:"; cin.getline(clear,sizeof(clear)); x = strlen(clear); for(i=0;i<=x-1;i++) { cipher[i] = clear[i]+3; } cipher[x] = '\0'; cout<<" Encrypted:" << cipher << endl; system("pause"); return 0; } Hey guys hope someone could help me, …

Member Avatar for tom12
0
196
Member Avatar for Yoink

I'm a beginner with python and I'm trying to write a program that asks the user for how many classes they have taken, then asks them for the class codes and prints the classes they have left to take. I can get the program to run perfectly for one list …

Member Avatar for Yoink
0
193
Member Avatar for mits28

I want to count the total no of rows in a table [CODE] Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con = DriverManager.getConnection("jdbc:odbc:gabbar"); Statement ps1 = con.createStatement(); ResultSet count = ps1.executeQuery("SELECT COUNT (*) FROM products ); //products is a table in database [/CODE] count is of ResultSet type.but i want to do arithmetic operation on …

Member Avatar for stultuske
0
459
Member Avatar for jcgldr

hi when i open my form to work with it it comes up this error i have no idea what to do with it can someone help me [QUOTE] Value cannot be null. Parameter name: objectType Instances of this error (1) 1. Hide Call Stack at System.ComponentModel.TypeDescriptor.TypeDescriptionNode.GetRuntimeType(Type objectType) at System.ComponentModel.TypeDescriptionProvider.GetRuntimeType(Type …

Member Avatar for jcgldr
0
269
Member Avatar for belber

Hey all, i'm newbie programmer, i wan't to work with vb6, i wan't to know about adodc, adodb, odbc, and dao i know function adodb, but not adodc, adodb, odbc, dao can someone explain to me about adodb, adodc, odbc, and dao thanks for help

Member Avatar for Jx_Man
0
101
Member Avatar for learner guy

I want to find if Array B is present in array A(B is a substring of A).. i have written this small function but its not working as desired ..can anybody plz help and point out where i m wrong [CODE] bool substring(char A[],char B[]) { int aSize=strlen(A); int bSize=strlen(B); …

Member Avatar for Ali_2101
0
349
Member Avatar for extjac

Hello, I wanted to ask the full time PHP developers how important you think MVC Pattern is. Are you coding all your projects with MVC? Would you have any recommendation in terms of PHP frameworks?

Member Avatar for mschroeder
0
173
Member Avatar for showman13

OK, Now that I know how to add minutes to a datetime field... I need to be able to take a specific date time as in NOW... Then add 30 days to it, and have record that date at 19:00:00 as an expiration date time I start by capturing the …

Member Avatar for diafol
0
581
Member Avatar for cr7489

i have a db that stores film and film reviews and using php i have created a system where the user can search for a review and then a list of reviews appear, i want to create a button with each review so that when selected the individual review can …

Member Avatar for cr7489
0
210
Member Avatar for belber

Hey all, i have a problem here, i want to know how to send value from datagrid to excel plizzzzz.. help me

Member Avatar for Jx_Man
0
136
Member Avatar for mweshk

Dear Gurus, I am having this inventory program but can not give me the desired results.What am I doing wrongly? I want a user to enter and display results. [CODE] #include <iostream> #include <fstream> #include <iomanip> #include <cctype> using namespace std; const int DESC_SIZE = 51; // holds inventory description …

Member Avatar for Ali_2101
0
690
Member Avatar for sharath_137

hi , I was trying to open a file using fopen() method. It's not opening all the time. some time it opens but the other time its getting crashed.... FILE* tmpfile = fopen(xxxxxx, "r") this is the code i am using.... and every time the value of xxxx is coming …

Member Avatar for Ancient Dragon
0
94
Member Avatar for mBrissman

Hello! I have a problem. I can't use scanf() to set a value of the second member of the person struct. Why? I get an error that tells me "bad access". [CODE]int main(int argc, const char * argv[]) { struct Adress{ char *street; char *postal; int zip; }; struct Person{ …

Member Avatar for mBrissman
0
1K
Member Avatar for Dann0

Hi guys, I'm trying to make an enemy object follow a player object but I'm having a problem with picking up the player co-ordinates, it gives me an error "Player object has no attribute x" Here's whats iv'e got: [CODE] import pygame pygame.init() class Player(pygame.sprite.Sprite): def __init__(self): pygame.sprite.Sprite.__init__(self) self.image = …

Member Avatar for Dann0
0
2K
Member Avatar for dantinkakkar

I want to build a network protocol analyzer, but I really don't know where to start. Obviously, I don't want the code in hand, I can think it up myself -- but the problem is a little more specific - where do I look at to get the IPs passing …

Member Avatar for dantinkakkar
0
288
Member Avatar for Danny159

Hey guys, I need a bit of help... I have the following.... [CODE] <input name="title[1]" type="text" id="title[1]" size="30"> <textarea name="desc[1]" id="desc[1]" cols="50" rows="5"></textarea> <textarea name="keywords[1]" id="keywords[1]" cols="50" rows="5"></textarea> <hr> <input name="title[2]" type="text" id="title[2]" size="30"> <textarea name="desc[2]" id="desc[2]" cols="50" rows="5"></textarea> <textarea name="keywords[2]" id="keywords[2]" cols="50" rows="5"></textarea> <hr> [/CODE] Thing I want to …

Member Avatar for phper
0
90
Member Avatar for vodkasoda

I realise that this is a question asked a lot, but the best answer seems to be to use the "AcceptButton" option ... I don't have that option, why would that be ?!? I am using VS2010 & C# for my program, but nowhere is there an "AcceptButton" option !!!

Member Avatar for vodkasoda
0
179
Member Avatar for StrateKill

Hello, im asking about making a game and since i dont know any coding at all or anything about making a game i need help. Reply to this or private message me if you have help P.s i dont know any websites that would help me with this problem, please …

Member Avatar for Philippe.Lahaie
0
166
Member Avatar for shean1488

Hi everybody. I'm working on my program. And have this output storred in the object puzzle: [CODE]Puzzle is: 1 5 9 13 2 6 10 14 3 7 11 15 4 8 12 16 2 6 10 14 3 7 11 15 4 8 12 16 5 9 13 1 …

Member Avatar for DavidKroukamp
0
312
Member Avatar for gourav1

[CODE]#include<stdio.h> //#include<conio.h> //#include<string.h> #include<string.h> //#include<iostream.h> int main() { char al[28],b[104]; int i=0; int t,k=0; // b[0]='A'; scanf("%d\n",&t); while(t--) { // scanf("%s",b); gets(b); gets(al); //gets(al); //printf("%s",b); //puts(al); // scanf("%s",al); // for(k=0;c1!='\n';k++) // { // scanf("%c",&c1); // // b[k]=c1; // cin>>c1; // b[k]=c1; // } // printf("hello"); // puts(b); // gets(b); // …

Member Avatar for deceptikon
0
239
Member Avatar for CaffeineCoder

Hello all; I'm having a heck of a time trying to resolve an issue (and thus far Google has not yielded the answer). I have a web application that invokes a 3rd party application to display a PDF page. Everything runs smoothly on Windows 2003, but now that I am …

Member Avatar for CaffeineCoder
0
232
Member Avatar for Stjerne

Hi guys, So I'm doing an assignment right now. One of the tasks is about listing files. It wants you to insert a name, either directory or a certain file, and give you a message with some informations. So I'm trying to finish the part where I enter a directory …

Member Avatar for stultuske
0
182
Member Avatar for Sommy

Hello...just started learning C and i'm trying to write a program that solves quadratic equations...but every time i compile and run it and enter the 3 variables it crashes. I kept on looking but didn't find anything wrong with it...help? :P [CODE]#include <stdio.h> main(){ int a,b,c; float x1,x2; printf("Please enter …

Member Avatar for MonsieurPointer
0
211
Member Avatar for solarcoder

I was tried to debug to find an explanation to this but i still don't really understand the concept. Here goes. [CODE] //pass in value //973 456.2 77F //973 456.2 77F #include<iostream> using namespace std; int main() { char letter; int n; float m; cin>> m; cin.clear (); cin.ignore (200, …

Member Avatar for deceptikon
0
156
Member Avatar for ads1188

Hello All, I have starting using Visual Studio Pro 2010 and I understand the very basics in programming. Currently I am trying to create a login system where users enter their usernames and passwords. I have been experimenting with trying to link Access database to MySQL but im having no …

Member Avatar for ads1188
0
265
Member Avatar for tom12

#include <iostream> #include <string.h> using namespace std; int main() { char test[256]; int x,i; int vowels; cout<<"please enter a word"; gets(test); x = strlen(test); for(i=0;i<=x-1;i++) { if(test[i]!=' ') { cout<<test[i]<<endl; } if (test[i]=='a' || test[i]=='e' || test[i]=='i' || test[i]=='o' || test[i]=='u' || test[i]=='A' || test[i]=='E' || test[i]=='I' || test[i]=='O' || …

Member Avatar for Ancient Dragon
0
926
Member Avatar for Susmita_Sikder

Hi all, I have WampServer2.2a-x32 and VirtueMart_1.1.8_eCommerceBundle_Joomla_1.5.22 but during installation the message given: [CODE]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM CHARACTER SET `utf8`' at line 29 SQL=CREATE TABLE `jos_banner` ( `bid` …

Member Avatar for Susmita_Sikder
0
120
Member Avatar for choosechrist

As I am new to Vb, I am not sure if this is even possible. i have created a program and now we are testing the maximum clients possible for the server.the thing is since, we are at the beggining stage, we come across numerous errors and so the person …

Member Avatar for choosechrist
0
188
Member Avatar for cskinittest

<?php session_start(); if(isset($_POST['next'])){ $a=$_POST['a']; } if(!isset($a)){ $a=0; } $q = $_SESSION['q']['a']; include('dbconfiguration.php'); $sql1="SELECT * FROM question WHERE question_id='1' LIMIT 1 OFFSET 0 $q"; $result=mysql_query($sql1); echo $sql1; echo "<form method='post' action=''>"; while ($row = mysql_fetch_array($result)) { echo $row['Question']. "<br/>"; echo "<input type='radio' value='answer1' name='answer'>" .$row['optionone']; echo "<input type='radio' value='answer1' name='answer'>" .$row['optiontwo']; …

Member Avatar for baig772
0
148
Member Avatar for dany12

Hello to evryone my name is Dany and I want to get involved as volunteer in web project that is based on php mysql xhtml html css or any other web thenologies with the ondition to have php in it. Any advice or contact with developers that need help is …

Member Avatar for cereal
0
195

The End.