199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for anmol.raghuvanshi1

hello,everyone i am making a registration page baesed upon php,codeigniter diificulity i am facing was when i try to make radio button or dropdown it misbehaves radio button's are not in single line but in different line so any one can help???? //my registration page <!DOCTYPE html> <html lang="en"> <head> …

Member Avatar for cereal
0
12K
Member Avatar for Zeinab_1

I have wrote a simple code in python s = b'B1=A\xF1adir+al+carrito\n'.decode('latin-1') print(s) with open ('lat.txt','wb') as f: f.write(bytes(s,'latin-1')) the output is **B1=AƱadir+al+carrito** and the content of the file is also the same. but when I try to read from a file (with this content B1=A\xF1adir+al+carrito ) for lines in open('mytxt1.txt','rb'): …

Member Avatar for vegaseat
0
268
Member Avatar for segadude

For my (online) programming class, I have to format certain output in columns using setw. I am having trouble understanding how to do this. My professor says that I am supposed to be creating columns, not counting characters to align things. I haven't been able to find any examples of …

Member Avatar for NathanOliver
0
207
Member Avatar for jamesjohnson25

There was a question in topcoder. Question: Three kids are playing the following game: A word is written on a sheet of paper, and one after another, the players take turns adding letters to the word. During each turn, a player must add a single letter to either the beginning …

Member Avatar for Nutster
0
120
Member Avatar for JohnMcPherson

I am having a problem with reading input data after checking a position marker in the data file. The code that does the reading follows: fip = fopen("fprmf.txt","r"); . . . strcpy(passw,"P7"); fscanf(fip, "%3s", ckod); /* card # 164 */ fprintf(ff16,"\n\n%12s%12s\n", "card# 164 :", "Password "); printf("passwd is %s\n", ckod); …

Member Avatar for Nutster
0
802
Member Avatar for doconline

I have an idea for a website which I have started here - [www.letsgetlunch.co.uk](http://www.letsgetlunch.co.uk). The front end if based on Google Maps with the usual suspects of HTML and jQuery, with PHP / MySQL as the backend. I am not sure if this is the best way for the site …

Member Avatar for diafol
0
167
Member Avatar for nitish.mohiputlall

what are the codes to use to filter out my listbox as the user is typing in the textbox? the data in my listbox is from database. I have used a relay command to get all the details of an Event then place the details in an observable collection. Then …

0
169
Member Avatar for Hilal2009

Hey guys, Is there any one who knows how to get a session from access_token? In Facebook PHP SDK v5 I can get access_token, but I don't know how to get a session so as to retrieve feeds. According to Facebook PHP SDK v5 and Graph API v 2.4 documentation([Click …

0
148
Member Avatar for pritaeas

This is more a general approach question. I have an old ORM like framework for this application. Basically what it does, if it needs to load a bunch of objects/records, is for every child object in my result a new query is triggered to get it's data. Since the nesting …

Member Avatar for pritaeas
0
230
Member Avatar for Doogledude123

I need a boolean to be stored with a String (or possibly a Path, not sure which one I want to use yet). I thought about using a Map, so I did some looking around and found out that LinkedHashMaps are the only type of Map that stay in Order …

Member Avatar for Slavi
0
305
Member Avatar for Mr.M

Hi Dw. Is it possible to permanently burn a file to a re-writable CD/DVD but the files bytes be able to be updates/modified while the file/Media(CD/DVD) is not formattable or the files even formatting a media be un-removed from the media? Thank you.

Member Avatar for Mr.M
0
188
Member Avatar for NguyÔ»…n_6

I am writing code to upload photos to Picasa, before the code runs well, now new picasa google upgrade. help yourself way up photos on picasa Code old $albumUrl = "https://picasaweb.google.com/data/feed/api/user/$user/albumid/$/albumid"; // XML Upload được cung cįŗ„p bởi google $rawImgXml = '<entry xmlns="http://www.w3.org/2005/Atom"> <title>' . $path . '</title> <summary>' . …

0
118
Member Avatar for kumanutiw

The house is built of non-standard form. All four walls are of a rectangular shape, but different height and length. The width of the walls is two bricks. There are two types of bricks. The outer part of the wall is constructed from the first type of brick, and the …

Member Avatar for David W
0
501
Member Avatar for xn hunk

do one know , how find yahoo Username Availability in vb.net How to check a Yahoo! ID for availability before sign up for a new e-mail account .

Member Avatar for savedlema
0
174
Member Avatar for savedlema

Greetings everyone! I have some codes in my application which makes a backup of mysql database and save the backup .sql file to a location on the hard disk. I made the code in like 2013/early 2014, I think I was then using a now older version of mysql, it …

Member Avatar for savedlema
0
361
Member Avatar for dandixon

Have this little countdown timer that counts down to 18:00 everyday and then resets as soon as it completes, the problems is I need to get it to work on the server time and not locally but I have no idea how? Let me know if you need to look …

Member Avatar for bdanie
0
607
Member Avatar for Wael1988

**I need help i have a page that contain - 2 textbox - Button - Literal Button . i need to insert a website in the first textbox .. " google.com" for example and the second textbox will take a search word... " for example" . when i click on …

Member Avatar for Richard_27
0
128
Member Avatar for abdoalghareeb

I have windows7 64bit I am trying to install borland delphi 6 my Problem is when I run the program , the next message appear: ![2.png](/attachments/large/4/d7ae545f682db0c4751647130738edd9.png "align-center") and when I press (run program),the next message appear: ![3.png](/attachments/large/4/e91dca52deb056bea82a07be37995b91.png "align-center")

Member Avatar for SoftSoul6Co
0
244
Member Avatar for SoftSoul6Co

I have a 3 character fkLookup field sat_site in a table. I'm using TAdsTable table component. When I filter out records in my grid on a field sat_site, grid does not show any records. With ShowMessage() I check the value of field sat_site which shows blanks or boxes in the …

Member Avatar for SoftSoul6Co
0
490
Member Avatar for Sherab_1

I am beginner in C++. Please someone support me. Help me in learning C or C++ Java compiler. I am just a beginer. have just installed Cygwin & MinGW in my computer. Please someone guide me in learning programing language.

Member Avatar for Curius
0
135
Member Avatar for savedlema

Hi all! I have developed my application in VB.NET that uses a mysql database. From my application, I can make mysql backups and restore them. When i take a backup, the result is a .sql file which is saved somewhere. But as usual, one can open that sql file with …

Member Avatar for jwenting
0
327
Member Avatar for Bijiann

I am doing program in java .I have designed a jsp page which has 3 drop downlist's...country,state and district.I want to display the values in drop down list state when a country is selected...(for eg:-if india is selected,drop down list state must have only the name of states in india).In …

Member Avatar for edgar222
0
6K
Member Avatar for Ahmed91za

hello i'm trying to figure out how to write a program in c++ that check when i insert a password and force me to add at least 2 capital letters and 2 numbers in the password (you've seen this before right? when signing up for new account and checks for …

Member Avatar for ravenous
0
297
Member Avatar for edgar222

how can I select project from dropdown then execute query catching the value of the project selected I have the follow code using AJAX and JSP pages admin.jsp <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@ page import="java.sql.*"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; …

0
164
Member Avatar for Hilal2009

Hi Guys I want to post on my facebook page by using Facebook PHP SDK v5. Here are my codes but after running, I get the following errors *Fatal error: Uncaught exception 'Facebook\Exceptions\FacebookAuthorizationException' with message '(#200) Insufficient permission to post to target on behalf of the viewer' in ................ My …

Member Avatar for cereal
0
1K
Member Avatar for Sayam_1

I am newbie in ajax.i want to send a normal ajax request when i will click the search button.i write some code the search onclick function.. $(document).ready(function() { $("#Search").click(function() { $.ajax({ "dataType": 'json', "type": "POST", "url": "../test/loginform_details.do", "data": { username: $('#username').val().toString(), password: $('#password').val().toString(), }, "success": function(data) { fnCallback(data); } }); …

Member Avatar for gabrielcastillo
0
207
Member Avatar for falak_1

its my model <?php class Books_model extends CI_Model{ public function __construct(){ $this->load->database(); } public function get_restaurants() { $sql = "SELECT id, names FROM restaurants "; $query = $this->db->query( $sql ); return $query->result(); } } and controller code is <?php class Booking_Controller extends CI_Controller{ public function __construct(){ parent::__construct(); $this->load->model('Books_model'); } public …

Member Avatar for gabrielcastillo
0
251
Member Avatar for myrtsgrc

Please help me with this. I am not a good in explaining and my grammar is not that good so please bear with me. My client wants a website which auto search a manufacturing part number from a certain website. http://www.digipart.com/ The code for the auto search is working and …

Member Avatar for diafol
0
257
Member Avatar for Chris920

Im working with WordPress right now and this plugin - http://codecanyon.net/item/ultimate-player-with-youtube-vimeo-ads-wp-plugin/7316469 - I also have the jQuery version too. I have 20 categories on a page. Its tabs then when you click the tabs a new video player loads with a seperate video. The only issue is I have 20 …

Member Avatar for diafol
0
196
Member Avatar for solomon_13000

When I access call.php the variable name 'json' is not accessible to param.js as below: init.js $("document").ready(function(){ var data = { "action": "init" }; data = $(this).serialize() + "&" + $.param(data); var json; $.ajax({ type: "POST", dataType: "json", url: "response.php", //Relative or absolute path to response.php file data: data, success: …

Member Avatar for diafol
0
322
Member Avatar for Saran_1

I have the CSV with the following column headers: "G","Association","Subset","Rank","First Name","Last Name","Middle Name","Date of Birth","SS","Drivers License Number","Address","Phone Number","A","CF","CM","I","F","J","CN","I","CN" The Output XML format is what I seek: <GIs> <GIR> <G></G> <GM> <FirstName></FirstName> <LastName></LastName> <MiddleName></MiddleName> <FullName></FullName> <DateofBirth></DateofBirth> <SS></SS> <DriversLicenseNumber></DriversLicenseNumber> <Address> <AddressText></AddressText> <Latitude></Latitude> <Longitude></Longitude> </Address> <PhoneNumber></PhoneNumber> <A></A> <CF></CF> <CM></CM> <Association></Association> <Subset></Subset> <Rank></Rank> <I></I> …

0
114
Member Avatar for Atul_4

Hi is here any one who can tell me that how can i generate the licence key or any other things for securing my client server program please help me

Member Avatar for snippsat
0
660
Member Avatar for DragonMastur

I would like the widgets on the window to expand as you expand the window. I know you can do it with the pack method but I'm using the grid method to arange my widgets. Pack Method: label = Label(root, text="Some Text") label.pack(expand=1, fill=BOTH) Grid Method I'm using: self.inventoryLabel = …

Member Avatar for woooee
0
6K
Member Avatar for diafol

Hi All, Been messing about as usual and managed to trash my long suffering laptop. Luckily all my data is backed up and it was a simple matter of SugarSyncing everything to the new one - a monster HP Envy - which I love, but it came with Windows 8 …

Member Avatar for rsleventhal
0
648
Member Avatar for vegaseat

Just a simple password creator using Python code. The length of the password can be set and the characterset could be changed if you so desire.

0
576
Member Avatar for Mr.M

Hi Dw. I have a question of how can one detect a program attempting execute/run and also most importantly how to allow/deny programs to execute/run. I'm sure we all have came across with UAC where it ask you to allow or deny that program from running, normally this for elevating …

Member Avatar for Mr.M
0
112
Member Avatar for UK-1991

Hello, I have tried to create a way though which users can create there own photo gallery but for that i created a code via whihc users can create their own folder but things a i want to do in a litle tricky way. Wank to allow users to create …

Member Avatar for diafol
0
124
Member Avatar for SoftSoul6Co

I have 5 date fields in a table. I want to place CheckBoxes against each date field to allow user to check the appropriate date for the employee's weekly holiday. I do not have boolean fields in the table. How can I place CheckBox against each date cell in a …

Member Avatar for SoftSoul6Co
0
1K
Member Avatar for Lau_1

Hello, I want to ask, what going on for this. I try to implement form, user key in the username, it will trigger the function to check the username is existing or not. I tried to figure out the problem, but dont know what's going on... My Js file, jQuery(document).ready(function() …

Member Avatar for diafol
0
253
Member Avatar for AntonyRayan

in onblur i called two different events; but its not working. First event only working. How to do? either in onBlur() or onFocus() Example: onblur="a();b();"

Member Avatar for diafol
0
88
Member Avatar for riahc3

I have a mobile VPN client that I want to backup to. The problem is that it does not have a static IP to due it being L2TP/IPSec. Thats the bad news. The good news is that there wont be too many VPN clients (at most 10 if that) so …

Member Avatar for Kayasax
0
365
Member Avatar for riahc3

I'm looking for the best way to back cold backups of the email on my client's PC. Starting off with PowerShell, I would run this: Get-ChildItem -Path 'C:' -Filter '*.pst' -Recurse -ErrorAction SilentlyContinue | Select-Object -Expand Directory -Unique | Select-Object -Expand FullName To search where the email file is. I …

Member Avatar for Kayasax
0
502
Member Avatar for rucel jhalia

Private Sub RetrieveButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RetrieveButton.Click conn = New MySqlConnection conn.ConnectionString = "server=127.0.0.1; Port=3306; user id=root; password=; database=bsit3d" Dim READER As MySqlDataReader Dim Command As New MySqlCommand conn.Open() Dim Query As String Query = "select * from bsit3d.form where username= '" & username.Text & …

Member Avatar for Mr.M
0
523
Member Avatar for Mr.M

Hi Dw. I know how to kill or stop a process using VB.NET. But how about temporary blocking a process from performing a task? Suppose I have a docx file located at "D:\test\" and I happen to open this file and modify it either by adding something or delete some …

Member Avatar for Mr.M
0
162
Member Avatar for kumarby1980

while (rd.Read()) <table style="width: 14%; position: relative; top: -182px; left: 630px; height: 117px;"> <tr> <td> <asp:Image ID="Image1" runat="server" Height="102px" Width="114px" visible="true"/> </td> </tr> </table> protected void Page_Load(object sender, EventArgs e) { Label1.Text=Request.QueryString["Parameter"].ToString(); OleDbConnection cn = new OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Users\\user\\Documents\\EmpDB.accdb"); OleDbCommand cmd = new OleDbCommand("select * from Emp where ID= @imgID ", …

0
102
Member Avatar for sbaw

Hi I am currently using pyinstaller 2.1 with python 2.7. I am making modifications to "TI's MSP430 Tools (Python scripts and library)" which allows the update of the MSP430 firmware over USB. Specifically, I have made some modifications to the top-level script and when I run the script it works …

Member Avatar for megaflo
0
1K
Member Avatar for falak_1

Restaurant | restaurant_id | names | Date | date_id | date | Time_slots | time_slots_id | start_time | end_time | restaurant_id | date_id | Reservations | reservation_id | No.of.people | time_slots_id| Relations between tables: Relation between time slots and restaurants = Many to Many Relation between time slots and date …

Member Avatar for diafol
0
142
Member Avatar for lithium112

For my angular controller I have: app.controller('AdminCtrl', function ($scope, $http) { $scope.data = { Name: '', Password: '' }, $scope.login = function (data) { $http({ method: 'POST', url: '/login/postlogin', data: JSON.stringify({ data: $scope.data }), contentType: "application/json", dataType: "json" }).success(function (data) { alert('success!'); }).error(function (error) { alert(error.message); }) } }); For …

Member Avatar for lithium112
0
227
Member Avatar for cambalinho

heres my function for select the font: CHOOSEFONT ShowSelectFont(HWND hwnd=GetForegroundWindow()) { CHOOSEFONT cf = {sizeof(CHOOSEFONT)}; LOGFONT lf; cf.Flags = CF_EFFECTS | CF_INITTOLOGFONTSTRUCT | CF_SCREENFONTS; cf.hwndOwner = hwnd; cf.lpLogFont = &lf; cf.rgbColors = RGB(0,0,0); cf.lpLogFont->lfStrikeOut=FALSE; cf.lpLogFont->lfUnderline=FALSE; cf.lpLogFont->lfHeight=-MulDiv(12, GetDeviceCaps(GetDC(hwnd), LOGPIXELSY), 72);//change font size _tcscpy(cf.lpLogFont->lfFaceName, "Arial" ); //we must include tchar.h if(ChooseFont(&cf)) { …

Member Avatar for cambalinho
0
1K
Member Avatar for rpv_sen

Hi Friends I am facing an issue in update query using PDO Prepare method. Please help me to fix the issue. $consql = "UPDATE $database.$constant_application SET SCYQ64EMAL=:SCYQ64EMAL, SCYQ64EV01=:SCYQ64EV01, SCYQ64EV02=:SCYQ64EV02, SCYQ64EV03=:SCYQ64EV03,SCYQ64EV04=:SCYQ64EV04, SCYQ64EV05=:SCYQ64EV05, SCYQ64EV06=:SCYQ64EV06, SCUSER=:SCUSER, SCJOBN=:SCJOBN, SCPID=:SCPID, SCYQ64AVGP=:SCYQ64AVGP, SCYQ64TZ=:SCYQ64TZ, SCUPMJ=:SCUPMJ, SCUPMT=:SCUPMT where SCYQ64CID=:SCYQ64CID"; $row = $dbh->prepare($consql); $row->bindParam(":SCYQ64EMAL",$SCYQ64EMAL); $row->bindParam(":SCYQ64EV01",$SCYQ64EV01); $row->bindParam(":SCYQ64EV02",$SCYQ64EV02); $row->bindParam(":SCYQ64EV03",$SCYQ64EV03); $row->bindParam(":SCYQ64EV04",$SCYQ64EV04); $row->bindParam(":SCYQ64EV05",$SCYQ64EV05); …

Member Avatar for diafol
0
299

The End.