199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for nv136

While my program loading, I have a splash screen. After the program is done loading my Splash-screen closes and the main form (form1) shows (all good up to that point). But the problem is after the Splash-screen I cannot close form 1, nor can I move it. here is what …

Member Avatar for Alexpap
0
229
Member Avatar for markthien

Hi guys, I am able to delete record from specified table when I just run the program from visual studio 2008. I am using ms access as database. My connection string is: Provider=Microsoft.Jet.OLEDB.4.0;data source=" + @Directory.GetCurrentDirectory() + "\\smsmanager.mdb;Jet OLEDB:Database Password=matmat However, after setup and deployed in Program Files folder and …

Member Avatar for gusano79
0
449
Member Avatar for swornavidhya_m

Statement: Connection with server takes a long time and provides "No message either it is timeout or someother thing other than time out". The state of the mouse during that time will be in "cursor: wait (an hourglass)" state. This problem is being faced occationationly, but now a days it …

Member Avatar for dnanetwork
0
110
Member Avatar for gaurav_13191

Hi, I have the following code which compiles absolutely fine.. [CODE] using namespace std; #include<iostream> #include<stdio.h> #include<conio.h> struct node { int data; struct node *link; }; void add(struct node **,int); void display(struct node*); int count(struct node *); int main(void) { struct node *p; p=NULL; add(&p,5); add(&p,1); add(&p,6); add(&p,4); add(&p,7); display(p); …

Member Avatar for arkoenig
0
110
Member Avatar for nertos
Member Avatar for martin5211
0
123
Member Avatar for DaveTELFA

Hi guys, I'm currently attempting to create a game similar to that of a Rubik's Cube but I've come to a standstill. I have a Cube made up of 8 smaller cubes, so its 2x2x2. Problem is, I have no idea how to go about rotating each of these cubes. …

Member Avatar for Ketsuekiame
0
838
Member Avatar for Fasola

I am creating a website for my company's helpdesk and need an Event Calendar for conference room reservations. User need to be able to check the availability of conference rooms and enter a reservation on the calendar. Please help

Member Avatar for atrueresistance
0
150
Member Avatar for koveras vehcna

Hello everyone, I am currently working on text processing with Python and I want to parse a .txt file into its sentences as a whole. I tried to create some regular expressions but I failed to do so. I only managed to come up with a regex that splits each …

Member Avatar for TrustyTony
0
1K
Member Avatar for -ordi-

Hei, [CODE]list = [line.split() for line in open(file) if line is not None][/CODE] and output: [CODE][linux@localhost ~]$ [[], ['text'], ['text', 'text', 'text', 'text'], ['text', 'text', 'text', 'text']][/CODE] How to remove none types [] or something.

Member Avatar for -ordi-
0
140
Member Avatar for saransh60

[code] #include <iostream> using namespace std; using std::cerr; using std::cout; using std::endl; #include <sstream> #include <string> #include <fstream> using std::ifstream; #include <cstdlib> int main() { ifstream indata; // indata is like cin char num; int sar,ri,sat,ha; sar=0;ri=0;sat=0;ha=0; char s[]=".txt"; for(int some_int=1;some_int<=3;some_int++){ ostringstream buffer; buffer <<some_int; string s1 =buffer.str(); s1+=s; indata.open(s1.c_str()); …

Member Avatar for saransh60
0
199
Member Avatar for silvertooth07

we were asked to input a number and display the sum of the odd and even integers. eg. number: 10 sum of odd: 25 sum of even: 30 [code]intnum = CInt(txtnum.Text) Dim counter% = 1 Do Until counter = intnum intcompare = counter Mod 2 If intcompare = 0 Then …

0
72
Member Avatar for iceman29

Hi, Is it possible to display the output of a C program in different font sizes by setting it in the code? If yes, please guide regarding the same. Thanks.

Member Avatar for xavier666
0
204
Member Avatar for markthien

Hi guys, I have implemented pagination in datagridview by using example from this page [url]http://www.codeproject.com/KB/miscctrl/Pagable_DatagridView.aspx[/url]. The pagination works well. However, when I create 2 datagridview with each using different bindingsource, and I click on next for the first datagridview, the other datagridview also automatically paginate to the next one. I …

Member Avatar for nick.crane
0
170
Member Avatar for whiteyoh

Hi All, Im after some advice on extending classes. ive got a vehicle class, which is extended by the motorcycle class. my question is how do i create a class of the motor cycle that includes the vehicle class elements. [code] <?php class vehicle { private $wheels; private $engineType; private …

Member Avatar for whiteyoh
0
94
Member Avatar for catdieselpow

using namespace std; int main() { vector<double> row(3, 0); vector<vector<double> > table(3, row); printVectorOfVector(table); Fill in a 2 dimension 3x3 array with odd numbers. The display shows the array as it is being filled. Use random integers to fill the array. Use numbers between 1 and 10. Initialize array to …

Member Avatar for nana121
0
127
Member Avatar for sgriffin

Hey everyone, I am trying to send an email and I never receive it, but I do get a message when I debug that: "Property access must assign to the property or use its value." Here is my VB code: [CODE] Imports System.Web.Mail 'Send email confirming purchase Dim notification As …

Member Avatar for sgriffin
0
131
Member Avatar for EuroStud

Hi, I’m trying to return a value from VB 6 to Access 2007 report and the unbound textbox remains empty. It seems that actually the problem is not coming from the coding itself, but due to connectivity between the two ends. In fact, I tried to enter a Beep instruction …

Member Avatar for tmcpolin
0
116
Member Avatar for sreya.rakhit

I am quiet new to using NetBeans IDE. I have created a file menu. When the user selects an option from the menu, a window should open,or a form should be loaded. So as far as i have figured out, the event needs to be handled by a mouseClick method. …

Member Avatar for javaAddict
0
123
Member Avatar for Hawkpath

How would I make something like a high scores function on a java applet? Like how would I record the score the person got and then access later?

Member Avatar for NormR1
0
449
Member Avatar for miturian

So, due to my last question, [url]http://www.daniweb.com/forums/thread303487.html[/url], I am becoming acquainted with the vector template. However, I clearly am not using the commands correctly. Below is a section of code which, eventually, leads to a segmentation fault later in the program. First an introduction of the variables: [CODE] using namespace …

Member Avatar for arkoenig
0
185
Member Avatar for ftl25

Hi I am creating a DLL which will often make calls to another DLL. I have gone through the procedure of getting a handle to the other DLL and this works fine for some function calls. It seems like the functions which don't modify a parameter work fine. The access …

Member Avatar for ftl25
0
625
Member Avatar for cintojose

Hello Everybody... I am very new to VB.NET coding..My manager assigned me to write a Single Program that uses OOP concepts like Abstraction,Encapsulation,Inheritence and Polymorphism.As there is a time limit plese help me in this.............Thank You all..........CintoJose.

Member Avatar for kvprajapati
0
112
Member Avatar for andrewtrench

I have a perplexing problem which may turn out have a simple solution (hopes!). I am writing a little GUI to allow a user to enter information which will get built into an XML file which is linked to flash-based graphic. One of the fields I have is a Tkinter …

Member Avatar for andrewtrench
0
133
Member Avatar for P00dle

I need to use log4j and I have already imported the .jar, and added the necessary code to my project. I get the following warnings when trying to run my program: log4j:WARN No appenders could be found for logger (multithreadsprocessor20.MultiThreader). log4j:WARN Please initialize the log4j system properly. log4j:WARN See [url]http://logging.apache.org/log4j/1.2/faq.html#noconfig[/url] …

Member Avatar for P00dle
0
112
Member Avatar for Jupiter247

Hi Guys, I am struggling on an assignment where I have to enter an odd number to produce a triangle of stars. e.g. If I enter 5 - then it should look something like this ***** *** * My code is as follows: [COLOR=#0000ff]Private[/COLOR] [COLOR=#0000ff]Sub[/COLOR] btnEnter_Click([COLOR=#0000ff]ByVal[/COLOR] sender [COLOR=#0000ff]As[/COLOR] System.Object, [COLOR=#0000ff]ByVal[/COLOR] …

Member Avatar for kvprajapati
0
184
Member Avatar for furtaker

Hi, I am trying to incorporate a struct and class in the same program to calculate overtime pay and hours for one person. I am having a hard time with these two and especially putting them together. I am not sure what to do to get the program to compile …

Member Avatar for Luther von Wulf
0
249
Member Avatar for doctorphp

Hi all Is it possible to intergrate my website to my phpbb forum so that when users register with my site, they also get registered with my forum. If anyone knows how to or if they know any sites that tell you please could you post them here. Thanks in …

Member Avatar for doctorphp
0
629
Member Avatar for zero_sequence

Hi to all, i am building a site with movie reviews.. due to the fact that a movie may have more than one category ex action, adventure, sci fi etc i ended up using a sinlge column to add all tha categories in comma delimited form.. 1st question. is the …

Member Avatar for pritaeas
0
214
Member Avatar for reviloera

I have started programming in python . I want to know the best GUI binding to use .pyqt and wxpython which one is the best and easy to learn and install on federa 13

Member Avatar for vegaseat
0
86
Member Avatar for juhi1

I have two tabs in a form . The first form has some buttons which are common to the second tab. But there are some additional buttons in the second tab which need to be worked on . I have included the buttons in the second tab .But I am …

Member Avatar for arunkumars
0
264
Member Avatar for hanvyj

I have a problem casting a long to an int in c++ There is a long "biWidth" in the &pVideoInfoHeader->bmiHeader struct, I simply want to read this into an integer value "Width" [CODE=c]//check the video info header Width=(int)(&pVideoInfoHeader->bmiHeader.biWidth); Height=(int)(&pVideoInfoHeader->bmiHeader.biHeight); //break point here [/CODE] When I step through the code to …

Member Avatar for Stefano Mtangoo
0
5K
Member Avatar for sathya8819

Hi, I have this following code for watershed algo to segment an image. But I do not know what the error is. Can someone help me out [CODE]namespace watershed1 { public partial class Form1 : Form { public int X; public int Y; public int Height; // labels the pixel …

Member Avatar for kvprajapati
0
1K
Member Avatar for andrewtrench

Hi. I'm fiddling around with Python and MySql. I keep getting an error with this little script to try and read the rows in a table. The error is: TypeError: unsupported operand type(s) for +: 'int' and 'tuple' Here is the code snippet. Any help would be hugely appreciated [CODE]import …

Member Avatar for andrewtrench
0
250
Member Avatar for Pundia

I want to make a graphic of certain data in my program. The problem is that the zedgraph doesn't zoom out to see the dots or lines in the graphic. This is my code: [CODE] Sub llenar_graph(ByVal zgc As ZedGraphControl) Dim myPane As GraphPane = zgc.GraphPane myPane.Title.Text = "Algoritmo Genético" …

Member Avatar for TCESeregon
0
1K
Member Avatar for ebbumiya

hi guys i ve a problem in doin my project. wen i give some data in the sales bill form i ve created, tat should appear in ms word bill format i ve designed how to connect my vb form with word and to take a print of it, plz …

Member Avatar for AndreRet
0
97
Member Avatar for LloydFarrell

hi all, Im trying to add a "title" to a switch case statement below, but for some reason im unable to complete, what I thought was a simple task. Hope someone can help and explaine the reasons why cheers, Lloyd [code] switch($ad) { case "add1.gif"; header("Location: http://www.google.co.uk"); break; case "add2.gif"; …

Member Avatar for syamsasi
0
748
Member Avatar for ITStrawberry

I have a picture uploaded in the picturebox in c#. What i need to do is to draw a rectangle into this picture and cut the part of image that's in the rectangle and show it next to the image box and then save it with a submit button. Can …

Member Avatar for farooqaaa
0
100
Member Avatar for loushou

okay i have an array of a struct. [CODE]struct MYSTRUCT { float myFirstVal, mySecondVal, myThirdVal; unsigned char myByte; } int myCountFunction(MYSTRUCT *&myArrayOfStructs) { int myCount; // question area return myCount; } [/CODE] here is my question. how do i count the number of elements in an array of type blah …

Member Avatar for daviddoria
0
139
Member Avatar for ithelp

Hi C++ experts, I am looking for a script which given a structure made of basic types can generate a C++ class which encapsulate the structure and it also generates the stream in and stream out method for the structure e.g [code] input int a ; char b; string c; …

Member Avatar for mike_2000_17
0
134
Member Avatar for server_crash

I know how to se the font of a regular JTextArea, but how would I get an reference to the selected text and only select that? Here is what I have so far: [Code] setFont(new Font(font, style = Font.BOLD, size)); [/Code] this works but changes whole area [Code] textArea2.getSelectedText().setFont(new Font("sansserif",Font.BOLD, …

Member Avatar for shielaborja
0
183
Member Avatar for yogi_xevoke

Warning: mssql_connect() [function.mssql-connect]: message: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. (severity 14) in \usr\local\htdocs\connect.php on line 5 [B] We are using the following code for connectivity[/B] mssql_connect('servername,port', 'username', 'password'); mssql_select_db("dbname");

Member Avatar for sanjayks
0
206
Member Avatar for 68thorby68

I believe there may be something wrong with my PHP.ini as I can create cookies using the setcookie function but cannot access the cookie using the COOKIE function. Please note: I have enabled cookies in my browser I then have 2 very simple scripts in separate files file 1 [CODE] …

Member Avatar for 68thorby68
0
8K
Member Avatar for sainigks

i have created a registration page. when user fill it and submit a unique user_id will be given him. but problem is when user_id has been given if user refresh the page a new user_id will be alloted to him. if he refresh the page for thousand time a new …

Member Avatar for metalix
0
142
Member Avatar for jemz

helloo, hello can you help me please i want to write to a file using bufferedwriter and bufferedreader but the problem is that i don't know how to use it i get an error please help me,hoping for your positive responds... [CODE] import java.io.*; import java.util.*; class Writefile { public …

Member Avatar for tong1
0
116
Member Avatar for design.eng

Let's say, I have a web application where many users are going to submit the iformation at the same time to be redirected to another pages and complete the rest of this application process. The problem is, how can I distanguish among all the users and be able to retrive …

Member Avatar for metalix
0
117
Member Avatar for Matt89

hi i am trying to make a currency converter to convert British pounds, US Dollars and Euros . i have the GUI made but i wanted to make a separate class to handle the conversion of the currencys but im not sure where to start so i was wondering if …

Member Avatar for Matt89
0
215
Member Avatar for anony

After hosting, i get this error:"Can't connect to MySQL server on 'localhost' (10061)" The code was working fine in my computer. I have hosted it in windows platform and i am using mysql and php. Here is my code for db connection $connection = mysql_connect(localhost,uname,pword) or die (mysql_error()); $db = …

Member Avatar for pritaeas
0
353
Member Avatar for farooqaaa

How to pass an array of struct as a function parameter? This is not working: [CODE] struct Person { char* name; int age; Person(char* name, int age) { this->name = name; this->age = age; } } struct XYZ { int count; Person* people[]; XYZ(int count, Person* people[]) { this->count = …

Member Avatar for farooqaaa
0
260
Member Avatar for elsiekins

Hi, I have two Pthreads and two named semaphores, the semaphores are created within the threads, is there a way in which i can declare a semaphore in one thread and then open and use it in the other one ? Thanks

Member Avatar for elsiekins
0
293
Member Avatar for anzoo2009

Hello everyone I am new with algorithm, this is one of my problem which I am trying to sort out. Can anyone help me with some clues for this... Design an algorithm that will read an input weight for an item to be shipped search an array of shipping weights …

Member Avatar for anzoo2009
0
94

The End.