199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Papa_Don

Hi group, After reviewing notes, I think I understand how to write the code to save data in the SQL Server. With that said, I want to understand the best way to arrange the data and upload it. My project is creating an order. I'll have the usual part number, …

Member Avatar for Papa_Don
0
136
Member Avatar for Aaron_JY

I was wondering if it was possible to create a temporary variable in C# that will be destroyed at the end of the function so I can use that variable name elsewhere in another function. Can anybody help me out?

Member Avatar for sepp2k
0
113
Member Avatar for XerX

Hi, I am having a problem overriding methods in a subclass when they contain private methods from the master class. The is the master: package blabla; public class Person { private String firstName; private String secondName; private String familyName; public Person() { firstName = ""; secondName = ""; familyName = …

Member Avatar for JamesCherrill
0
244
Member Avatar for UKnod

I have a warning that I can;t get rid of: Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated. I am pretty sure it is becasue I have not dimentioned the variable but how do you dimention an IO.memorystream. …

Member Avatar for UKnod
0
286
Member Avatar for officallysabbir

I have the following code which is in a class called customerModel. How do I call this method to another method inside another class called customerController? I am abit new to this and have been trying for ages but have had no luck. Please help thank you. public class customerModel{ …

Member Avatar for JamesCherrill
0
480
Member Avatar for jeremywduncan

I am trying this example from Byte of Python, Chapter 10. I can't seem to get this zip to work. I am not sure if the syntax for windows is written correctly or not. I have tried running from interpreter and as a script and both return Backup FAILED. Anyone …

Member Avatar for jeremywduncan
0
434
Member Avatar for tony75

**Reading two files?** I will be very grateful to get help about this script. Apython script which can be used to have a convenient format to print the bill in a store. Your script is reading two files: The first one is containing a list of lines and each line …

Member Avatar for tony75
0
345
Member Avatar for necrovore

Hello all, I am working on a project and i need to basically copy a directory and its files to another location. I have figured out that xcopy comes in handy for what i want to do.but somehow when incorporated into my C code, it does not work. The code …

Member Avatar for necrovore
0
267
Member Avatar for sundog1

Hi Guys... Putting together a Tiny little app which shows VPN Details for use 'In-House' but for some strange reason my DataSet won't fill? Can anyone spot the mistake? :S private void Form1_Load(object sender, EventArgs e) { //XML Load of Document. This loads the XML Document and the value of …

Member Avatar for sundog1
0
362
Member Avatar for deepak.fugo

Hi All, I have 5 product tables(product_table_1,product_table_2 and so on), category table and sub category table I need to get number of products mapped for each category. i.e count of products accross categories. Below are the table structure and the query which i have written, I need to optimize the …

Member Avatar for AleMonteiro
0
188
Member Avatar for davy_yg

Cek the following codes. It suppose to copy and paste the pictures - to folder photos/ . Yet, I haven't seen the message: "sucess copy file to photos" appears. only, "Data telah tersimpan" or "Successfully saving data to database". //Save Picture if (isset($_REQUEST['ok'])){ if (empty($_REQUEST['id'])) { $sqlstr = "INSERT INTO …

Member Avatar for davy_yg
0
635
Member Avatar for jovstudios

Hello Guys, I hav a Code For My Report in Daily .I don't know why there is nothing show the records. even though the Error not Popup. This is My code guys. Help Me Guys Dim rsReport1 As New ADODB.Recordset rsReport1.Open "Select purchase_date, BarCode, Price, ProductName, Quantity, TotalPrice From Dailyrecord …

Member Avatar for jovstudios
0
184
Member Avatar for joshl_1995

Hello Community, I need help using the ftp_nlist command, what i'm trying to do is look in a directory but the directory is two separate string (eg. "New folder") and it is saying there is nothing in there but there is i'm sure the problem is because the two separate …

Member Avatar for joshl_1995
0
582
Member Avatar for SeePlusPlus2

What exactly does it mean when an algorithm has a run time of Omega(nlgn) or Theta(n^2), etc. From what I can tell, Big O is used to show the worst case(?) while Omega is best(?) and Theta is either(in between O and Omega?. I'm having a hard time understanding this …

Member Avatar for sepp2k
0
234
Member Avatar for jkulp4

Hi All, I am hoping someone can help me with this and/or point me in the right direction. I am developing a quiz application and have run into a problem when the question being pulled from the database is a true/false question it produces an error, straight multiple choice questions …

Member Avatar for QVeen72
0
345
Member Avatar for Şerif Burçin

i installed codeblocks on windows8 but when i compile one of c program error message mingw32-g++.exe: Internal error: Aborted (program collect2) the same problem happened on devc either what will l do

Member Avatar for burcinerek
0
876
Member Avatar for diether.silverious

hi Guys Good day.. i have this two array that i want to combine: 1st array: when using print_r($productItems) Here is the result: Array ( [0] => Array ( [item_id] => 13 [quantity] => 4 ) [1] => Array ( [item_id] => 15 [quantity] => 1 ) [2] => Array …

Member Avatar for broj1
0
110
Member Avatar for saurabh.mehta.33234

Why does the following line of code generate error as " pasting / and / doesnot generate a valid preprocessing token"? Can someone please help #define comment /##/ int main() { comment printf("hello"); return 0; }

Member Avatar for deceptikon
0
165
Member Avatar for alex910TN

Hey guys, I have a silly issue that is bothering me. I am trying to read an unknown amount of lines from an input file and basically stop when I reach the EOF. I probably does'nt matter but the assignment is to create a simple lexical analyzer/scanner for a mini-subset …

Member Avatar for deceptikon
0
6K
Member Avatar for wschamps42
Member Avatar for Banfa
0
155
Member Avatar for capton

Hello i have index.php file in root directory redirecting to a page. It's working perfect on my localhost but not the webserver. Also link to the root folder on the webserver lists files excluding the index.php Please i need help with this

Member Avatar for capton
0
634
Member Avatar for Murphyv10

Hey Lads, I Have a problem involving my save method , basically i want it to actually save a file which is of type JTable UnFortunetly its not , a Push in the right direction would be great. save.addMouseListener(new MouseAdapter(){ public void mouseClicked(MouseEvent e){ JFileChooser fc = new JFileChooser(); int …

Member Avatar for JamesCherrill
0
1K
Member Avatar for danielagaba

hi i'm trying to connect a midlet running on my emulator (jwtk 2.5.2) to an apache tomcat server which has the servlet code. when i run the emulator instead of displaying the name i posted in the midlet code after connecting to the server, the screen displays the servlet code. …

Member Avatar for nms12
0
291
Member Avatar for chdboy

Hi, I have a form in which there are 11 textboxes and two button controls(Just example) ,I want the tab key control to be in the textbox1 when the form loads ,and then If I press Tab Key from keyboard then it will be on second number textbox and so …

Member Avatar for chdboy
0
213
Member Avatar for maryam_89

Basically, I am wanting to get the last userID which is submitted when the user enters their details and clicks the submit button. I have searched the internet and have made changes but still don't understand where i'm going wrong. I used the MAX statement to show the last user …

Member Avatar for JorgeM
0
240
Member Avatar for RT00220489

Hi, I seek your help as m stuck with an issue. I am uploading a css style file in a folder and need to provide the link to that css file in my aspx page. That is simple, but the twist is, the file name can be anything. That file …

Member Avatar for JorgeM
0
205
Member Avatar for OsaMasw

hello guys, unfortunly my website got hacked few hours ago, and after investigations I found the was a c99.php file on my server so i deleted it and stopped any upload proccess and change back my chmod to default I want to ask how to prevent php files from being …

Member Avatar for naphets
0
2K
Member Avatar for asif49

I am writing some jquery script that will run across a large amount of completely different web pages (different domains too) and it will surround certain words on the page with html tags to style them up - make them more noticeable etc. Here's some sample code I've written... $('body').ready(function() …

Member Avatar for JJenZz
0
204
Member Avatar for gamers18

I am having trouble accessing an edgelist of a vertex(which is another object of vertex linked to it). Any ideas how? like for example i have Edge.cs, Vertex.cs, DirecGraph.cs In the DirectGraph.cs IDictionary < String, Vertex> dic = new IDictionary< String, Vertex>(); .. ... // Then add a vertex type …

Member Avatar for Ketsuekiame
0
132
Member Avatar for ngonix

Hi i'm having a slight issue with loading variable into another page without refreshing first page. So here's the deal. I have two windows(pages), when i click a button(agents) in the parent window a child window opens with a list of agents from mysql database. Here are the parent and …

Member Avatar for ngonix
0
3K
Member Avatar for tafarie

I have a question,,, I create 1 form, and in this form I add 5 control checkbox, namely: Checkbox1 = cek1 Checkbox2 = cek2 Checkbox3 = cek3 Checkbox4 = cek4 Checkbox5 = cek5 I want to ask, 1. how to count the number of checkboxes are checked.? 2. how to …

Member Avatar for Reverend Jim
0
288
Member Avatar for kingkong142

Hi, I want to make this field "Hidden" and want to select by default last option "Both". ho w i can do this? <input id="memberRoleIntlSeller" value="supplier" name="userrole" style="border: 0px none ;" onclick="document.getElementById('userrole-error').style.display='none';changesubmitbtnname('yes');" type="radio" <? if($_REQUEST['userrole']=="supplier"){?>checked="checked"<? }else{echo "";} ?> /> <font class="normal"> <?=$suppliers_title?> </font></div> <div class="buyOrSellBox"> <input id="memberRoleIntlBuyer" value="buyer" onclick="document.getElementById('userrole-error').style.display='none';changesubmitbtnname('yes');" name="userrole" …

Member Avatar for kingkong142
0
162
Member Avatar for coder91

So having an error when I select my button in the gridview. Was told to use the gridview row command which I have, keep getting an error about the App_Data subdirectory. protected void gvUnlock_RowCommand(object sender, GridViewCommandEventArgs e) { String userName = e.CommandArgument.ToString(); MembershipUser usr = Membership.GetUser("userName"); if ((usr != null) …

Member Avatar for coder91
0
308
Member Avatar for Renesme-LuCiFeR

Hi Every One, I Was Wondering If Anyone Could help me With This Problem Or Not... I Just Need A Simple Program, With The Least Amount Of Using Arrays, And Loops... And My Main Problem While Writing It Is When I Want To command The Program To Act Like a …

Member Avatar for Ramesh.YoTLC
0
238
Member Avatar for arupface

class variables have a niche to fill: ***visibility to a class and its instances, and to no one else. Typically, this means being visible in class-method definitions and instancemethod definitions, and sometimes at the top level of the class definition.*** I understood that. But didn't find any example of the …

Member Avatar for sepp2k
0
195
Member Avatar for hostguy

i wanna send a username and password securely from php page(Apache server) to the Java api (Tomcat server). That api should verify them and open the api in the browser. How can i achieve it guys??? I tried to use webservice but the response from the api is sent to …

Member Avatar for Webville312
0
250
Member Avatar for joni20

html body mysql result: <? $sqlcomments = "SELECT * from sellercomments where Status=1 and SellerID=".$_REQUEST['SellerID']. " order by AddedDate desc"; $resultcomments= mysql_query($sqlcomments); if (@mysql_num_rows($resultcomments)!=0){ ?> <br> <? while($row_comments = @mysql_fetch_array($resultcomments)) { ?> <div align="right"><img src="../<?=$row_sellerdetails['AboutUsImage']?>" width="40" height="40" border="0"></div> <?=$row_comments['CommentBy']?>] to <a href="index.php?SellerID=<?=$_REQUEST['SellerID']?>"> <?=$row_sellerdetails['idName']?></a> <span style="color:#000000"><?=$row_comments['Comment']?></span> <br> <? } } ?> …

Member Avatar for Szabi Zsoldos
0
253
Member Avatar for davy_yg

I am trying delete data from table, the form method is post. The url http://localhost/RustoleumCustomCMS2/administrator/input_image.php?mode=delete&id=0 (passing mode = delete and id = 0). I wonder why nothing happen. It suppose to delete a row in the database. include('../includes/koneksi.php'); $id = isset($_POST['id']) ? $_POST['id'] : ''; $judul = isset($_POST['judul']) ? $_POST['judul'] …

Member Avatar for broj1
0
166
Member Avatar for robjackstewart

I am trying to get each elemnt of a text file with 13 integers in one line, each seperated by a space, into each slot of an array, any idea how to do this?

Member Avatar for ravenous
0
966
Member Avatar for untitled69

Hello! I need to create a project using C#. I must think about something linked with the word puzzle. If anyone has any ideas i am here to see them. Please help me! Thanks in advance!

Member Avatar for JOSheaIV
0
192
Member Avatar for PHIPH
Member Avatar for Clan Onion

And the microprocessor? I want to know exactly how this all works. Wikipedia claims that an instruction set architecture determines the data, registers, addressing modes, memory, etc. It also claims that it dictates the opcodes on a microprocessor. Wikipedia says "Microarchitecture" is the way a given ISA is implemented on …

Member Avatar for mike_2000_17
0
1K
Member Avatar for diether.silverious

Hi guys Good day, this codes works perfectly for me. <?php // This block grabs the whole list for viewing $product_list = ""; $sql = mysql_query("SELECT * FROM product ORDER BY date_added DESC"); $productCount = mysql_num_rows($sql); // count the output amount if ($productCount > 0) { while($row = mysql_fetch_array($sql)){ $id …

Member Avatar for diether.silverious
0
200
Member Avatar for sgw

In the following program I declared "long" for a, but still getting incorrect negative output after the 1860th term (all are supposed to be positive). What is the cause? int main() { for (int i=1; i<=2000; i++) { long a=i*i*i/2-3*i*i/2+3*i-1; cout << setw(3) << i << "\t" << setw(8) << …

Member Avatar for asifalizaman
0
256
Member Avatar for solomon_13000

Base on my understand a mediator is a central authority that varies the interaction between objects in the same group. So can I classify the code below as a mediator? package com.mediator; public class BaseMediator { public void store(){ System.out.println("store"); } public void retrieve(){ System.out.println("retrieve"); } } package com.mediator; public …

Member Avatar for solomon_13000
0
231
Member Avatar for alltech

Flash game is ok in IE but in Google Chrome or Firefox the game opens up in a specified window size but the game itself which is flash, is a small image at top left within the window size. for example like placing a postage stamp on top left hand …

Member Avatar for pixelsoul
0
184
Member Avatar for Galbatorix

hi, I have two sql strings being executed at the same time one of which is an update statement and the other a save statement. The save statement works but the update statement does not. Here is the error i am receiving System.NullReferenceException: Object reference not set to an instance …

Member Avatar for Galbatorix
0
161
Member Avatar for Siberian

A script I have that checks if an external HDD is connected, which has a prompt to mount the drive, with the option 'retry' and 'cancel'. If I click 'retry' it says it has found the drive, even though it's not connected, how can I fix this ?

Member Avatar for Reverend Jim
0
157
Member Avatar for Master Mascus

can anyone tel me why the dropdownlist does not execute on textchanged ? <%@ Page Language="VB" AutoEventWireup="true" CodeFile="index.aspx.vb" Inherits="Index" %> <%@ Register TagPrefix="Ridwan" TagName="TabControl" Src="~/Assignment/Controls/TabControl.ascx" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>JJ Shop | Home</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <link href="style.css" rel="stylesheet" …

Member Avatar for LastMitch
0
206
Member Avatar for HunainHafeez

need an insert query for my code , i wrote code to add table rows having textboxes, dynamically, e.g yoh have only passed HSSC exam then you have to fill 2 levels of education SSC, HSSC......or say you have passed Phd , then SSC,HSSC,BS, MS, Phd, you have to fill …

Member Avatar for LastMitch
0
294

The End.