199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rach.palo

private void cmdsecadd_Click(object sender, EventArgs e) { try { string myConnection = "server=localhost; port=3306; username=root; password=palo; database= student"; MySqlConnection myConn = new MySqlConnection(myConnection); myConn.Open(); MySqlCommand cmd = new MySqlCommand("insert into student.tblstudlog (studentnumber, fullname, year, section) values ('" + this.txtstudno.Text + "', '" + this.txtfullname.Text + "','" + this.txtyear.Text + "','" …

0
96
Member Avatar for DarkLightning7

I have built this function which calls a couple other functions to get the oprator and numbers for an arithmetic operation but I get the error `function call: expected a function after the open parenthesis, but received '+`. normaly you invoke addition as (+ 5 6) and multiplication as (\* …

Member Avatar for DarkLightning7
0
239
Member Avatar for Karkalash

Hello: Need some help on how I can pass the following test: 00AA10A4 lea ecx,[eax-1] 00AA10A7 test eax,ecx 00AA10A9 je LockFunc2+27h (0AA10B1h) From my understanding, lea in this case is simply doing ecx = eax - 1 (at least thats what I can observe from debugging) However I keep failing …

Member Avatar for Karkalash
0
158
Member Avatar for Tony_8

I have a Visual Express 2012 Windows Form Application written in C#. I have placed a menu strip across the top of the form. I have various pre-made jpgs to use as splash screens and background images during the programs execution. However the tops of them all get cut off …

Member Avatar for Tony_8
0
150
Member Avatar for faisaldss

I have the following issue related to URL rewriting. I am sure there must be some good solution to this. I converted this URL domainname.com/index.php?page=product&pid=5&proTitle=Samsung Galaxy After rewrite it looks like this domainname.com/products/5/Samsung-Galaxy.html The .htaccess code looks like this. RewriteRule ^products/(.*)/(.*).html$ index.php?page=product&pid=$1&proTitle=$2 [nc] Rewrite Works fine. However, if I try …

Member Avatar for mmcdonald
0
186
Member Avatar for mohan.jce

I know to access tasklist of our machine can be done through os.popen('tasklist').read(). Is there any way to read the tasklist (taskmanager data) of other systems connected in a network using Python? Just reading them will be fine. Purpose: Main objective of this is to write a script which will …

Member Avatar for james.lu.75491856
0
243
Member Avatar for devianleong

Hi, I've a project is create a shopping cart system. I'm wondering how to create add option(color,size,etc) in add product page just like opencart? I'm trying to understand opencart files but too bad, I don't understand class file at all. Anyone can give me some concept about how it work? …

Member Avatar for mmcdonald
0
153
Member Avatar for fhau013

hello there! im doing a project point of sale system how iam going to trasform it to have installer ? thank you in advace :) god bless!

Member Avatar for fhau013
0
306
Member Avatar for fhau013
Member Avatar for fhau013
0
213
Member Avatar for HunainHafeez

today a friend told me that Hunain, did you notice that OOP concepts like inhertance, polymorphism, interface etc aren't usuallt applied to ASP.net. so it made me confused and thought for a while, and yes he seems to be right ! i never used any of them adn even most …

Member Avatar for JorgeM
0
118
Member Avatar for iFrolox

Hello, Right now I have a bunch of textboxs and such and when I click a button the account goes to the ListView and when you click the ListView the information goes to the controls, also I'm able to move the items on the list up and down with other …

Member Avatar for iFrolox
0
155
Member Avatar for kal_crazy

I am doing a school project which is an airplane collision detection system. Can anyone show me a few examples or pseudocode of implementation of closest pair algorithm O(n^2), O(n log^2 n), O(n log n)?

Member Avatar for DawnofanewEra
0
520
Member Avatar for HunainHafeez

garbage collector collects unused object during runtime, OK ? i know it but never fully understood it. Like what 'unused' objects ? what makes them unused ? and does GC works when you EXECUTE your program by clicking .exe file ? and does GC work when i run file after …

Member Avatar for HunainHafeez
0
217
Member Avatar for devianleong

Hi,currently i m developing a PHP Cart. I have a php function is call product option value. When Admin adding product ,ajax will load my php function without refreshing page to allow admin to select the option like color,size etc. In my php function got no any submittion data but …

Member Avatar for devianleong
0
233
Member Avatar for SteveyD

Greetings again. I have a form with a textbox for the user to enter a com port number. When the form and application is closed, how can I get the user's info to populate the textbox when the application is opened again?

Member Avatar for timmyjoshua
0
123
Member Avatar for timmyjoshua
Member Avatar for timmyjoshua
0
149
Member Avatar for maurice.tracey.7

if(company[i][j] < 0) { loss = loss++; } else //Im trying to Get the number of losses and not the actual input numbers"for example loike 1 loss, 2 loss etc

Member Avatar for maurice.tracey.7
0
166
Member Avatar for nutrion

All, I have this very basic script that's producing some odd output. What I need to do is constantly ping a server, and when/if that server stops responding, I want to write the timestamp and " timed out" to a file. We're trying to lock down a time as to …

Member Avatar for nutrion
0
199
Member Avatar for Lamirp

Ok I'm just looking for a cleaner way to achieve my goal here, if there is one and if this is not much of a satisfactory method. The goal is to accept an integer from a user using JOptionPane.showInputDialog. A brief example of what I'm currently doing do { check …

Member Avatar for mKorbel
0
7K
Member Avatar for filipgothic

I need help with this two questions, its not hard for experts I guess, here it is: Determine the time of executing the following algorithm fragment: a) if (x == 0) then for i = 1 to n do a[i] = i; b) i = 1; repeat a[i] = b[i] …

Member Avatar for filipgothic
0
264
Member Avatar for dannybarh

Am building a vehicle fleet management system, srevice cost is added each time a vehicle is serviced. Now, lets say vehicle A have been service 8 time, B 5 times, C 10 times ... I want to show the SUM(cost) for servicing each vehicle at the same time. I wrote …

Member Avatar for dannybarh
0
173
Member Avatar for CodyOebel

**Ok the problem is this. I have the groups I want added to the administrator, and remote desktop users group on the local machine, and all that works fine. If you hit windowsKey+pause , or right click on "My Computer" and go to advanced settings, remote tab. At the top …

Member Avatar for CodyOebel
0
778
Member Avatar for Khalessi

hello everyone! i have a quiz about 2D Arrays. and i don't know how the questions might be, can you help me :) thank you. PS:please correct my grammar mistakes if you see any, i'm here to learn. thank you

Member Avatar for Khalessi
0
219
Member Avatar for kshahnazari

$link = "http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key=90A1173C22358704FA80D2070D9C987C&steamids=76561198081118741" $file = file_get_contents($link); echo $link; echo $file; I have coded this php , when it runs the link and the file are echoed but the link is right (also I know its correct) but the file echo gives nothing , when I go to the link a …

Member Avatar for anthonydaly
0
146
Member Avatar for Jahliah

In the previous post, I had difficulty accessing fields separated by comma in "~" separated rows. Example "a,b,c~d,e,f~g,h,i~" But after writing the output I get the following result: "a,b,c~ a,b,c~ d,e,f~ a,b,c~ d,e,f~ g,h,i~" my desired result is as below: "a,b,c~ d,e,f~ g,h,i~" Any help is appreciated. Thanks! using (StreamWriter …

Member Avatar for sai ram
0
166
Member Avatar for Rebecca_2

I have a series of (~950KB) '.txt' output files from a computational chemistry program; Each file will contain the line '****optimisation achieved****' at least once and, depending on the result of the calculation, possibly twice. Does the following code, in which I am trying to find specific lines and print …

Member Avatar for snippsat
0
286
Member Avatar for cmps

Hello I ma trying to practice on Data structure using java. I solved a lot of problems but this one looks interesting but I need some help understanding what I really have to do ... > write a program that simulates the operation of a busy airport that has only …

Member Avatar for bodiddly123
0
679
Member Avatar for deepaktiwari.k

Hi All, I need to create a Page in which a text box and a button needed. Please help me to create this Page. i am very new in VB. Thanks Regards Rahul

Member Avatar for G_Waddell
0
70
Member Avatar for gahhon
Member Avatar for durgesh1

here is html and php code i like to pass video from my database to this via jquery on click action i try to do something like this but it fail jquery code `jQuery("#player").val(data["video"]);` <p> <label style="width:87px">Video:</label> <div id ="show_image2" style= ""> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="player" name="player" width="500" height="300"> <param name="movie" …

Member Avatar for durgesh1
0
320
Member Avatar for alpdoruk

Hello Experts, First of all I don't know if i am on the right track.If I am not please suggest your best,easy options :) What I am trying to do is the following. I have a web page which is included with textboxes I have also a database inside there …

Member Avatar for alpdoruk
0
302
Member Avatar for tibor.marias

Evening Sirs, I got some problems in PHP when using while loop in tables. My problem is that I can't make the rows be the same width. This is my preview: ![11ce93daec6265124e189def81dc9696](/attachments/large/4/11ce93daec6265124e189def81dc9696.png "11ce93daec6265124e189def81dc9696") I want the blue part of the table, to be equal width with every relative white part. …

Member Avatar for tibor.marias
0
618
Member Avatar for fernandofranca

Hi all, I´m having troubles programming with C# for windows CE. I need to listen a serial port, I have the program for windows and it works fine but when I program it to windows CE I dont know why it does not recognize any event function. I normally use …

Member Avatar for Ketsuekiame
0
2K
Member Avatar for TheNewKid

Hey everyone. I am working on learning how to make some different controls with win32 and at the moment I amt trying to make a combobox with small images next to each option. However when I run my code the options are there but the images are missing. Can anyone …

Member Avatar for mitrmkar
0
341
Member Avatar for jacob21
Member Avatar for Atli
0
199
Member Avatar for Rebecca_2

I have the following directory/file setup (this is simplified): Ce +---top.txt +---X0.0 | | | +---Y0.0 | | | | | +---X0.0Y0.0Z0.0.dat | | +---X0.0Y0.0Z0.05.dat | +---Y0.05 | | | +---X0.0Y0.05Z0.0.dat | +---X0.0Y0.05Z0.05.dat +---X0.05 | +---Y0.0 | | | +---X0.0Y0.0Z0.0.dat | +---X0.0Y0.0Z0.05.dat +---Y0.05 | +---X0.0Y0.05Z0.0.dat +---X0.0Y0.05Z0.05.dat Within each Y directory, …

Member Avatar for Gribouillis
0
687
Member Avatar for Sci3nc3F1cti0n

Hey guys, I've been working on a little project of mine, and part of it requires sorting. I'm using bubble sort and before I put the algorithm in the code, the program ran fine. void ranking(){ int count = getcount("all"); // get total members and save value to count int* …

Member Avatar for Sci3nc3F1cti0n
0
593
Member Avatar for websponge

`<a href="#" onclick='contacts($code)'>Contact Details</a>` This runs a jquery code with the value $code. in Firebug I can see it gets the correct rowset value, the jquery is below: function contacts(code){ jQuery.ajaxSetup({async:true}); jQuery.post("php/contact.php", {code: code}, function(data) { $('#results').hide(); $('#results').fadeIn(2000); $('#results').show() .html(data); }); } it is supposed to post this value to …

Member Avatar for anthonydaly
0
440
Member Avatar for klemme

Hi all, I need to parse an XML file, which includes CDATA and HTML <br> tag I would like to include for my output. I would like to replace <br> with <br /><br /> - Two spaces, but it doesnt seem to happen. This is an example on the XML …

Member Avatar for pritaeas
0
5K
Member Avatar for mmcdonald

Hi all, I'm having that oldschool issue with saving rich text content to MySQL and then retreiving it. As far as I'm concerned I thought I was doing it correctly - but one of you lucky devils is about to tell me otherwise :D When I'm saving to DB: if(isset($_SESSION['auth'], …

Member Avatar for mmcdonald
0
3K
Member Avatar for ZBatool

0 down vote favorite I am trying to read float numbers from a Binary file using Struct module and then storing them in numpy 3D arrays.When I run it as an independent script, it works fine.But when I call it as a class's function from another script(after import) it gives …

0
106
Member Avatar for bullet_1

I am new to C# I want to replace Characters such as("' & < > ¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ ² ³ ´ µ ¶ · ¸ and so on...) with entity numbers like (&#34; &#39; &#38; &#60; &#62; &#160; &#161; &#162; &#163; …

Member Avatar for bullet_1
0
159
Member Avatar for faisaldss

I have a website developed in PHP. I have recently done the URL rewriting which works fine. However, I just found out that my pages with parameters are also accessible. For eg. I converted this URL domainname.com/index.php?page=product&pid=5&proTitle=Samsung Galaxy After rewrite it looks like this domainname.com/products/5/Samsung-Galaxy.html Everything works just fine. However, …

Member Avatar for almostbob
0
188
Member Avatar for NitsPatel

hello, I get a following error in my localhost in contact page only in IE(internet explorer) other page work properly.In Firefox whole site run properly including contact page The error is: `Sorry, the IP address of localhost is not public. For security reasons, validating resources located at non-public IP addresses …

Member Avatar for anthonydaly
0
204
Member Avatar for samsnov

Please help me out here, I have a small PC screensaver created with CINEMA 4D, I want to add/link it to my website but I don’t know how to add/link an application program installer setup to a website. I would want to set the screensaver on commercial that means client …

Member Avatar for anthonydaly
0
277
Member Avatar for EdwardVX

Hi DaniWeb! I kinda need your help on this little bugger. How can I input this CSV file in to an array? Module Name, Module Code -- Student ID, Last Name, First Name, Exam Score, Average Introduction to Art Life, ITAL 07,Krave,Mark,27,30 60,Lever,Paul,89,96 13,Green,Jon,15,40 15,Davids,Jerry,5,15 If the Module Name and …

Member Avatar for JamesCherrill
0
594
Member Avatar for sue26

hi guy's!! i need your help.. Ijust want to ask if how to show the date using combo box??

Member Avatar for anthonydaly
0
211
Member Avatar for prakash4

1. #include<stdio.h> #include<conio.h> int main() int a=10; printf("%d%d%d",a,a++,++a); getch(); return 0; } o/p:12 11 11 #include<stdio.h> #include<conio.h> int main() { double a=5.2; if(a==5.2) printf("equal"); else if(a<5.2) printf("less"); else printf("high"); getch(); } o/p: less Can any one give me explanation for the above outputs.....

Member Avatar for sepp2k
0
287
Member Avatar for eldiablo1121

I have to write a program where I take user input and print out how many times each word prints out. Here is my code: import java.util.Scanner; import java.util.ArrayList; import java.util.Arrays; public class wordlist { public static void main(String[] args) { int i = 0; int USER_MAX = 50; String[] …

Member Avatar for JamesCherrill
0
230
Member Avatar for gahhon

In the sql database definition i am able to set my primary key to int data type and auto increment that number (identity specification), thus the result will be in `1, 2, 3,....` but how can i add some string into it? example `C0001, C0002, C0003, etc` ?

Member Avatar for pritaeas
0
69

The End.