199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for HibaPro

i have vb6 project with cr8 and 10 , its correctly run on one pc what i need is to run this project on local netwrok , how i can do this and how i can edit the connection string and make .exe file ???? Help me plz

Member Avatar for AndreRet
0
417
Member Avatar for S2009

Hi all, How can I change the BACKGROUND color of the MDI FORM in C#? I changed it using the background color property but the color is not changed. What should I do to perform this task? Please help me out!! Thanks in advance!!

Member Avatar for six_sic6
0
326
Member Avatar for efe.ozyer

Hi every body, i want to get a data from List<T> so; class Npc : IDisposable { public short id; public float fX; public float fZ; public float fY; } internal List<Npc> m_arNpcArray = new List<Npc>(); I want to get data like this; m_arNpcArray.GetData(int id); GetData() { for(int i = …

Member Avatar for efe.ozyer
0
411
Member Avatar for jacob21
Member Avatar for pramod19
0
248
Member Avatar for zalexy

Please help! i can't connect codeigniter to Oracle I am trying to connect Codeigniter to Oracle 11g, here are my settings Settings in database.php: $active_group = 'default'; $active_record = TRUE; $db['default']['hostname'] = "//localhost/"; $db['default']['username'] = 'xxxxxxx'; $db['default']['password'] = 'xxxxxxx'; $db['default']['database'] = 'orcl'; $db['default']['dbdriver'] = 'oci8'; $db['default']['dbprefix'] = ''; $db['default']['pconnect'] = …

Member Avatar for zalexy
0
2K
Member Avatar for Karlwakim

Hi, I've been learning c++ for a few months on a windows os. (Not using the API) And im building a new computer soon. I will install Backtrack at first, then win if I need it. My goal is to become a professional developer (I will most likely write code …

Member Avatar for Karlwakim
0
265
Member Avatar for Rachna0309

I have datagridview with 12 columns from which last 3 columns are comboboxcolumn and I have to get value of those 3 columns to update database.I have witten below code on cellvaluechanged event: Dim rcount As Integer = dgvUserDetails.Rows.Count For Each row As DataGridViewRow In dgvUserDetails.Rows If Not row.IsNewRow Then …

Member Avatar for tinstaafl
0
139
Member Avatar for myadav

Hi Everyone I want to make my code run from command prompt I am using window 7 and JDK 6 Following are steps I did: 1) Created a Text file Example.txt. Changed the file extension to Example.java and placed it under C:\myWork 2) Open command prompt type 'dir' to see …

Member Avatar for NP-complete
0
341
Member Avatar for Neversleepin

Hello, how can copy and save the console message to a file using logger. i try this :[Click Here](https://friendpaste.com/6FWNg0QIzY7DoPXisOyqpv) but it's only saving warning and info messages to my file. thank you

Member Avatar for subramanya.vl
0
148
Member Avatar for Ritesh_4

Hi, first apologies if I've posted in the wrong forum. I would like to know what are the steps if I want for example to compress a pc game which is originally 13GB to fit in a single 4GB dvd. I've seen many games which are 4GB as compressed files …

Member Avatar for Ritesh_4
0
142
Member Avatar for amith_ami

hi all... pls help me... i have a problem with my code... if there is multiple product id in the table tbl_order_item for an order_id. then it should fetch those product id from that table tbl_order_item. here is my code... echo $s_country; $sql2="SELECT prod_id FROM tbl_order_item WHERE order_id='$order_id'"; $res=mysql_query($sql2) or …

Member Avatar for amith_ami
0
154
Member Avatar for calder.hutchins

So i have looked in this forum and grabbed a piece of code that let me encrypt text using a cypher. I have changed it so that you can input your own text to be encrypted and a little more. I am 15 and this is my 2nd day learning …

Member Avatar for calder.hutchins
0
155
Member Avatar for Gink

I recently bought this book online used, it came with no CD. Many of the code examples in this book rely on some file called IO.h that apparently came with the CD. I downloaded this file and I still get many errors. Does anyone have these files, or do I …

Member Avatar for deboflo
0
650
Member Avatar for brizleciderarmy

**My function for retrieving data from database:** function db_retrieve($query) { // user password etc. require_once('db_info.php'); // Initialise function vars. $q_success = 0; // Query successful? $error_text = ""; // Error text (if any). $db_handle = mysqli_connect($db_host, $db_user, $db_pass, $db_name); $db_found = mysqli_select_db($db_handle, $db_name); // Database found if($db_found) { // Query …

Member Avatar for brizleciderarmy
0
166
Member Avatar for joshl_1995

Hello Community, I want to know if there is a way to use the same session throughout my whole website (eg. main domain and sub domain) using PHP? **NOTE:** I'm using a free hosting website so my website is a subdomain of the host website (eg. "http://mywebsite.hostwebsite.com" (I hope you …

Member Avatar for joshl_1995
0
184
Member Avatar for waleed.makarem

Dear Experts, I have one simple question , and forgive me , I know it is simple , but I am very bad in regular expression. I have a text which represent time interval , eg [1-5] , ie , the start time is at 1 and ends at 5 …

Member Avatar for Reverend Jim
0
719
Member Avatar for vickim360

Hello. I have been having trouble with this pygame program. I am trying to imitate a wind turbine. However, when I run the command, it returns with a blank black screen with a square. What is wrong?? Here's the program: import pygame ############################################# # Written by P****** ******* and V***** …

Member Avatar for vickim360
0
243
Member Avatar for putri MSR

## **sorting (array) c++ who user can enter numbers from output.** ## #include <iostream> using namespace std; void enternumber (int *array, int N); void bubblesort (int *array, int N, int Order); void selectionsort (int *array, int N, int Order); void insertionsort (int *array, int N, int Order); void quicksort (int …

Member Avatar for vmanes
0
504
Member Avatar for mjbor1

i have problem in convert infix to postfix some expression evaluate it correctly and other no ex: c\*(a+b) evaluate it correctly but A\*(B\*C+D)+E doesn't evaluate correctly and there is another problem in finding result my code // convert.h const char SIZE=100; class stack { public: stack(); bool isempty()const; bool isfull()const; …

Member Avatar for mjbor1
0
378
Member Avatar for cristian.stilpeanu.3

Hello, I have a site about a game and i need if there is some code that helps me to anti-flood, please.thanks! if anyone can help me I would greatly appreciate This it's good? <?PHP IF (!ISSET($_SESSION)) { SESSION_START(); } // anti flood protection IF($_SESSION['last_session_request'] > TIME() - 2){ // …

Member Avatar for LastMitch
0
338
Member Avatar for pbnoj

Hi there, My problem involves reading in and working with an excel file that contains blank cells randomly throughout the spreadsheet. The reason there are blank cells is because I have expression data for various cell types but for some of the cell types the expression data was not available. …

Member Avatar for Gribouillis
0
4K
Member Avatar for aaaaaaaaa

So I have a YML file, and I'm trying to convert it to a different format. I found a YML format converter script and edited it to the best of my ability, and this is what I've come up with: #!/bin/python try: import yaml except: print "Failed to import module: …

Member Avatar for Gribouillis
0
373
Member Avatar for janzaldo

when im test in my local machine i dont have any error but when im trying to test in web i have this error, the same DB, the same tables, the same data in both structures any idea???? Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in …

Member Avatar for sudhir1234
0
2K
Member Avatar for darkseid

hello. i got a project to do using oracle pl/sql and i want to add a interface (preferably, web) so there aren't just some plain sql scripts. some text boxes, buttons, etc. so it looks nice :D. any suggestions? thank you.

Member Avatar for ackness
0
196
Member Avatar for Dili1234

Why This error is coming................... There is already an open datareader is associated with this command which must be closed Private Sub AppendItem(ByVal Productid As String, ByVal quantity As Integer) productid1 = Productid myConnection = New SqlConnection(connectionstring) myConnection.Open() Dim TempData As New DataTable Dim pid As String = ComboBox1.SelectedItem myCommand1 …

Member Avatar for Dili1234
0
179
Member Avatar for AngelicOne

I tried [CODE]If (checkedListBox1.SelectedItem.ToString() == "Others") { //do something }[/CODE] but it's not working the way I wanted to.. Whenever the 'Others' item is checked, the code executes but if I tried to uncheck it, it still execute the code as if it runs when that item is selected checked …

Member Avatar for 3004426279
0
5K
Member Avatar for rem2

Hi there I'm making a project to show how some of algorithms work. Basically i needed to show some drawing pixel by pixel. I made the code below and tried to run it <script> function init() { var paper = Raphael(10, 50, 800, 600); var arr = []; var j …

Member Avatar for rem2
0
226
Member Avatar for Kareem Klas

Dear members, In a previous post I got useful tips to study C++ for game programming. I was using bloodshed Dev c++, but it had too many bugs. Now I use visual studio express 2010. But I can't get along with it. In bloodshed you had a blanco "page" and …

Member Avatar for Kareem Klas
0
203
Member Avatar for Cuchara2

I've been looking into security for PHP and came across MySQLi prepared statements. After doing some research I'm confused about why you would use these instead of normal SQL query. A prepared statement looks something like this: $quer=$db->stmt_init(); if($quer->prepare("INSERT INTO `test` (`first`,`second`,`third`) VALUES (?,?,?)")) { $quer->bind_param('iss',$aa,$bb,$cc); $aa=1; $bb="something"; $cc="testdata"; $quer->execute(); …

Member Avatar for diafol
0
233
Member Avatar for scetian

Dear Friends, i need the code for Digital Clock using 8086 in assembly language.. please help me.. i know nothing about assembly.. Please help me somebody i have found a code but its not working properly. please let me know if you want to explain the code, i'll provide it.. …

0
256
Member Avatar for jannesb1

hello, this is my code and for some reason it does not work :/ could someone tell me whats going wrong? ;sum of all powers of 2 lower or equal to 2^n ;example n=4 => 2+4+8+16=30 .386 .model flat, stdcall option casemap: none include \masm32\include\windows.inc include \masm32\include\masm32.inc include \masm32\include\kernel32.inc includelib …

Member Avatar for jannesb1
0
214
Member Avatar for Kewne

I'm confuse ..... What do I really need to install in order to use the API for bluetooth? I'm going to develope a wireless mobile application that can communicate with my laptop....

Member Avatar for Kewne
0
208
Member Avatar for padton

There must be a better way of writing the following code, I would really appreciate your suggestions and coding. I am new with python. Thanks. A1 = os.path.join(pathname, "x") A2 = os.path.join(pathname, "x", "y") A3 = os.path.join(pathname, "x", "y", "z1") A4 = os.path.join(pathname, "x", "y", "z2") createPath(A1) createPath(A2) createPath(A3) createPath(A4)

Member Avatar for TrustyTony
0
231
Member Avatar for mumaga

Hi! I have a super class called character, subclass player. when i compile, i get this error: constructor Room in class Room cannot be applied to given types; from this bit of code in Character: public Character(Room room, String name) this.name=name; currentRoom = room; Room currentRoom = new Room(); // …

Member Avatar for mumaga
0
269
Member Avatar for cssweb

hello guys how are you sorry i have another question i want to display images on left side and right side on my website for example in this code i have 9 images and i want to spread them 4 on the left side and 4 on the right side …

Member Avatar for cssweb
0
326
Member Avatar for Clanstrom

Hi, I am chaging from mysql_* to PDO and I found this tutorial in [Here](http://net.tutsplus.com/tutorials/php/php-database-access-are-you-doing-it-correctly/) And, so far let's say I chose this query to update a database. $id = 5; $name = "Joe the Plumber"; try { $pdo = new PDO('mysql:host=localhost;dbname=someDatabase', $username, $password); $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $stmt = $pdo->prepare('UPDATE someTable …

Member Avatar for Atli
0
308
Member Avatar for rogerg

Hello, I'm doing some word counts in Perl and have a problem with the following one. I want to use two subroutines count and show and do a word count on two lines of an array at the same time I've got two problems with it. 1) when using print …

Member Avatar for 2teez
0
458
Member Avatar for fize.tesfay

i need c++ code for simple linked list to implement algorith and data structure 1.create_node_and add to list 2.frst node delete 3.last node delete 4.delete node between first and last node 5. displaye the value of node in revese order 6. searching 7.exist

Member Avatar for fize.tesfay
0
339
Member Avatar for hwoarang69

i have never used ajax before so i want to make sure iam doing this right. this php code work fine. i didnt add it bc it was long code. but all it does it add one or sub one from database. <?php //if user hit like link add one …

Member Avatar for hwoarang69
0
133
Member Avatar for new_developer

Does any buddy tell me use of asterik in C++ ?? And also explain use of static in methods and in constructors. Actually I am search a code that dynamically creates an object of class. Anyone please help ! class BoxFactory { public: static Box *newBox(const std::string &description) //expalin this …

Member Avatar for ravenous
0
254
Member Avatar for triumphost

This may be a long post but I really need to know how to Convert between the two image formats and amonst themselves as well. Here goes: I have a struct like the one below that holds all pixel information: typedef union RGB { uint32_t Color; struct { unsigned char …

0
339
Member Avatar for Kareem Klas

Dear members I'm wondering about what would be a good book to study C++ game programming. I have a pdf of Beginning C++ game programming by Michael Dawson. Now I want to buy one, but I don't know if there is an better one than this one. Kareem Klas

Member Avatar for <M/>
0
325
Member Avatar for Lyfe

**i have consumed a webservice (shown below) from webservicex.net into my client C#.NET application but it is returning this whole bunch of XML. Please, how do i get values of only <wind> and <temperature> elements into my application's textbox? Thanks** <string><?xml version="1.0" encoding="utf-16"?> <CurrentWeather> <Location>Madrid / Cuatro Vientos, Spain (LEVS) …

Member Avatar for tinstaafl
0
313
Member Avatar for Navlag

Hello, I am using the tutorial from Oracle's site on how to connect to a database in PHP using code similar to the one shown below. <?php // Create connection to Oracle $conn = oci_connect("phphol", "welcome", "//localhost/orcl"); $query = 'select * from departments'; $stid = oci_parse($conn, $query); $r = oci_execute($stid); …

Member Avatar for Navlag
0
129
Member Avatar for Eyeteeorg

Where am I going wrong in this code? // Eyetee's Third Toy V0.0. Copyright 2012 by Eyetee and not released. // Declare variables needed var string_to_be_examined = "This is a test string that can also be obtained from \ some other location." var substring_to_test_for var i = 0 var j …

Member Avatar for Eyeteeorg
0
238
Member Avatar for RLS0812

What is the Python (2.7) equivalent of the PHP $_POST, $_GET, $_SESSION and $_COOKIE, and how are they used ? After almost 2 years of trying I have finally gotten Python to work on my WAMP server - only to find that it is severely lacking in web page functionality.

Member Avatar for TrustyTony
0
235
Member Avatar for Eyeteeorg

I have a simple html webpage currently implemented, and my Firefox web console has the following complaint about it when loaded remotely: [13:08:03.588] The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from …

Member Avatar for Eyeteeorg
0
126
Member Avatar for mumaga

Hi, I am working on the World of Zuul. I am adding the take item command, when I envoke it, the output prints twice! The main class is Game, this is the take method. public void takeItem(Command command) ( if (!command.hasSecondWord())( // if there is no second word, we dont …

Member Avatar for mumaga
0
121
Member Avatar for mantapgan

Hi everyone, im trying to print getAktiva() but it return an error: "Fatal error: Call to protected method indukPerusahaanABC::getAktiva() from context '' in C:\xampp\htdocs\sad.php on line 41" Thanks in advance <?php class indukPerusahaanABC{ protected $nama; protected $jenis; protected $alamat; private $aktivaLancar; private $aktivaTetap; public function __construct($nama, $jenis, $alamat){ $this->nama = …

Member Avatar for broj1
0
497
Member Avatar for tomz6

Why do some people put main(int argc, char ** argv) not main() ? What's the difference? When is it needed? Thanks in advance, Tom.

Member Avatar for ahmedhamdy
0
587

The End.