199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for goumang

im a beginner in visual basic 6.0 and ma teacher give me a project as below: evaluation of entrance examination system....so i hv fields std name, roll no and mark. according to the roll no i type and with criteria given(some cut off mark) the particular student information must pop …

Member Avatar for jhai_salvador
0
113
Member Avatar for laghaterohan

Hello, I store Date in my database ( in sqlserver 2008 my datatype for this field is Date) however when i display the date in front end (ASP.NET C#) i get Date along with Time 12:00 AM as a default time. I dont want Time to be displayed in my …

Member Avatar for dnanetwork
0
147
Member Avatar for opera

Can I apply JSP and J2ee technology for Social Network developing I am novic in web programming and My thesis title is social networking ! Please reply and advice me how should I do? I have little experiences in J2EE and MySQl looking forward to your reply!! Opera, Mandalay Technological …

Member Avatar for s_sridhar
0
100
Member Avatar for lwschjang

Anybody know of any good tutorials for customizing the appearance of Java GUI's and applets. Specifically, I'd like to design the layout of the GUI or applet in Photoshop. Thank you for your time and help.

Member Avatar for DeadSoul
0
152
Member Avatar for blackmagic01021

hello, I have developed a file compression tool using zlib compression library. As the zlib use the deflate and inflate process, does the size of the file effect compression ratio? If it has effect, what is the reason? Thank you.

Member Avatar for jwenting
0
175
Member Avatar for yuvaraj.ragupat

Hi All, Can anybody explain here what is the different between normal function call and function to pointer call? How function to pointer is working internally? Why should we use function to pointer in call back? why not we call function call directly? Please pardon me ,if it is very …

Member Avatar for griswolf
0
999
Member Avatar for iRemember

I'm trying to create a blackjack program for school. No matter what I've been doing, this keeps coming with errors. My teacher says theres some logic errors, and i don't understand it. [code] import java.util.Scanner; import java.util.Random; public class BlackJack { public static void YesNo(){ Scanner input = new Scanner(System.in); …

Member Avatar for jwenting
0
99
Member Avatar for aliiya

hello hey i want to implement a program in c or c# for preemptive processor sharing tasks. can anyone plz help me out???

Member Avatar for s_sridhar
0
72
Member Avatar for stephbebalinda

Estoy haciendo un programa en java donde el usuario puede jugar torres de hanoi o resolverlo solo, pero cuando hago q se resuelve solo me tira d una vz la solucion enontonces e intentado cn timers y sleeps para q pare redibuje y asi se mire paso a paso pero …

Member Avatar for stephbebalinda
0
140
Member Avatar for Dr-Delta

Hi I have a problem with this [CODE] Public Class SendPings Shared Sub New() AddHandler Post.Saved, AddressOf Post_Saved AddHandler Page.Saved, AddressOf Post_Saved End Sub Private Shared Sub Post_Saved(ByVal sender As Object, ByVal e As SavedEventArgs) If e.Action = SaveAction.None OrElse e.Action = SaveAction.Delete Then Exit Sub End If Dim item …

Member Avatar for farooqaaa
0
101
Member Avatar for balagod

Hai, I am using MySQL table to store session values. i am getting sid as 'deleted' for some sessions in live server . but i am not able to simulate it in development server . what scenario it will occur. sample data. +---------+-------+-------------+ | sid | value | expire_time | …

Member Avatar for balagod
0
105
Member Avatar for Dows

Dear all, I'm creating a set of functions to handle stl vectors. Some are useful for achieving my goals. I'm coding some other just for fun. But after some coding I see I cannot compile them propperly. One example would be a vector print function which prints all the elements …

Member Avatar for mrnutty
0
152
Member Avatar for jen5376

Im trying to make a program that generates all the verses of the song "The Twelve Days of Christmas" using recursion (its homework). Ive read what the book says several times, researched online, etc etc. Im not looking for anyone to do the homework for me...I just need some guidance. …

Member Avatar for jen5376
0
150
Member Avatar for leesho

[CODE]#include<iostream.h> //is used so it will display output to the user and that input can be read from the keyboard #include<iomanip.h> //is used so that the user can format input using namespace std; int main() { int qty1; cout << "Please enter the quantity of Televisions: "<<endl; cin >> qty1; …

Member Avatar for leesho
0
139
Member Avatar for Syphilis

What's Up? OK, So I have a working python script that sends and receives text to and from the client and server python files, However if the Server and Client are on different computers, And therefore we need to connect over the internet, How would we do that? New to …

Member Avatar for SoulMazer
0
100
Member Avatar for shena

Hi, I created a macro in excel by importing XML file and then make amendments and then run to export as textfile. I have a column with specific characters like "A" or "C" as last characters of a string. I want to export that column strings after removing the last …

Member Avatar for shena
0
335
Member Avatar for igorg95

i'm making this spanish conjugator for class. and i cant seem to get how to make multiple letter variables. can anyone tell my what i'm doing wrong? it's kinda urgent. here is the code so far. #include <iostream> using namespace std; int main () { char verb; cout << "Enter …

Member Avatar for corby
0
251
Member Avatar for laserlars

Hi! Long time since i done any bash scripting. Is it possible to pass a arguments in functions? Something like: [CODE]recivefunc(SOMETHING) { echo $SOMETHING } passingfunc() { SOMETHING=test recivefunc($SOMETHING) } [/CODE]

Member Avatar for nezachem
0
84
Member Avatar for keshav magge

I am trying to catalog mysql database items in a plone site using python. The function that catalogs the SQL query results takes 2 arguments. First is the item returned by the query (for example Select * from books would return many book objects) and second argument is the string …

Member Avatar for vegaseat
0
1K
Member Avatar for gcardonav

Hi guys: I wrote this simple code to read a series of numbers from a list and then do some simple aremathic with it. I am not certain where the error could be, I read the code upside down and still can understand where the error lies. Any help would …

Member Avatar for gcardonav
0
139
Member Avatar for darkseid

[code]Public Sub PasteFile() For Each Me.lItem In leftListView.Items If lItem.Selected = True Then If File.Exists(lItem.Text) Then lItem.ToString() fSource = leftCBselect.Text & lItem.Text Me.fTarget = rightCBselect.Text & lItem.Text FileCopy(fSource, Me.fTarget) rightListView.Items.Add(lItem.Clone) 'MsgBox("You have copied " & lItem.Text & " succesfully!", MsgBoxStyle.Information, "Information") ElseIf Directory.Exists(lItem.Text) Then fSource = leftCBselect.Text & lItem.Text Me.fTarget …

Member Avatar for farooqaaa
0
222
Member Avatar for igorg95

is there a way for me, using a mac to compile a c++ program to work on windows? or could some one with a windows computer compile this code and send it to me somehow?? #include <iostream> #include <string> using namespace std; int main () { char* verb = new …

Member Avatar for igorg95
0
134
Member Avatar for red999

This is a silly question. I have been working with pointers for almost two quarters and this question never occurred to me until today when I wrote up some code and my IDE screamed at me about it. Oddly enough, 99% of the time I get it right so this …

Member Avatar for Ariste
0
100
Member Avatar for Ajantis

Hey folks :) I am studying for my final exam, and I have some issues with this Big Oh notation. Really - I've been reading about it like crazy, but I just can't to understand it all properly. What I know is that it is some kind of measurement of …

Member Avatar for DarkT
0
352
Member Avatar for sblass92

Goal is to create a simple class that can be used for GUI buttons. My question is how can I define a function variable, and then when constructing a 'button' define which function should be called when clicked. This obviously isn't right, but just to get the idea: [CODE] class …

Member Avatar for Aranarth
0
160
Member Avatar for hogat

HI i want find record in file and null it . i find it and set file pointer with --fsetpos--befor i use --fwrite-- . all thing id correct but record not change and fwrite write record at end of file i use ftell() and fseek() but i get again this …

Member Avatar for hogat
0
79
Member Avatar for gregoirelegros

Hi I would like to capture data from my friends. I'm going to use a page on my website with a form. I'll send my friends a link to the page such as [url]http://www.mysite.com/surveypage.htm?friend=john[/url]. When the friend hits my page using this url I would like firstly to show a …

Member Avatar for microspective
0
180
Member Avatar for Ral78

I'm working on a program that will get a list of words from the user and rearrange it in alphabetical order. So far it works but I think it may have some memory issues because I was testing an alternative way of asking the user how many arrays will be …

Member Avatar for Ral78
0
150
Member Avatar for Dr-Delta

Hi Please tell vb.net equivalent of following method: [B]C# Syntax[/B] [CODE] public class RecentPosts : Control { static RecentPosts() { BuildPostList(); Post.Saved += new EventHandler<SavedEventArgs>(Post_Saved); Post.CommentAdded += delegate { BuildPostList(); }; Post.CommentRemoved += delegate { BuildPostList(); }; Post.Rated += delegate { BuildPostList(); }; BlogSettings.Changed += delegate { BuildPostList(); }; } …

Member Avatar for sknake
0
254
Member Avatar for judithSampathwa

hi there, does anybody know a good encryption method that can be used the C#.NET to encrypt and decrypt the password in C#.NET desktop application? thanxxxxxx

Member Avatar for sknake
0
157
Member Avatar for sanarojesu

Hi, i'm using .Net framework 1.0 & MS Access 2003 database. Using ODBC connection, I want to list all tables in ms access database in a listbox....Please help me.... very urgent...

Member Avatar for sknake
0
139
Member Avatar for icarium

Hello, I have a website (in development) with sql express 2005 db, and I want to upgrade to express R2 2008 version (mainly because of 10gb vs 4gb max db size), how do I do that?, I have win xp os do I need to upgrade to win7? Also I …

Member Avatar for sknake
0
457
Member Avatar for C#Coder

I'm trying to write a simple file output program for my class. The error I recieve when I try to compile in VS .net 2003 is the following. [I]fatal error C1083: Cannot open include file: 'fstream.h': No such file or directory[/I] The code to my program is extremely straight forward …

Member Avatar for sgtjoebear
0
2K
Member Avatar for SBA-CDeCinko

How do I trim my values in a gridview edit form before they are updated or inserted into the database? I want to be sure that users do not add extra spaces onto the end of the text or at the begining.

Member Avatar for SBA-CDeCinko
0
171
Member Avatar for surajrai

Hello , I need an approach for my new assignment.Thought a lot but could'nt find an approach so posting it in this site hoping that someone might have come accross this situation and can suggest me something :-) I have a console application that downloads images from IP cameras (say …

Member Avatar for sknake
0
397
Member Avatar for wade2462

Okay, this just makes me feel stupid. I'm pretty good at programming for the console so I figured I would try a Win32 program. Apparently I'm stupid because I cannot even compile hello world. Heres the code I copy and pasted. [CODE] #include <windows.h> int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, …

Member Avatar for wade2462
0
342
Member Avatar for surajrai

Hi, I have to do multithreading. In my case each thread should run in a specified timer interval given in a database. I tried a sample by storing the data in an xml file and reading them with linq to xml. But it seems all the thread takes the last …

Member Avatar for sknake
0
339
Member Avatar for stbtwitter

Hey Everyone, I know how to right a php script to send out an email. But I want to write a script that will send out an email at a certain time, The crux is, I need the email to be sent out even if nobody is accessing the page …

Member Avatar for stbtwitter
0
147
Member Avatar for sodevrom

Hello, I have a project for school and I need it finished a in a few days. What the project does is reads data from a txt file. Each row of the txt file contains a timestamp hh:mm:ss,mmm (example: 00:05:33,141). Whenever the system time is equal to one of the …

Member Avatar for sodevrom
0
508
Member Avatar for Kanoisa

Heya Thanks for taking the time to look at this, i would like some people to review my curent project which is written in c++ using visual studio 2008. Although in VS08 it does not use anything that makes it dependant on it (i dont think) i just wanted to …

Member Avatar for Kanoisa
0
170
Member Avatar for JOSheaIV

Okay so I have a datagrid view I am trying to build (here is the code so far) [CODE] public partial class employeeAlterForm4 : Form { static readInFileDel2 readInFileCall = new readInFileDel2(readInFileClass2.readInFile2); static Employee [] employeeTempArray; ToolTip tooltip1 = new ToolTip(); Panel panel1 = new Panel(); //-------------------------------------------------------------------------------------- public employeeAlterForm4() { …

Member Avatar for JOSheaIV
0
862
Member Avatar for Jinspire

Here is the code I used: [code=c#] using system; using system.Management; using system.Management.Instrumentation; using system.Security.AccessControl; namespace Permissions { public static int Main(string[] args) { string strFolderPath = "c:\\Program Files\\Whaddeva\\"; string strUserName = "user@domain"; AddDirectorySecurity(strFolderPath, strUserName, FileSystemRights.FullControl, AccessControlType.Allow); } public static void AddDirectorySecurity(string Filename, string Account, FileSystemRights Rights, AccessControlType ControlType) { …

Member Avatar for sknake
0
142
Member Avatar for TommyRay

I am attempting to execute some code when a second form is closed, and have been at this for some time with no luck as of yet except to know this is my obsticle after some testing. I had thought it may be in the reference of the second form …

Member Avatar for TommyRay
0
262
Member Avatar for MATLAB2007

I am trying to capture keystrokes, and have been able to for all letters, and numbers, but i cant capture keystrokes such as ' ;, @, -, _, +, =' e.t.c. I have tried looking up their decimal code from the ASCII table, but that does not work. In the …

Member Avatar for avarionist
0
104
Member Avatar for BastienP

Dear Daniweb Community, Like I've previously explained on an other topic, I'm trying to delete lines of a csv file where the value of a column is equal to a fixed value. In other words I have to check if a specific column value for a line is equal to …

Member Avatar for d5e5
0
946
Member Avatar for Exaktor

When I edit the information from a database table from my program I have made, I get this error: [COLOR="Red"]Cannot update identity column 'ID'.[/COLOR] How do I [COLOR="Red"]SET IDENTITY_INSERT[/COLOR] To ON?

Member Avatar for sknake
0
107
Member Avatar for UzuNarU

Hi I am trying to write a script that puts a Horizontal Line between MySQL query results but doesn't show up after the last row. eg: First Line ---------------- Second Line ---------------- Third Line I'm using PHP, MySQL and JavaScript AJAX. Don't know if that's relevant for this instance or …

Member Avatar for UzuNarU
0
328
Member Avatar for Graphix

Hey everybody, I am currently having difficulty using GetOpenFileName() and GetSaveFileName(). The keeps returning the error " undefined reference to `_GetOpenFileNameA@4' ". I can't seem to find a fault in my code, so is it the compiler or is it the code? I am using CodeBlocks. [CODE]void DoFileOpen(HWND hwnd) { …

Member Avatar for Graphix
0
2K
Member Avatar for jhonnatas

hello again!well...I'm developing a Content Management System and I have a form where the user write a text then i'll store this text in my database and i'll write it on a page using the "echo",I store the text with the html tags like: <p> blablabla</p>.but the user doesn't know …

Member Avatar for jhonnatas
0
130
Member Avatar for levraheit

the program asks the user to input the number of users who wants to play. i couldn't get the result of players.length individually. each players result should be number of correct answers from the number of questions asked. please help!. [CODE]import java.text.DecimalFormat; import java.util.Random; import javax.swing.*; public class coll { …

Member Avatar for levraheit
0
105

The End.