199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Xcelled194

Hi guys, Recently moved into PHP for a personal application. Basically, it tries to connect some servers to see if they're online. It ultimately returns a string, which the caller echos. The main function is: [CODE] function IsServerOnline($IP, $checkforevent = TRUE, $ischannel = TRUE, $PORT = 11020) { global $UseGlobalOverride, …

Member Avatar for Xcelled194
0
157
Member Avatar for didi00

Hi everyone! So far I managed to make the shopping cart to work with utf characters, but I came across another problem. When I add a new product from the admin, it puts the data into the database. But the cyrillic characters are shown like ?????????. When I change the …

Member Avatar for didi00
0
112
Member Avatar for WildBamaBoy

In my client/server program, whenever I need to get data from one or the other it requires a buffer to temporarily store the data. The problem is that I don't know how much data I am going to be getting. I could be receiving a few lines of text or …

Member Avatar for WildBamaBoy
0
538
Member Avatar for amalwit

[CODE]class A{ A a=new A(); void method(){ System.out.println(a); } public static void main(String args[]){ A b=new A(); b.method(); } }[/CODE] This code gives a run time error.What is the wrong with this code

Member Avatar for JamesCherrill
0
163
Member Avatar for MasterGberry

So i am a very fluent C++ programmer, and am switching over to PHP/Javascript/MYSQL for some new work that I am doing. I know all the basics of C++ and some of the more advanced STL libraries. I know very basic PHP simply cuz I already know all the arrays, …

Member Avatar for chrishea
0
542
Member Avatar for vaultdweller123

hey guys im new to joomla and i don't know what caused this problem, i had created a new template myself, and successfully installed it and it displays correctly, but when i try to edit the template in the backend it doesn't show any any html code it only shows …

Member Avatar for digital-ether
0
184
Member Avatar for Triarius

Hi! I am trying to make a simple "Guess my number" game. For some reason the compiler (Visual Studio 2010) gives me an error. Here is the full code : [CODE]#include<iostream> #include <cstdlib> #include <ctime> using namespace std; int main() { int tries = 0; int input; srand(static_cast<unsigned int>(time(0))); int …

Member Avatar for vidit_X
0
104
Member Avatar for BilalAKhan

Dear All, I have a search page on which I have two DropDownLists. One for Catagory and another for Item. When I select both of them it takes me to the result page and displays the result in GridView. It works for a single value but for more than one …

Member Avatar for khadakbist
0
330
Member Avatar for BilalAKhan

Hi, I have two DropdownLists. One is for Category and another is for Product. The concept is that with each Category and Product selected, the website will display the result on another page and show all the results present in the database. With more than 25 Categories with me and …

Member Avatar for khadakbist
0
147
Member Avatar for DarkBerzerk

Hey all, I'm making online web based game, but i have some thing wrong that the Armor that the character equip dont calculate in the fight :/ and i tryed to make NPC account with no armor and other account with the same stats and same everything but using armor …

Member Avatar for DarkBerzerk
0
158
Member Avatar for deva.v

Hi, I am creating a text file using a save file dialog and copying the path to the text box which file is used to write from vb.net. when i try to write i get an error "The process cannot access the file '....fileName.txt' because it is being used by …

Member Avatar for sandeepparekh9
0
911
Member Avatar for jeffpro

2 Questions: 1. How is the windows cursor drawn? ddraw? I don't understand and I can't find any information on it. 2. When you control alt delete in windows 7 how is that screen drawn? Thanks

Member Avatar for jeffpro
0
197
Member Avatar for didi00

I have another problem. I try to modify the plaincart and the problem is that the images doesn't show. The code is this: [code] <?php if (!defined('WEB_ROOT')) { exit; } $productsPerRow = 2; $productsPerPage = 4; //$productList = getProductList($catId); $children = array_merge(array($catId), getChildCategories(NULL, $catId)); $children = ' (' . implode(', …

Member Avatar for didi00
0
160
Member Avatar for lcfr1012

IM NEW AT THIS AND I'M WORKING ON MY FIRST WEBSITE. I USED iWED AND I DON'T UNDERSTAND WHY IT WON'T WORK. WHENEVER I TRY TO OPEN IT IT SAYS: Parse error: syntax error, unexpected T_STRING in /home/a2460084/public_html/beto/index.html on line 1 [code=html]<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 …

Member Avatar for tian3348685
0
375
Member Avatar for ZER09

can anyone can help how to create a live search in vb.net 2008 using combo box. example when i try to search a name then a press a then there should be a drop-down with a list of suggestions of name. here is my code [CODE] Private Sub ComboBox4_SelectedIndexChanged(ByVal sender …

Member Avatar for ZER09
0
4K
Member Avatar for leo88

Hi, I am doing a window service application using C#. I wants to select many columns from many table and print into text file. Below is my coding: [CODE] protected override void OnStart(string[] args) { try { base.OnStart(args); Access_Db.OpenTransaction(); Access_Db.BeginTransaction(); DataTable dtPartNo = new DataTable(); SQLStr = "SELECT IDTbl.ModelID,WIPTbl.WIP FROM …

Member Avatar for Mitja Bonca
0
233
Member Avatar for Chetszz

Hey i m having this trouble and would like some help.....Can u seggest any things what i could do? the diagram i have is below the question. What other tables, attributes and relationships would be useful to create a more complete design? (You could do some research) Describe and draw …

Member Avatar for raiden13
0
145
Member Avatar for chandimak

I design an academic information registration system. I have 3 types of users namely teachers, students and operators. As all these have some properties in common I thought of designing it in the following manner. teacher([U]id[/U], profile_id) student([U]id[/U], profile_id) operator([U]id[/U], profile_id) profile([U]id[/U], first_name, last_name, tel) teacher_specific([U]teacher_id[/U], academic_qual) - teacher_specific has …

Member Avatar for chandimak
0
112
Member Avatar for Pgmer

Hi All, Can anyone throw idea to make the form as Resolution Independent? Thanks..

Member Avatar for sandeepparekh9
0
149
Member Avatar for wolfrain62

So I am kinda new to java and was given a program to do. a. Create one or more arrays to hold the names of the months and the number of days in each month. Assume that February always has 28 days. b. Display the contents of the array(s). c. …

Member Avatar for wolfrain62
0
109
Member Avatar for bettybarnes

hi guys i know this is just a very simple but i do not know to get started.. im developing a loan mng't system wherein the starting application of the customer say for example today. 06/08/2011, the initial payment will be on 08/08/2011.. how am i going to that do …

Member Avatar for NETProgrammer
0
284
Member Avatar for vishalrane

is it possible to call form load event on button click Following is the vb code i want same function in vb.net [CODE] Private Sub cmdaddcancel_Click() Form_Load End Sub[/CODE] Private Sub cmdaddcancel_Click() Form_Load End Sub in vb we simply call Form_Load is it possible in vb.net For eg: IN VB.net …

Member Avatar for sandeepparekh9
0
1K
Member Avatar for gogs85

I need help : i have listbox1 and listbox2, fill listbox1 via SQL queries. When i selected items in listbox1 in listbox2 most show another table.How i to do that?

Member Avatar for NETProgrammer
0
110
Member Avatar for klemme

Hi all, I am trying to create a small login system, but so far I suck at it. I have a form in one page. It contains only: EMAIL, PASSWORD. I want to do this: When the form has been submitted to the processing page, I am trying to check, …

Member Avatar for ko ko
0
184
Member Avatar for MrCapuchino

Hello, I have an application where I save an image to a database in a column of type VARBINARY(1024) I used 1024 because I think is the number of bytes and I want to handle images no larger than 1MB. I have my code to save the image and it …

Member Avatar for MrCapuchino
0
2K
Member Avatar for eng hassan

[TEX]This is a game i have made, but I have some problems in the breed & eat functions I dont know what is the problem & i really need help. the code works probably but the prey & the predator doesnt breed or eat,,,ANY HELP PLZZ[/TEX] [CODE]#include <iostream> #include<windows.h> #include<conio.h> …

Member Avatar for raptr_dflo
0
1K
Member Avatar for SoulReaper1680

Hey, I have four labels in a form: label1, label2, label3, and label4. Now, if this was VB.NET, I would have used the following code to change their contents without having to type the code for each one separately: [CODE]For I = 1 To 4 Me.Controls("label" & I).Text = "Some …

Member Avatar for SoulReaper1680
0
387
Member Avatar for ppetree

Hi All! I have a zip code table that has the zip code, city, state and various other info in each row. The problem is that if I pull up all the cities in a zip code (say 33308) I get the same city spelled twice like this: [CODE]Fort Lauderdale …

Member Avatar for almostbob
0
147
Member Avatar for Sorcher

Hello peeps! I am wondering, how can i make this to not require manually writing. [CODE]if($attackerSoldiers >10){$ASoldierPercent = "1";} if($attackerSoldiers >20){$ASoldierPercent = "2";} if($attackerSoldiers >30){$ASoldierPercent = "3";} if($attackerSoldiers >40){$ASoldierPercent = "4";} if($attackerSoldiers >50){$ASoldierPercent = "5";} if($attackerSoldiers >60){$ASoldierPercent = "6";} if($attackerSoldiers >70){$ASoldierPercent = "7";} if($attackerSoldiers >80){$ASoldierPercent = "8";} if($attackerSoldiers >90){$ASoldierPercent = …

Member Avatar for Ezzaral
0
126
Member Avatar for laim

Hi, I have to build a matrix class with functions that you would expect, Im wondering if anyone can tell me why one or both of these functions arent working correctly? Basically a test harness is run against them to check so the data is random. Im sure it is …

Member Avatar for laim
0
128
Member Avatar for jacksantho

Hi, I don't know why i am getting this error. Please see my coding part, where i am facing this following error [ICODE]Private pbat As New ADODB.Parameter 'in form load With pbat .Direction = adParamInput .Type = adVarChar .Size = 4 End With 'saving part [B] pbat = Trim(Text1.Text) & …

Member Avatar for BitBlt
0
1K
Member Avatar for aaron1988

Hi wondered if someone could help me i am having the same kind of issue: if you go here: [url="http://bluegeeks-testserver.co.cc/jaclyn-beta/index.php?route=product/product&path=1&product_id=1"]http://bluegeeks-testserver.co.cc/jaclyn-beta/index.php?route=product/product&path=1&product_id=1[/url] and your see the Select Drop Down called: Fonts, well if you choose say Airstrip or Arial the image should change but the problem i am having is. It works …

Member Avatar for aaron1988
0
557
Member Avatar for simplyit

i have never worked with GIS data so i don't know much about it but currently i have just started my project and i am a bit confused while selecting the database for this purpose. i just want to know which database would be more fruitful while working in GIS …

Member Avatar for jjc_Mtl
0
81
Member Avatar for calebcook

Hello everyone! I've created a mailing list where users can subscribe with a form, and the results are added to a MySQL database. They can also unsubscribe. The subscribe/unsubscribe pages work GREAT, but the page where I send out the email is giving me some trouble. It says that the …

Member Avatar for minitauros
0
184
Member Avatar for lifeworks

Hi This isn't specifically a roll-over related question exclusively. More and more when I 'Inspect element' on a roll-over link in Chrome, which clearly has two images, i see that it is infact 1 image, and the two images are stacked... How does this work? how is only one half …

Member Avatar for Airshow
0
92
Member Avatar for chudapati09

[CODE] $info = ldap_get_entries($ldap, $search); for($i = 0; $i < count($info) - 1; $i++) { $people = array( $i => array( 'first' => $info[$i]['givenname'][0], 'middle' => $info[$i]['initials'][0], 'last' => $info[$i]['sn'][0], 'email' => $info[$i]['mail'][0], 'username' => $info[$i]['uid'][0] ) ); } [/CODE] I have the following code working, but what happens is …

Member Avatar for chudapati09
0
105
Member Avatar for jbennet

HI. I'm reading in a wave file and writing it to a sound device using ALSA. Im not a C++ guy (C#) so not very handy with its file I/O methods.. Any idea how do i change : [code]int rc = read(0, buffer, size);[/code] To work with any file i.e. …

Member Avatar for raptr_dflo
0
3K
Member Avatar for kumarmpk4u

Hi all, In my MDI when i try to execute i am getting an assertion error pointing to wincore.cpp line 311. [CODE]BOOL CWnd::Attach(HWND hWndNew) { ASSERT(m_hWnd == NULL); // only attach once, detach on destroy ASSERT(FromHandlePermanent(hWndNew) == NULL); // must not already be in permanent map [/CODE] here is the …

Member Avatar for raptr_dflo
0
880
Member Avatar for dyingatmidnight

I'm having a weird problem with myphpAdmin and webpage design. I've been having trouble getting my layout to do what I wanted to so finally I hit the net for examples I could tweak and what have you. So I found this example [URL="http://www.sebastiansulinski.co.uk/demos/three_column_layout/three_column_layout.php"]http://www.sebastiansulinski.co.uk/demos/three_column_layout/three_column_layout.php[/URL] I used the div layout as …

Member Avatar for Kraai
0
196
Member Avatar for chudapati09

[CODE] <?php echo '<script type="text/javascript"> if(confirm("Your time has expired. Do you want to logout?")) alert("Five minutes were added on too your session"); //User will five minutes added on else alert("You are logged out"); //User will be loged out </script>'; ?> [/CODE] How do I put in PHP code inside the …

Member Avatar for chudapati09
0
2K
Member Avatar for yatin.baraiya

Hy all, i use the following code for displaying the image. i am sending the image file from the my HTML page... the following code is working for the image having name without any space example like:-test1.jpeg, but the following code is not working when i send the image having …

Member Avatar for Sadun89
0
131
Member Avatar for pilipino93

Hi, I've been working on this mini project on a WFA. Basically what I'm trying to do is, move files through a checkedListBox. I have the c.listbox and i got the items on it, but I want to have the files moved (only the checked ones) into a pre-defined directory …

Member Avatar for pilipino93
0
195
Member Avatar for pvsairam

How To Convert .java to .jsp file ??? can any one help me out... its very urgent..!!

Member Avatar for Sadun89
0
110
Member Avatar for localp

I have a windows form application which has a text box and 3 buttons. Now i need to add focus to a button for 1 second, and then add focus to the other button for a second.. like wise to adding focus to all these 3 buttons for 1 second …

Member Avatar for Mitja Bonca
0
222
Member Avatar for pcgamer2008

Hello World ! I have problem regarding background music in my 3D scene demo in openGL..anybody knows a simple source code to load audio files in openGL?

Member Avatar for pcgamer2008
0
1K
Member Avatar for markfw

Hi How can I run the function from function name? Here what I have and it gives me an ERROR. Can someone explain why and how to fix it. Thanks ContantsGlobal.py [CODE] CMD = ["02", "A0"] [/CODE] Test.py [CODE] import ConstantsGlobal as GCONST class Test(object): def __init__(self): self.__dic = dict(("0x"+f, …

Member Avatar for markfw
0
169
Member Avatar for SusanHAllen

I am attempting to build multiple unique cfforms (flash, not html) within a loop. However, only the last cfform is appearing on the page. Works in cfform with format="html" but not with format="flash." So, I'm thinking it's the flash <cfformgroup> design not moving down the page but displaying one on …

Member Avatar for arrgh
0
92
Member Avatar for Batch File

I am new to the c++ programming language and I need help. So I have created the program in the extension .cpp ,but how can I run it, its just text! Is their anyway I could run it as a program from command line or an executable file? Plz help. …

Member Avatar for Batch File
0
154
Member Avatar for moone009

Can someone please tell me why the results of my query are not appearing in my console application? I have a feeling it is something wrong with the console.writeline or readline [CODE]Imports System.Data Imports System.Data.SqlClient Module Module1 Private Property Sql As String Sub Main() Dim ConnString As String = "Data …

Member Avatar for Unhnd_Exception
0
98
Member Avatar for Batch File

I am making an encryption product in batch (it is as impossible as that may seem) ,but as soon as I think of something another error comes up. E.G. Saving passwords and encrypting them - I have the method worked out fine and it works (sorry no code here!) ,but …

Member Avatar for Batch File
0
120

The End.