199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Maideen

Hi I encounter the above error message while executing import excel data into sql data table. It worked fine in Mssql 2005 x86 and MS Office 2007 x86. But currently we upgraded the system to MSSql 2012 x64 and MS Office 2010 x86. I downloaded the accessdatabaseEngine.exe for MSoffice 2010 …

Member Avatar for Hamza Saleem
0
206
Member Avatar for bradley.hodges.129

I am using Visual Basic Express 2010, just normal windows forms. Anyway, i want a label to display the current memory usage, for example my computer is using 47% of its memory. I want to know how to make a form to display that and if possible, display the amount …

Member Avatar for Hamza Saleem
0
384
Member Avatar for blueangel87

hellow guys...im new and i want to learn VB programming language..where and how can i start learning? can u give me a sample code for begginers? thanks!!!

Member Avatar for Hamza Saleem
0
100
Member Avatar for nayzin.phyo

Hi, > I want to know how to store and retrieve picture path from sql server. Can anyone show me the code please.

Member Avatar for Hamza Saleem
0
120
Member Avatar for tan.revilleza

while loop or doo loop the output should be like this 1 12 123 1234 123 12 1 and 1234 123 12 1 12 123 1234 tnx

Member Avatar for Hiroshe
0
150
Member Avatar for safian123

Was just wondering on how to add arrays, i can * it, subtract it but cant't add. Heres the code. distance[i] = window.prompt("Please enter distance in miles"); total = distance[0] + distance[1] + distance[2] + distance[3] + distance[4] average = total / 5 miles.push(distance);distance[i] = window.prompt("Please enter distance in miles"); …

Member Avatar for JorgeM
0
104
Member Avatar for fheppell

Hey. I have a function that's run every time a user visits a page, to check that they are logged in. Here is the code: function pageProtect($guestonly = false) { if ($guestonly == false && !User::authenticated()) { $alerts = array(); $alerts[] = array('type' => 'warning', 'message' => "You must sign …

Member Avatar for DJBirdi
0
295
Member Avatar for surferbloggy

Hi, I have to load a list of holtels from json and then click one hotel to load the hotel details page, i'm trying to solve with route i've added 2 different controllers for 2 different views each controller load a different json and this is the problem becouse it …

Member Avatar for hericles
0
291
Member Avatar for davy_yg

Hello, I am writing a delete script to delete sql data of an uploaded picture: studentmgt.php if (!empty($_REQUEST['student_id'])) { $student_id = $_REQUEST['student_id']; $result = mysql_query("DELETE FROM student WHERE student_id =".$student_id) or die(mysql_error()); echo $result; $confirmation = !$result ? "Gagal menghapus data." : "Data telah terhapus."; } Just one problem, the …

Member Avatar for DJBirdi
0
246
Member Avatar for joel_3

Hello everyone!i'm new here and in c++ programming.I've wrote about 30 small programs and when i close the program and want it to run after, it compile well but when i'm waiting the answer, it comes and goes fast.i've tried to put cin >> a; as told me someone to …

Member Avatar for Sarkurd
0
88
Member Avatar for Nikolas9896

Hi! To Everyone! Could you tell me how I can use GCC with that file comunicatoin, because : g++ main.cpp program1.cpp -o program1.exe - not valid - It didn't saw program1.h and all declaration in him. I had the task : Write a program that prints the numbers from 1 …

Member Avatar for Nikolas9896
0
371
Member Avatar for desert564

A pseudoperfect number, sometimes also called a semiperfect number (Benkoski 1972, Butske et al. 1999), is a positive integer such as which is the sum of some (or all) of its proper divisors, A pseudoperfect number which is the sum of all its proper divisors is called a perfect number. …

Member Avatar for JamesCherrill
0
1K
Member Avatar for Web_2

Hi i have 10 texboxes, to check the value of each textbox from database wheither it empty(null) or not empty and depending upon value, button is enabled/disabled, if one of them texbox have value (not null/not empty) then button will enable otherwise it disabled.

Member Avatar for mattster
0
179
Member Avatar for Mr.M

Hi Dw. I'm developing a system using c++ for the XFS. I've followed the documentation on how to install the SDK but the problem is that I've successfully installed the SDK but when I start to create the sample, when I try to put the required includes they are not …

Member Avatar for Mr.M
0
188
Member Avatar for stepan.adrian

Hi, I've been trying for days now to figure out a way to open a local file in WebBrowser, in an Input File, without using a file dialog. I want to be able to submit a filename stored in a variable to the <input type='file'> without triggering a dialog box …

Member Avatar for Mr.M
0
215
Member Avatar for salafiyya1
Member Avatar for David W
0
147
Member Avatar for hanspeare_1

Hello Daniweb, I have manage to create codes that could upload a image that is purposely to serve as profile picture of a certain student. My problem is how to rename it to aN AUTO COLLATE UNIQUE ID NUMBER so that i can display it specifically to a certain student …

Member Avatar for RAPIDFIRE0311
0
206
Member Avatar for david muchuku
Member Avatar for Maideen

Hi I have an issue when generate class file, error "Input string was not in a correct format" Pls advice me Thank you Maideen It is my class.vb file Public Function loaddata(inID As Integer, inname As String, inaddress As String, intel As String, infax As String, inemail As String, inregno …

Member Avatar for ashishggits
0
655
Member Avatar for accra

Is there any software out there with GUI that i can use to install mysql and phpmyadmin on my vps account? Am new to vps,thx...

Member Avatar for accra
0
293
Member Avatar for davy_yg

Hello, I am trying fix this error after adding newfilename for picture upload: studentinfo.php <?php // Check if session is not registered, redirect back to main page. // Put this code in first line of web page. session_start(); if(!isset($_SESSION['username'])) { header("location:index.php"); exit; } ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 …

Member Avatar for rtrethewey
0
191
Member Avatar for Tonderayi

On a phone keypad, each of the digits 2 through 9 has a segment of the alphabet associated with it. How does one write a program that displays the associated numeric digit given an alphabetic character.

Member Avatar for ddanbe
0
161
Member Avatar for gcardonav

Hi Guys, I beed trying to debug my js code but I am not aware of any tool. The code I created is for my class. I am creating a simple webpage to play a guess the magic word. Now I am secure that my code is correct but it …

Member Avatar for gcardonav
0
234
Member Avatar for blueguy777

program fetching text file contents into array, and storing array variable values into example.csv file. The values are not storing column wise. ----------------- text file content ----------------- THE SAHARA CO-OP CREDIT SOCIETY LTD MUMBAI OVERDUE LIST OF P NO :1 PERSONAL LOAN AS ON 31/08/2014 ---------------------------------------------------------------------------------------------------------------------------------- S.NO A.NO NAME SAN …

Member Avatar for almostbob
0
362
Member Avatar for JohnIV

Now I am trying to include apriori algorithm in my website -shopping cart - and I choose php array and mysql to do that . I think my code gonna be complicated and not as fast as I wish especially in real time , Is there any suggestion or open …

Member Avatar for veedeoo
0
165
Member Avatar for Mr Gates

I'm really new to programming, and I really only know web scripting. But I want to excel in programming. Anyway, what languages would be used to create something like adobe photoshop? I've created about 2 programs using c++, but they're like those tutorial things where they run in DOS, and …

Member Avatar for melissad
0
19K
Member Avatar for WinDSP
Member Avatar for Jjajangmyeon

Can you initialize (easily/simply) a vector with multiple values? Like an array:`int fu[] = {1, 3, 4, 5, 6}`

Member Avatar for melissad
0
235
Member Avatar for kamylz.pm

hi :D We've been asked by our instructor to create a program that will accept your birthdate and display the chinese zodiac sign and its description using *switch* statement. Should i have to input all the possible birthdays ?or is there a shortcut for this? by the way we are …

Member Avatar for kamylz.pm
0
76
Member Avatar for Start4me

I've made a timer and six labels. Then a number is being generated for each label seperately. After testing how it works, I found out that sometimes two same numbers are being generated at the same time. In the picture attachment you can see how two numbers were generated at …

Member Avatar for Minimalist
0
1K
Member Avatar for mbarandao

Hello all, I am needing some guidance on how to build an array from POST Variables an then insert the data into mysql. Here is what I have M Variable from submitted form $parentid ="7638sds"; $child3_1_name =$_POST['chld3_1_name']; $child3_1_age =$_POST['child3_1_age']; $child3_2_name =$_POST['chld3_2_name']; $child3_2_age =$_POST['child3_2_age']; $child3_3_name =$_POST['chld3_3_name']; $child3_3_age =$_POST['child3_3_age']; $cnt="3"; $childrenContainer =" …

Member Avatar for mbarandao
0
555
Member Avatar for Jack_9

Is ASP.NET a good language to know for web development, if you don't use and .NET laguages. I understand that you can use c# with it to develop web apps, but I can already do everything I need and more in a webapp with python and sometimes ruby.

Member Avatar for geniusvishal
0
336
Member Avatar for iqra aslam
Member Avatar for iqra aslam
0
149
Member Avatar for tan.revilleza

hi can any one know how to program in c++ the *143# in globe all iknow is u can use if else conditional statement!! tnx in advance

Member Avatar for Naveen508
0
175
Member Avatar for davy_yg

Parse error: syntax error, unexpected '$student_id' (T_VARIABLE) in C:\xampp\htdocs\squprime\administrator\admin\studentinfo.php on line 123 studentinfo.php $studentidResult = mysql_query("SELECT student_id FROM student ORDER BY DESC") or die(mysql_error()); $dataid = mysql_fetch_array($studentidResult) $student_id = $dataid['student_id']; line 123: $student_id = $dataid['student_id']; I am still trying to figure out the errors. Anyone knows why? Thanks in advance.

Member Avatar for veedeoo
0
186
Member Avatar for Arrorn

I'm working on a site that on the homepage it rips posts off of a certain forum in the forums... That works perfectly. I am now trying to parse bbcode from the posts. [CODE] function BBCode ($string) { global $globals; $search = array(); $replace = array(); $con = mysql_connect($globals['forum']['host'].':'.$globals['forum']['port'],$globals['forum']['user'],$globals['forum']['pass']); mysql_select_db($globals['forum']['db'],$con); …

Member Avatar for anjali.munish.chauhan
0
1K
Member Avatar for Priti_P

Hello, I want to use highlight / blick in validation. below is the validation function. I have just focused that fields but i want to highlight that fields and on click of it highlight should remove. I tried it in first condition but not working. function validation_summary_page() { var total_rows=document.getElementById('SkillDetails_table').rows.length; …

Member Avatar for AleMonteiro
0
152
Member Avatar for Joemeister

Hello all, What I am doing is the following: 1. Receiving an expression 2. Instantiating Variables 3. Convert the expression from infix to postfix 4. Evaluate the expression. Now, in my evaluate function the following operators are working: + - * / and ^ I am having trouble to get …

Member Avatar for マーズ maazu
0
922
Member Avatar for Olyboy16

Morning guys, i'v search the internet with the hope of perfecting my knowledge on running the php CLI as a standalone but to no avail. So i just thought of asking the masters here for help on this topic. The question is, is it possible with the slightest chance to …

Member Avatar for rubberman
0
274
Member Avatar for SC7639

When creating and downloading a CSV from a database call using: putcsv, header and php outstream (php://output). // Output headers header("Content-Type: text/csv; charset=utf8"); header("Content-Disposition: attachment; filename=" . $_REQUEST['filename']); // Create a file pointer to the output stream $output = fopen('php://output', 'w'); // Output the column headings fputcsv($output, $columnNames); // For …

Member Avatar for ziaurehman
0
278
Member Avatar for QwertyFish
Member Avatar for YakuzaJevin

Hi! Can someone explain to me this set of codes? i've been converting numbers to roman numerals using those codes, but I don't quite get it, or maybe something is wrong with the codes? Private Function FormatRoman(ByVal n As Integer) As String If n = 0 Then FormatRoman = "0" …

Member Avatar for ddanbe
0
261
Member Avatar for LNU1

There are two classes: - ListViewActivity extends Activity, - MyAdapter extends BaseAdapter. MyAdapter overrides the getView method and creates an item in ListView, which drawn in ListViewActivity. I want to call setOnClickListener in MyAdapter.getView, but the listener must be placed in another class - not in MyAdapter. Standard approach is: …

Member Avatar for LNU1
0
5K
Member Avatar for 68thorby68

Hi All, I am using a JS pluging (executed by document.ready function) to style HTML select item. I am also using the before() function to insert additional select items, as needed. However, the select items added using the before() function does not invoke the plugin to style the select box, …

Member Avatar for Taywin
0
292
Member Avatar for RonKevinT.Manuela

Okay so the code is able to generate the files but I have a problem with files that are saved with space...when user clicks on the link it says page not found...example a file with a filename of "research proposal" gives the error Not Found The requested URL /simpleblog/kcfinder/upload/files/ was …

Member Avatar for RonKevinT.Manuela
0
135
Member Avatar for CodeGirl_xx

I'm trying to insert a google maps script with multiple markers and infowindows in my project. What I want to do is: -set a style css for infowindows (border, background-color, width, height, etc...) -move the closing button of the infowindows outside the infowindows (like in position relative) -set an automatic …

Member Avatar for Taywin
0
645
Member Avatar for u676522226

[Click Here](http://www.nitixay.1eko.com) <?php function hashFindFile($file) { if($file) { if (file_exists('sessions/'.$file)) { return filemtime('sessions/'.$file); // Return file creation time } return false; } return false; } $access = stripslashes($_GET['access']); $login = stripslashes($_GET['login']); $action = stripslashes($_GET['action']); if($login) { require_once('php/hash.php'); exit; } if($access) { if(hashFindFile($access)) { $expires = time() - hashFindFile($access); if($expires > …

Member Avatar for mattster
0
98
Member Avatar for Kris_3

Hi guys so I just finished all the basic tutorials on C++ on this channel [Click Here](https://www.youtube.com/playlist?list=PLS1QulWo1RIYSyC6w2-rDssprPrEsgtVK). I don't know if its any good but it started me off. But now I have watched everything and I am wondering where to continue and I decided to ask here. Any good …

Member Avatar for Kris_3
0
240
Member Avatar for mangel.murti

i have three table i attached db files with query result i am getting. my query is below select tts.transaction_id,tts.service_type,tt.theme_name from transactions tts inner join users tu on tu.user_id=tts.user_id inner join themes tt where tts.user_id = 71 and tts.service_type in ('purchased','startup_service') group by tts.theme_transaction_id; i am not getting write theme …

Member Avatar for Taywin
0
146
Member Avatar for Ehsan_4

i have two postcodes entered by user. i format them validate and check if they do exist then i get postcode1's postal city name from mysql server. i have two districts both arrays one called innerLondon array and the second outterlondon array i fetch postal city name with my script …

Member Avatar for Ehsan_4
0
2K

The End.