64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Tcll

IMO, VS2010 with PythonTools 1.5 is the best IDE. it may not be as glamorous as Eclipse or PyScripter, but it certainly has more functionality and accuracy than either of them. -intellisense (PyScripter does a better job than Eclipse) -split file scrolling (not sure about PyScripter, but Eclipse doesn't have …

Member Avatar for Tcll
0
658
Member Avatar for xxmp

I am making a website but the files are into folder a->b->c/bla.jsp is there any library that is free or a way that i can change the showing url to be more user friendly? Thank you

Member Avatar for xxmp
0
187
Member Avatar for jd217

I'm getting a syntax error that's confusing me beyond belief. I'm using MinGW on Windows XP(32-bit), and Notepad++ for a text editor. "Syntax error before unexpected token '('" Originally, I thought it may have been something in the code I was trying to compile, so I wrote a simple "hello …

Member Avatar for jd217
0
1K
Member Avatar for christinetom

Hi everyone.. :), me again. I've never used Linked Lists.. They don't make sense to me. I kind of understand them though. There's plently of online explanations explaining what they are but they all go down the same path. I'm trying to undertstand how one Note (via the next pointer) …

Member Avatar for christinetom
0
275
Member Avatar for Raju_3

Hello sir iam trying to upload the image in database..this is my code <html> <head> <body> <form action="" method="POST" enctype="multipart/form-data"> <input type="file" name="image" accept="image/jpeg"> <input type="Submit" name="submit"/> </form> <?php if(isset($_POST['submit'])) //connecting to database $db = mysql_connect("localhost:3306","root","") or die(mysql_error()); //selecting our database $db_select = mysql_select_db("tutorial",$db) or die(mysql_error()); $imageName = mysql_real_escape_string($_FILES["image"]["name"]); $imageData …

Member Avatar for Raju_3
0
1K
Member Avatar for Ahmed.C

Hi. I just wanted to know if there is anyway to make a textbox recognise if there is text or not. I don't want it to be textbox1.text = "". Is there a legitimate way?

Member Avatar for Ahmed.C
0
163
Member Avatar for Rajiv9

Hi, I have avalue like 2.90 i want the value to be round off to 3.00 Can u help me out Rajiv

Member Avatar for Rajiv9
0
2K
Member Avatar for JameB

Hi guys, I'm working on a side project for a friend and I'm looking for a C++ library that allows me to put bunch of paragraphs in a PDF format. Anyone know any good libraries that can do this as simply as possible? It will be just paragraphs and paragraphs …

Member Avatar for iamthwee
0
771
Member Avatar for Ahmed.C

So I've been working on this simple FTP Client and i've come across this problem. Basically when the user clicks on the folder, a label changes saying ftpserver.com/folder1 and then when a user clicks on the folder inside that it's meant to be ftpserver.com/folder1/folder2 but the label is only saying …

0
103
Member Avatar for Akhilesh_2

#include<stdio.h> #include<stdlib.h> #include<string.h> static int compare(const void *x,const void *y){ return strcmp(*(const char**)x, *(const char**)y); } int main(){ FILE *p = fopen("file.txt","w"); char ch = '\0',**c = (char**)calloc(6,sizeof(char*)); int n[6]={0},i=0,j=0; fprintf(p,"jack\nakki\njohn\nrachael\nrobin\ntom"); fclose(p); p = fopen("file.txt","r"); while(1){ while((ch=getc(p))!= '\n'){ if(ch == EOF) break; putchar(ch); n[i]++; } printf(" %d\n",n[i]); if(ch == EOF) …

Member Avatar for Akhilesh_2
0
119
Member Avatar for tieties

Ok so what i want to do is break up a string after the lenght of the string is = to 160, then i want to add a line break..but all this needs to be done in the Select...can anyone help me with this thankx in advance select case len(COD_P2_Q1) …

Member Avatar for iamthwee
0
359
Member Avatar for Thermalnuke

Hey guys, I havent coded visual basic in a long time I am using access 2003 and doing some code under a form. I have a button that is named system Setup and when you click on it it opens up and another form that has three comboboxes and a …

Member Avatar for Klahr_R
0
162
Member Avatar for Stuugie

Hi All, I'm trying to loop through and open PDFs in a folder using Java. I have the following code: import java.awt.Desktop; import java.io.File; import java.io.IOException; public class OpenPDFs { public static void main(String[] args) throws IOException { // TODO code application logic here String fp; fp ="S:\\Economic Forecasts\\Fcst13\\SourceForecasts\\"; File …

Member Avatar for Stuugie
0
594
Member Avatar for Hikki_Passion

Ok, so I am trying to write a code that will find the attributes in a html tag using lists and splitting them up. Unfortunately its giving me a hard time with the added quotation marks. [CODE] def find_attribute_value(html_tag, att): '''Return the value of attribute att (a str) in the …

Member Avatar for james.lu.75491856
0
1K
Member Avatar for ss125

Please can anyone explain clearly.... what is the difference between session and httpcontext.current.session and application variables? Thankyou in advance...

Member Avatar for ss125
0
225
Member Avatar for mark.kj.125

Currenlty i have learned html5 and css3 from different sites no one give complete tutorials about everything and doesn't made me satisfied when i see uniques combinations of tags and and some that i don't know i totally get disappointed.People have done great work only with html and css and …

Member Avatar for best4earn
0
282
Member Avatar for ss125

Hi friends, I displayed some items on my dropdown list.And users are allowed to select multiple items in the drop box. After that, If a button is clicked, I have to execute a single sql code. Say for eg, update table_name set flag='y' where field_name='[Dropdown selected items]' Please help. Thanx …

Member Avatar for ss125
0
209
Member Avatar for VIPER5646

Hi all I have a Products table which has a description and a size column the description is a string value and the size has a double value. What I need to do is after reading the data it converts the decimals value of the size column into a fraction. …

Member Avatar for VIPER5646
0
1K
Member Avatar for aVar++

My teacher needs to be able to view my databases in PHPMyAdmin however I am running on local host. How could I make it so he can connect to my localhost on another computer?

Member Avatar for broj1
0
280
Member Avatar for crag0

Forgive me if this is something obvious or a simple question. I am having issues with my date field when loading data into my database. I am having it load using a python script using the below command and once complete the date is 0000-00-00. the file I am loading …

Member Avatar for crag0
0
231
Member Avatar for NargalaX

Hey, I would like to be able to send html requests to cleverbot, and if you've ever been there before, you would know that it is probably the most intelligent chat bot AI that can be publically used. If you don't know what it is, just go to [url]http://www.cleverbot.com/[/url] and …

Member Avatar for bennett2213
0
193
Member Avatar for somjit{}

im trying to do this : alter table project_info change column number proj_id int not null auto_increment, add primary key (proj_id); but mysql tells iv got an error. any help with whats wrong here ? i followed this from head first sql book (page 210 if anyone's interested ) .

Member Avatar for somjit{}
0
302
Member Avatar for phorce

Sorry if this is hard to understand what I'm trying to do here, but, I do not know how to approach this. I am using method overloading in my constructors of a class, and I have multiple "Window" functions which are all classes that can be used and I need …

Member Avatar for mike_2000_17
0
295
Member Avatar for MadJako

Hi, I'm creating a simple C# ASP.NET app in visual studios and I can’t seem to figure out how to pull values from a single cell when using a table adapter for a SQL database. For example, I have a table adapter named ProductsTableAdapterand I can easily use it to …

Member Avatar for MadJako
0
217
Member Avatar for websponge

Most annoyingly I cant get this to work, I made a sample table where there will be duplicate entries in some of the fields, and I need to display then all. table looks a bit like this id county city phonenumber the id is unique as is the phonenumber, but …

Member Avatar for websponge
0
187
Member Avatar for johnrosswrock

Hello everyone,i am new to c# programming and i am making a form app for my collage fest which has following details: 1.name of event(comboBox) 2.name of subevent(comboBox) 3.name of coordinator1(text box) 4.name of coordinator2(text box) 5.name of participent(text box) 5.price(text box) my problem is when any event is selected …

Member Avatar for johnrosswrock
0
221
Member Avatar for best4earn

i want to learn Best Frame work for Web Development , plz tell me which framework is best for all kinds of secure 100% & modern web development . a some toturial site if you have , than plz share Thanks

Member Avatar for jkon
0
297
Member Avatar for xcrunner15

I want my code to affect column 5 and 6 to, but everytime i add it i get an error this is wat i have so far Private Sub DataGridView1_CellEndEdit(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.CellEndEdit If (e.ColumnIndex = 4) Then ' Checking numeric value for Column4 …

Member Avatar for xcrunner15
0
150
Member Avatar for Swetha_1

for example: consider the contents of file1.txt: 1 0 9227 1152 34 2 2 111 7622 1120 34 2 3 68486 710 1024 14 2 6 265065 3389 800 22 2 7 393152 48438 64 132 3 8 412251 46744 64 132 3 9 430593 50866 256 95 4 10 …

Member Avatar for rrashkin
0
164
Member Avatar for james.lu.75491856

If you use the same HUGE number many times: * import sys * sys.maxint = sys.maxint+sys.maxint * This is because if you have the INFINITE(or lower) refrence to the same integer, It will take up the sppace of that integer. If you use many diffrent huge numbers: * Use a …

Member Avatar for james.lu.75491856
0
166
Member Avatar for Mitja Bonca

I am doing some more coding on listView, and I can not figurate it out how to salve the problem that there is always just one checkBox on the listView checked. On the listView I have some names. When I load it there is already a checked name - so …

Member Avatar for DjpjAmador
0
1K
Member Avatar for kevinyu

I have posted code for my index() action from TestsController. To tell you what it does is that I login my username and password on that action. Since if you're only going to input the username and password, they are the only data that can go through $this->request->data. Now I …

Member Avatar for kevinyu
0
381
Member Avatar for FarrisFahad

Hi, I just downloaded TinyMCE WYSIWYG, and I am doing an insert query into MySQL using PHP. Everytime I submit the form it returns false. and if I toke out the textarea everything goes ok. I am pretty sure it's TinyMCE. Have any of you came across this problem, am …

Member Avatar for FarrisFahad
0
1K
Member Avatar for androidz

hi i have a table name table1 i want to display all the records in the table by using data grid and when i try to run it there is no records display in the datagrid and i have already configure the datalink which i name it adodc. could anyone …

Member Avatar for Adrian779
0
1K
Member Avatar for castajiz_2

hy guys i have a problem with my event public delegate void paintEventHandler(object sender, EventArgs e); Graphics paper; public static event PaintEventHandler After1s; private void Mouth_shut(Graphics gr) { gr.FillEllipse(new SolidBrush(Color.Yellow), 50, 50, 50, 50); } private void Mouth_Open(Graphics gr) { gr.FillPie(new SolidBrush(Color.Yellow), 50, 50, 50, 50, -30, 270); } private …

Member Avatar for Ketsuekiame
0
197
Member Avatar for DyO1

Hello everyone, I'm a making a BAT file creator and I can't find a way to add a 'Test' feature (open without saving) This is the code I tried using: Shell("command.Text") *Doesn't shell start DOS? command.text=that's where users wrtie a code Can someone give me a working code on how …

Member Avatar for DyO1
0
168
Member Avatar for Swetha_1

for example: consider the contents of file1.txt: 1 0 9227 1152 34 2 2 111 7622 1120 34 2 3 68486 710 1024 14 2 6 265065 3389 800 22 2 7 393152 48438 64 132 3 8 412251 46744 64 132 3 9 430593 50866 256 95 4 10 …

0
106
Member Avatar for james.lu.75491856
0
118
Member Avatar for Sevyt

Probably already know the answer to this problem, but perhaps i am wrong. My datagrid is being sorted by Id which is Autonumber. So if i add a new entry its added at the bottom of the list. Is there any way to change the sorting to a different nummeric …

Member Avatar for Sevyt
0
165
Member Avatar for joseph.lyons.754

Hey Guys, What i want it to do : 1. Combobox is displayed with a list of countys ie Limerick Dublin Cork 2. Choose County brings up second Combobox with countys towns and villages. 3. Hit search brings up relevant towns and vilages from the county chosen. What it does: …

Member Avatar for joseph.lyons.754
0
291
Member Avatar for ehpratah

Good Day everyone im having trouble in script right now basically im trying to make an if statement that will assign rate base on the destination, branch ,service and vehicle. which is working fine just a moment ago but when i add another array for another destination it seems that …

Member Avatar for ehpratah
0
126
Member Avatar for 3e0jUn

I've been looking for a way to parse a simple XML-like language for use as a type of data storage. I've been through stuff like JSON, XML, etc but I don't want to use them because they are quite slow. I just need a simple way to parse this: [stuff] …

Member Avatar for james.lu.75491856
0
433
Member Avatar for kevinyu

This is my code. I don't know exactly why the program doesn't work. If I press the button, it should display the corresponding quote and its author. But nothing is displayed. After experimenting, I found out that the try clause of the exception DIDN'T REALLY work. I need help on …

Member Avatar for kevinyu
0
235
Member Avatar for pc20912

I am beginner for Vb.Net, My project used some external files (Ex. Word, Excel, PDF, and JPG). Where should I copy these files..? in Same folder Project already saved (D:\TTC) or not. If different path, what is it. (Ex, When I click Button1, Names.docx file must be opened) I want …

Member Avatar for Begginnerdev
0
225
Member Avatar for MasterHacker110

I read somewhere that when you develop a kernel in c++, that the new, delete and static_cast keywords require timing references... I was unable to find the site again but my question is, why does these keywords require timing references?

Member Avatar for MasterHacker110
0
215
Member Avatar for OmniX

I have multiple columns I wish to order by. I have columns: # # # # (1, 2, 3, 4) A 0 0 0 0 B 1 0 1 3 C 1 0 2 3 I want to ORDER BY 4, 3, 2, 1. Syntax I am using: [code] "SELECT …

Member Avatar for Ashton_1
0
290
Member Avatar for best4earn

Can any Body Tell me how can i genrate E-pin for MLM web site which makes payment secure from customer to admin & how can i transfer these pin from customer to customer in secure way

Member Avatar for pritaeas
0
163
Member Avatar for benwadee
Member Avatar for TrustyTony
-1
146
Member Avatar for triumphost

I want to use it because it says it supports all the C++11 features and I'm hoping that includes Regex as well since gcc isn't near finishing anytime soon.. However, many other websites are saying that clang requires Mingw/gcc to be used in the first place. It doesn't make any …

Member Avatar for triumphost
0
702
Member Avatar for lewashby

In the following program everything works fine when I enter 5 or 8, but if I enter 4 or 7 the program crashes with a Segmentation fault error. I'm just trying to add zeros until the number of characters in string is evenly divisible by 3 and I'm doing so …

Member Avatar for lewashby
0
172

The End.