199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for judithSampathwa

hi there, i have a question in connecting to the server. when i log in to the server and connect to the ms sql server i can connect to the databases. but when i login to another computer and try to login to the MS SQL server management studio i …

Member Avatar for judithSampathwa
0
339
Member Avatar for cousinoer5

This program keeps track of a hardware store inventory. It's very barebones, all it needs to do is put the information into a vector of pointers to a struct, allow the user to sell items, and print the report. I have printing down no problem, but selling is where I …

Member Avatar for Chilton
0
179
Member Avatar for lxXTaCoXxl

I have two problems; collision detection, and menu navigation. My collision system seems to work just fine until my object meet at certain points then they ride together. This is troublesome in a pong game. For my collisions I'm inverting the X coordinate for the ball on intersection with the …

Member Avatar for lxXTaCoXxl
0
306
Member Avatar for NickJoe

I was given a project in my CSSE class that has to do with signals and handlers. After spending the last 48 hours stressing and cursing the lack of proper information (that I could find) on the Internet to help me understand, I decided to turn here once more. THe …

Member Avatar for NickJoe
0
295
Member Avatar for jayantpaliwal

Hello All, I am working on GDI+ programming and created a windows form to draw lines by mouse. Here is my sample code. [CODE] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Drawing.Drawing2D; namespace SampleApplication { public partial class frmTest : Form { …

Member Avatar for lxXTaCoXxl
0
552
Member Avatar for ivan3510

Hi! I made a page where users can listen to music (with javascrip). I add a popup where they can choose what music to play, and when they choose it, this popup window close itself, and two hidden fields get the song information. In the script (you can see it …

Member Avatar for ivan3510
0
108
Member Avatar for hallyvaux

Hi. I am stumped when trying to figure out how to make it so the name in one column is just listed once with nulls values underneath until the next column name. I'm sorry if I don't explain this right. I have this script: [CODE]SELECT NAME, SELLPRICE "Price Sold", COSTPRICE …

Member Avatar for debasisdas
0
109
Member Avatar for ndeniche

Hello guys. I'm using a Microsoft Word form template to create objects in a form programatically, so depending on the information read by the program from the template. So, I've got some fields where I store formula data for the form, in which I specify that the value for that …

Member Avatar for Mitja Bonca
0
283
Member Avatar for ryan311

hi i manage to export a data coming from listview to excel here is my code [CODE] Try ' Open output file Dim os As New StreamWriter(filename) ' Write Headers For i As Integer = 0 To ListView1.Columns.Count - 1 ' replace quotes with double quotes if necessary os.Write("""" & …

Member Avatar for Mitja Bonca
0
138
Member Avatar for Eric Noa

Im taking Intro to computer programming and I have to designed a program in python that reads the numbers on a .txt file and then adds those numbers and display the sum to the user. Very simply program but I can't get it to work. I know sure how to …

Member Avatar for TrustyTony
0
8K
Member Avatar for Behseini

Hi Guys, I have some problems in spiting a composite cell value and adding them into a list box.Can you please let me know how i can do it? I have a code like below which is suppose to return a Primary Key cell value.the code works fine and return …

Member Avatar for Behseini
0
214
Member Avatar for Fo.katia

I have to write a program in Python that creates two circles colliding to each other and to the sides of the window. Here is what I have so far, but the problem is that they don't collide and they don't bump against the walls. Please tell me what i'm …

Member Avatar for vegaseat
0
411
Member Avatar for Niner710

I have a simple question with Python numpy. I have a numpy array as follows. [CODE]a = [ [1000 2 3] [4 5000 6] [7 8 9000] ] [/CODE] I want to be able to print 3 slices of the array to a txt file so that the elements in …

Member Avatar for vegaseat
0
555
Member Avatar for n0de

Hi, i have some issues with class inheritance and i do not know how to solve it, maybe someone could help me with that ? [CODE] //pentathlete.h #include <iostream> using namespace std; template < class T > class pentathlete { protected : T comp_res [ 5 ] ; /*private: int …

Member Avatar for n0de
0
161
Member Avatar for keyroche

This question is more specific than general. I understand SQL a good amount, and understand JOINs and UNIONs etc, but I am having a real problem with a query I need. I have three tables: [CODE] ITEM: ITEM_ID ITEM_NAME WISH: ITEM_ID CUST_ID SELL: ITEM_ID CUST_ID [/CODE] What I need from …

Member Avatar for keyroche
0
111
Member Avatar for xanawa

Hi how do i merge all columns in one row in a datagridview and enter some text in it pls?

Member Avatar for xanawa
0
106
Member Avatar for whoadiz

I am working on a perl code that reads in a file with various information (example: ID, value A, value B, value C..Value Z) The file values are separated by tabs. I want to only extract the first 3 columns (ID, value A, value B) and output it to another …

Member Avatar for whoadiz
0
83
Member Avatar for patrickgormally

Hi everyone! I'm creating a class for a mortgage payment. I pretty much have most of the code finished but when I compile the code I receive multiple errors saying "Cannot find symbol". This error occurs about 9 times and I am also having some problems with the compareTo method. …

Member Avatar for patrickgormally
0
133
Member Avatar for jaango123

Hi All, The below is the value of the variable when used with apply templates [CODE]<results multiple-outputs="true" transactional="true" xmlns:v12="http://www.americanexpress.com/informationservice/schema/ICS/CustomerService/v1/" xmlns:v1="http://www.americanexpress.com/informationservice/service/ICS/CustomerService/v1/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" > <url input="multi-request-A">http://127.0.0.1:2022/ICS/CustomerProvider/v1</url> <url input="multi-request-A">http://127.0.0.1:2023/ICS/CustomerProvider/v1</url> <url input="multi-request-A">http://127.0.0.1:2024/ICS/CustomerProvider/v1</url> </results> [/CODE] The below is the value of a variable without apply templates and using for each [CODE] <results multiple-outputs="true" transactional="true"> <url …

Member Avatar for xml_looser
0
427
Member Avatar for jaango123

Hi All, I have been using eclipse and MS visual studio .net. I am looking for a way to generate a schema based on the input xml. Visual studio generated as shown below. However, is there a way to mention the below properties through GUI. properties <xs:whiteSpace value="collapse"></xs:whiteSpace> <xs:maxLength value="16"></xs:maxLength> …

Member Avatar for xml_looser
0
147
Member Avatar for klemme

I was adding a link to make it poosible to delete a page on a site, which is not yet published. the link looks like this, with the processing below it: [CODE] <?php // The Link echo '<a href=\"process_delete_page.php?pid=' . $id . '">Slet siden her!</a>'; // Processing the request $id …

Member Avatar for klemme
0
223
Member Avatar for TheJohnSpecko

Hello everyone, I am using [CODE]ExecuteNonQuery()[/CODE] to execute a SQL command that inserts data into a SQL Server 2005 Database. I want to return the number of rows affected. I've read that this method returns the value, but I can't figure out how to access it. Help is very much …

Member Avatar for Mitja Bonca
0
184
Member Avatar for shyla

i need to create a class named MyShape(which i did ), and make it a super class. its instance variables should be the x1 x2 y1 y2 values shared by all subclasses. the class needs to include 1. a no argument constructor 2. constructor that takes the argument necessary to …

Member Avatar for JamesCherrill
0
297
Member Avatar for choover12

Hi, I would like to have a list of "methods" so that i can invoke them inside the list. I just don't know how to store the methods in a list.

Member Avatar for Mitja Bonca
0
73
Member Avatar for andimiami

In my function, I am using .find and I need to be using .at, because the way I have it now doesn't account for extra whitespace etc., but I have no idea how to implement this change. I looked through the internet and I can't find a good example of …

Member Avatar for andimiami
0
122
Member Avatar for Fortinbra

We're having issues with database performance, and up till now, have done very little with indexing. We try to turn on full text indexes when available, but we do support (though we are phasing this out of our support)MSSQL2000, we try to advise our clients to use the newest available …

Member Avatar for Fortinbra
0
189
Member Avatar for clickspiker23

I am supposed to read in data from a file and store it. I know how to read from a file and display it, in main, what i don't understand is how to do that with classes and objects. This is the part im having a little trouble with and …

Member Avatar for jjman4562
0
171
Member Avatar for jeffmummey@sbcg

I need a strong response to my question. I can write and compile a java application. The computer won't run the applications when the proper java command is used in command prompt. I did load the Java run time environment. The applet will load using an html tag. Whats happening …

Member Avatar for sirlink99
0
169
Member Avatar for wdearth

I'm working on a program that's supposed to generate a 40 character random string of uppercase letters A-Z, then generate a random replacement string of random uppercase letters A-Z of length between 2 and 20. It displays the 40 character string, but when I enter the length of the replacement …

Member Avatar for arjunpk
0
164
Member Avatar for moose333

Hello I have a txt file with multiple values in six different columns. What I need to do is get each column of data and place them into individual arrays for later use. Also once I have the data I need to convert the arrays into integers. This is the …

Member Avatar for moose333
0
424
Member Avatar for rattlesnake_bac

Hello, i need a simple C/C++ program that sends SMSs via the attached GSM modem. I have some experience in C programming, but i haven't controlled the COM port. Also, i need to give 2 variables , one for the recipient's number, and second for the actual message. So, when …

Member Avatar for sunnythesun
0
847
Member Avatar for judithSampathwa

hi, i have a destop application and i have data in 4 arrays, what i want to do is to open an excel file and then add the array data into the excel file, nd then save the excel file . please how can i do it i tryied using …

Member Avatar for arjunpk
0
351
Member Avatar for manish250

hello all i have a jsp page in which i am opening a pop up window using following code.Now i want not to include toolbar,scrollbar in my pop up window. [COLOR="Red"]window.open("multipleSchedule.jsp?date="+f_date+"&date1="+f_date1);[/COLOR] please tell me the way.I know i have to use toolbar=no but where to use in this code.i have …

Member Avatar for twiss
0
136
Member Avatar for showman13

Good Morning All, I have a query I need to do, but haven't been able to get it clear in my mind how to structure it... I have two tables 'members' and 'subs_track' they are linked by the 'mem_id' field in both There is a single record for each member …

Member Avatar for showman13
0
114
Member Avatar for Sravanthi Ch

Hi, I have a WPF datagrid with datagrid check box column as first column and the header of the checkbox column is also a check box.. I am using the follwoing code to achieve this.. [CODE] <TK:DataGridCheckBoxColumn Width="30" Binding="{Binding Path=IsSelected, RelativeSource={RelativeSource FindAncestor,AncestorType={x:Type TK:DataGridRow}}}"> <TK:DataGridCheckBoxColumn.HeaderStyle> <Style TargetType="{x:Type TKPrimitives:DataGridColumnHeader}"> <Setter Property="Background" Value="{StaticResource …

Member Avatar for pitic
0
473
Member Avatar for masocha

l am trying to send individual emails with a loop using php mailer in joomla. However when l generate the emails l get something like 12 emails to one email address even if the loop is only 2 in size So its something like foreach($res as $r) { //send email …

Member Avatar for vibhaJ
0
82
Member Avatar for Arjun_Sarankulu

I have a login form and the other form which contain the operation to be perform In login form Submit Button, i am validating the emp code from database If it is proper then i am writing [CODE]frm.Show(); this.Hide();[/CODE] frm is the second form to be shown My application is …

Member Avatar for zachattack05
0
89
Member Avatar for Khoanyneosr

So, I've bought two books, one on DirectX 10 and one on OpenGL. The first one i bought was the directX 10 book, and NONE of the code compiled because of some LPCSTR error. So stupid me thinking it was another thing that microsoft goofed on i bought a book …

Member Avatar for pseudorandom21
0
365
Member Avatar for stephen lynch

hi im doing a project in java and i would to know how do u create a restuarant bill calculator in java

Member Avatar for javaAddict
0
494
Member Avatar for Lenar

I'm trying to query several different tables using INNER JOINs but there's something missing in my code. I get all the results I need except that what I want in this case is that for example, when we make partial shipments, I need to have all the different shipping dates, …

Member Avatar for Lenar
0
121
Member Avatar for jeffrey o

This is the server code for the udp server/client program . There are no errors except when you run the program the ff error occurs: [COLOR="Red"]Exception in thread "main" java.lang.NullPointerException at udptry2.UDPServerbackup2.main(UDPServerbackup2.java:44) Java Result: 1[/COLOR] the client side works how it should just this part of the program [CODE] package …

Member Avatar for parry_kulk
0
531
Member Avatar for Maelst0rm

Hi guys, Im trying to do battleships game. But I dont know, what is the best way to create interactive battlefield? I created JFrame and put inside two JPanels (my and opponents field).I wanted to put inside JButtons (JFrame had GridLayout), but I was told this isnt right solution. It …

Member Avatar for JamesCherrill
0
777
Member Avatar for jemz

Hello and Hi, can you help me please, i am newer in the mobile development. i want to learn in this mobile development in using the wireless toolkit.the problem is that i don't know how to use it,and what ide should i use this in making the application?please help me …

Member Avatar for jemz
0
130
Member Avatar for dodgers

Hey. My program wont write the input data to file. It seems like the userdata variabels doesnt get updated after input from the user. Can anyone see what i have done wrong? This is what i have done so far: [CODE] // userdata.cpp // class userdata store user information #include …

Member Avatar for Moschops
0
168
Member Avatar for Kprosser1029

I need help creating a Binary file that displays in Hex and readable text! I have already completed the gui part I need help converting to Binary. Here is what is required: 16 Byte values displayed as 2 digit hex values separated by 2 spaces, then a separator | and …

Member Avatar for thekashyap
0
260
Member Avatar for thekashyap

Hi, I was implementing the Exampler / Prototype pattern just to brush up on C++. Couldn't figure out how to do the cleanup at the end. Problem is deleting all the prototypes from the map in base class at the end. I.e. deleting all stored pointers in [ICODE]Animal::examplesPtr[/ICODE], which is …

Member Avatar for thekashyap
0
104
Member Avatar for judithSampathwa

hi there i have a database which is MS SQLserver 2008 and ihave a database called AdminApp. from visual studio 2008 i add the database and the connection is succeded, but when i get the connection string and add it to my DB class for the db string and run …

Member Avatar for crishlay
0
235
Member Avatar for cheekycroak

Dear all..before i give up after multiple trial and error attempts,can someone please help me with below query. I am trying to replace the path name D:\Downloads\Music\ (note the slash) to [url]http://mysite.com/Music/[/url] in mysql field name called "filename" under "songlist" table. Below is the query code that I tried ,but …

Member Avatar for crishlay
0
143
Member Avatar for michaelzip

Hi. I'm having a problem on deleting a record using a function on SQL. DELETE FROM tblServices GROUP BY ServiceID HAVING MID(ServiceID,1,2)='SG' This query shows and error saying: Cannot group on fields selected with '*'. I tried adding a specific field, like this: DELETE ServiceID FROM tblServices GROUP BY ServiceID …

Member Avatar for crishlay
0
122
Member Avatar for jaango123

Hi All, I have the attached xml and xsl, xml being the input to the xsl. The xml contains two account numbers and the xsl will print the account numbers. Now what we need is, number of variables equal to no: of account numbers in the xml, to be declared …

Member Avatar for jaango123
0
335

The End.