199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Benjamin_4

hello guys, i have created a jform which contains these field; ComboBox_decCode(description code) ComboBox_itemCode(item code) combo_Area(Branch_Area) ComboBox_dept(Branch_Code) txt_sn(Serial Number) i want to generate a serial key based on these information in my database. Description Description_Code --------------- ---------------- Lands & Building LB(001) Branch_Area Branch_Code ------------ ------------- Labone LB(001) now the idea …

Member Avatar for Benjamin_4
0
149
Member Avatar for Ann aiko

![3b819887a764833c3e81f2ec2e1812d5](/attachments/large/4/3b819887a764833c3e81f2ec2e1812d5.JPG "3b819887a764833c3e81f2ec2e1812d5") ![3b819887a764833c3e81f2ec2e1812d5](/attachments/small/4/3b819887a764833c3e81f2ec2e1812d5.JPG "align-right") ![d7a3344f965976e589fb6c6848d8d9e0](/attachments/small/4/d7a3344f965976e589fb6c6848d8d9e0.jpg "align-left") import java.awt.FlowLayout; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JTextField; import javax.swing.JComboBox; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; public class OtakuHigh extends JFrame{ private JLabel label, label1, label2, label3, label4, label5, label6, label7, label8; private JTextField text1, text2, text4, text5, text7, text8; private JComboBox Mbox, Dbox, …

Member Avatar for Ann aiko
0
177
Member Avatar for LeighWilkes

Hi I've created a website but some of my new pages are not ranking. I know a bit but I'm still learning. I created a number of pages but most of them are not ranking, I'll give you an example http://www.mrboilerrepairs.co.uk/ideal-Isar-repairs If I search google for 'ideal isar repairs' it's …

Member Avatar for flashhtml5
0
137
Member Avatar for nikolaos

One thread increases an integer named "counter" , and another decreases the same integer. Using synchronized statement on LockObject to control access to counter. If i understand correctly i have to use an Object reference. Can i use synchronized statement on counter somehow? public class Synchronized_Block_Demo { public static int …

Member Avatar for nikolaos
0
344
Member Avatar for Ann aiko

import java.awt.FlowLayout; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JTextField; import javax.swing.JComboBox; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; public class OtakuHigh extends JFrame{ private JLabel label, label1, label2, label3, label4, label5, label6, label7, label8; private JTextField text1, text2, text4, text5, text7, text8; private JComboBox Mbox, Dbox, Sbox, Ybox, SCbox; private JButton Qbutton; …

Member Avatar for mKorbel
0
213
Member Avatar for logicslab

Dear pals, I installed Turbo c for windows 7 ultimate 64 bit , but it's not user friendly .When it use in full screen the mouse is not working . Any solution for it ? If you know any new C compiler setup let me know. Thanks, Anes

Member Avatar for deceptikon
0
394
Member Avatar for devianleong

Hi, I am developing a website and I want to use htaccess to change the url from `www.abc.com/user.php?c=devian` to www.abc.com/user/devian I use the code below to convert url and it's work but why all CSS and js not reading? `RewriteRule ^user/(.+)$ user.php?c=$1 [NC,L]` If I access `www.abc.com/user.php?c=devian` then I can …

Member Avatar for devianleong
0
192
Member Avatar for trishtren

Hello, im currently working on a program to split a string based on symbols only, i need to seperate the string around the symbols whilst keeping the symbols as well eg. test_String_123_^; would result in an array containing : [test] [_] [String] [_] [123] [_] [^] However although i have …

Member Avatar for masijade
0
278
Member Avatar for bullet_1

I am using the following code to create a log file but getting an error "User-defined type not defined" Help me Thanks in advance Sub main() Dim dDate As Date Dim boDP As busobj.DataProvider 'error occured Dim sLast As String Dim sFileName As String Dim sDir As String Dim dTime …

Member Avatar for bullet_1
0
273
Member Avatar for Shodow

hi i have a code here that export my listview items to excel but i want to customize each cell size and i want to format the date and landscape environment Try Dim objExcel As New Excel.Application Dim bkWorkBook As Workbook Dim shWorkSheet As Worksheet Dim i As Integer Dim …

Member Avatar for G_Waddell
0
325
Member Avatar for Maideen

Hi I am developing the asp.net using Vb.net code. I need to notify my client if client's browser is disabled the cookies, when the launch the asp.page. Pls help me. Maideen

Member Avatar for Maideen
0
249
Member Avatar for willgr

WinHttpGetProxyForUrl always returns ERROR_WINHTTP_BAD_AUTO_PROXY_SCRIPT when I test it with the below code. See [url]http://msdn.microsoft.com/en-us/library/aa384122%28VS.85%29.aspx[/url] for what I have tried to base this on. Can anyone see any flaw in my code that causes this error to always return? I have tested it with many pac files and this is always …

Member Avatar for Massimo_1
0
1K
Member Avatar for AnhD675

I am using this lex program to analyze the usage of each register, whether they are used as a source, a destination, or used as an indirect addressing, these are my codes, i have to analyze all 12 registers...is there any other efficient way to do these as oppose to …

Member Avatar for Assembly Guy
0
207
Member Avatar for Nebil

Hi guys, I just figured out the normalization problem.And i'm moving on to the application. But i'm facing a problem,i needed to check if an id exists in the db when an item is inserted. It's saying the title i just wrote on the article.Here's the code i used. 'Tocheck …

Member Avatar for Nebil
0
370
Member Avatar for bkhp

I am to have the user input a temperature and have the computer output which season it (probably) is based on the temperature entered. I have written this much and when I run the program, it seems to have the user enter the temperature in an input box and then …

Member Avatar for JamesCherrill
0
657
Member Avatar for coolsdudes1992

i am confused about "Checked" in C#. I know it use for overflow checking. Can we use it for undeflow ? Or there is some thing else which an be use for underflow.

Member Avatar for ddanbe
0
167
Member Avatar for SpottyBlue

I'm having a vowel count problem when I build the code. #include <iostream> #include <string.h> using namespace std; char str1[51]; int vowelA = 0, vowelE = 0, vowelI = 0, vowelO = 0, vowelU = 0; int vCount() { int ii; // Counter cout << "\nResult: " << endl; cout …

Member Avatar for nullptr
0
157
Member Avatar for Alan_3

I have a requirement to make the height of a sidebar grow relative to the height of the main window. I currently have a sidebar that is sized to its content, but the main window is always much longer. Is it possible to (a) determine the height of the main …

Member Avatar for designershiv
0
4K
Member Avatar for mahdihasani

i have in part of my program error "Use of unassigned local variable". long gg = weight << 7;(error 15)

Member Avatar for coolsdudes1992
0
86
Member Avatar for soniasharma924

please tell me how to connect to a database which is on other machine on same network. i have two machines, client and server. server is asking questions and client is responding with one of four options. i have an answer table at server side, and i want it to …

Member Avatar for sktthemes
0
174
Member Avatar for segunoloye

Can somebody please help me with the integration of "securimage" captcha on my form. I have tried to follow the procedure but couldn't and the guy is not responding. Pls help. The link to the installation instruction is: http://www.phpcaptcha.org/documentation/quickstart-guide/ My form procesor php code is below: <!DOCTYPE html PUBLIC "-//W3C//DTD …

Member Avatar for segunoloye
0
665
Member Avatar for Karineh_1

Hi everyone, I am populating a dropdownlist based on the selection from another dorpdownlist. As long as there is no postback happening, I see the list getting populated correctly but after a postback, my dropdownlist is empty. I am setting the DataValueField property of the ddl that I populate at …

Member Avatar for Karineh_1
0
319
Member Avatar for Queos_1

Can anyone please help I'm having an index error with my php code. When I run the code I get the errors Notice: Undefined index: name in C:\Program Files\EasyPHP-5.3.9\www\Authentication1\update1_ac.php on line 9 Notice: Undefined index: surname in C:\Program Files\EasyPHP-5.3.9\www\Authentication1\update1_ac.php on line 10 Notice: Undefined index: contact_number in C:\Program Files\EasyPHP-5.3.9\www\Authentication1\update1_ac.php on …

Member Avatar for Bukhari1986
0
554
Member Avatar for Xakzi

Hello! I come here with a tricky question and I do not know how to code it at all. First off, I am coding in Visual Studio 2010 C# Windows Forms Application I need someone to help me code the following example: I have a text file which includes only …

Member Avatar for Xakzi
0
231
Member Avatar for asundar

Hey everyone, So, I need help understanding why I'm not able sort my code: here is my code (so far) for my selection sort. I have only written the iterative form of Selection Sort, but I know how to do it recursively as well (which is required for my homework). …

Member Avatar for tinstaafl
0
835
Member Avatar for ReyJEnriquez

Hi Guys. I hope everyone in doing great today:-) I have some problem, this coe does not produce mi in aplhabetical oreder. I am using Heapsort as a sorting algo...and please help me Hope to hear from you guys;-) Public Class MyForm Private MyTable As New DataTable Private MySortedTable As …

Member Avatar for ReyJEnriquez
0
210
Member Avatar for HunainHafeez

I'm trying to delete a row from gridview manually, i mean that i can use SHOWDELETEBUTTON=TRUE, that's easy but i want to delete it via button code, so far i have done this but couldn'y figure out that what to do more .aspx <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %> …

Member Avatar for geniusvishal
0
601
Member Avatar for Nayyar_1

I have to consume webservice that have a method like this: SubmitUser(UserReg user, HttpPostedFileBase image) { // webservice side processing` } UserReg is a custom class on webservice side that have several properties like username,id,latitude,longitude etc.. I have to submit my data through this method and save webservice response after …

Member Avatar for geniusvishal
0
211
Member Avatar for hasan101002
Member Avatar for William_6

hello, I created a awk program to work witha data file to output a table and subtotal the rows and total up the collums and average I got it to work but when i added a presentation header before my totals go away. working code so far ------ can be …

Member Avatar for William_6
0
232
Member Avatar for jared.geli

As the title says I'm having trouble in my Vehicle Maintenance routine where I will have a a monthly maintenance based on the last maintenance date. If the vehicle has reach 1 month since last maintenance it will show in a datagrid. Also it should select those vehicle that reach …

Member Avatar for jared.geli
0
226
Member Avatar for NoUserNameHere

I'm new to Wordpress and from what I'm understanding if you're making a website with it, you don't have to write(or know(?)) code for anything unless you're making your own theme or plugin? Let's say you wanted to have a user registration/login system on your website, how would you do …

Member Avatar for NoUserNameHere
0
219
Member Avatar for renzlo

Hi, All, Good day! I would like to ask for help on how to solve below error: Exception: The ObjectManager found an invalid number of fixups. This usually indicates a problem in the Formatter. This is the piece of code where the error occurred: Private Function DeSerializeObject(ByVal PathFile As String) …

Member Avatar for renzlo
0
473
Member Avatar for Clanstrom

I would like to know, why extending a built-in class in php is important. I mean let's take the PDO class for example. One can either work with using new PDO(); or class Foo extends PDO. to do the same task. I guess, maybe the only thing that makes sense …

Member Avatar for diafol
0
467
Member Avatar for Waado

Does anyone here know how i could modify this java script code which automatically refresh a page due to the time interval you set. I need assistance on how i can modify this code so it refreshes only once when the page is opened, <script> <!-- /* Auto Refresh Page …

Member Avatar for JorgeM
0
1K
Member Avatar for Anila_1

Hi.. 'm new to PHP so please guide me.. i just want to create a simple yet secure login page with PHP and MySql as db.. The following must be the program flow.. 1.when a user tries to login for the first time it should check whether the user is …

Member Avatar for Clanstrom
0
173
Member Avatar for joester007

How do I count characters using substing and a do while loop? Im trying to make a pogram that will allow the user to type in a phrase and when they click on the search button an inputbox will appear asking for what character to search for. The user types …

Member Avatar for joester007
0
216
Member Avatar for Michal_2

Hello Guys, If I have a string "Registration 00DL5876 Make" is there a way to match the first word and the last ("Registration" & "Make") and than pass the substring "00DL5876" to seperate string ? how about "Primera SR 2.0 D Colour" if i want "SR 2.0 D" ? I …

Member Avatar for Seldar
0
123
Member Avatar for owen99

hi can anyone help me i am trying to get a random character generator which generates 10 characters in ASCII range and then cast them into characters heres my code but its not working. it says error C2440: '<function-style-cast>' : cannot convert from 'std::string' to 'char' heres my code [code=c++] …

Member Avatar for Anilorap
0
1K
Member Avatar for Daneil

how to write an algorithm that converts deceimal to binary, using mod , div and an array to display the answer

Member Avatar for tinstaafl
0
302
Member Avatar for prnjn

Hi , I have a JSP page where i have few checkboxes and i have disabled few of them usign javascript for certain conditions. When i fetch the value from checkbox using `request.getParameterValues("CheckBoxName");` , then do i get the values from disabled checkboxes too or disabled checkboxes are not considered …

Member Avatar for GliderPilot
0
2K
Member Avatar for Mafiamanandre

Hi all, I have a form in visual basic with about 62 textboxes. On this form is two columns of textboxes. Textbox 61 -62 is a total textbox for each column. When the user types in digits to 60 textboxes the program must add it up automatically to textbox61/62. My …

Member Avatar for Reverend Jim
0
951
Member Avatar for Deegirl

how can i save a .txt file in C:\? I keep on getting a permission box preventing me from doing so.

Member Avatar for Reverend Jim
0
394
Member Avatar for anonlearner

I hace to design a fucntion that draws lines of charaters to create a picture, like a trangle or something. The parameters are: 1) The symbol (letter or blank) 2) The line length(the number of charaters of that symbol) 3) An end line flag to incate the new line started …

0
127
Member Avatar for eric_arambula

I am a newbie programming Ruby. I have the below code. Method sum_to_n? which takes an array of integers and an additional integer, n, as arguments and returns true if any two elements in the array of integers sum to n. It should return true for the empty array with …

Member Avatar for eric_arambula
0
1K
Member Avatar for Priti_P

Hello, My application is in PHP. I use the below code to send invitation- <?php $message=" BEGIN:VCALENDAR VERSION:2.0 CALSCALE:GREGORIAN METHOD:REQUEST BEGIN:VEVENT DTSTART:20130901T121000Z DTEND:20130901T131000Z DTSTAMP:20110525T075116Z ORGANIZER;CN=From Name:mailto:from email id UID:12345678 ATTENDEE;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Sample:emailaddress@testemail.com DESCRIPTION:Test the first invite LOCATION: Test Location SEQUENCE:0 STATUS:CONFIRMED SUMMARY:Test the first icalendar invitation TRANSP:OPAQUE END:VEVENT END:VCALENDAR"; /*headers*/ $headers …

Member Avatar for diafol
0
301
Member Avatar for theguitarist

Hello, I have a graph that is represented in the form of a grid. For example: V--V --VV V---V VVVVV Each V is a node. If there is another V above/below/to the side of a V then there is an edge between them. I'm to form one single connected component …

Member Avatar for gusano79
0
152
Member Avatar for nhrnjic6

OK.So i need to bild this table and so I did.But what I cant understand is why it works fine till I hit number 18.then sudenly like half of 1st number-s (array[x]) are missing. can someone please tell me whats the trick.Thank you. #include <iostream> using namespace std; int main() …

Member Avatar for Schol-R-LEA
0
280
Member Avatar for Mafiamanandre

Hi all, I've got 2 columns with 28 textboxes in ech column. The user of the program I'm making has to type in digits into the textboxes. In each column theres a total box. I'd like to know how can I make coding to display the largest number of the …

Member Avatar for Schol-R-LEA
0
159
Member Avatar for lostnewbie

Hi Guys, Thanks for your help in advance. I have an exe file from sniperspy that I would like to hide behind a picture or attach to a link on a pdf doc which automatically installs stealthily on one click or just installs upon opening of the file. I am …

Member Avatar for lostnewbie
0
149

The End.