199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for daydie

is there any way i can do this? As normally you can use a BB code on the post. But when using POST string it says error. i'm not sure if its because of the characters in the URL which are giving it an error but i've added \ in …

Member Avatar for daydie
0
129
Member Avatar for coolbeanbob

Just wondering if it is worth taking the time to learn the GUI packages, or do most developers use GUI designers? I am guessing the GUI designers are more often used by hobbyist, while the professional developers write the code?

Member Avatar for designuts
0
231
Member Avatar for Farhan_B

hey im doing a project and am having problem getting this code correct could you please have a look at it and help me understand were i am making the mistake the code [CODE] Private Sub m_buttonAddUserRole_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles m_buttonAddUserRole.Click Dim roleIndex As Integer …

Member Avatar for Farhan_B
0
149
Member Avatar for bernardz26

Good day!. I have here a SQL database named Database1 and it has a tables (StudentID, Student name, Age, Gender,) vb.net and i want that if i input a records in vb.net it automatic save to sql database. Help me please.

Member Avatar for bernardz26
0
242
Member Avatar for ohblahitsme

Hey everyone, I'm trying work on a text based game and I'm a little stuck with navigating the rooms. So let's say I'm in a room with another room to the north, east, south, and west. I wanted to create a "navigation" function which takes four parameters, which are the …

Member Avatar for woooee
0
170
Member Avatar for Vasthor

in coding, how do you actually track down the bug??? example this code where we want to find the quartile.... ignore the "odd" part, not done on there yet, but the even part just successfully running but produce no result after input (0, random huge number, and another 0) [CODE]#include …

Member Avatar for mike_2000_17
0
107
Member Avatar for imonbayazid

In my website i want to download the current page's content as pdf whenever i press download button on that page.what will be the php code?? please help me..

Member Avatar for chrishea
0
85
Member Avatar for asprin

Hello everyone. First, a little about me. I started off web development in .Net (C#) and found it to be not suiting my style. Then I moved on to PHP and instantly fell in love with it. I've been practicing it for the last 40-45 days and have covered up …

Member Avatar for FreeGeezer
0
276
Member Avatar for python-noob

I created a program awhile back to translate a phrase into pig latin. Pretty simple program, but now I am trying to figure out how to get it to read from a file and process it that way. Here is my old program; [CODE] def main(): enter = raw_input("Enter a …

Member Avatar for python-noob
0
430
Member Avatar for Surfsup

I have a simple JS script (below) that on click (of the element with an id of #addClass) adds a class (.switcher) to the body tag. The script uses jquery. I would like to know if it's possible using PHP to store that info and keep it intact when the …

Member Avatar for Surfsup
0
210
Member Avatar for teofaniza

How to connect the option/radio button to listview control using ADODB connection? That is,right after when you click a radio button as the letter of your choice..then it will automatically shown to the the listview control as the answer sheet..for the respective question..and numbering..? Using the VB 6.0.. Example: 1. …

Member Avatar for ChrisPadgham
0
308
Member Avatar for dilse4sk

Hi every 1 i am trying to register an employee but for some reason my record is inserted twice. if i enter all details of employee and when i click save..after that if i chk my employee list i could see same record entered twice.here is my code. Private Sub …

Member Avatar for dilse4sk
0
134
Member Avatar for therockon7throw

The puzzle The original puzzle is in Java [url]http://wouter.coekaerts.be/2012/puzzle-clowns[/url], so I tried to write it in C++ and post it here for your, so that you solve it and having some thing to think:-) There almost aren’t any rules; any cheating inside your code is allowed; it is the whole …

Member Avatar for therockon7throw
0
195
Member Avatar for triumphost

Is it Dangerous to Derive from STD? Specifically std::string. Why I'm asking? I want to write a class that extends the functionality of std::string and a couple other std structs/classes.. So that when I do something like: String M = ""; M.Explode(........) it'll do the functionality in my class below. …

Member Avatar for mike_2000_17
0
102
Member Avatar for pingpongplaya

Hello, I am trying to populate a spreadsheet using Access data, however I am having trouble with the line noted below, which is giving a run-time error. I am not familiar with the Excel Object Model, so not sure how the "selection, range, etc" should be used. Any help and …

Member Avatar for pingpongplaya
0
264
Member Avatar for TIM_M_91

Hi guys well I have successfully got my update query to work correctly. Now I have two tables in my database. What I want to do is when I click my play button not only does it update my column's in my first table but all updates my colunms in …

Member Avatar for TIM_M_91
0
187
Member Avatar for jacksantho

Hi, I am Using iframe for the URL masking. But it's not working for me. Am using Xampp: [B]1. [url]http://localhost/professor.html[/url][/B] (a).professor.html page in xampp htdocs folder [B](htdocs/professor.html)[/B] (b).professor.html page -> Is a authenticated Page, getting userid and the password in the professor.html page and once the login gets true, moves …

Member Avatar for diafol
0
1K
Member Avatar for pythoner

im trying to make a simple calculator: [CODE] loop = 1 while loop == 1: print "Welcome to Jakes' Calculator" print "1) addition" print "3) multiplication" choice = raw_input("Enter a number 1-4: ") break if choice.strip() == "1": a = input("enter the first number: ") b = input("enter the second …

Member Avatar for pythoner
0
180
Member Avatar for ItsAdZy

I would like the user to be able to see the sales total for any given month when they input a valid month. Everything works other than what I stated above. I am completely stumped on how to store the salesTotal values inputted by the user into an array (monthSalesTotal). …

Member Avatar for WaltP
0
175
Member Avatar for Vladnaka

Is there any way to use standard C++ to wait for user input? And by input I don't mean just the enter key, I mean ANY key will continue executing code. I know about the conio.h and Windows.h libraries but those aren't standard C++ and I really want to get …

Member Avatar for jaskij
0
253
Member Avatar for ayushsocial

Hello guys and gals I have created a banner for my client. It's a image banner not flash, with common html coding Eg <a href="http://www.mysite.com"><img src="http://www.mysite.com/banners/2-12/160x600_5.jpg" width=160 height=600 border=1 ALT="Click to Visit"></a> Now my client gave me an URL, which is a tracking code of some affiliate network. I need …

Member Avatar for ayushsocial
0
195
Member Avatar for jigglymig

[COLOR="green"][B]I already have counting the number of elements programmed, which was fairly easy, but now I am confused with the comparisons. how exactly would I program this exactly? please help me understand what exactly to do bc the wording is really confusing me[/B].[/COLOR] Problem Statement In order to compute the …

Member Avatar for jigglymig
0
165
Member Avatar for tom12

#include <iostream> #include <string.h> #include <ctype.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 Guy i'm new to …

Member Avatar for tom12
0
135
Member Avatar for jodzjcm

I have this code: Note: boom.ok[1][0] has the character "a" while boom.ok[[tempr[0]][0] contains the string "ay". [CODE]if ( strcmp(&boom.ok[1][0],&boom.ok[[tempr[0]][0]) == 1) printf("Hello"); if ( strcmp(&boom.ok[1][0],&boom.ok[[tempr[0]][0]) == 0) printf("Hello");[/CODE] None of these statement prints hello. Why?

Member Avatar for Ab000dy_85
0
94
Member Avatar for -acir-

I have attached the complete code however I cant find out why am getting error when I run the program. Please help me figure this out. Thanks. :):)

0
97
Member Avatar for triumphost

How can I get a variable amount of arguments in a function without providing how many arguments will be passed? For example, when you use a VA List, the first parameter must be the amount of arguments passed.. I don't want that. I want to just start passing any amount …

Member Avatar for deceptikon
0
524
Member Avatar for triumphost

I have: [CODE] private: Void GoBtn_Click(Object^ sender, EventArgs^ e) { ((WebBrowser)MultiTab->SelectedTab->Controls[0]).Navigate(SearchBar->Text); } [/CODE] But it keeps giving me an error at Controls[0] and telling me that no operator [] matches.. Control::Collection^ [int] <--- No clue what that line means.. Next it tells me that I cannot cast TabControl to (WebBrowser) …

Member Avatar for therockon7throw
0
104
Member Avatar for trickist17

[CODE] /*the ø stands for document.getElementById*/ function conwidth(){ var a=document.getElementsByClassName('dropdown'); var e=[]; for(i=0;i<=a.length;i++){ if(a[i].innerHTML.length>28){ /*Safari Error (only if I bypass the setwid(j,k)command): TypeError: 'undefined' is not an object (evaluating 'a[i].innerHTML')*/ e.push(a[i].innerHTML); var j=ø(a[i].parentNode.id).parentNode.id; var k=200+8*(a[i].innerHTML.length-28); setwid(j,k); } } } function setwid(b,c){ var dr=document.getElementsByClassName('dropdown');var st=document.getElementsByClassName('strich');var a=function(a){return ø(a.parentNode.id).parentNode.id;}; /*Safari Error: TypeError: 'undefined' …

Member Avatar for trickist17
0
204
Member Avatar for UFO Disko

Hello, I'm currently following the video tutorials found on asp.net (the site)\ And I just finished my delete page but I'm getting errors. This is the code of the page DeleteMovie.cshtml [CODE]@{ Layout = "~/_SiteLayout.cshtml"; var id = Request["MovieID"]; var SQLSELECT = "SELECT * FROM Names where MovieID=@0"; var db …

0
113
Member Avatar for easygi

I have this code [CODE] Dim replace As String = System.DateTime.Now.AddDays(7).ToString("yyyy-MM-dd")[/CODE] What I'm trying to do is [CODE] Dim replace As String = textbox1.text.AddDays(7).ToString("yyyy-MM-dd")[/CODE] is there a way to use that add days from a text or string value already?

Member Avatar for easygi
0
446
Member Avatar for irwallace

Hi Guys, I was hoping someone could point me in the right direction. I have a nusoap server that I am trying to pass an array of data to. For now I just want to simply pass this array back, before handling this data, mainly to help my learning process. …

0
488
Member Avatar for lxXTaCoXxl

I'm wondering how to make my custom user type able to be added and subtracted from the same types. For example: [code]public class CustomType { public float x; public float y; public CustomType(float x, float y) { this.x = x; this.y = y; } } public class test : Form …

Member Avatar for skatamatic
0
159
Member Avatar for SyncMaster170

Hey guys, Heres what my app is trying to do: Print a members card Heres my code: [CODE]Me.AccountsTableAdapter.Connection = mainConnection Me.AccountsTableAdapter.NewQuery(Me.WaynokaDataSet.Accounts) With Me.ReportViewer1 .LocalReport.ReportPath = "G:\Bin\Waynoka Management\MemberCard" & varCardYear & ".rdlc" .LocalReport.DataSources.Add(New Microsoft.Reporting.WinForms.ReportDataSource("WaynokaDataSet_Accounts", dsReportList.Tables(0))) .SetDisplayMode(Microsoft.Reporting.WinForms.DisplayMode.PrintLayout) End With Catch ex As Exception System.Windows.Forms.MessageBox.Show(ex.Message) End Try[/CODE] The title is the error it …

Member Avatar for SyncMaster170
0
478
Member Avatar for d.f

Hello, all. I am receiving an error that I hope you all can help me with. After running a while or quite a few reports, I get the message " The maximum report processing jobs limit configured by your system administrator has been reached." I know this is because I …

Member Avatar for d.f
0
692
Member Avatar for h2so4_2003

I would like to pass values in anchoring. Keeping it visible I can use <a href=xyz.php?ID=123&action=delete> In above I would like [B]action=delete[/B] to be hidden. What to do? I cannot use [B]input type=hidden[/B] as I'm not submitting the form.instead requires onclick by clicking on reference page in anchoring and passing …

Member Avatar for ko ko
0
2K
Member Avatar for chandub

hai everybody am using following code to preview the image before uploading it. but am unable to display the image please help me. [code=html]<SCRIPT type="text/javascript"> function preview(what){ document.getElementById("previewField").src=what.value; } </SCRIPT> <INPUT type="file" id="picField" onchange="preview(this)"> <IMG id="previewField" alt="Preview">[/code] thank you.

Member Avatar for Troy III
0
97
Member Avatar for ravi52542

hi friends please send some links for how to use proper css and jquery......

Member Avatar for anand01
0
93
Member Avatar for BleepyE

Hi guys, I need some help. Im trying to create a comment system in an applet. When a user enters a new comment all previous comments are shown below. The comments are taken from two text fields. At the moment im just storing the latest 2 comments in variables, I …

Member Avatar for DavidKroukamp
0
133
Member Avatar for baseballer

I'm just trying to teach myself how to use java.util.zip, but I'm struggling with one part I think. The code below is what I have so far, I'm just not sure how to actually get it to read in a zip file? Any help would be much appreciated. [CODE] import …

Member Avatar for DavidKroukamp
0
129
Member Avatar for Squit

hello ppl :) i use .htaccess for my PHP site to redirect without changing the URL in the adress bar for example: [url]http://www.example.com/news/This.is.a.new[/url] my .htaccess sends from /news/ folder sends the user to [url]http://example.com/news.php?id=142151[/url] ... and i can't send another variable to the [url]http://www.example.com/news/[/url] folder because is redirected to news.php?id... …

Member Avatar for Squit
0
1K
Member Avatar for webwiz

Hi all, I'm using @copy to copy large files from one server to another and it usually works fine. Occasionally it stops mid way through though and I have to start again. So I wondered if anyone knows of a way php can read my half copied file, compare it …

Member Avatar for webwiz
0
333
Member Avatar for Lle26

The problem is in lies in TA.Insert(txtfirst.text) I really dont know what is parameter,,,,all about pls help me...pls [CODE] Public Class AddOutPatient Private Sub btncancel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btncancel.Click Me.DialogResult = Windows.Forms.DialogResult.Cancel End Sub Private Sub btnaddout_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles …

Member Avatar for M.Waqas Aslam
0
1K
Member Avatar for glebovg

Create a class called CardDeck with a main method contents exactly as shown here: [CODE]{ String[] deck=new String[52]; createDeck(deck); for(int i=0; i<52; i++) System.out.println(deck[i]); }[/CODE] You should create a method called createDeck which populates the array you created in the main method. You must use four loops, each creates the …

Member Avatar for glebovg
0
261
Member Avatar for triumphost

How can I do the following? I read up on Variable Arguments last time I asked this question (Mike pointed me in the right direction).. but it still does not let me define any number of them.. I Do not want to specify the first parameter and if I do, …

Member Avatar for triumphost
0
213
Member Avatar for ForceStr

Hello, I'm here again with another issue. :) I have written almost every part of my program what I'm gonna need (I did it as separate projects). But now I need to create "main program". And I don't know exactly what is the best way to add these "parts" of …

Member Avatar for ForceStr
0
148
Member Avatar for dsmith12

Ok in this code the user has to type in their first and last name together otherwise it is invalid. I know I have to use some sort of java.lang.character but i do not know how to write it up. I know that it needs to be a part of …

Member Avatar for StephNicolaou
0
195
Member Avatar for Hyodoh

Hey guys I was hoping I could get some help with the design of this database. If need be, I'll try to explain it best I can of what it's supposed to do, I think I have most of it set up right, I just think something is wrong with …

Member Avatar for BitBlt
0
121
Member Avatar for ng5

I have a listbox and would like to save the items added/deleted when the form closes. any ideas?

Member Avatar for ng5
0
214
Member Avatar for varul7

C program to replace all the letters of a string with all 26 alphabets and to do permutations to all the substituted ones and finally store the resulted strings in a file.. please help me out in fixing this situation.. To be clear. let me quote an example: If i …

Member Avatar for varul7
0
935
Member Avatar for Mindless Z

I've got an assignment due very soon that I can't for the life of me figure out. the basic idea is to create a program that allows the user to paint with large dots. If the R key is down the dot should be red, if the B key is …

Member Avatar for Mindless Z
0
453

The End.