199,114 Archived Topics
Remove Filter ![]() | |
Hi guys i'm writing a vb program which got using the sql statement i know the sql statement is using method insert but my one is much different. The code concept is like this If cmbActive= true then sql=insert into staff_badgeTrackingNew = txtEmpID, txtEmpName, TxtID Else sql= insert into staff … | |
I want to host a jsp website , what are the server requirements to launch | |
Hi there! I was just wondering how could I modify the strstr function in order to calculate the distance between the two strings. Supposing that we have the following code: [code=c]char * str_find (buf, sub) register char *buf; register char *sub; { register char *bp; register char *sp; if (!*sub) … | |
Hi all, The following code should select all data, grab the highest value row (i.e. the newest), and display that exact rows number, contained text and time/date of creation. It is correctly grabbing the row number, but still only grabbing the contents of the first row. I am not getting … | |
Good Day all I have an SP that is defined like this [CODE]ALTER PROCEDURE [dbo].[sp_Constraints_Update] @xml ntext, @TTBLType varchar(5) AS set nocount on DECLARE @xmldoc int DECLARE @sql varchar(8000) -- In one long sql string do all of the following --Create an internal representation of the XML document. EXEC sp_xml_preparedocument … | |
Hi everyone, I'm new to C and have been given a C program to complete but found it includes many versions of the titled error for each class file. Can anyone please explain why it occurs and how I could get rid of them? Thanks, Cleo [code] q2.c:5: error: expected … | |
Is there a way to place widgets on pixel coordinates rather than row, column coordinates in tkinter? For example, if I'm using grid, if I have a 20x10 Text box at row 0, column 0 and want to place three buttons to the right of the textbox, one button over … | |
Hi, I'm trying to print to a file some data of objects and I'm trying to do this in pseudo xml format so my file would look like let's say: <node> data </node> I'm using write method: [code = C++] fstream fout("my_file.txt"); fout.write("<name>", sizeof(7)); fout.write("\n", sizeof(2)); fout.write(this->name(), sizeof(this->name()).length()); fout.write("\n", sizeof(2)); … | |
Playing about with python I thought about trying to write a program that gets a simple text file eg. hello %s, and using an adress book, loops through it, changing the %s every time into the next name in the adress book, using a queue. But it just doesn't want … | |
We have this program we are supposed to write that takes input from a file with a random word puzzle throws it into an array and prompts the user for a word input or to quit. So far I can get the program to find elements in forward/reverse, up/down, by … | |
hello! do you know how to create a games using vb?? or can you give me some codes of games using vb...? | |
Hi All, The title of this thread is the error i am recieving when running the script below. Im hoping to get it to show all entried from the selected row. [code] <?php $dbh=mysql_connect ("------", "--------", "-----------") or die ('I cannot connect to the database because: ' . mysql_error()); mysql_select_db … | |
Hi guys i dont know why i can get the datas from the sql 7.0 Can help me check this code>>> [CODE] If txtFBadgeID = "" Then Exit Sub Else sql = "select from staff_badgeTrackingNew INNER JOIN staff_badgeTracking" End If Exit Sub Set rsTrack = New ADODB.Recordset With rsTrack .ActiveConnection … | |
Hello. I am working on a Kerberos 5 preauth password recovery tool. Part of an algorithm optimization involves checking the decrypted timestamp to make sure that it equals the year that the packet was recovered before continuing to compute a checksum. If the timestamp does not equal the year the … | |
Hi, I have written two classes. One is a pixel grabbing class the other allows the user to open and display an image. What I now want to be able to do is use the image which the use opened in the RunProgram class and grab pixels from it using … | |
using dialog boxes : input month in "99" form date in "99" form year = 2009 then display the date in 'MMM 99, 2009' form otherwise, display 'invalid date' Valid date 01-12 = Values for month 01-28 = for month - 2 01-30 = for months - 4,6,9,11 01-31 = … ![]() | |
Hello, everyone! I'm fairly new to this forum, but I spent some time mining it for information. Unfortunaltely, as far as I have searched it I was unable to find an answer to my question. Googling hasn't satisfactorily answered my question also. Here's the goal: [LIST] [*]- user fills in … | |
Hi, i have written a programm in VC++ 6.0, in this i use a dll, which is created with VB 6.0. on my pc it runs well, but on other computers the class in the vb-dll isnt called. i have already installed the VB 6.0 Runtime Files on the test … | |
Hey all, ive been searching for a long time and i want to know how am i suppose to display an image that is stored in the database(SQL) in swings in java. i inserted the data in the database as a image datatype(i hope thats right),now the thing is i … | |
hy guyz... since i'm new to this forum i just want to say hello to you all... anyway, back to business. my teacher in my CS class gave me and my group an activity to work on. and since i'm the leader of the group, i was tasked to evaluate … | |
Hi, I'm implementing a nested class and trying to implement some related functions in it. But it seems that no way whatsoever it decides to work. Could you please help me as I'm getting really exhausted. Thanks a lot. [code] #ifndef STOCKLIST_H #define STOCKLIST_H #include <string> using namespace std; typedef … | |
Simple1.c ------------------------------------ #include<stdio.h> int f1(int x, int y) { printf("%d %d", x, y); return x+y; } ----------------------------------- Simple2.c ------------------------------------ #include<stdio.h> extern int f1(int x,int y); void main() { printf(" %d\n", f1(5,6)); } ----------------------------------- I was trying complie Simple1.c file then Simple2.c on Turbo C/C++ Compiler (Windows Xp). It showing following … | |
Hello! This is my first post. Well,am fairly new to linux and its applications Presently,I've been assigned a project on Linux(Fedora 6) The steps of the project are as follows: Step 1: Prepare a hardware lock using microcontroller 8051. The PC's Parallel Port has to read the password, compare it … | |
I have two arrays, Forms and formsShared. [code] <?php foreach ($Forms as $r): ?> $("#shareform<?=$r['Form']['id'];?>").hide(); $(".Share<?=$r['Form']['id'];?>").click(function(){ $("#shareform<?=$r['Form']['id'];?>").toggle("show"); }); <?php endforeach; ?> [/code] Currently, I have this hide and toggle function for each Form in the Forms array. I want these functions to be enabled for the forms in the formsShared … | |
I've been looking for the thread re swapping values of two string pointers but I couldn't findit and I don't know if it has already been solved. Assuming it's still on the lines waiting, I think I've got the simple code to solve it: [code=c]#include <windows.h> void swap(LPCTSTR*,LPCTSTR*); int WINAPI … | |
Hi, I have two issues that I am hoping to get assistance with. To begin with, the code snippee below is designed to read a line from a file, then place a subset of the line in another array. This works correctly when I place a number in arg 2 … | |
Hi, I have recently started trying to teach myself python, I've watched a few video tutorials and am reading "Learning Python". I have been making an Mp3 player and have hit a point that I cant work my way past so was hoping some kind person here could help me … | |
Hello I have a problem where when if I call my 'Display' function from within my 'Menu' function it(the 'Display' function) does not work. But if I call my 'Display' function from within my 'Read'function it does work. [B]When I say it doesn't work[/B], I mean the information extracted from … | |
Hi, I want to connect with MySQL database form c#. Please suggest me best way to do this. Thanks. | |
When you use getline(input,inputline) and you delete part of the inputline does it also ignore from the input file? | |
[code] //This program asks the user for the number of tests, creates an array based on that response //the user enters his scores and then the program lists the scores in ascending order, finds the average //and then finds the average of the scores with the lowest one dropped #include … | |
Hi All Can some body tell me how to compare two strings that has spaces, I have inputed one string using scanf() and the other using gets(), both of the strings are array of characters. | |
Hi Developers....... Can anybody help me......I have an array and i want to enrypt that array and save that encrypted data into a file .......how can i do this...... i don't know ....how to do Encrytion in C# Every Comment will be welcome.... Thanks...... | |
I've been trying to build a java program to display the date in a MM/DD/YYYY format with constructors to link the return data, this is the initial sequence and was wondering about my get and set statement; and their format. // Date class with a constructor to // to initialize … | |
I need a way to select the values from another table and then insert them In another table. And using the id which is posted from . in this file i need to select data from 2 differnt table and then insert it into the table MainStrInv . Please check … | |
How can I check if CPoint (or any other) variable has been initialized? I'm getting error for this: if(m_pointVar != NULL) saying binary '!=' : no operator defined which takes a left-hand operand of type 'class CPoint' | |
i am [COLOR="Green"]beginner [/COLOR]for asp pleas suggest to me some sites to develop my asp knowledge | |
How do i open a .tif file in an ASP page. I am using VS-2005. Is there any specific control available for opening .tif files. Coz i have tried using Image and ImageMap controls without any joy. | |
how to create set up file in vb.net , after setup has made ,if there are any modifications how to made another set up file | |
I am adding rows to a runtime table as following" dtRecords.Rows.Add("RecordingDate", typeof(DateTime)); the date is stored as long datetime but I want to view the date date only in thos runtime table: the date appears as following: 0206/2008 12:00:00 am but I want it to appear as following:0206/2008 i.e,the date … | |
I always get an error with Line 39. It always have NullPointerException error. Could you check what is the error? Here's my code Imports System.Runtime.InteropServices Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim filen As String filen = TextBox1.Text test(filen) End Sub … | |
Hi, Is it at all possible to detect if a user has inputed text into a text box for example. [code] if (textbox1.Text == ("detect if text is in textbox") { // do something } [/code] | |
I would like to know how to display XML in a browser. Also if possible to maniuplate the XML elements. Havent touched based with XML in awhile and still abit rusty. Thanks, Regards X PS: Below is the listed code and below is the wished output. Code : [code] <?xml … | |
help! i have a gridview with checkbox item template. On confirm button click, it will insert the selected rows into the database. But, when i close and run the application again, i want those rows which was previously inserted to the database to remain checked. Means that on page load, … | |
Hi There, I have a grdiview and a button on my page that export the content to an Excel file,What I would like to add is to have companies logo,Title,Today's Date and Time as well. Any Idea? Thanks in advance | |
Hey Guys, I've been trying to do this for the past 3 hours and haven't had a little bit of success. here is the problem: I have a grid view with 2 columns. Under the first column i have added a button named "Add" and under the second column i … | |
hi.. i developed a web application using asp.net2005 in windows xp professional,database is sql server2000.. i have to run the application in another system.. so i used deployment to run the application in another windows system.. after deployment i got a setup file with "msi" extension. i installed this "msi" … | |
hi.. i have developed a web application using asp.net2005. my purpose is to run this application in another windows system with the help of url.. we will install only sql server2000 and dot net framework,and finally we will install the deployment "msi" file.. so how can i do this... | |
I want to add my header file as #include <vcinpl.h> instead of #include "vcinpl.h" how can I manage this? Thanks. | |
Hello, I have a tracking program I built for one of my websites so I know which keywords are getting visitors. Anyway, the tracking program works, but it fills my error logs with this one error: PHP Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in... Anyway, … |
The End.