199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for kayot1k

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 …

Member Avatar for kayot1k
0
86
Member Avatar for valonesal

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 …

Member Avatar for valonesal
0
136
Member Avatar for NICEGUY123

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 …

Member Avatar for NICEGUY123
0
234
Member Avatar for MrNoob

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 …

Member Avatar for MrNoob
0
314
Member Avatar for Ripture

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 …

Member Avatar for Frederick2
0
914
Member Avatar for himi

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 , …

Member Avatar for peter_budo
0
107
Member Avatar for vs49688

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) …

Member Avatar for mrnutty
0
108
Member Avatar for Vampdee

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 …

Member Avatar for vuyiswamb
0
146
Member Avatar for emhmk1

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 …

Member Avatar for emhmk1
0
102
Member Avatar for linux

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 …

Member Avatar for HiHe
0
197
Member Avatar for baltazar

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 …

Member Avatar for baltazar
0
1K
Member Avatar for adam1991

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 …

Member Avatar for I.Ahmad
0
125
Member Avatar for jen140

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 …

Member Avatar for EvolutionFallen
0
99
Member Avatar for Oritm

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!

Member Avatar for Oritm
0
83
Member Avatar for Deva.VG
Member Avatar for JamesCherrill
0
77
Member Avatar for bigskinny

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". …

Member Avatar for redburn
0
119
Member Avatar for beshoyatef

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 …

Member Avatar for VernonDozier
0
78
Member Avatar for lukerobi

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 …

Member Avatar for vegaseat
0
99
Member Avatar for ayan2587

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 …

Member Avatar for ayan2587
0
118
Member Avatar for santosh.garg

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 …

Member Avatar for vb5prgrmr
0
146
Member Avatar for jrosh

[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.

Member Avatar for parry_kulk
0
903
Member Avatar for marjan_m

Hi, I need to know about creating dynamic slide show or dynamic photo gallery in php. Can any one please help. Thanks Regards,

Member Avatar for network18
0
274
Member Avatar for HelloMe

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 …

Member Avatar for Nerrisa
0
109
Member Avatar for francoise

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 …

Member Avatar for shiftingspanner
0
393
Member Avatar for Xessa

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 = …

Member Avatar for Xessa
0
161
Member Avatar for nadnakinam

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] …

Member Avatar for nadnakinam
0
274
Member Avatar for santhanalakshmi

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 …

Member Avatar for francoise
0
347
Member Avatar for deepak12333

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 …

0
130
Member Avatar for haggis-man

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.

Member Avatar for network18
0
82
Member Avatar for lolwtf

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!

Member Avatar for TomW
0
174
Member Avatar for smvec

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 …

Member Avatar for network18
0
94
Member Avatar for madhav089

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 .

Member Avatar for madhav089
0
169
Member Avatar for Link82

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, …

Member Avatar for sknake
0
162
Member Avatar for frankycool

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 …

Member Avatar for cfajohnson
0
165
Member Avatar for Umarmai

Pls, I need help on using shell function to call up the system Date and time setting in my application. Thank u.

Member Avatar for Ramesh S
0
79
Member Avatar for Kimberley Smith

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 …

Member Avatar for GeekByChoiCe
0
189
Member Avatar for didyouthink76

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 …

Member Avatar for sknake
0
131
Member Avatar for gtey

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]

Member Avatar for javaAddict
0
137
Member Avatar for sevensamurai

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 …

Member Avatar for Troy III
0
1K
Member Avatar for maddy1985

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 …

Member Avatar for yellowSnow
0
100
Member Avatar for ShailaMohite

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)

Member Avatar for Geekitygeek
0
127
Member Avatar for Zack_Grindall

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 …

Member Avatar for network18
0
546
Member Avatar for prem.teamwork

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 & …

Member Avatar for Ramesh S
0
186
Member Avatar for jithusdani

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)'; …

Member Avatar for jithusdani
0
92
Member Avatar for shanks_86

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 …

Member Avatar for kvprajapati
0
116
Member Avatar for scantraXx-

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; …

Member Avatar for dkalita
0
189
Member Avatar for severman

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 …

Member Avatar for severman
0
152
Member Avatar for DARK_BYTE

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] …

Member Avatar for DARK_BYTE
0
151
Member Avatar for san_crazy

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 …

Member Avatar for vsa000
0
105
Member Avatar for lcyew

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.

Member Avatar for lcyew
0
570

The End.