199,114 Archived Topics
Remove Filter ![]() | |
Hi! (This is my first post on the forum) I'm trying to capture the desktop of the "not showing" desktop. I got two users, both logged in. I start the program on the first users desktop (to capture), and then the second one on the other user, which is supposed … | |
I'm trying to write an app in VB where a user can browse their computer, choose some images and have them display in a slideshow. A later feature will include an option for them to write text which will scroll across the screen - I haven't gotten to this yet. … | |
hi everyone :) I hate to do this but I gotta.. This is what I want to do but dont have the foggiest about how to accomplish it! I have 4 forms..frmWeekOne, frmWeekTwo, frmWeekThree, frmWeekFour. These 4 forms are all added forms to my original project. what I need to … | |
so my project is due tomarrow and im stuck i need to some help. This is what i have it came up with some errors and i need to finish it. The conditions are TOTAL BALANCE and need to withdraw only multipule of 20 [CODE]// This is a program that … | |
Hello, I wrote a 2D game with some simple Collision Detection. I used the function IntersectRect() but I think it's slow. This is the code right now: int Collision(CHARACTER* object1, CHARACTER* object2) { D3DXVECTOR3 pos1 = object1->GetPosition(); D3DXVECTOR3 pos2 = object2->GetPosition(); RECT a, b, *des; a.left = pos1.x; a.right = … | |
I have this program where I'm trying to find the file size with the boost library. I find the files fine, but it won't get the file's size, where am I wrong? Thanx for your help... Here's my code so far. It compiles fine, but won't return the file size. … | |
Hello everyone, I am interested in creating a program that A).. displays a picture at random from a specific pool of images as a screensaver ,, and B) allows the user to set a time frame in which one of the pictures will randomly pop up on the screen.... Can … | |
i have 3 diferent data base in 3 diferent languages, i need a script or a php cod theat take's the information form them exempl : menu romanian "Pagiana principala | Informatie" rusian "Главная | Информация " Englesh "Home | Information " img exeple [url]http://img88.imageshack.us/img88/3954/lang.png[/url] please help im new in … | |
Hello for my C++ programming class I am programming a Dictionary program that allows the user to enter in definitions and stores them between 2 classes. Dictionary which will contain all my entries and Entry which will contain the definition for every word that the user inputs. Now when they … | |
I am working at a project that is supposed to run a python script. Here is my main class: [CODE] #include <iostream> #include "scripting.hpp" int main(void) { cScripter oScripter; std::vector <double> vectMy (7, 32); oScripter.doRunScript (&vectMy, "test.py", "function"); return 0; } [/CODE] And here are respectively scripter.hpp and scripter.cpp : … | |
From within a template I'm trying to set a variable using a select= which references an absolute path. But when the "root" element specifies an xmlns= namespace, the select fails (returns an empty string). Here's the XSLT: [code=xml] <?xml version="1.0" ?> <xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://foo.bar.com/something" > <xsl:output method="xml" indent="yes" encoding="windows-1252" … | |
I am having problems with sending my array N_List [CODE]int** N_List = create_2d_int_array(len_N_List, 100, "voro:N_List"); double** atoms = create_2d_double_array((int) (8*box_x*box_y*box_z/(lattice*lattice*lattice)), 3, "voro:atoms"); for(i=0;i<len_N_List; i++) for(j=0;j<100;j++) N_List[i][j] = 0; [/CODE] The code runs fine with N_list send and recv omitted but with it, it causes a segmentation fault Send [CODE] if(rank … | |
Hi Guys, I'm in need of regular expression for validating the html tags that are closed properly, say for example <i>test content <b>see this </i> .. it should show an alert "tag is incorrect". Plz help me....Guys-:)-:) Thanks in advance | |
I am trying to update employee information in my web form but when I press Update Link, nothing happends.. [CODE]<%@ Page Title="" Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="ViewEmployees.aspx.vb" Inherits="ViewEmployees" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <p class="style1" style="text-align: left"> <table class="style1"> <tr> <td> Enter Employee Name <asp:TextBox ID="txtName" … | |
I'm reading in a text file and want to parse based on labels within the text file. At first I was trying to do this with patterns, but after spending some time reading the API documents, I'm not sure what I need. I think I'm making this too complicated. Example … | |
Hai... I'm Doing my project in asp .net(vb .net coding) If anybody guide me means it would be great pleasure for me... I want to display names in the list box So i used the coding: [code] If Not Page.IsPostBack Then Try myda = New SqlDataAdapter("Select name from agent", connection) … | |
hi, i am doing a project in C#.NET desktop application. how can I make a upload, retrieve functionality in C#.NET desktop application for pdf documents, I am using a sql client for the moment, so i need to upload the file(file path, content, title in to the database) how can … | |
hi i am new to VC++ ,i want to read a .txt file and parse line by line and interpret the data on windows console ,can any one help me in this regard plz.. thanks in advance | |
Hello All... This is my first post so please be gentle with me and I will try to explain the issue I've been fighting with for 3 days. I am trying to update a gridview element from a different thread. This update task is part of an outer foreach loop … | |
hallo can someone please help me my Access Database ConnectionString does not work on the server [code] string strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|calculator.mdb"; [/code] | |
how to generate the mail id's in database,please help me.... | |
I want to send an email from localhost but I don't know how to install mail server, so I do this way: [CODE=php] <?php ob_start(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Gui mail su dung PHPmailer and gmail</title> </head> … ![]() | |
Hey guys! I want to make a simple login system with PHP, I am pretty noob with php, but have done C++ for like year so understanding the code shouldn't be a problem. Things are done a bit different in the web than in simple program so.. I found this … | |
I have a problem with this code [code] <? Header( "HTTP/1.1 301 Moved Permanently" ); Header( "Location: http://www.example.com" ); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> <?php $language="fr_FR"; putenv("LC_ALL=$language"); setlocale(LC_ALL, $language); bindtextdomain("messages", "./locale"); textdomain("messages"); print "<p>"._("hi! … ![]() | |
Hi, Recently (today) got an assignment to take a particular code that we've done previously, and split it into 3 files: 2 .cpp files and a header file. Now, i believe i've done it correctly, but the only thing that's throwing up errors is the use of friend for overloading … | |
Hi buddys at school we are now working with functions and derivates (or how you spell it) and im getting kind of tired to write the same thing the hole time in the calculator and on the paper plus the fact that i need something to program. So i was … | |
I've a problem when trying to convert my sql-query to a SqlCommand. The query: [CODE] SELECT L1.[App_Name], DATEDIFF(ss,MAX(L1.MESG_DATESTAMP),GETDATE()) as Seconds FROM sbyn_csf.CSF_CME_LOG AS L1 JOIN sbyn_csf.CSF_LOGGER_LOG AS L2 ON L2.MESG_ID = L1.MESG_ID WHERE logger_code = 101 AND [App_name] in ('002','010','022','025','036','037','040') GROUP BY l1.[APP_NAME], L2.LOGGER_CODE ORDER BY 1, 2 [/CODE] The … | |
hi i want to display the selected values from a "select" object into a new window with jsp but no matter what i do, it always writes "null" can you help me? this is mi code [CODE] <form id="form1" name="form1" method="post" onsubmit="revisar()" action="echo.jsp"> <table width="699" border="0" cellspacing="10" cellpadding="4"> <tr> <th … | |
Hi, I have two forms in my application. I created an instance of one in the other e.g. FileBrowse browse = new FileBrowse(); Then, I call browse.show() and the form appears. In the class FileBrowse, I have a few buttons etc. One such button opens a file dialog to the … | |
![]() | This is quite literally driving me insane. I'm new to C++ so bear with me on this one. Basically, I've got two files. One header file (Package.h) and the C++ file (Package.cpp) I've got a class called [B]Package[/B] and function prototype in the header file as follows [CODE] private: string … |
Hello, I'd like to get started with PostScript. I'm completely new to it and would be very grateful to you for any hints. And my first question is (please don't ridicule me): how do I make a PostScript file? I mean, a plain text file with PostScript code, produced by … | |
Hi Guys, im fairly knew to this world of programming, but it interests me greatly. In order to better my skills, ive decided to tackle a few personal projects in my spare time . . . . Ive been advised to give the Hilbert Curve a bash. However getting started … | |
I have several columns in each row stored with a user's information. I have put a checkbox at the end of each row and a Delete button at the at the bottom of the table. How can I check a box and simply delete the whole row from the database? … | |
I need some help with what I think is probably javascript. I would the user of my website to click a link on a page and for some information to display on the page without a reload of the page. This is what I would like to happen in my … | |
I want to send fax with C# but i don't know how i can do it. can anyone help me?? Thanks | |
hi all, i am having a login page which includes username, password,submit,clear. ater cuming to this page i am geting focus on textbox but wen i press clear button it is not focusing again on the username text box. so please help me. Thank u. ![]() | |
Hi all, I have a file called Client.cpp, which has main() contained in it. my problem is at the start of the file: [CODE]#include <iostream> using namespace std; #include "Student.h" enum User { NO_USER = 0, STUDENT = 1, ADMIN = 2}; [/CODE] I get errors on the line with … | |
Hello, everyone..... its not an issue about how to connect to access using odbc since i did it already: [CODE] Imports System.Data.Odbc ...... Dim ODBC_CON As New OdbcConnection("dsn=DBMS Project") Dim ODBC_READ As OdbcDataReader Dim ODBC_COMM As OdbcCommand [/CODE] [CODE]although my problem is the code on how to select/insert/modify or update … | |
i write this code to know if the combobox= any item in dataset.table("exemple") but is false what can i doing can you help me code: For i As Integer = 0 To ds.Tables("ligne").Rows.Count - 1 If ComboBox6.SelectedItem = ds.Tables("ligne").Rows(i) ..................... | |
hi, i have a form in which there are two buttons.. i ve written code for the button 1 and button 2 in the click event. now i want to click button 2 programmtically. that is when button1 is clicked it should execute the set of coding also it should … | |
Hi all, I have created a Windows Forms application in Visual Studio.Net 2008. I have some group boxes on the form in order to section various controls on the page. At the bottom of my form is a group box containing a texbox used for display exception messages. I would … | |
guys I need to populate all the values of a specific column in each rows of my table from my database. The specific column that i need is the "position",I'm using sqldatareader here's my code. I know that I need to use looping statements and the items.add properties of the … | |
![]() | Hey guys, After fixing one of my earlier problems I ran into another one. Basically I'm trying to make an inherited class and add one more parameter to its constructor, but I can't seem to do it properly Here is the masterclass definition [B]Package[/B] [CODE]#ifndef PACKAGE_H #define PACKAGE_H #include <string> … ![]() |
So I finaly managed to compile HelloWorld, but only by typing out the entire C:\progra~1\java\jdk16.0.2\javac HelloWorld.java, which left me with some serious blisters on my fingers... Is there some way I could be able to just say Javac HelloWorld.java? Thanks if you reply, I'm kinda new to this stuff | |
![]() | |
Hey, I have a combo box and want to populate it with the selected value upon page reload. For a normal text field I would usually do something like this: [CODE] <input type="text" name="title" value="<?php echo $_SESSION['sellform']['title']; ?>"> [/CODE] How could I do the same for a drop-down box? E.g: … | |
hi guys i wanna ideas for my project knowing that the team consists of two members the doctor rejects anything that is easy and not new the project time is a month or 3 weeks really ur help will be appreciated Thanks in advance | |
I do not often visit the Java forum, because I know nothing worth posting in the Java forum :) But when I [I]do[/I] visit, I see a lot of posts with code without code-tags. This makes the code nearly unreadable and reduces the overall quality of Daniweb. So I have … | |
I am getting unpredictable behaviour from malloc(). Here is the code fragment: [code=c] float **t; t=(float **)malloc(sizeof(float *)*A); perror("\nError status 1:"); for(i=0;i<600;i++) { t[i]=malloc(sizeof(float)*B); } perror("\nError Status 2:"); [/code] The objective here is to have a dynamic 2D float type array. For testing purposes though, I have hard coded the … | |
i need exam for dataset clone . if you find the result. reply me.. |
The End.