199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for gingank

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 …

Member Avatar for vb5prgrmr
0
115
Member Avatar for shankmuchlove
Member Avatar for peter_budo
0
109
Member Avatar for bubblellicious

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

Member Avatar for Dream2code
0
101
Member Avatar for whiteyoh

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 …

Member Avatar for whiteyoh
0
90
Member Avatar for vuyiswamb

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 …

Member Avatar for vuyiswamb
0
582
Member Avatar for StephNicolaou

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 …

Member Avatar for Leo71
0
423
Member Avatar for foosion

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 …

Member Avatar for Aiban
0
151
Member Avatar for atch

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

Member Avatar for atch
0
84
Member Avatar for Your_mum

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 …

Member Avatar for Your_mum
0
105
Member Avatar for rizzo000

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 …

Member Avatar for rizzo000
0
243
Member Avatar for kathy_51289

hello! do you know how to create a games using vb?? or can you give me some codes of games using vb...?

Member Avatar for vb5prgrmr
0
116
Member Avatar for whiteyoh

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 …

Member Avatar for Menster
0
209
Member Avatar for gingank

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 …

Member Avatar for vb5prgrmr
0
170
Member Avatar for dzhugashvili

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 …

Member Avatar for dzhugashvili
0
557
Member Avatar for jooa

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 …

Member Avatar for jooa
0
120
Member Avatar for keziaebitner

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

Member Avatar for campbellm
0
95
Member Avatar for ivannz

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 …

Member Avatar for almostbob
0
2K
Member Avatar for DavidJ12345

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 …

Member Avatar for DavidJ12345
0
106
Member Avatar for anu6189

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 …

Member Avatar for anu6189
0
238
Member Avatar for steel dr@gon

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 …

Member Avatar for Dream2code
0
109
Member Avatar for group256

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 …

Member Avatar for kvprajapati
0
101
Member Avatar for tatyakadam

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 …

Member Avatar for Dream2code
0
98
Member Avatar for Princy Rohit

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 …

Member Avatar for Princy Rohit
0
114
Member Avatar for Angeline5

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 …

Member Avatar for Menster
0
303
Member Avatar for Kurt Kubing

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 …

Member Avatar for Dream2code
0
128
Member Avatar for cheqmate

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 …

Member Avatar for Dream2code
0
95
Member Avatar for Icklebitt

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 …

Member Avatar for Icklebitt
0
2K
Member Avatar for gretty

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 …

Member Avatar for m22
0
104
Member Avatar for DangerDev

Hi, I want to connect with MySQL database form c#. Please suggest me best way to do this. Thanks.

Member Avatar for Ramesh S
0
127
Member Avatar for lotrsimp12345

When you use getline(input,inputline) and you delete part of the inputline does it also ignore from the input file?

Member Avatar for m22
0
85
Member Avatar for derekc4

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

Member Avatar for m22
0
112
Member Avatar for waqarafridi

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.

Member Avatar for Dream2code
0
2K
Member Avatar for btech_Saurabh

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

Member Avatar for aungzy24
0
141
Member Avatar for NewToThis

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 …

Member Avatar for JamesCherrill
0
77
Member Avatar for ayesha789

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 …

Member Avatar for ayesha789
0
96
Member Avatar for duka96

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'

Member Avatar for duka96
0
110
Member Avatar for smilsuren

i am [COLOR="Green"]beginner [/COLOR]for asp pleas suggest to me some sites to develop my asp knowledge

Member Avatar for smilsuren
0
124
Member Avatar for ch_nilanjan

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.

Member Avatar for Ramesh S
0
221
Member Avatar for premsagar1000

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

Member Avatar for manu2009
0
105
Member Avatar for brightline

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 …

Member Avatar for amar_interface
0
101
Member Avatar for markperfinan

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 …

Member Avatar for markperfinan
0
384
Member Avatar for wingers1290

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]

Member Avatar for wingers1290
0
265
Member Avatar for OmniX

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 …

Member Avatar for OmniX
0
2K
Member Avatar for ishamputra

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

Member Avatar for lighthead
0
105
Member Avatar for arny1

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

Member Avatar for Gwolf
0
79
Member Avatar for anuj_sharma

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 …

Member Avatar for anuj_sharma
0
79
Member Avatar for mohankumar554

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

Member Avatar for Ramesh S
0
235
Member Avatar for mohankumar554

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

Member Avatar for kameswari
0
87
Member Avatar for metdos

I want to add my header file as #include <vcinpl.h> instead of #include "vcinpl.h" how can I manage this? Thanks.

Member Avatar for metdos
0
177
Member Avatar for skubasteve

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

Member Avatar for djjjozsi
0
118

The End.