199,114 Archived Topics
Remove Filter ![]() | |
I have been reading through a rather lengthy Microsoft document regarding UX (User eXperience) design and standards. There are many great suggestions that I have started to adopt. But something occurred to me last night while working on my solution and I wanted to solicit some ideas and possibly have … | |
hi, How to find Date Differance in c#. in vs2008. thanks in advance. jack | |
Hey there, so im making a calculator to make my life a little bit easier ^^ so far its working well, I just got one problem o.O! If I enter a number with a comma like 0,5 into one of the textboxes and click calculate it will terminate, what can … | |
Hi, If I have a std::vector of objects and I need to iterate through all its elements, is it faster to do: [code] for (vector::iterator i = myvec.begin(); i != myvec.end(); ++i) //blah [/code] or [code] for (int i = 0; i < myvec.size(); ++i) // myvec[i] blah [/code] Or … | |
I have a problem referring to Geometric progression Using a few mathematics formula I have to compare the value En that I calculate using Sinfinite and Sn. This value En(which determines accuracy of the calculated number I believe) should than be compared to an arbitrary value E. When En becomes … | |
i am using turboc c++ compiler .how to initialize the graphics drivers .pl let me know. | |
![]() | I've used the code below previously with success, but I'm having problems this time around, and hoped someone could point me in the right direction. I complete the form, click submit, and receive the message confirming data has been added. However, when I look at the database, there's nothing there. … ![]() |
Hello, I am supernew at php. I understand Javascript, some intermediate Java, expert html, css, Actionscript. Please advise as to the issue below. My company has acquired a php-based Web site. It has a button in the global main navigation header that we need to remove. Here is the following … | |
Hi All, I have one index.php like below ..... ...... <head> <script type="text/javascript"> ajax function to call page1, page2 etc... </script> </head> <body> <div id="leftcolumn"> <a href="javascript:ajaxpage('page1.php', 'rightcolumn');">Page1</a> <a href="javascript:ajaxpage('page2.php', 'rightcolumn');">Page2</a> <a href="javascript:ajaxpage('page3.php', 'rightcolumn');">Page3</a> </div> <div id="rightcolumn"><h3>Choose a page to load.</h3></div> <div style="clear: left; margin-bottom: 1em"></div> </body> </html> Now if … | |
I am using python code to transmit data collected (Wii Nunchuck) via I2C wirelessly to another wireless node and then display the information about button press and also roll, yaw and pitch (X,Y,Z) data. The code uses Wx python for frame/window display. Part of the code was copied from the … | |
I have data stored in a deque that I wish to write to disk using fstream. So far this is the test code I have written. [code] int j = 10000; deque<double> m_data; for(int i = 0; i < j; i++) { m_data.push_back(i); } std::fstream myfile; myfile.open ("data2.bin", std::ios::out | … | |
This seems to be the appropriate thread to post my problem in: I'm also trying to bind to a ReportViewer object, however I'm not binding a stored procedure but dynamic sql that selects <dynamic columns> from <dynamic views or tables> nice huh? My boss has fallen in love with the … | |
The idea here is I want the initial hash to be run into the child function, have changes made, send the changes back to the parent. Then send the changed hash into the child for more changes to take place. I've been making a poker program to help me learn, … | |
I know that it's a very undesireable scenario, but I need to create a database straight from java code. Yes, a database. Not a table. A database. The database will be dropped at the end of the program and will never be directly touched by the user, so all I'm … | |
Need Help to fix this code because I can not find the errors so they can read successfully. Pila SEGMENT STACK ;Segmento de pila DW 64 DUP (?) Pila ENDS Datos SEGMENT ;SEgmento de datos Filename db 'C:\Tasm\BIN\Prue.txt',0 FHndl dw ? msjFrase db 13,10,"Escriba la frase:$" ERRORS db 13,10,"Error con … | |
I'm trying to solve a cryptarithmetic puzzle TOO + TOO + TOO + TOO = GOOD using a program. My solution to this, is to use a nested loop for each unique letter (in this case T, O, G, D). The loops would systematically assign the digits from 0-9 to … | |
Hi all, Need a little help!!! I want to create an windows application such that there are 2 forms: form1 and form2 i want the form2 to be in background of form1 and form2 should be never seen(even when form1 is minimised,maximised,resized and if some other application is opened). code … | |
Hi I have the following file : AH00010056445 AD20100428 0000250000000000 AD20100429 0000014521201000 AD20100501 0000000037600000 AD20100501 0000004892201000 AH00023603803 AD20100421 0000005000001000 AD20100512 0000002000001575 AD20100514 0000015000000800 AH00334945698 AD20100426 S0000039566700000 AD20100519 0000002892201350 AH denotes an account header (the number refers to a specific account) while AD refers to the detail of that specific AH. … | |
Basically, I'm working on a GIF animation creator, all is going well, I just don't know how to move items. For example: I select image 1 and move it to image 0's position, and when I drop it over image 0 it will move image 1 to image 0's position. | |
Hi, I am developing a very basic application in C# and Asp.Net using New Website-->Asp.Net web site.This is a simple login control application available in Visual Studio. After starting a project, I found folder structure like that Project name "WebSite2" under which I have folders like "Account", "Scripts" and "Styles" … | |
Hi all, Is there a better way of doing this, I googled it and found de IsNumeric, but it´s for VB and not recommended for C#. Let me explain: I have a string like "something123" and I need to get only the 123 value as a string from the string. … | |
Hello and thanks for any help you may offer me in advance. I using vb.net vs2008. I have a datagridview and two datatables. I am comparing the information in the two datatables. Now, if the data exists is datatable2 but does not exist in datatable 1 I would like to … | |
ive implemented a couple of functions for an assignment for class. i have an add function which adds students, id's, and universitys and have "tried" to add a get id function which should search the list, find a specified id, then return it. unfortunately, when i try to run this … | |
Hello guys, I hope someone can assist me here. I got an interview with a company that develops software for casino games and such. Any one has any tips, ideas, advice, for someone to be interviewed as a potential entry-level quality assurer/software tester. RS | |
Hi at this part of the code at the default constructor codedateInception = 0; dateDeath = NULL: location = 0; I get errors and I know its because they are of a class. I don't know how to set it up to have values. Any help? Header File [code]#ifndef ACTOR_H_ … | |
Hi basically my problem is that I am getting what I believe to be is the address of the object but I want to get the value that is stored in the object. Below is the code I wrote. I've included Date.cpp and my main function file. Say if I … | |
why curl function in php doesnt work for some sites like dir.yahoo.com? [code]function getThePage($page_url) { $options = array( CURLOPT_RETURNTRANSFER => true, // return web page CURLOPT_HEADER => false, // don't return headers CURLOPT_FOLLOWLOCATION => true, // follow redirects CURLOPT_ENCODING => "", // handle all encodings CURLOPT_USERAGENT => "spider", // who … | |
I'm writing a program to keep record of my e-books and to open them. I have a record declared in Delphi 7 like this. [CODE]BookLibrary = record AuthorName: String[20]; BookName: String[20]; PDFLink: String[200]; end; [/CODE] Now my question, is it possible to edit a record later on so that one … | |
Dear all, I have a form with 36 comboboxes, and I use this fucntion to update them: [CODE] private void controlBox(string boxName) { foreach (Control frmControl in this.Controls) { if (frmControl is ComboBox) { if (frmControl.Name == boxName) { ComboBox _bx = (ComboBox)frmControl; _bx.Items.Clear(); _bx.Enabled = true; _bx.Items.Add("It Works!"); } … | |
Hi, Im trying to create three pages for Inserting, deleting or viewing database contents. On my main or home page the database contents are shown. I want to create a "Delete" hyperlink in the last column of every row so that the specific record is deleted on clicking that. I … | |
Hello.. I am using visual studio 2010 MFC. in my programm i need to set 4 bit value in hex. exaple: i have hex value 64, it should desplay 0064 A = 000A 3E8 = 03E8 Is there any function in vc++, which set 0 ? Thanks. | |
How is it possible to get the Exception Error as a string in the catch event ? The thing is that I get an exception and now want to know what the problem is and what the exception is saying. [code] try { //some code } catch(Exception ex) { //How … | |
Hi All, I am new to Ajax. I wrote my first script with the help of Google :) Please let me know the mistake. I have three menu and it is supposed to load three pages. I used firebug but unable to see any error. [code=ajax] <!DOCTYPE html PUBLIC "-//W3C//DTD … | |
Hi all, Just installed PHP 5.2.6 on SLES11. I have editted php.ini to try and turn error reporting on, but it's not turning on (I have restarted apache2). At the moment, I'm using php in cli to debug which is getting a bit stale... Here's a section of my php.ini … | |
I'm writing a program that parses tcpdump output files. I have a tab delimited text file that contains MAC addresses and hostnames. How can I have the program search this file for a MAC address and then return the corresponding hostname? Any help would be appreciated. Thanks. | |
hi! well, i'm just a beginner in visual basic and i have this problem in coding the calendar control. I want to reserve the dates and store it on a database. so when there will be another reservation, i can easily know if the date is already taken. I don't … | |
Hello everyone, I am currently in a C class and I am having trouble with the following exercise. I have started but I am stuck, can anyone help? You are developing a database of measured meteorological data for use in weather and climate research. Define a structure type measured_data_t (which … | |
Actually i m doing constructor implementation.But i am new to java, can any tell what going on from line 11 to 14.I am having problem in understanding the bold in line 12 and line 13.Plz help..... 1. public class Animal { 2. String name; 3. Animal(String name) { 4. this.name … | |
iam considering purchase help desk script for our company and gogoled around and found acehelpdesk.com . can anyone tell me if they had experience with this software and if they did , plz let me know if its worth $99 . i look forward to your responses | |
I'm trying to create a smal paint component( similar to MSpaint but not the same thing) in vb.net. I have a panel that holds the background image and a picturebox over the panel that I draw on. I'm using graphics to draw shapes and I have my own custom double … | |
Hi all, What tool can i use or what ways can i deploy to allow me to combine c# with python or vice-versa. Please let me know of any tools or way which you all had done it before because i had serch quite alot but i still cannot make … | |
Hi guys, I want to retrieve a report between two dates i want to sort out report by passing the values for one column i.e PaymentDate. Please please help. | |
I wonder if I am missing something? Everytime I dotfuscate a project its just exactly the same as the origional. I use visual studio 2010, but dotfuscate seems to have some options unavailable. I've read some tuts, "Point the program at the executable" etc... What could I be doing wrong? | |
Hi, Can anyone advise on how I can convert a string to a hex string? [B](And subsequently perform an AND operation on two hex strings.)[/B] I have a string value passed in (e.g., 1006), and I want to turn that into hex (0x1006). I have tried the following: [CODE] [B]// … | |
Hi, I made a post about a similar subject quite a while ago, but I'm a little more serious about it now. I've created two games in C++ and one in Python, but I'd like to start making games for the web to let them be more visible and more … | |
[CODE]import java.awt.*; import java.awt.event.*; import java.awt.image.*; import java.io.*; import java.sql.*; public class RefHistTest { public static void main(String args[]) { int iw2, ih2; Image img2; int pixels2[]; double[] hist2 = new double[256]; int y; ResultSet r; try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection c=DriverManager.getConnection("jdbc:odbc:CBIRS"); Statement st=c.createStatement(); r=st.executeQuery("select Images from ImageTable"); byte[] bytes=null; while(r.next()) … | |
Hi, i've been going round in circles for an answer to this one. Basically, i've downloaded a search application for my website here [URL="http://hvn.org.uk/searchengine"]http://hvn.org.uk/searchengine[/URL]. This all works fine. What i now need to do is take the link on the results page and populate a new details.php page will display … | |
I got an assignment to be done.. Given a sequence of positive integers. You need to find the number of triples in that sequence. For this problem, (x, y, z) constructs a triple if and only if x + y = z. So, (1, 2, 3) is a triple, where … | |
hello guys...i have a LPTSTR variable and I want to show that on console how do I do that..Here is what I have but, off course it does't work..if it is tooo simple question, plz excuse me...thanx [code=c] lpszDevName = (LPTSTR)((LPBYTE)lineDevCaps + lineDevCaps->dwLineNameOffset); printf("%s",lpszDevName); [/code] | |
Hi not too sure if this has been asked on this forum, i've checked but couldnt find one that explains my situation exactly. So if i missed a thread, apologies. Question is: I am busy setting up a software selling site. How would i go about pinging the developers servers … |
The End.