199,114 Archived Topics
Remove Filter ![]() | |
Hi there, i need to know how to access my elements in a set of integers. i have private data for the following: private: vector <bool> setlist; // indicates set elements as true int cardinality; // number of items in set im creating a function that 'dumps' the elements of … | |
We are trying to ensure that information is seen even if javascript is disabled. So we would like to create something that opens a popup as normal however if javascript is disabled it opens a new tab or window with the information. But if javascript is enabled it just opens … | |
I tried my code below, and i am getting a output of 0. I added lines like cout << p; and cout << alpha to see if the values are getting stored into the variables. My output looks like this -18811398930we are in the loop0 Can anyone help me?? i … | |
Hello here in k&r excerise of primitive calculator i get it and all but there something i think its weird and i don't somewhat get it here the getch and ungetch functions i don't get it's routine [code] #include <stdio.h> #include <stdlib.h> /* for atof() */ #include <ctype.h> #define MAXOP … | |
Hello all, I'm trying to learn how to make just a basic windows app with some buttons and text windows to make the programs I normally create and interface with through DOS a little more interesting. I'm following the tutorials at [url]http://www.winprog.org/tutorial[/url] and [url]http://www.functionx.com/win32/[/url] . I can manage to get … | |
Hi , I am trying to create a webpage. It has 3 frames (left, middle and right). I want to be able to drag images from the left and the right frame into the middle frame. Each time i try to drag an image from one frame to another , … | |
![]() | Hey, Does anybody know of a way to generate a random number without using srand(time(NULL)). I need it for a program I'm writing. srand(time(NULL)) is seeding it based on the computer's clock, but it's only accurate to the nearest second, so it's not fast enough. I've had to put Sleep(1000) … |
I have a really stupid question: In my job, once in awhile I have to perform maintenence on a client's website. I work for a small business so I don't have much staff to rely on, hence my post. I also do a plethora of other activities that have nothing … | |
Hi i have another query i would like to run by you. I have a javascript code which i would like to implement in my site but i have come across an error. The JS generates a new input text field once a button is clicked but i'm uncertain of … | |
1) Is it possible to install Ruby (the compiler) onto a flashdrive and run it on another machine without adding the registry edits? Is there like a portable copy of the compiler that I can use? I need Ruby at school, but I can't install anything. 2) I think my … | |
Hi, I'm trying to split a string with multiple delimiters using the PHP preg_split function. I am trying to separate the numbers from the units in terms like 172px, 100%, 2.5ems etc... i.e. after I run a preg_split on 172px I want the resulting array to have array[0] = 172 … | |
Here is the code first off all for the login script (HTML) [CODE] <form id="form1" runat="server" method="post"> <asp:TextBox ID="txtUsername" runat="server"></asp:TextBox> <asp:TextBox ID="txtPassword" runat="server" style="width: 128px"></asp:TextBox> <asp:Button ID="Button1" runat="server" Text="Login" />[/CODE] Here is the behind code to that page double click on the button and get this code (VB.NET) [CODE] Dim … | |
Hello all. I have a string that will contain the username, for the security reasons i want it to be checked it if its diferent from the specific charset. I think it could be done by looping the check 1 character from the username at a time till the end … | |
![]() | Code: [CODE]hWnd = CreateWindow( L"3ngine", L"lars", WS_OVERLAPPEDWINDOW, xPos, yPos, xSize, ySize, NULL, NULL, wc.hInstance, NULL );[/CODE] I want to make L"lars" variable. Searched on google, but i cant find the right answer. Is there a simple solution? thanks! ![]() |
Can i get java code to convert the image into binary bits. | |
i can't figure out where to even start with this. You will generate a set of data simulating (unrealistically) peak daily temperatures over a 100-day period. Your program will have the following parts and perform the following operations: (1) Two initially empty array with size 100 and data type "double". … | |
Here i draw the board for chess and put all pieces in there places on the board ... then i want when i pressed by mouse on the board give me the value of x , y . I tried with all things but i cann't solve this problem please … | |
lets say i have 2 lists: lista = [1,2,3,5,6,7] listb = [4,5,6,7,8,9,10] The lists can be different lengths, and may not allways be unequal lengths. The higher average will allways be in listb, so that is the 1 constant we can rely on. This works for even teams: [code] average … | |
thanx buddy... that was helpful... well i have one more doubt... the method you gave above is cool if i take input from stream... what if i pass a decimal or hexadecimal integer to a function from my main function..and then have to decide in that function whether the argument … | |
I am using command object in for loop on first time execution it inserts the record but the next time it gives an error Multible OLEDB error following is the code I use Set rssave = New ADODB.Recordset Set cmd = New ADODB.Command 'cmd.ActiveConnection = GCon 'cmd.CommandText = "prc_Invoice_Insert" With … | |
[ATTACH]11999[/ATTACH] How can I add above type text into a JTextfield??????? I mean the faded texts as "username".. It should be ok to erase them when entering text into the field.. How can I do it?? thankx in advance. | |
Hi, I need to know about creating dynamic slide show or dynamic photo gallery in php. Can any one please help. Thanks Regards, | |
Good day everyone!!! Pls dont kill me when a forum like this already exist but i was not able to find one through the search function. The purpose of this forum is, that skilled programmers will tell beginners how they managed it to become a programmer. Like what book was … | |
I have a function and I want it to output one word in the current cell and one in the cell to the right (i.e., the next column). Is there a way to write this in VB? So, something along these lines (though this doesn't work): [code] Function test(word1 As … | |
Hello. I'm trying to convert Calendar to dd/MM/yyyy format. My problem was it couldn't convert to exactly what i wanted. I'm Turkish so when we write a date, we write the day first then month then year... My code is here [code] public static String toFormattedDateString(Calendar input){ String year = … | |
hi i'm using [B]wamp server 2.0[/B] in that, php version 5.3.0 MySQL version 5.1.36 PhpMyadmin 3.2.0.1 MySQL client version: mysqlnd 5.0.5 while uploading my files on to server (plesk control panel) there i have these... [B]Local host[/B] MySQL version: 5.0.45-community-nt Protocol version: 10 Server: localhost via TCP/IP User: username@localhost [B]PhpMyAdmin[/B] … | |
Hi, This is my coding......... Private Sub Command1_Click() Dim xlApp As Excel.Application Dim Wb As Excel.Workbook Dim ws As Excel.Worksheet Dim name As String Set xlApp = New Excel.Application Set Wb = xlApp.Workbooks.Open("E:\Projects\VB Excel to textfile\crse.xls") Set ws = Wb.Sheets(1) Open "C:\rolllist.xls" For Output As #1 For i = 1 … | |
hi I am in deep trouble to loose my job please help me I am working on a website where a user comes and login when it enters a pop up screen appears where it is written continue or remind me later now i am unable to handle this functionality … | |
A client would like me to implement spreadsheet-style form traversal using arrow keys, i.e. left arrow to submit entry and move left by one field on the form, and so on. Does anyone have a browser-independent method of doing this please? All input fields are single line text fields. | |
Hi Experts, At the office, we are trying to decide if we want to go with Crystal Reports or ComponentOne. If anybody has used both could you list some advantages and disadvantages? Thanks! | |
hi, im a newbie developer.. i developer a website in php n hosted it.. when im trying to access it i get an error.. You do not have permission to view this directory or page due to the access control list (ACL) that is configured for this resource on the … | |
I am creating two tables with names group,phone group caontains id,name,place,phone numbers phone contains id,phone numbers my query is that phone table should accept id and phone numbers that matches group table(id and phone numbers) can one please help me . | |
Hey Everyone, So after weeks of torture, this things is near completion. We're using SSRS to display the report on the .NET side. However, I'm piecing together the last bits of the SQL query. So, I have three tables. One has names of all these buildings, one has contains reason_codes, … | |
I have a problem with the Nesting of case statements. This is a Simple restaurant program which simulates food ordering. I used Case statements to Display Multiple nested menus base on the users choice But i seem to have a problem with the esac,seems my nesting is wrong.Pleas any help … | |
Pls, I need help on using shell function to call up the system Date and time setting in my application. Thank u. | |
I am new to this forum and very new to vb.net. The previous programmer wrote a program in vb.net that helps us with our merchandise received transactions. It is now getting the following error: "System.Data.SQLClient.SQLException Timeout Expired. The timeout period elapsed prior to completion of the operation or the server … | |
i am constantly receiving a 'failure audit' error 18456 state 14...login failed for user 'sa' on my sql 2005 server. this is occurring every 5 minutes. Can someone give me a direction on where to start? I have checked several forums on the web, but none seem to lead me … | |
I need to write an application that reads three intergers and prints their average, 2- write an application that reads two floating point numbers and prints their sum, difference, and product. I am doing programming projects in Java software solutions 5th edition for school. _______________________- [URL="http://ltseo.com.au/"]SEO[/URL] | |
Hi, I'm no great shakes at Javascript... I do all my stuff through Dreamweaver. My situation is fairly simple. I have image "A" that has its own mouseover and mouseout (to change it back to what it was). BUT I am having difficulties figuring out how to get the mouseOVER … | |
When the program is given a multicast address it should print the corresponding mac address, along with a list of the 32 overlapped multicast ip addresses. ./ipcalc.pl 224.1.1.1 255.255.255.255 Class D (Multicast) Address: 01-00-5e-01-01-01 Overlapped Addresses 224.1.1.1 224.129.1.1 225.1.1.1 225.129.1.1 226.1.1.1 226.129.1.1 227.1.1.1 227.129.1.1 228.1.1.1 228.129.1.1 229.1.1.1 229.129.1.1 230.1.1.1 230.129.1.1 … | |
Hi I am create one application in which add some selected images into flowlayoutpanel but how to remove memory assigned to particular images in flowlayoutpanel [B]It give some error like this[/B] (the process can not access the file "C:\Images\xyz.jpg" because it is being used by another process) | |
Hello, I was wondering if anyone could help as this has been puzzling me. I have a form with a few checkboxes on it and i need to store them in a database table taking on the following structure: user_id / c_id user_id being the users profile id and c_id … | |
Hi All, I'm new to ASP.NET, having knowledge of HTML, VB 6.0. I myself studying VB.NET 2008 & ASP.NET 3.5, though i'm interested. For practical implementation I'm seeking you experts help. Please help me to develop a simple web application. 1. [B]'Student Login form' [/B]has to accept user name & … | |
Hi Folks, I have created a text box dynamically using javascript. Now i want to call a javascript function in the OnChange Event Of that Control is there any way to do the same.?? Here is the code what i tried. [CODE] el[j] = document.createElement('input'); el[j].type = 'text'; el[j].name='work'+j; el[j].onChange='lookup(this.value)'; … | |
heyy can ny 1 help me.....m wrking on jsp using ajax......i built a small application...as m new to ajax.....i built 2 field....FNAME & Lname and when my application used to do is..when you enter ur first name.....n press the tab button...the last name shld come from data base......but its nt … | |
Hey guys. I need help on how to set a specific element that I insert into my vector of bool type :S [code] set::set() { cardinality = 0; setlist.resize(DEFAULTSIZE, false); } void set::insert(int x) { if (x >= 0 && x <= DEFAULTSIZE) { setlist.insert(setlist.begin(), 1, x); x = true; … | |
hi all. i hope someone could help me. i'm trying to build a bidding site using ajax, and php. what i want to do is that: when the bid time is over 5 minutes, the "div" i've placed will refresh every 10 seconds, and when its under it will refres … | |
Hello I wrote a class Employee and a tester class TestEmployee.The problem is that I get this exception after I enter the first employee's id.I thght if I give default values to the instance field the exception shouldn't have occured; can someone help me with this please: Employee class: [code] … | |
I am designing a website in ASP.Net and want to use captcha in my website. I believe it is used for security, will I need to create an additional column in database table to store string in capcha image? if the purpose is security, then how should I deal with … | |
Hi there. Is there any way that can count the number of slashes in a string? For example: abs/frg/grgr/rgr/ and,the number of slashes can be obtained? Thanks for any solutions provided. |
The End.