199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mihle

Hi I would like to save one table's data to another table. The code that I have wrote is this: [code] con.Open(); string copyData = "INSERT INTO Changes(IP,ServerName,[Type of Server])SELECT IP,Server,Name FROM Server"; cmd = new SqlCommand(copyData, con); int returnValue = cmd.ExecuteNonQuery(); con.Close(); [/code] and it seemed working but when …

Member Avatar for gogolo
0
99
Member Avatar for ambageo

Hi to all of you! I'm new to this,so I could use a little help! I've been given some algorithms and I've been asked to find an upper and lower bound of the time complexity of them. First of all, I would like to know if finding the upper and …

Member Avatar for lillygil
0
440
Member Avatar for speedy94519

Hello, I would like some help on this one problem in my assignment. I have completed the table but something caught my attention and i feel i did something wrong. I attached the same table i filled out on this thread. I would like help on the first row. My …

Member Avatar for lillygil
0
204
Member Avatar for Pemike2

I am a young programmer faced with a situation. I need help in getting a vb application to be an internet based system. Please help anybody

Member Avatar for AndreRet
0
114
Member Avatar for jhai_salvador

Hi! I just want to share you this code snippet of mine which I use always in my application. This code snippet will help you debug your code easily. It will also help you locate where the error occurred and it also create an Error log located on your project …

Member Avatar for jhai_salvador
0
1K
Member Avatar for markdean.expres

PLease guys, help me with this! I need the right to filter my dataGridView control. I am already aware of this code; bindingsource.filter = "ID Like '" & textbox1.text & "%'" but it only works when you are filtering the records by ID. my problem is how about when more …

Member Avatar for markdean.expres
0
89
Member Avatar for dre-logics

I use Visual Basic 2008 I have this code : [CODE] ' this picture i want enclose in the URL '========================================================== Dim PicBuffer() As Byte PicBuffer = IO.File.ReadAllBytes("c:\picture1.png") ' ========================================================== Dim Request As HttpWebRequest Dim Response As HttpWebResponse Request = WebRequest.Create("http://api.online....nl/update.xml?type=add&tabel=groups&name=test") Request.Method = "GET" Response = Request.GetResponse Dim reader As …

Member Avatar for kvprajapati
0
116
Member Avatar for eikal

Hi, one of my labs were doing is a data gatherer, the user enters their first middle and last name all at once with a space between each. then enters there birth month day and year all at once with space between each. Then it outputs them in in a …

Member Avatar for privinpt
0
117
Member Avatar for Salamu

Hi, I have a problem, I dont know how to import data into a single array and then output it to the screen. I am quite new to c++ and would approciate your help. Here is information: When a vehicle has been manufactured, it has the following attributes: make (e.g. …

Member Avatar for Clinton Portis
0
137
Member Avatar for iwanttolearnc

hello sirs. im trying to turn two 8-bit hex characters that represent the lsb and msb of an integer. below is the code i am using. i am getting output though im not sure of the validity. [CODE] char a = 0x01; //msb char b = 0x3D; //lsb short int …

Member Avatar for WaltP
0
119
Member Avatar for eyenoorul

i am using these codes to generate linear graph from mysql... <?php ini_set('display_errors', 1); error_reporting(E_ALL); session_start(); //if(isset($_SESSION['user'])) { //function generateGraph(){ include('connectsml.php'); //include('jpgraph/src/jpgraph.php'); //include('jpgraph/src/jpgraph_bar.php'); include ('jpgraph/src/jpgraph_line.php'); include ('jpgraph/src/jpgraph_log.php'); //dapatkan nama ladang; $ldgcode=$_POST['ldgcode']; $year=$_POST['year']; $sqllsblock="select * from ladang where ldgcode='$ldgcode' order by block"; $reslsblock=mysql_query($sqllsblock); if ($rowlsblock=mysql_fetch_array($reslsblock)){ do{ $data[] = $result['yield']; $y2data[] = …

Member Avatar for eyenoorul
0
240
Member Avatar for rssk

hi all......... a1 a2 a3 a4 a5 a6 b1 b2 b3 b4 b5 b6 c1 c2 c3 c4 c5 c6 d1 d2 d3 d4 d5 d6 i want to select a column and i need a output like a1 a4 b1 b4 c1 c4 d1 d4

Member Avatar for snippsat
0
132
Member Avatar for azegurb

I hava script with both $this keyword and without it. Each one does the same thing. I cant understand what does $this do. this with [B]$this[/B] [CODE]class Time { var $sTime; function GenerateCurrentTime(){ $this->sTime = gmdate("d-m-Y H:i:s"); return $this->sTime; } function ShowFutureDate($iAddDays=0){ $this->sTime = gmdate("d-m-Y H:i:s", strtotime("+" . $iAddDays . …

Member Avatar for azegurb
0
109
Member Avatar for hema dhevi.N

hai friends i am 5 days old in learning python programming. I know perl for limited usage. I have a doubt regarding getting input in list during run time. is there any other way in python than typing like ["hi","hello"]. why it is not possible to insert value as we …

Member Avatar for TrustyTony
0
2K
Member Avatar for Xavier33x

Hey, Ive been working a site for my church and it looks fine on my screen but when i use my other laptop which has a bigger screen i find that i have white space on the right edge and on the bottom. My background picture was done in photoshop …

Member Avatar for Xavier33x
0
212
Member Avatar for anita_86

Hi!I am a newbie in PHP & have got a task of making event manager in PHP that too with different user levels. The problem is I cant find the exact code I am looking for. Can anyone please guide me how to display the events from database according to …

Member Avatar for anita_86
0
121
Member Avatar for oppie204

I am doing a program for my computer programming class and it starts out as. I use Bluej for programs too import TerminalIO.KeyboardReader; when i compile it, it says package TerminalIo does not exisat. Does anybody know what is wrong with this i need it fixed soon. Below is a …

Member Avatar for pbl
0
747
Member Avatar for murtazamzk

[CODE]<html> <body> <script language="JavaScript1.2"> //change 1 to another value to alter the scroll speed. Greater is faster var speed=1 var currentpos=0,alt=1,curpos1=0,curpos2=-1 function initialize(){ startit() } function scrollwindow(){ if (document.all) temp=document.body.scrollTop else temp=window.pageYOffset if (alt==0) alt=1 else alt=0 if (alt==0) curpos1=temp else curpos2=temp if (curpos1!=curpos2){ if (document.all) currentpos=document.body.scrollTop+speed else currentpos=window.pageYOffset+speed window.scroll(0,currentpos) …

Member Avatar for codewall
0
271
Member Avatar for S.Santosh

[code] int count; int i = 0; int x = 5; int y=10; Panel[] pnl_new_ = new Panel[10]; PictureBox[] usr_pic_ = new PictureBox[10]; Label[] lbl_username_ = new Label[10]; Label[] lbl_account_type_ = new Label[10]; private void button1_Click(object sender, EventArgs e) { i = Convert.ToInt32(txt_num.Text); for (count = 0; count < i; …

Member Avatar for kvprajapati
0
87
Member Avatar for bman214

Hello! I am making a text-based game (I am new to C++) called The Final Journey (I made the name up, didn't copy) and I have had some trouble with the code. I am using Dev-C++ (I plan to get VC++), just so you know. Here is what I have …

Member Avatar for bman214
0
207
Member Avatar for fullmetalboy

The main problem is that I recieve the following message: "base {System.SystemException} = {"Unable to create a constant value of type 'BokButik1.Models.Book-Author'. Only primitive types ('such as Int32, String, and Guid') are supported in this context."}" based on this LinQ code: [CODE] IBookRepository myIBookRepository = new BookRepository(); var allBooks = …

Member Avatar for kvprajapati
0
214
Member Avatar for sheenarbw

Hi all I'm writing a wpf app that requires a user to log in. I thought this would be a pretty easy thing but it's hurting me. I can't find any error, I'm hoping someone can point out the silly mistake I made or the obscure gotcha I wasn't aware …

Member Avatar for Teme64
0
176
Member Avatar for Ahna

Hello I am new to C++ and coding. A few years ago I decided to learn C++ and wanted to start off by making a text based game to start off. So I brought a few books and began reading and doing the tutorials for things like 'Hello World', 'Calculator', …

Member Avatar for Ahna
0
121
Member Avatar for moreautemps

I'm currently developing a screensaver for Windows. I am curious as to how I can get my screensaver to display in the little screensaver selection window in the Control Panel under Personalization. Is it in the Registry or something? Or am I going to have to contact Mr. Bill himself …

Member Avatar for moreautemps
0
116
Member Avatar for dougn

Hi, Is it possible to save the contents of a RichTextCtrl with the formatting? I'm writing a text editor to learn wxpython and when I use the SaveFile method it saves the data as plain text. PrintFile works the same. Doug

Member Avatar for dougn
0
167
Member Avatar for Felipevd

Hi everyone! For months now I've been reader of this forum and it's now time for me to register and start contributing. Well, my problem is basically with arrays and loops, in a calculator project.. What I'm trying to do is to write all operations in a line i.e: ( …

Member Avatar for Teme64
0
510
Member Avatar for dheepakpm

How to find the wifi network interface name in Java.NetworkInterface class does not specify any method to find this. Thanks

Member Avatar for dheepakpm
0
97
Member Avatar for reco21

Hello, I'm making a tagging system for a script. The tagging system is much like the one here. be it's not normalized like this one. It's a single table in my database with three columns. uid | id | name The 'id' field is not auto increment. It is a …

Member Avatar for reco21
0
191
Member Avatar for kkjay

Hi Guys, Aplologies for the length but I wanted to be clear. I'm trying to make a website where people can update their status's (like facebook). Just learning PHP. I have added a functionality whereby one can update their status(text only) or can update their status(text and upload a photo …

Member Avatar for codewall
0
124
Member Avatar for summey

I am not understanding the question below at all can someone please guide me in the right direction. I do understand what a Boolean is but i am unclear on how to change the code as directed below. Thank you for your time. [CODE] Change the java code below so …

Member Avatar for summey
0
194
Member Avatar for f_atencia

<comment> <content> This is a really long string. It is really long because it contains plenty of characters. The purpose of this exercise is to separate this content element into blocks containing one hundred each </content> </comment> I have the XML file above and I need to use XSLT to …

Member Avatar for f_atencia
0
122
Member Avatar for SeanC

Hi all, ive got a bit of an annoying problem regarding JUnit 4.5. I've created a bunch of unit tests which work properly when I right click the class and press 'Test' (in Netbeans). However, when I right click the whole project and press 'Test', i get a ClassNotFoundException. I …

0
119
Member Avatar for faintfascinatio

I'm using C# to run a couple stored procedures and return in dataset. I've been using: [CODE] if(dset.Tables.Count > 0) { for(int i = 0; i < dset.Tables[0].Rows.Count; i++) { //some code } } [/CODE] is there a shorter way to do this without the if statement?

Member Avatar for Rogachev
0
132
Member Avatar for JD69

Hi i've been searching everywhere to try to get this setup. I am running Visual Basic 2008 I have 1 Combo Box that Has 3 Entries, Kyocera>Konica>Toshiba I have a 2nd Combo Box that has entries for each of those manufactors...Kyocera has 3035,4035,5035....the konica has c250,c352,c452......the Toshiba has c3520, 4520 …

Member Avatar for JD69
0
108
Member Avatar for JPByD

I have a C# website that includes AJAX. The site has a master page and sub pages. I am revamping the photo gallery sub page to include a jquery function that displays a larger version of a thumbnail image when hovered. The thumbnails are listed in a xaml file, at …

Member Avatar for JPByD
0
259
Member Avatar for terrymold

Hi everyone I have over 1500 mp3 files that are available for download on a web site I look after. The files are various sizes and split between 20 folders. One folder has about 600 files. What the owner would like for his visitors is to be able to select …

Member Avatar for cooperspc
0
823
Member Avatar for imolorhe

What is the integer or double equivalent of the NULL character. That is, the integer that can be entered to represent NULL when using integers (supposing 0 is accepted as a valid integer and not a NULL).

Member Avatar for mrnutty
0
533
Member Avatar for OjeeTa

Hi 4 all.. i'm new in this fourm,and i need help plllllz to do this program in java,i realy be sooo confused!! i was absent in this lecture for (Arrays),i'm trying 2 do it but still i'm not get tha idea!! pllllllllllllz can eny ony explain 4 me the Q?? …

Member Avatar for Ezzaral
0
398
Member Avatar for plasticfood

[CODE]for(int i = 0; i < floorNum; i++){ if(floorNum == 12){ continue; { statements; statements; statements; }[/CODE] ------------------- if there anything wrong with this statement? i've tried using a while loop and the continue statement would work and skip number 12, but this doesn't work.

Member Avatar for plasticfood
0
88
Member Avatar for Kosithc

Hello, I have class named cTPS, there are 3 member functions called matrixP_2, matrixP_3 and matrixP_4 for calculating matrixP in three different ways. In constructor of this class I want to initialize a pointer declared in cTPS.h like this: [CODE]cMatrixBase *(cTPS::*matrixP)(void) //pointer MatrixP returning object cMatrixBase[/CODE] I initialize it for …

Member Avatar for Narue
0
151
Member Avatar for sariberri

I don't know why/how to fix this...It's saying i have a NoSuchElement exception on line n=f.nextLine(); [CODE]while(i<listFlights.length){ i++; n=f.nextLine(); d=f.nextLine(); h=f.nextInt(); m=f.nextInt(); Time one=new Time(h, m); listFlights[i]=new Flight(n, d, one); }[/CODE]

Member Avatar for sariberri
0
160
Member Avatar for sivakumar.k

I am getting this error RC2104 : undefined keyword or key name: DS_3DLOOK while build the taskman using visual studio 2005, the code is as follows: // Microsoft Visual C++ generated resource script. // //#include "Winuser.h" #include "resource.h" //#include "windows.h" //#include "winres.h" #define APSTUDIO_READONLY_SYMBOLS #define DS_MODALFRAME 0x80L ///////////////////////////////////////////////////////////////////////////// // // …

Member Avatar for maba001
0
455
Member Avatar for pixeldroid

Hello: I am building a UI using Python in Maya, a 3D app. I have a panel in which I want to assign commands to buttons which are created in a loop. The commands have an arg, which is derived from the loop. Using lambda, the button commands all get …

Member Avatar for richieking
0
160
Member Avatar for benny2010

The header file [code=c] #ifndef DRAUGHTS2_H #define DRAUGHTS2_H #include <SFML\Graphics.hpp> #include "TwoPlayerGame.h" #include <iostream> enum state{intro, playing, gameover}; //the states found within the game enum squareValue{green, red, blank}; //the draught square values on the board class Input { public: Input(); void setInput(unsigned int,unsigned int); unsigned int getX(); unsigned int getY(); …

Member Avatar for benny2010
0
284
Member Avatar for Acidburn

Hi guys, I've got a C#.NET background and due to circumstances I'm trying to make a plugin written in VB.NET. I've created a new class project which gives me a DLL. This class implements a C# interface which all works. My only question is this... In my C# code I've …

Member Avatar for Unhnd_Exception
0
129
Member Avatar for sciprog1

Hello, The following program has a JButton and a JLabel in a JFrame. I am using Flow Layout. How do I get the JLabel to show directly below the JButton before clicking the JButton and after clicking the JButton? Thank you! [CODE]import java.awt.event.*; import javax.swing.*; import java.awt.*; public class checks …

Member Avatar for sciprog1
0
97
Member Avatar for localp

I have a web page named A.html, and this web page contains a text box called 'text1', and a button. When a user clicks the button, a pop up window appears, the name of this pop up window is B.html. B.html has a text box, and its called 'text2', and …

Member Avatar for localp
0
128
Member Avatar for sciprog1

Hello, I have a program where if I click anywhere in a JFrame, a ball appears(using fillOval).If I happen to click on the ball once it has appeared, how do I make it disappear? Thank you!

Member Avatar for sciprog1
0
134
Member Avatar for Doublse Six

Here is the error i get Object reference not set to an instance of an object and also index 0 is out of range parameter name: index [CODE]Public Class Form1 Dim int As Integer = 0 Private Sub PictureBox1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox1.Click CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).GoBack() …

Member Avatar for Doublse Six
0
255
Member Avatar for fullmetalboy

Problem: Having problem to find a source solution (inherit code in view state) to display data from SokningPerformSearchViewModel and its generic list in view state. Questions/request: Need to display data from my viewmodel SokningPerformSearchViewModel and its generic list as a strongly typed (if possible)? This question is a follow-up from …

0
154

The End.