199,114 Archived Topics
Remove Filter ![]() | |
Hello All I'm converting an access database to MS SQL for a webapp and have a question if anyone knows how to do this. 4 fields [TimeReported] [TimeOff] [TimeOn] [TimeAssigned] Access only stored time, so date is incorrect. 1 Field stored date separately [Date] I would like to take each … | |
Hi guys, Forgive me if this is a stupid question as I'm fairly new to computing. Been trying to make a webpage that displays a googlemap with multiple markers based on data from an XML file but can't seem to get it to work. Would be ETERNALLY grateful to anyone … | |
So I got curious with OpenGL and I ended up having a copy of the "redbook", as people call it. Initially when I tried relying only on online sources like tutorials and whatnot they were all written using WinMain which was a drag so that sort of put me away … | |
In C# if you want the thread to pause you would use: [CODE]System.Threading.Thread.Sleep(300);[/CODE] However, I cannot seem to find a C++ equivalent to this? How would I do this, or is it just not possible? Any help is appreciated. | |
I have tried for hours now trying to figure out how to do this and I'm sure its impossible, I have tried the following queries and still searching for the solution. I need to display the subcategories, subcat_title table row based on the condition the table row cat_id is equal … | |
Hello there, I don't know how to word this correctly, but i have a couple XML files that i need to extract certain information from. The files are already on my computer, so i won't be fetching it off the web anymore if that helps any. I mainly want to … | |
Having A Problem in getting results to display correctly I seem to be getting two sets of results displayed for categories "cat_title" when I only need it displayed once. What is the best way around this does anyone know whether I should define using an mysql query or PHP. [CODE] … | |
i run a ATM project and here is my problem i got a winforms login with 2 textboxes (username & nip) i got a textfile defining different username and their nip: Korben Dallas,D001 Jerry Cann,C001 Eric Clapton,C002 so here is my code [code] private void button2_Click(object sender, EventArgs e) { … | |
select companyname,sum(sale) as TotalSale,sum(purchase) as TotalPurchase from invoice group by companyname Having companyname IN (select companyname from invoice) It returns sum only for those column whose all sum are not blank, how can i show blank sum values I mean there are 7 companies but only 4 records are shown. … | |
As i dont know php i am unable to understand how this code is working? Can any body please help me to convert the following php code into python code. [CODE] function icmpChecksum($data) { if (strlen($data)%2) $data .= "\x00"; $bit = unpack('n*', $data); $sum = array_sum($bit); while ($sum >> 16) … | |
In order to learn some basics about sockets I'm trying to program a simple IRC client. In order to receive server messages I have a thread that is receiving from the socket. When sending commands to the server a new thread is created, with the same socket. This doesn't seem … | |
Hello people :) I need some help. How can I get Webbrowser1 to navigate to each page and wait for the one page to completely load, then move to the next page...? Thank you for answers in advance! ;) Example. [CODE]Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) … | |
Hi all, I have a data set that has a text header, followed by binary data. I want to search for a certain variable in the text header, store whatever name comes after the variable, and then replace it with X. Since I want to leave the binary alone, I … | |
What's the notation to add data from a variable to existing data in a field? mysql_query("UPDATE stk SET some_field = '????????????' WHERE id = " . $upc_key . "") or die(mysql_error()); | |
Hello, I am creating a card game and need some advice/pointers or code snipets if possible on sprite movement in the sence I need to create an action of a card been drawn from the deck. Basicly I need to make the sprite(card) move from the deck posion(x,y) to the … | |
Does a thread gives up monitor lock when Thread.sleep() is called? | |
Hello, my programming project requires me to write an overloaded function max that takes two or three parameters and returns the largest of them. I'm having trouble with the program outputting the largest number, with my code below it just says the largest number is 0 no matter what numbers … | |
Hi i am a College Student and has a thesis of Face Recognition, this thesis was great and i want to have an experience building this thesis. But the problem is i don't know where to start. I have already studied some of structure approach of this thesis and apparently … | |
hi guys its me again wanted to learn something new about how to use winsock.i am making a program that would detect the computer if its turn on through ip address that is connected on lan..anyone can help me or suggest something that i could learn?hoping for your replies guys..s:) | |
Good day to all of you. I'm looking for advice for my code below. My code was intend to print out a set of asterisk base on the rows and columns in my array(cinema[20][23]). The code works fine and i was trying to print out numbers (which is from 1 … | |
* How does stringstream work? Someone kind of explained it like, in cout it sends it to "standard out stream" or something, and using stringstream, you stream it into that instead. [CODE]stringstream a; int b=12; a << b;[/CODE] * How can it convert characters into int and such? [CODE] char … | |
I have been tasked with building an application that maintains a simple Student DB to store and process marks of students of 5 departments with 4 batches of students in each dept. I first thought of developing a UI-dataAccess style application. But Was unable to process because of various complexities … | |
Okay, I have a posting system, so when a user posts something it displays.. Now I want the background of these to be like this: - White - Grey - White - Grey Now, I've done it before, but only using tables.. So I'd have like: <?php $bg = ($bg=='#eeeeee' … | |
Hi Guys need your help on this :( Basically I am developing a web crawler so once the html source is converted to plaintext in a textbox, i intent to save it in dB. But the dB seems to be having trouble excepting some characters into the table and throwing … | |
Hi, I made a login form on my site but I am new to javascript and do not know how this could be done (See title). I am trying to make an alert start if one of the login forms are left empty. Any advice is greatly appreciated, thanks in … | |
I've made a library for Delphi to work with matrices. Everything in the library works perfectly as intended save the Matrix Inversion Procedure. I've used the Gauss-Jordan method of Matrix Inversion & everything works excellent for square matrices upto 7x7. From 8x8 onwards, I get a 'Invalid Floating Point' Error … | |
how do retrieve the last record if its id or other fields are unknown...or simply i need to move the record pointer to the last record in a table...thanx a lot... SELECT * from stud_infos WHERE stud_id = 'HOW DO I DO IT?' | |
Can anyone tell me, How can i restart the apache server through php code? if i view a specific page,my apache server should be automatically restart. How can i perform this? Anybody Please help me. | |
[CODE=c++] #include <QtGui> class MaskedLabel : public QLabel { protected: void resizeEvent(QResizeEvent* event) { QLabel::resizeEvent(event); QPixmap pixmap(size()); pixmap.fill(Qt::transparent); QPainter::setRedirected(this, &pixmap); QPaintEvent pe(rect()); paintEvent(&pe); QPainter::restoreRedirected(this); setMask(pixmap.mask()); } }; int main(int argc, char* argv[]) { QApplication a(argc, argv); QLabel* label = new MaskedLabel(); label->setText("Qt Centre!"); QFont font = label->font(); font.setPointSize(72); label->setFont(font); label->show(); … | |
Hello, am a newbie in c#.. i have a question, how do you use read data from file and use it? my data file is something like this: Name amount1 amount2 [CODE]johen 1234 231411[/CODE] i have this code so far: [CODE]using System; using System.Data; using System.IO; class Class1 { static … | |
Dear Experts, I am Completely new to ASP.NET i want to design a page in which when i will click on LINKBUTTON ([url]www.in.com[/url]) then website should be open but there is an error Server Error in '/WebSite2' Application. -------------------------------------------------------------------------------- The HTTP verb POST used to access path '/WebSite2/www.in.com' is not … ![]() | |
[COLOR="Green"]Hello everybody.. I've read about the "heredoc" way of outputting strings.. Where can we consider this use handy?? Is it used only to avoid escaping the single and double quotation mark?? Also, why is there an identifier to be put at the first and end of the function?? Thanks beforehand.[/COLOR] | |
hi, please visit this website : [url]http://www.jobsdhamaka.com/[/url] at center of page there is a heading "Recently Posted Job" i want that functionality to make for my project i.e. changing of text or heading after a particular interval of time. can anybody help please? and there is problem, i don't know … | |
I am trying to create feedback form and want to send the content to an email id using the mail(). What should I suppose to do for that? I tried with some code but it's not working.. Here is the code [CODE] <html> <body> <?php if (isset($_REQUEST['email'])) //if "email" is … | |
Dear friends: I run my C++ programm in opensuse linux, after it sucessfully run, the system give me the following feedback.Could you please tell me what wrong with my program. [CODE]*** glibc detected *** ./flowingheat: double free or corruption (!prev): 0x00000000007e28b0 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x733b6)[0x7f9b6dc2c3b6] /lib64/libc.so.6(cfree+0x6c)[0x7f9b6dc312dc] ./flowingheat[0x411cde] ./flowingheat[0x40e9fe] ./flowingheat[0x40af3b] … | |
Hello I am going to use datagridview checkbox column to check the desired records to insert into sql server database.how it is possible? | |
hi :) i'm just wondering if there is any way to access to another website using my own? like: i have some input data and when i put it into the form of my website, it will search it in the another website's database and show me the result. i … | |
Dear friends: I have a txt file to read. I only need the number of ELEMENTS and the ENTITIY NAME. which function should i use to read in these two values. Regards [CODE]GROUP: 2 ELEMENTS: 4 NODES: 2 GEOMETRY: 0 TYPE: 0 ENTITY NAME: WALL_LEFT 33 16 10 34 20 … | |
hi, this is satish,I have faced problem to update the gridview with template columns without using sql datasource.So please send me the code with events for updating gridview with teplate columns including one dropdownlist inatead of textbox without using sql data source. i hope you will understand my question, please … | |
Hi i have sub-directories like this (files/dir/dir2/) and have input text I want to get all the doc files in the sub-directories when insert name of top directory (files)in the text field | |
I m trying to connect an sql express database over lan. my connection string is as below. Data Source=Mr-4f04a26307ff\sqlexpress; AttachDBFilename=F:\\Projects\\MyProj\\FirstProj\\bin\\Debug\\Database\\MyDB.mdf;Integrated Security=ture; User Instance=true; but unable to connect and throw this exception Login Failed for user 'Mr-4f04a26307ff\Guest' What is the problem with this and what is the solution. thnx | |
Please tell me what r interfaces ..... I tried to understand them myself but could not !!!??? Please help ! | |
Hello, I have been struggling with this for hours now. Is there any way to completely remove the icon that is displayed in the upper left corner of a window in WPF, without setting the window style to ToolWindow? I have tried loading user32 and setting various WinAPI-styles with no … | |
I'm trying to populate our database using some curl command like curl --user username:password [url]https://somewebsite.com[/url] curl - d "name=New User Name&address=New User Address" [url]https://somewebsite.com/api/add/new[/url] The instructions that they gave to me uses curl but I want to do it in Java so I decided to use HttpClient here's my code … | |
Looking for a good manual on c++. Anyone know where i can get one? Thanks Jeffrey Revell Reade | |
Hello i load my data in datagrid and from here i want to update all that data(records),is it possible? | |
How to take a user table backup from that user account? I mean i want to give him grants to take backup... also query to take backup. | |
I have design an ASP.NET website. But my Home page is index.html. How can I upload my total website to the WEB SERVER? I have already tried once using "publish website". But a message "<%@ page language="VB" autoeventwireup="false" inherits="Home, App_Web_dsarh45t" %> " is shown at the top of the aspx … | |
I have written the following code in a class as my connection string. I want to retrive data from a field in a table in my database using this connecyion string. Please how do i go about it? [CODE]Public Class ConnectionString Public Shared Function ConnSQL() As SqlConnection Dim connectionString As … |
The End.