64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for nick3592

Hi, i was wondering how if it is possible to enter a large amount of information into mysql database easily. I have about 15,000 rows that i have to enter and i would like to know if there is a way anyone knows to enter it fast rather than entering …

Member Avatar for nick3592
0
172
Member Avatar for cwarn23

Hi, long time no C. I have started using the Irrlicht gaming engine but have bumped into a problem which has been bugging me for the past 6 hours flat. I have a variable containing a std::string but it needs to be converted to a (const wchar_t *) string. Does …

Member Avatar for cwarn23
0
119
Member Avatar for VBNick

can anyone tell me why this would freeze? I'm trying to find a way to terminate a thread from outside of it, and allow the main program to do garbage cleanup, like closing any HANDLEs used or freeing any memory allocated. I trigger an event which should cause that loop …

Member Avatar for VBNick
0
102
Member Avatar for wolfeater017

:SHave they made a py2exe 3.0 yet and if so where in the internet can you find or have they just not made one yet?:confused: If not how else can I turn my programs into executables?:-/

Member Avatar for Beat_Slayer
0
200
Member Avatar for leeba

I am trying an exercise in a book and can't find my problem. I want an invoice class with a seperate implementation file and a file to use it. Below are the three files. [code] // invoice class //Invoice.h #include <string> using namespace std; class Invoice { public: Invoice(string,string, int, …

Member Avatar for leeba
0
97
Member Avatar for MichaelWClark

I have a bit of a unique situation. I am loading a DropDownList (asp.net) from a SQL DB. Let me explain my scenario. [Products] [DB2.dbo.Orders] -Product_ID -Order_ID -Product_Name -Order_Product_Name -Product_Price -Order_Product_Price -Order_QTY [DROP DOWN] [PRICE_LABEL]* [OrderQTY] +ADD ProdName1 ProdName2 ProdName3 [PRICE_LABEL]: *(gets pulled by Select Product_Price where Product_Name=DropDown.Selected) After I …

Member Avatar for 1stDAN
0
167
Member Avatar for Cort3z

Hi. I am working on a multi threaded program (game renderer). What I want to do is to loop through my threads and get a boolean value that tells me if the thread is done rendering or not. If all the threads is done, I want the code to go …

Member Avatar for Cort3z
0
68
Member Avatar for Jennifer84

Hi, I have a form that has Width & Height (1000,1000). Now if the users screen has for example this sizes (800,800). Then I want to adjust the Forms Width & Height to 800,800 so it fits the screen. So my question should be if it is possible to detect …

Member Avatar for ShadowScripter
0
263
Member Avatar for broli100

Hi, I want to put GLSL shader in my game to get realistic shadows and lighting. But when I use polygons GL_POLYGON ,they are totally black. Only thing that works OK with shader is glutSolid bullshit like glutSolidTeapot and glutSolidCube and so on. So I wanted to know the source …

Member Avatar for broli100
0
256
Member Avatar for Pytho

Hi again This time I have one kind of bigger problem. I have to bind single click and double click with Tkinter. So, I tried this: [code=python] root.bind("<Button-1>", single_click) root.bind("<Double-Button-1>", double_click)[/code] That doesn't work. What I can try next? How to execute function X on double click and function Y …

Member Avatar for Pytho
0
108
Member Avatar for Jennifer84

Hi, It is possible to drag a Forms width. What I want is to prevent a user to drag the Forms width more than the value 405. I have tried out with the code below but nothing happens when I drag the width of the form. Thanks! [CODE] private: System::Void …

Member Avatar for Jennifer84
0
97
Member Avatar for Duki

How can I specify which sheet I want to write to by name? For example, I want to specify that the sheet I should be modifying should be labeled "212". Also, perhaps a more challenging question. How can I ensure that the sheets I create are always in alphabetical order? …

Member Avatar for Duki
0
170
Member Avatar for kibr987

Hi, I am trying to figure out graphics in C# and I wanted to start by drawing a line on the form. I was following msdn example. The problem is - where shall I put those code! I have tried this, but it didn't work. Can any one suggest any …

Member Avatar for Lusiphur
0
117
Member Avatar for acrocephalus

Hello! I am trying to write a piece of code to open a file using a 'while' loop. It should ask for the file name and, if it does not exist, ask for it again. This is the code: [CODE]while True: try: fhand = open(markFile) except: print 'File', markFile, 'cannot …

Member Avatar for acrocephalus
0
146
Member Avatar for technopup

Hello, I wonder can someone help me. [onkeyup] I am trying to transfer user input fields from a form so that the user can preview what they have entered in a div on the same page (i.e. prior to submiting). e.g. 1st Line - Name: This is my Name 2nd …

Member Avatar for technopup
0
441
Member Avatar for Jesi523

I have a gridview control where the last control is a hyperlink that allows someone to select that link and sign up for a class: [CODE]<asp:GridView ID="GridView1" runat="server" DataSourceID="SqlDataSource1" AutoGenerateColumns="False" OnSelectedIndexChanged="GridView1_SelectedIndexChanged" CellPadding="4" ForeColor="#333333" GridLines="None"> <RowStyle BackColor="#EFF3FB" /> <Columns> <asp:BoundField DataField="eventAuid" HeaderText="eventAuid" ReadOnly="True" SortExpression="eventAuid" InsertVisible="False" Visible="False" /> <asp:BoundField DataField="eventOccurrencesAuid" HeaderText="eventOccurrencesAuid" SortExpression="eventOccurrencesAuid" …

Member Avatar for Jesi523
0
110
Member Avatar for garea

I have a problem with recursive imports in C++. I have this 2 classes: [CODE] //File A.h #include "B.h" class A{ public: A(){}; void doA(B b){ b.doB(); } } [/CODE] [CODE] //File B.h #include "A.h" class B{ public: B(){}; void doB(A a){ a.doA(); } } [/CODE] I tried to use …

Member Avatar for rodc
0
815
Member Avatar for Kanoisa

Hiya, Im trying make a simple cards game and i was wondering how in c++ can i use the characters â™  ♣ ♥ ♦ , i think it would be betetr than me printing out the words each time, Are these in some extended character set anywhere? i tried googling …

Member Avatar for Kanoisa
0
1K
Member Avatar for Freefrags

Im trying to create a boost thread which executes the following static function. [code=c] Updater::UpdateTrack(const std::string& sFolder) { //Do something } [/code] I cant seem to figure out how to pass the argument to the function i tried the following: [code=c] m_UpdateThread = boost::thread(&Updater::UpdateTrack,"test"); [/code] [code=c] m_UpdateThread = boost::thread(boost::bind(&Updater::UpdateTrack,"test")); [/code] …

Member Avatar for Freefrags
0
169
Member Avatar for P00dle

I'm making some sort of mistake in the following code: [CODE]use xPress_CR select * from (SELECT * FROM dbo.T_JOBS WHERE ENDDATEANDTIME = null UNION SELECT * FROM dbo.T_JOBS WHERE STATUS = 'Failed')[/CODE] Any idea what I'm doing wrong?

Member Avatar for P00dle
0
107
Member Avatar for LRNPHP

Hi Everyone. I have MySQL db with images in(MEDIUMBLOB); I would to display the images in a gallery fashion with a MySQL select command. Any help would be appreciated. Regards

Member Avatar for vibhaJ
0
105
Member Avatar for Geekitygeek

Hi Guys, I am having a hellish time getting this to work...i'm fairly new to asp.net so i may be making some glaringly obvious mistake :/ In the page init i read products from my database and populate the page with images/links/buttons/etc. The problem i have is twofold: If i …

Member Avatar for Geekitygeek
1
100
Member Avatar for PoisonedHeart

Hi guys, just wondering, would someone give me some advise of what what kind of software should I develop...maybe just a simple software...or a small software...whatever you call that...a software that would not take a lot of time in the development process...maybe...more or less than 3 weeks...what do you think?.. …

Member Avatar for vb5prgrmr
0
467
Member Avatar for karkar_87

I need some help regarding Paging on a Gridview. I have a few dropdownlists and textbox and a gridview. At first load, the gridview will be populated with data from the sql server. And, I did a search and it works for the first page. When I press the second …

Member Avatar for bfbfb
0
138
Member Avatar for Frederick2

[CODE=C++] #include <stdio.h> int main() { int iBAF=10; int iPlots=14; double dblFactor; dblFactor=iBAF/iPlots; //to get a floating point you need a cast! printf("dblFactor = %10.6f\n",dblFactor); return 0; } /* dblFactor = 0.000000 */ [/CODE] I thought C/C++ would offer a few benifits beyond pure assembler. Apparently I was wrong.

Member Avatar for Fbody
0
357
Member Avatar for cristi08

It sais Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given on line74 and I tried a lot of things. here is code [$query="SELECT * FROM specificati,ofertant,suprafete,preturi,manopera WHERE ofertant.id_ofertant=preturi.id_ofertant AND preturi.id_manopera='Montaj parchet' AND preturi.id_manopera=manopera.id_manopera AND specificati.id_camera=suprafete.id_camera "; if (isset($query) && !empty($query)) { echo"<!--" . $query . "-->"; $result=mysql_query($query) or …

Member Avatar for rajarajan2017
0
532
Member Avatar for plike922

i am having trouble fixing this program... its not printing the number any tips??? i am using sieve of Eratosthenes [CODE]#include <cstdio> #include "simpio.h" #include "strlib.h" #include <iostream> using namespace std; int main() { bool is_prime[300]; int num[300]; int i, n; printf("This program prints all prime numbers from 1 to …

Member Avatar for technology
0
131
Member Avatar for group256

Hey Everyone, I'm compiling a code that reads characters from a file and puts them in a linked list. No problem with the Linked List but my ifstream acts weird. When it reads from the file everything goes somoothly, but at the end, when it reads that last WORD, it …

Member Avatar for group256
0
188
Member Avatar for hirenpatel53
Member Avatar for hirenpatel53
0
281
Member Avatar for mahadevan.swamy

Hi, I am trying to insert multiple radio buttons in one row. For example, I am trying to get the user to state his/her sex using radio button and update the record. But the problem is I am running into errors. I have googled on how to insert radio buttons …

Member Avatar for seger
0
93
Member Avatar for ilyas_varol

Hi everyone, can you help me how to add update form in this code? [CODE]<html> <head> <title>Eastern Mediterranean University-Student's ID</title> </head> <body> <h3>Edit Student</h3> <?php $num=$_POST['num']; @ $db = new mysqli('localhost', 'root', 'ilyas1987', 'dau'); if (mysqli_connect_errno()) { echo 'Error: Could not connect to database. Please try again.'; exit; } $query …

Member Avatar for ilyas_varol
0
100
Member Avatar for Anyzen

good day.. i am starting to learn..and experiment in namespaces just simple one... calling void functions..then print f.h [CODE]#include<iostream> #include<limits> namespace A { void f() { std::cout<< "Testing \"void f()\""; std::cout<<std::endl; } }[/CODE] f.cpp [CODE]#include "f.h" int main () { A::f(); std::cin.ignore(std::numeric_limits<std::streamsize>::max(),'\n'); std::cin.get(); } [/CODE] g.h [CODE]#include<iostream> #include<limits> namespace A …

Member Avatar for Anyzen
0
193
Member Avatar for Mitja Bonca

I am doing a crystal report with printing. I have encountered on this problem: [CODE] try { PrintDialog print = new PrintDialog(); print.ShowDialog(); crystalReportViewer1.ReportSource = cr1; crystalReportViewer1.PrintReport(); cr1.Refresh(); cr1.PrintToPrinter(1, true, 1, 1); } catch { //MessageBox.Show("Some error occured...", "Opozorilo", MessageBoxButtons.OK, MessageBoxIcon.Error); } [/CODE] I got an error on last line …

Member Avatar for hirenpatel53
0
323
Member Avatar for exgliderpilot

Hi I have the following code and I know Message.To is a collection, just getting to grips with c# - just can't get the syntax right! [code=c] string sToAddress = ""; sToAddress = Message.To(0).ToString; [/code]

Member Avatar for exgliderpilot
0
257
Member Avatar for arch_mah

In the employee module i want to pick and add a picture from web camera.. On the "add picture" button i need to open a web camera screen.. Can it be possible..Please help

Member Avatar for arch_mah
0
93
Member Avatar for moni94

Which of these encryption methods is more effective (secure) Vinegere or basic XOR encryption, if the key we use is the same size in both cases?

Member Avatar for TrustyTony
0
559
Member Avatar for esia168

Hello, I'm following the tutorial of MVCMUsicStore at [url]http://mvcmusicstore.codeplex.com/[/url] and the PDF tutorial that I'm following can be downloaded at [url]http://mvcmusicstore.codeplex.com/releases/view/44445#DownloadId=121650[/url] I'm stuck at the page 53 "Creating the Edit View" (navigate to that page using the adobe reader page input) I have created the StoreManagerViewModel class in ViewModels folder. …

Member Avatar for esia168
0
110
Member Avatar for acrocephalus

Hello! I have this piece of code, which asks the user to continue with the program even if it may overwrite some folders. [CODE]print w.fill('WIP will create Backup, Resized and Watermarked folders to store the original, resized and watermarked pictures. It will overwrite them if they already exists. Are you …

Member Avatar for TrustyTony
0
141
Member Avatar for P00dle

I have a client and a server - the client sends the server a message, and depending on what message is sent, the server will perform an action and then reply to the client. Most of the actions that I have implemented are working. I need help with one of …

Member Avatar for P00dle
0
896
Member Avatar for arch_mah

I have two doubts.. 1..I am trying to make a toolbox(As Like in the Visual studio screen at the left hand side ) in my project .when i put my mouse in the toolbox it should expand and when i put my mouse back then it should compressed. 2..In our …

Member Avatar for arch_mah
0
237
Member Avatar for theighost

Hi, Has anybody use phishtank.com's api? the documentation si pretty poor in their site and they don't reply to emails. The api should help me send a url to phishtank so that they verify if it's spam or not (according to their database) and then return an XML response, and …

Member Avatar for theighost
0
3K
Member Avatar for pritesh2010

can any one help me for this code. i had created 2web page say home, employee and master page. on the mater page i want to show all the employee who are online now. for that i'm firing the query and i got the all the employee name through SqlDatareader.Now …

Member Avatar for pritesh2010
0
102
Member Avatar for alex9292

hi im trying to write a program that will create a class to store info on books (title, author, number of pages and price) and that will trow a custom exception when the price entered for a book is higher than 10 cents per page. I got the class working …

Member Avatar for wisaacs
0
137
Member Avatar for Krstevski

Hello friends, can someone explain to me how can I submit form with radio button ? I know how to fill and submit form if the form contain just a textboxes, here is the code: [CODE=perl] #!c:\\perl\\bin use strict; use WWW::Mechanize; use HTTP::Cookies; my $outfile = "out.htm"; my $url = …

Member Avatar for Krstevski
0
360
Member Avatar for Geertc

Hello everybody, I have a problem with my mysql-server, at least, I think... This is the problem : I use aptana as my editor, in which I have installed QuantumDB as plugin. This allows me to quickly update or delete or insert data in my MySQL-database without having to leave …

Member Avatar for rch1231
0
356
Member Avatar for intills

Hello I need to modify this code to have only the first character of whatever word inputted be capitalized. I have this one that shows all the characters capitalized, but I need to modify it using isspace(). #include <stdio.h> #include <iostream> using namespace std; int main () { char c, …

Member Avatar for mrnutty
0
255
Member Avatar for kahaj

I'm having some issues getting my menu to work right. I'm trying to make it so that when the top of a given category has the mouse over it, it creates a flydown of the submenu. Also, on the mouseover of both the top menu and submenus, i want it …

Member Avatar for kahaj
0
123
Member Avatar for Simes

I am stuck on the parts of the first code that have <> in place of actual code and having trouble getting testing done at the end of the first code, the testing of the functions that I cannot get to work have being quoted out in Python. [CODE=python]from random …

Member Avatar for Simes
0
205
Member Avatar for ds2r

Is it possible to edit the contents of fields after a select statemen? For example, I have a table Person (Id int, Username varchar(50)). Most of the rows in Username has the format of, say for example, aaa_01, bbb_02. I want to select this usernames with the underscores and the …

Member Avatar for ds2r
0
92
Member Avatar for leahrose87

Hello! It may sound silly but I really need help. I am just a beginner in vb .net. I am now developing a window-based software. This is the problem: 1. After the user log-in, the system must show the parent form and automatically show the main transaction form base on …

Member Avatar for leahrose87
0
534

The End.