199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for atrueresistance

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 …

Member Avatar for atrueresistance
0
131
Member Avatar for rinjin07

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 …

Member Avatar for rinjin07
0
484
Member Avatar for asrockw7

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 …

Member Avatar for Sodabread
0
587
Member Avatar for jmurph333

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.

Member Avatar for jmurph333
0
156
Member Avatar for mehaksyeda@gmai
Member Avatar for mbhanley

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 …

Member Avatar for mbhanley
0
141
Member Avatar for Chimunda

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 …

Member Avatar for hielo
0
185
Member Avatar for mbhanley

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] …

Member Avatar for mbhanley
0
302
Member Avatar for jerome2467

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) { …

Member Avatar for ddanbe
0
163
Member Avatar for Majestics

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. …

Member Avatar for drmrkrch
0
167
Member Avatar for debasishgang7

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) …

Member Avatar for debasishgang7
0
99
Member Avatar for hadoque

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 …

Member Avatar for hadoque
0
176
Member Avatar for Mindazz

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) …

Member Avatar for polas5
0
2K
Member Avatar for newtopython1111

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 …

Member Avatar for woooee
0
156
Member Avatar for niche1

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());

Member Avatar for niche1
0
81
Member Avatar for DOT6

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 …

Member Avatar for DOT6
0
274
Member Avatar for profyou
Member Avatar for canwilf
0
88
Member Avatar for radiata

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 …

Member Avatar for Nick Evan
0
206
Member Avatar for cerezo_mark

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 …

Member Avatar for cerezo_mark
0
280
Member Avatar for androidz

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:)

Member Avatar for debasisdas
0
176
Member Avatar for vergil1983

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 …

Member Avatar for zomgser
0
229
Member Avatar for sha11e

* 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 …

Member Avatar for Narue
0
304
Member Avatar for stevanity

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 …

Member Avatar for stevanity
0
105
Member Avatar for phorce

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' …

Member Avatar for karthik_ppts
0
123
Member Avatar for rEhSi_123

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 …

Member Avatar for rEhSi_123
0
220
Member Avatar for patrickm129

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 …

Member Avatar for Pro2000
0
365
Member Avatar for KKR_WE_RULE

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 …

Member Avatar for Mikav6
0
502
Member Avatar for lloydsbackyard

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?'

Member Avatar for lloydsbackyard
0
400
Member Avatar for DILO3D

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.

Member Avatar for Pro2000
0
254
Member Avatar for Luckychap

[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(); …

0
100
Member Avatar for mrar85

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 …

Member Avatar for mrar85
0
344
Member Avatar for pardeep3dec

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 …

Member Avatar for stbuchok
0
146
Member Avatar for Pro2000

[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]

Member Avatar for Pro2000
0
138
Member Avatar for Sahilsahni

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 …

Member Avatar for almostbob
0
104
Member Avatar for subhra44

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 …

Member Avatar for Pro2000
0
175
Member Avatar for ztdep

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] …

Member Avatar for Caligulaminus
0
142
Member Avatar for luckyismb

Hello I am going to use datagridview checkbox column to check the desired records to insert into sql server database.how it is possible?

Member Avatar for Mitja Bonca
0
113
Member Avatar for gingerfish

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 …

0
101
Member Avatar for ztdep

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 …

Member Avatar for mrar85
0
95
Member Avatar for vnsatishch

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 …

Member Avatar for M.Kiruba
0
150
Member Avatar for altarek

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

Member Avatar for vibhaJ
0
174
Member Avatar for ejazmusavi

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

Member Avatar for k.d.m
0
141
Member Avatar for apanimesh061

Please tell me what r interfaces ..... I tried to understand them myself but could not !!!??? Please help !

Member Avatar for k.d.m
0
108
Member Avatar for strmstn

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 …

Member Avatar for k.d.m
0
1K
Member Avatar for jazz_vill

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 …

Member Avatar for jazz_vill
0
270
Member Avatar for visual28
Member Avatar for JasonHippy
0
85
Member Avatar for luckyismb

Hello i load my data in datagrid and from here i want to update all that data(records),is it possible?

Member Avatar for ChrisHunter
0
44
Member Avatar for Majestics

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.

Member Avatar for Majestics
0
113
Member Avatar for Sud1302

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 …

Member Avatar for Netcode
0
210
Member Avatar for Netcode

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 …

Member Avatar for Netcode
0
658

The End.