199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for slatk3y

Hello, I have a problem when I try to double the length of the array if it is already full. For example, array arr has length 5, and I want to insert 7 elements in it. This is what should I get: arr = [1, 2, 3, 4, 5, 6, …

Member Avatar for slatk3y
0
106
Member Avatar for RobotFX

I'm looking for a popunder script that will work for both IE8 and FF3 (as they dominate now). Of course, any other browser is welcome :) Note: I've also tested the flash but I've excluded it from the start, since the flash player is enabled by default to block them. …

Member Avatar for clivexxx
0
153
Member Avatar for sdmahapatra

I have a function under Base class and at the definition tine of this base class function I need to call another function which is define under the Derived class. how to do this?? My class declaration is below [code]class Base{ public: void showdata(double); }; class Derived : public Base{ …

Member Avatar for Laiq Ahmed
0
226
Member Avatar for 23.12.2012

<< split from [url]http://www.daniweb.com/forums/thread67837.html[/url] >> I need to print post #15. How do I do that? I can't seem to find the button. I need it just as it was written here. Also, do I need to know C++ classes in order to be able to implement the in-game classes? …

Member Avatar for 23.12.2012
0
104
Member Avatar for Derice

I created a TableCell with the TableCell.Text = "text from database" then i add TableCell control into an empty table during page load. I am trying to retrieve the text in the TableCell after a postback by user how should i do that? my code: [CODE] TableRow tr = new …

Member Avatar for Derice
0
87
Member Avatar for renu_kj

Need new functionality to force a user to change their password in a certain amount of time. The default timing for this rule will be 3months - when this rule is enforced display the date that password changes will take place. Then you must create a new table to track …

Member Avatar for dbatesx
0
121
Member Avatar for praveen_dusari

hi all, marquee is working fine in my localhost firefox but when i made it live its not working in ff any ideas why? thanks in advance

Member Avatar for spthorn
0
125
Member Avatar for kalodakilla

Hello, i'm a newbie to Linus so there are many commands that keep me questioning. My task is to write a program that will execute a list of commands from a text file. Everything go smooth except for the command execve, its prototype is something like [iCODE]int execve ( char …

Member Avatar for kalodakilla
0
327
Member Avatar for louieansonng

Hi, I'm a student in Computer Science and we have a machine project due on August 20. The problem is, the professor only taught us the basics of C programming, the functions, switch statements and whatnot, and now they're giving us a project about making a game. The game is …

Member Avatar for Salem
0
136
Member Avatar for walter clark

I've copied an entire project/solution to another folder so I could create a different version. I made some changes in the source code that is unrelated to the Windows user I/O stuff. I've done that before, but this time, it found errors in a... form1.h instead of Form1.h Where did …

Member Avatar for walter clark
0
160
Member Avatar for morecrab

Hi all, I had a problem with this html. Its name is index.asp. [CODE] <form action="index.asp" method="post"> <input type="submit" name="previous" value="prev"> <input type="submit" name="next" value="next"> </form> [/CODE] The problems is, [INDENT]I don't know whether i push the prev button or the next button.[/INDENT] How i will know that ? --THanKs …

Member Avatar for alexhernandez
0
78
Member Avatar for atrophiedsoul

I could use some assistance in trying to streamline this jumble of code into maybe a function, or at least slimming this down some. with this code I am counting the amount of images in a folder (4 folders actually) and then getting that result, and supposedly adding one to …

Member Avatar for atrophiedsoul
0
103
Member Avatar for dhavalcoholic

Hello Friends, I know how to connect to MS Access Database using DAO, in Visual Basic 6.0. I am new to Winsock Control. I completed some basic tutorials of Winsock, so I know how to send messages from Client to Server & vice versa. But now, I want to to …

Member Avatar for dhavalcoholic
0
516
Member Avatar for krazee9254

I'd like to create a bot (think that's the right term) to list stuff on a classified website for sale. Does anyone know where I should start or what language I should use? What kind of information do I need to begin and where might I be able to find …

Member Avatar for andarivaadu1
0
154
Member Avatar for cccedi

I would like to know how I execute an MSI from an ASPX page. My requirement is that a user should be able to upload his MSI in my ASPX page and, on completion of upload of the MSI, my ASPX should be able to install the MSI on the …

Member Avatar for sknake
0
94
Member Avatar for mamtha

I have to create a report based on the customer for particular order. For example find all the customers who ordered an item ‘ABC’ for current month and look back 11 months to find out if the same customers ordered the same item and list all the customers who ordered …

Member Avatar for cgyrob
0
107
Member Avatar for sotvisal
Member Avatar for arice
0
82
Member Avatar for exzibit23

how can i connect SQL(local server) to VB6?? Please give me the STEP BY STEP PROCEDURE.. i dont really have idea on how to connect SQl to Vb6

Member Avatar for vb5prgrmr
0
74
Member Avatar for hashinclude

Hello, please bear with me if this question is stupid. I'm fairly new to this and i really need to know. is it possible to use [B]"SELECT COUNT"[/B] to get the number of DIFFERENT values one column currently holds grouped by a value from another column.?

Member Avatar for cgyrob
0
155
Member Avatar for avisek_cts

Private Sub Command1_Click() Dim PDDoc As Object Dim AVDoc As Object Dim AcroExchApp As Object Dim PDSaveFull As Object AcroExchApp.GetActiveDoc Set AcroExchApp = CreateObject("AcroExch.App") AcroExchApp.GetActiveDoc AVDoc.GetPDDoc PDDoc.Save Set PDDoc = AVDoc.GetPDDoc If PDDoc.Save(PDSaveFull, "c:\test.pdf") = False Then MsgBox "Unable to save image" Else: MsgBox "The file is saved" End If …

Member Avatar for vb5prgrmr
0
146
Member Avatar for tdeck

I'm probably going about this in the wrong way, but I have a stack of Objects, and some of these can be ArrayLists. I want to be able to pop an object that is actually an ArrayList off the stack, unbox it, add something, and then pop it back on. …

Member Avatar for tdeck
0
151
Member Avatar for oscarresonable

Hi guyZz... I'm a beginner in programming world..,! Can you help me guyZz of restoring data of mysql using vb6 codes..... Any reply and some source is really appreciated.... Thanks in advance..... Oscar Resonable

Member Avatar for vb5prgrmr
0
121
Member Avatar for shehryar

I am developing my final year rail reservation project.. I am having a little problem with the seat selection.. I can either get all the seats that are available or that are not available.. so what i want to do is if there is a seat in another table then …

Member Avatar for shehryar
0
684
Member Avatar for arinlares

So, I've started writing a text adventure in Python, and already have the first map idea figured out, but I don't know where to start with defining a variable for each room. I know about the simple stuff, such as (represented as it would be in IDLE) [code=python]>>x = 4 …

Member Avatar for bumsfeld
0
103
Member Avatar for trtcom1

Hi there, I am having problems with editing/updating a record. I have 3 tables: Student (studentNum,firstName,lastName,ClassRoom), course (courseID,courseTotalCapacity), course_allocation (studentNum,courseID). I have 3 courses, MATHS=101,BIOLOGY=102,CHEMISTRY=103. The total number of students allowed for each of the 3 courses is courseTotalCapacity = 20. Meaning that only 20 students can register for MATHS, …

Member Avatar for trtcom1
0
464
Member Avatar for headedtomexico

Man, I hate having to get you guys to hold my hand through all this, but I've run into another problem. I have my ODBC connecting to a MS access database. This is all coded into a library that gets injected into a video game, and then macro commands call …

Member Avatar for Ancient Dragon
0
106
Member Avatar for goody11

I can't figure out how to make my save function append to the txt file it always overwrites. Also, I'm trying to figure out how to make each set of words on a newline in the text file. Here is the function: [code] BOOL SaveTextFileFromEdit(HWND hEdit, HWND hEdit2, HWND hEdit3, …

Member Avatar for bdusablon
0
128
Member Avatar for arunaalapati

hi.... did anyone know how to run vbscripts in C#?if yes.........please do reply me.... thankyou regards Aruna

Member Avatar for arunaalapati
0
1K
Member Avatar for smithsf22

Hello, I am having a problem adding a node properly. It does add but it duplicates the Test node I know why it is doing it (I create the Test node in the root as well as in the dataset) but I don’t know how to prevent it. Any suggestions …

Member Avatar for bcasp
0
152
Member Avatar for tulipputih

I have error on this line.. what should I change..thank you [code=php] mysql_query("INSERT INTO lesson (subject,year,learningArea,objectives,ability) VALUES ('<?php echo $onrow["subject"]', '<?php echo $onrow["year"]', '<?php echo $onrow["learningArea"]', '<?php echo $onrow["objectives"]', '<?php echo $onrow["ability"]' ") or die(mysql_error());[/code]

Member Avatar for tulipputih
0
188
Member Avatar for urbancalli

[code] BOOL SaveTextFileFromEdit(HWND hEdit, LPCTSTR pszFileName) { HANDLE hFile; BOOL bSuccess = FALSE; hFile = CreateFile(pszFileName, GENERIC_WRITE, 0, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL); if(hFile != INVALID_HANDLE_VALUE) { DWORD dwTextLength; dwTextLength = GetWindowTextLength(hEdit); // No need to bother if there's no text. if(dwTextLength > 0) { LPSTR pszText; DWORD dwBufferSize = dwTextLength …

Member Avatar for Tom Gunn
0
221
Member Avatar for TheFoeHammer

I need to delete a shortcut but the code I wrote will not work. [code=C#]System.IO.File.Delete("C:/WINDOWS/Example.Ink"); // This returns no errors at all, just nothing happens.[/code] Does anyone have an idea on an alternate way to delete a shortcut? Any help is appreciated =D

Member Avatar for Nick Evan
0
460
Member Avatar for Yaserk88

Hello! I am trying to open this CSV file separated by semicolons. I know how to open a text file and I tried searching the way to open a CSV, but most methods seemed extremly complicated. Does any one have a simple suggestion that would work with what I already …

Member Avatar for Ancient Dragon
0
4K
Member Avatar for cool_yu2k

Hello! I have another problem in my binary tree. The countLeaves method does not output the correct answer. Instead of outputting 3, it output 1. I don't know what's the problem on the algorithm of my countLeaves method but I guess it is correct. Can anybody help me solve this …

Member Avatar for harsh2327
0
116
Member Avatar for Alphard

Hi guys, Im currently having difficulties connecting 2 comboboxes together. 2 of my combobox are the following, 1 combobox for the country and the other one for the city. So here's the thing, if I'll choose any country from the combobox-country then all of its cities would appear. I am …

Member Avatar for g@sha
0
110
Member Avatar for auhuman

Hi, i searched a lot in JAVA documentation, but couldn't find a buffer API 1) can grow dynamically. 2) the existing content must shift right if i insert a new element in the existing content index

Member Avatar for auhuman
0
86
Member Avatar for daviddoria

I have a class called Scanner which casts rays into a 3d scene and records the resulting intersections. It has the following type of properties: Location (a 3d point) Forward (a 3d vector) Up (a 3d vector) min/max angle (the bounds of where to cast rays) theta/phi step (the directions …

Member Avatar for Tom Gunn
0
121
Member Avatar for Stals

Im using [code]For Each foundFile As String In My.Computer.FileSystem.GetFiles( _ My.Computer.FileSystem.SpecialDirectories.MyDocuments, _ FileIO.SearchOption.SearchAllSubDirectories, "*element.txt") ListBox1.Items.Add(foundFile) [/code] to get file paths. There are 3 elements for example. And i need them to become variables. (a,b,c) And show in labels [code] Label1.text= a Label2.Text =b Label3.Text =c [/code] Label1 will show the …

Member Avatar for steve11
0
108
Member Avatar for babbu

i have a datagrid view. i am using data table to display data [code] oledbcon.Open() m_daDataAdapter = New OleDb.OleDbDataAdapter("Select * from Customer", oledbcon) m_daDataAdapter.Fill(m_dtCustomer) m_cbCommandBuilder = New OleDb.OleDbCommandBuilder(m_daDataAdapter) m_rowPosition = m_dtCustomer.Rows.Count dataGridView1.DataSource = m_dtCustomer oledbcon.Close() [/code] this works great. later i want to display only those records tht the user …

Member Avatar for g@sha
0
2K
Member Avatar for ch_nilanjan

Hi, I am using VS2005, C#. Am trying to populate an image in Image(control) at run-time. The image to be populated is not fixed. It is decided by the a criterion in the previous page. Can anyone help me with code snippets.

Member Avatar for ch_nilanjan
0
106
Member Avatar for sixtus

Hi - I need some help. I have upgrated my server, webserver, ... to windows 2008, IIS 7.0 and ASP.NET 3.5. That gives me some problems. I have a page where people can upload and download documents. Upload works fine but download doesn't work. The documents is downloaded by using …

Member Avatar for sixtus
0
103
Member Avatar for mugdha_2005

hello .. can u suggest sm gud topic for the project in c# with asp.net?? most probably ne web application ??

Member Avatar for kiamzattu
0
167
Member Avatar for xuexue

hi guys, i already made a simple website using the localhost XAMPP, everything is going well, now i want to upgrade it, meaning i want it to be uploaded in a web server? is there any sites you could refer to me for the complete step by step procedure of …

Member Avatar for faizt1
0
113
Member Avatar for risa

I have Tabctrl in a dialog.I want to set its background colour for each tab .I tried ON_WM_DRAWITEM but the control never comes in OnDrawItem().Can you help? #define RED RGB(255,0,0) #define YELLOW RGB(255,255,0) #define MAGENTA RGB(255,0,255) #define WHITE RGB(255,255,255) #define BLUE RGB(0,0,255) void CVMListDialog::OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT lpdis) { CDialog::OnDrawItem(nIDCtl, lpdis); …

Member Avatar for Laiq Ahmed
0
2K
Member Avatar for knowledgelover

hi there, I am trying to learn how to generate xml document having the XSD file that describes the schema of the xml, and need to insert specific values for some of the elements, too. then I need to parse other xml files, I have googled about it, and many …

Member Avatar for varunnanda
0
136
Member Avatar for vuyiswamb

Good Day all I have a Sp that is written like this set ANSI_NULLS ON set QUOTED_IDENTIFIER ON go ALTER PROCEDURE [dbo].[Import_RegistrationsXM] @xml ntext AS set nocount on DECLARE @doc int EXEC sp_xml_preparedocument @doc OUTPUT, @xml TRUNCATE TABLE _RegistrationXM INSERT INTO _RegistrationXM SELECT * FROM OPENXML ( @doc , 'Import/Item' …

Member Avatar for vuyiswamb
0
90
Member Avatar for spalax

Hi everyone, i'm a beginner in java. i would like to know if somebody couls explain me about the pricing. i don't have more details, it is used for airplane ticket reservation. Or any java project, i would like to test my capacity before searching for job. Thank you very …

Member Avatar for peter_budo
0
86
Member Avatar for toad78

I have a login form that works just fine, except when it forwards to the 'menu.php' page. The 'menu.php' page has a list of links that is suppose to be in relationship to the 'mem_id'. For example, there's a link called 'Profile'. When you hover over the link, it is …

Member Avatar for pritaeas
0
146
Member Avatar for Piya27

Hi All, I have recently installed Visual Studio 2005 after system recovery... and now when I start debugging any program, it shows me the following error : [b]"Error while trying to run project : Unable to start debugging. The Binding handle is invalid."[/b] Please Help.

Member Avatar for Piya27
0
51
Member Avatar for VinayRok

Hi friends......... Am using a one Textarea and Text box and a Button in my application.. whenever i write a text in textbox and click on the button . textbox value is copied to Textarea... This logic i have written in Button_Click event. Now in an situation i dont want …

Member Avatar for kameswari
0
251

The End.