199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for meensatwork

Hello, I have created a C++ dll with some functions and structures.I need to access the structure in my C# program. When i searched the net, i found that there is no way to include header files in c#. What is the alternate way to use the structure definitions in …

Member Avatar for IdanS
0
106
Member Avatar for kendaop

Hello all! I'd like some help with some code to fade in and out banner images on my website. Basically, the idea is that every 10 seconds, the image will fade out as another image fades in. The way I am trying to accomplish this is by changing the opacity …

Member Avatar for AleMonteiro
0
124
Member Avatar for johnt68

Hello - on my noughts and crosses / tic tac toe game I have initialised a 3 x 3 array and addded buttons using all the code below. If I want to also have a 5X5 array game and aa 7X7 array game - how do I go about it …

Member Avatar for Mitja Bonca
0
96
Member Avatar for nasablast

Using javascript, a field in an html form is formatted for time. When the user types in 344, the field formats onblur to 3:44. This field is then echoed in PHP an appears properly formatted. However, in the MySQL database it is inserted into, it appears as only "3". Everything …

Member Avatar for nasablast
0
58
Member Avatar for gyagyus

Hi! I try to implement a matrix template class which inherits the vector of vectors. The message I get: "error C2679: binary '=' : no operator found which takes a right-hand operand of type 'const Vector<T> *' (or there is no acceptable conversion)" (When I call the alternate matrix constructor, …

Member Avatar for xth
0
3K
Member Avatar for vigneshkbv

in my masked text box, the mask property is setting like aa aa aa aa.my issue is, the mouse cursor is not setting the initial character automatically,when i click the mask text box..pls help me.. Thanks in advance....

Member Avatar for Mitja Bonca
0
94
Member Avatar for blueman:-0

any one can help me to mean how i create a bitmap because the examples in net is very difficult and i can't mean any thing of this (sample examples plz )

Member Avatar for Ezzaral
0
64
Member Avatar for scobi

/*Here is my code as you can see the in front of rice set the four RadioButton in different Location? i have been tired but i can't solve this problem .Help me Please if u can.*/ import java.awt.*; import java.awt.event.*; import javax.swing.*; class Fnf{ static Box createBox(String[] sa) { Box …

Member Avatar for vealparry
0
459
Member Avatar for blah123123

Im trying to make an employee database where the user can add, delete, search for, view all, edit an employee, and quit. After the user clicks the add or delete button, the program is supposed to allow them to input the names and other things nd when they press enter …

0
110
Member Avatar for usuario

Hello, Somewhere in Internet I found a free script which I use in instant messaging system to send messages without page refreshing. This script works well for 99% of users but from time to time I get messages from users who can't send messages because nothing happends when they click …

Member Avatar for Airshow
0
111
Member Avatar for swathys

Hi Below is my code. The code is running well if the column name specified below is not exist. [COLOR="Red"]Sql = "ALTER TABLE Update_PaymentDetails ADD ServiceCharge float NULL," _ & "TotalAmount float NULL,Commission1 float NULL," _ & "Commission2 float NULL,DealerCommission float NULL," _ & "PaymentToDealer float NULL,PaymentPay float NULL," _ …

Member Avatar for lolafuertes
0
122
Member Avatar for kailashbuki

I have a string as below [CODE]"i am genie. who are you? we worked together in a hotel called xsis."[/CODE] Normally string like the above is cleaned. Cleaning involves removing whitespaces. Thus the cleaned version of the above string would be [CODE]"iamgenie.whoareyou?weworkedtogetherinahotelcalledxsis."[/CODE] It is divided into kgrams of fixed size. …

Member Avatar for TrustyTony
0
191
Member Avatar for sethwb

Hi I'm learning C++ on my own here and am experiencing a problem with an introductory program I've created. My book provided me with a bit of code near the end to prevent my program from closing on me immediately, however it is closing on me as soon as I …

Member Avatar for Narue
0
215
Member Avatar for billmudry

Lately I have been learning how to use 'sessions' (with some degree of success) for transferring parameters between pages. I have come across a new error report that is so weird that I would not be able to envision how I could do a Google search to find what is …

Member Avatar for billmudry
0
155
Member Avatar for fredfredfred

hi i am a bit of a noob at python but am trying to make a desicsion making game (a bit like zork). i was wondering if anyone knew how i could get the palyer to go to a previouse part of the game without writing it all out again? …

Member Avatar for TrustyTony
0
141
Member Avatar for ivaylo91

Good evening to everyone. I have some troubles with a task I have to do. I need some assistance. Excuse me if I haven't searched thoroughly in the forum and there is a similar topic somewhere. Thank you! [B]Here's the issue:[/B] Compute the minimal and the maximal value of function …

Member Avatar for ivaylo91
0
2K
Member Avatar for kk33

Hi, I got a problem in my winttp code which is connecting to the URL successfully but not able to POST the data to the the server, here is my main part of the code [CODE] hSession = WinHttpOpen(L"User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12", WINHTTP_ACCESS_TYPE_NO_PROXY, …

0
111
Member Avatar for morteza_ipo

Hello. I want to delete duplicate values of options tag! this is my code. But this is not good and have problem! [CODE] function DropDups() { var i=0; var forml; forml = document.getElementsByTagName('form').length; for(i=0;i<forml;i++) { var Target=document.forms[i]['color']; for (var avvali=1; avvali<Target.options.length; avvali++) { valavvali = Target.options[avvali].text; for (var dovvomi=1; dovvomi<Target.options.length; …

Member Avatar for Airshow
0
4K
Member Avatar for eprology

i have the same problem but nit that similer the other function works ok and no error only this function of ftp. pls help me [code]Private Sub Form_Unload(Cancel As Integer) Timer1.Enabled = False FtpHDB.CloseConnection FtpPDB.CloseConnection FtpPRD.CloseConnection FtpRDB.CloseConnection FtpMID.CloseConnection Set FtpHDB = Nothing Set FtpPDB = Nothing Set FtpPRD = Nothing …

Member Avatar for AndreRet
0
164
Member Avatar for Xjmaslord4

I want to make a countdown time that will basically let you click one of the buttons and the countdown will start. But I don’t want the countdown to be shown in seconds but rather in Hours/Minutes/Seconds. There will be multiple buttons that will trigger the countdown. The only hiccup …

Member Avatar for AndreRet
0
1K
Member Avatar for electrox73

I get the error in these lines: [CODE]infotxtbox->Text = ("Name: Peter Jaško "Rank: Main Tech Manager, Vice-Leader, "Donated: ?, "Exp: ?"); [/CODE] This code is entered in a header (Form1.h) of a Windows Form Project/Application in C++ in VC++ 2010 Regards

Member Avatar for electrox73
0
704
Member Avatar for davydick

Hi I used VB6 to create an EXE file that uses MSComm1. The program runs OK in my XP computer and also in my Win7 computer (that has VBE installed). It would not run on my Vista laptop. I installed the VB runtime files (even though Microsoft says they are …

Member Avatar for AndreRet
0
306
Member Avatar for jaasaria

hello coder, could anybody can share an idea on making attachment files. on my cms software. i wanted to have an attachment portion. where my doc,jpg,xls files can be attach. im planing to stored it on my app.path by copying the files. but my problem is when opening on the …

Member Avatar for AndreRet
0
368
Member Avatar for dadam88

Just a little code I have been working on. New to programming and learned about rand. I applied it in this program. Like I said I'm new to programming and if there is a *easier and more effective way* to write some of my code, please tell me. The part …

Member Avatar for frogboy77
0
438
Member Avatar for tyson.crouch

Hi Guys, Please find below a copy of my code for the issue that I'm having. So, before you have a look at the code and inevitably laugh at something silly that I've done (because I have a feeling that it would be), I should explain what my problem is. …

Member Avatar for quuba
0
232
Member Avatar for simply_viks

hoy to get the size of array all initialised to as char pste_msg[64]= {1,2,4,5,6,8,6,5}; memset(pste_msg,0,64); sizeof(pste_msg) is giving 64 any help???????? thanks.

Member Avatar for hillstone_softw
0
190
Member Avatar for theurbanist

I'm trying to write a program that switches the "x" and "o" in a String, only using the replace method repeatedly. At the end of the day, the program should turn 'xxxooo' into 'oooxxx'. I understand why this isn't working, but I'm just completely out of ideas as to how …

Member Avatar for rapture
0
170
Member Avatar for Imratzio

Hi all :), im towards the end of the php for dummies book and it telling me how to build a e-commece style pet Catalog. I show the code [CODE]<?php /* Program: addpet.php Description: adds new pet to the databse. A confirmation page is sent to the user. */ if(@$_POST['newbutton'] …

Member Avatar for Imratzio
0
157
Member Avatar for DoctorGiraffe

I am trying to figure out a way to to make a webbrowser scroll to an html element and center the element, i don't have any code to show as i have desperatly looked everywhere after a solution but havent found anything.

Member Avatar for DoctorGiraffe
0
98
Member Avatar for chintan_1671

I have a byte array which looks something like 01 00 02 00 73 45 69 A5 So i have to read first 2 bytes and convert it into integer to get its value. Same for next 2 bytes and then next 4 bytes. Here the value for first 2 …

Member Avatar for ddanbe
0
239
Member Avatar for sha11e

Hey, My codes asks for a number, if the user inputs something else it gives an error message and asked for a number again. If the user inputs a number, it should cout whatever number the user chose. But it doesn't work as intended... I get the error message the …

Member Avatar for subtracktor
0
152
Member Avatar for newgeekintown

Is there any way to combine two or more .exe files in one .exe files?????? Please help....!

Member Avatar for newgeekintown
0
48
Member Avatar for NewOrder

i dont fully understand when is it more effective to use a struct and when is it more effective to use a class? i read the explanation from Oriely's book "C# in a nutshell", but i still dont understand. [QUOTE] Because a struct is a value type, each instance doesnt …

Member Avatar for Mitja Bonca
0
122
Member Avatar for JOSheaIV

Okay so I hope the title makes sense but I'll explain a litte more indepth. Right now i have an object that consists of multiple forms of data (strings, int, and a boolean array). The object array looks like this (sorry for all the clutter I had it looking nice, …

Member Avatar for ddanbe
0
154
Member Avatar for sairakhalid

[CODE] #include<iostream> #include<time.h> #include<conio.h> using namespace std; class adclist { struct list { int data; list* next; }; public: void makelist(); }; void adclist::makelist() { list** table = new list* [10]; for(int j =0; j < 10 ; j++) table[j] = NULL; for ( int m =0; m < 10; …

Member Avatar for sairakhalid
0
154
Member Avatar for dinesh.isuranga

I Have a Just Simple Question. But It Made me Confuse. I have a DataTable Which has bind to textBoxes and Other Items. therfore when I made a change through txtBox or Other Items it reflect to dataTable. what I have to do is Saving updated Datatable to Sql Table. …

Member Avatar for dinesh.isuranga
0
5K
Member Avatar for moroccanplaya

can some one help me why its not copying the file ? [CODE] if(choice = 2) { puts("please open your archive\n"); scanf("%s",&archive); archive_pointer = fopen( archive, "r+b"); //opens the archive puts("please select the file you want to be copied into your archive\n"); scanf("%s",&original_file); open_pointer = fopen( original_file, "r+b"); //opens the …

Member Avatar for moroccanplaya
0
112
Member Avatar for Jayson83

I am trying to add a new record everytime i do my navigation gets all messed up I also need an update button... I would like so when i hit new record the record of will be(ex. If Im adding record number 30 it will say record 30 of 30, …

Member Avatar for kvprajapati
0
161
Member Avatar for mbouster

Dear all I need your guidlines with this project because I dodnt done nothin yet an i am terrified to admit that I am going to deliver this on Wednesday and in the midtime I have a final in another course. What I didn till now is the UML for …

Member Avatar for artche20
0
217
Member Avatar for shanki himanshu
Member Avatar for localp

I wrote a C++ program that could sendKey. the code is as Follows; [CODE]s.SendKeys(_T("{Enter}"));s.SendKeys(_T("{Enter}"));[/CODE] this piece if code is inside a function. Now, i need to access this method from a C code. When i added the includes, i get alot of errors. Some says, that you can't access C++ …

Member Avatar for Narue
0
807
Member Avatar for Gazzmonkey

Hi all, I have a very annoying problem with adding new records to my Access Database, I'm not getting any syntax errors but there's obviously a symantic error of some kind causing this headache. I've been developing an RFID system for two months now and spent the last four weeks …

Member Avatar for Gazzmonkey
0
97
Member Avatar for bobyx

Hi,everybody.I wrote a program with mikroC for PIC PRO/2009/V2.50 ,to measure a DC voltage input using 16F877A.But it shows the input dc voltage wrongly and uncorrectly[COLOR="Red"];[ it shows 0.014v instead of correct form; 14v ].[/COLOR] I attached my program and its proteus.would you please tell me what is wrong with …

Member Avatar for bobyx
0
112
Member Avatar for vigneshkbv

In my form have a text box...My requirement is... when is type characters in that box... before typing the 3rd character the space should come automatically or programmatically...the sturucture is look like 21 33 44 55..pls help me...Thanks in Advance.

Member Avatar for vigneshkbv
0
444
Member Avatar for muze

hello guys... im writing small application for TAPI. But this error... I dont know, how I am getting this error. Compiler is complaining that [B]----- ICommDlgBrowser2: base class undefined[/B] here is the code [CODE] EXTERN_C const IID IID_ICommDlgBrowser3; #if defined(__cplusplus) && !defined(CINTERFACE) MIDL_INTERFACE("c8ad25a1-3294-41ee-8165-71174bd01c57") ICommDlgBrowser3 : public ICommDlgBrowser2 { public: virtual …

Member Avatar for raf35
0
341
Member Avatar for moonknight33

[CODE]<html> <head> <title></title> </head> <body> <script type="text/javascript"> function showPic(whichPic){ var imgSource = whichPic.getAttribute("href"); var placeHolder = document.getElementById("placeholder"); placeHolder.setAttribute("src", imgSource); placeHolder.setAttribute("height", 400); } </script> <h1>Image placeholder</h1> <a href="pics/wolf_1.jpg" onclick="showPic(this); return false;">Wolf 1</a> <a href="pics/wolf_2.jpg" onclick="showPic(this); return false;">Wolf 2</a> <a href="pics/wolf_3.jpg" onclick="showPic(this); return false;">Wolf 3</a> <a href="pics/wolf_4.jpg" onclick="showPic(this); return false;">Wolf 4</a> <a …

Member Avatar for moonknight33
0
239
Member Avatar for erdinc27

i fill my datatable with DataReader and i tie up that table to my datagridview as dataSource..i want to add one image column but when i added it my first column cant be seen how i will add it as last column in my datagridview??

Member Avatar for erdinc27
0
371
Member Avatar for Girum1

I create a simple data base table using Microfoft SQL Server 2005 and i want to display this simple table as a hole in my form.I use DataSet and DataAdapter to communicate with my SQL data base.i try to pull all the record at data base in to the DataSet …

Member Avatar for kvprajapati
0
204
Member Avatar for r3bol

While googleing for an answer I came across this thread... [url]http://www.daniweb.com/forums/thread55451.html[/url] ...which is pretty much my question, but I would be doing it in web directories. Would I need to connect with something like urlib2 and then try the os and glob examples. Maybe an example please? :D Thanks.

Member Avatar for richieking
0
80
Member Avatar for steven8579

when i print the items in my listboxes it just keeps going and when it gets to the end of the page, it justs cuts off the rest. how do i get it to go to the next page. This is the code i have [CODE] private void docPrint_PrintPage(object sender, …

Member Avatar for kvprajapati
0
211

The End.