199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for HyperEngineer

I'm trying to put a status bar on a dialog based app. I have the following code in the OnInitDialog(): [code] if (!m_wndStatusBar.Create(this, WS_CHILD | WS_VISIBLE | CBRS_BOTTOM) || !m_wndStatusBar.SetIndicators(indicators, sizeof(indicators)/sizeof(UINT))) { TRACE0("Failed to create status bar\n"); return -1; // fail to create } else MessageBox("Status bar created", "Debug"); // …

Member Avatar for HyperEngineer
0
178
Member Avatar for spinnetje

Hi, i'm a bit of a VB-virgin in destress :) I've wrote some vb6 to manipulate words in a text-box. It has some bugs but it does the main job. I like to compare it with a real VB-expert solution. Does any of you can show me a small program …

Member Avatar for spinnetje
0
196
Member Avatar for shaji

I have an application web based. using Oracle backend and Java front end. App server is in weblogic and Solaris os and two cpu with 8 applications. DB server is oracle 8.1.7 on Solaris This application is getting slow when number of threads are more ( like many users login …

Member Avatar for hooknc
0
181
Member Avatar for DanH

Okay, I finally got my external program to open but how do I actually get it to run??? What I am trying to do is open a syncsort file called mjwsorter.srt (I can finally get it to open). Next, however, I want the program to execute... which is done by …

Member Avatar for DanH
0
233
Member Avatar for kingmahesh

Hey... i'm in my 3rd year and we have assign a group project(4 member).. all of them are really good at programming and we need real cool new ideas about what we are going to implement I personally prefer to do somthing relate to sucurity.. but any thing which goes …

Member Avatar for weidrich_andri
0
195
Member Avatar for stupidenator

Hi everyone, I am trying to make a function such as [CODE]void resetGrid(int grid[][gridSize])[/CODE] The function needs to input the 2-D array and then set each of the values to zero. I know this should be a simple double 'for' loop but what I can't figure out is how far …

Member Avatar for stupidenator
0
91
Member Avatar for opsryushi

Hi Everyone, I'm gonna try to make this as easy as possible to answer, but I've got some questions about this... I want to put a feature on my website where visitors can comment on an article or feature through a form by leaving their Name and then their Comments. …

Member Avatar for opsryushi
0
113
Member Avatar for MBMorrow

Hi, I recently wrote a text version of the old DOS Artillery Duel or Atari's Cannon Duel game. In this version, you play against the computer and can control the projectile's angle and velocity. I'd now like to add one more dimension whereby the height of the cannons randomly changes …

Member Avatar for MBMorrow
0
107
Member Avatar for atrusmre

I'm sorry I've been posting so much, I'm still learning. :) My question how do you fill a combo using a varible. for example I want to fill my combo box in Visual C++ with something like this. [CODE] char *names[2]; names[0] = "Joe"; names[1] = "Billy"; names[2] = "Bob"; …

Member Avatar for atrusmre
0
2K
Member Avatar for brian63304

I am trying to create a list of nodes and then put numbers in them.. I can do that. But I need help trying to sort the nodes. Here is my program. Thank you, Brian [code]int null = -1; typedef struct Node { int val; Node next; Node(int v, Node …

Member Avatar for kafkanien
0
78
Member Avatar for barry t

Hi I am trying to write an app for price calculations what i need to do is make cut off points for different dollar values the values are when a product is over $22.00 the deduction $3.30. When a product is over $16.50 and under $22.00 the deduction is dollar …

Member Avatar for campkev
0
339
Member Avatar for OllieFalle

I have changes a few things but still seem to be hitting a brick wall. I have been told that my note is drawn at the same position each time. Can anyone help with what i can do regarding this. Otherwise can anyone help with getting this thing to work. …

Member Avatar for Phaelax
0
120
Member Avatar for rupz

Hi, I am new to c++ and just wanted to know how to split a sting e.g if someone were to enter their details like John age 19 dob 10/06/1986 into a basic cin, how could I split the string to store John 19 10 06 1986 into different strings …

Member Avatar for rupz
0
93
Member Avatar for boki

Since i have to go to college i got on idea to preform a simple C# Syntax highlighting for my HP ipaq 1710,dont laugh at me when i tell you that i tried to create just window form without anything else and copy it to my Pocket PC,i use windows …

Member Avatar for Pscsc
0
249
Member Avatar for lkaravi

Hi Paladine, Am new to ASP.NET. I followed all the steps which you had given for Login Page and Registration Page. Everything is working properly. Thank you so much. Paladin, I need one help from you, as per you steps I created one table called "tblUser". In this table U_id …

Member Avatar for kedar_challa
0
461
Member Avatar for jasmin_java

Hi, to everyone.‎ My program to make program to write the application the input ‎a dollar amount to be printed on a cheque, and then prints the ‎amount with eleven position number are available for printing ‎the cheque. And need to run the word equivalent of the cheque ‎amount e.g.: …

Member Avatar for NPH
0
211
Member Avatar for aarya

i m very new to asp.net.i m trying my first script.i have microsoft .net framework 1.1.but when i try my script localhost/myweb/a.aspx i m getting blank screen.please any body help me

Member Avatar for Paladine
0
623
Member Avatar for ruby_ffsi

Hi, I new to asp .net, and I have problem with checkbox bound in datagrid, I want to detect when the field value is null the check box will hide / invisible. I have try to code in onItemDataBound like this: If e.Item.ItemType = ListItemType.Item Or e.Item.ItemType = ListItemType.AlternatingItem Or …

Member Avatar for kedar_challa
0
183
Member Avatar for scr

All, i have a bunch of dynamic checkboxes created in a datagrid, and i have the results going to a database when they are checked. question is how do i count the total # of checkboxes checked. here is the code i have that loops through the checkboxes to submit …

Member Avatar for kedar_challa
0
88
Member Avatar for topaz

Hi I was planning to create an online dating system for my final year project, i jus need ideas on how i could go ahead with implementing the project. Thank you

Member Avatar for kedar_challa
0
91
Member Avatar for Gryzor

hi! i use tcpclient to get connections from clients to my server. but i need the information of the ip address of that client. i know that i have to derive a mytcpclient from the tcpclient class, but i get some errors when extracting the socket out of it. the …

Member Avatar for kedar_challa
0
933
Member Avatar for akraj

Hi ! anyone tell me the link or explain abt ASP.NET Page Life Cycle. thanks in advance.:-|

Member Avatar for kedar_challa
0
242
Member Avatar for student101

Hey e1, I went out of the way to make my project fool-proof. U can c the pic below, I have 2 input textboxes and 1 output text box. Im trying to get my code to where if you enter a [U]Character[/U] i.e. "abc" , then A mSGBox will tell …

Member Avatar for student101
0
155
Member Avatar for pyari_priya1981

Hi all, I am facing problem in session variables. We are a Call Center and we have a CRM application in ASP.Net which has two interfaces, one is for tech executive level another is for auditor. When a auditor opens both simulatanously.Sometime Session variables clashes for both interfaces and forms …

Member Avatar for kedar_challa
0
177
Member Avatar for btech

My program compiles with no errors but when I run the program it asks "Enter the number to be deleted:" if I enter any number other than the first number listed the program crashes with the following error: "An unhandled exception of type 'System.NullReferenceException' occurred in doublyLinkedList.exe Additional information: Object …

Member Avatar for Lerner
0
195
Member Avatar for frmsasp

Hello there, I am receiving following error in Visual Studio .Net while compiling page with F5. "Error while trying to run project: Unable to start debugging on the web server. You do not have permission to debug the application. The URL for this project is in the Internet zone. Click …

Member Avatar for kedar_challa
0
99
Member Avatar for seemagaur

I am doing a website with asp.net. i have used session variable in my GLOBAL.ASAX file. the code is given below: Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs) Session.Timeout = 100 Session("Loggedin") = "No" End Sub Sub Session_End(Sender As Object, E As EventArgs) ' Code that runs when …

Member Avatar for kedar_challa
0
164
Member Avatar for Ancient Dragon

This is a simple example of how to use recursion to get a list of all the directories (folders) and file names within them. It also illustrates simple use if std::list, std::vector, std::string, std::cin and std::cout. It was compiled and tested with both VC++ 6.0 and Dev-C++ compilers on XP …

Member Avatar for Dani
0
240
Member Avatar for George2

Hello everyone, I have always seen some methods are described as "best practice". I am wondering what means "best practice", an algorithm? Thanks in advance, George

Member Avatar for Gargol
0
413
Member Avatar for zaman1111

Hi, can anyone suggest any clue on this. I am trying to display info on a JSP page. The problem is if the DB date is null then I get the error message below. java.util.Date loginTime=new java.util.Date(login_time); the login_time is a Oracle DB date. Now I want to somehow skip …

Member Avatar for zaman1111
0
100
Member Avatar for nordmann

I've been trying to find an alternate means of achieving essentially what JSplitPanes can do, except that the hideous-looking splitter bar would be invisible, and you can resize in both x and y dimensions at the same time. My current thought is to subclass a JPanel with listeners that implement …

Member Avatar for nordmann
0
155
Member Avatar for tayspen

ok as you may know ther is a way to write to the registry and change the title of internet explorer. you add Windows Title as a sub string then set the value data to what ever you want tit to say this is my code [code] RegistryKey regkey;/* new …

Member Avatar for tayspen
0
145
Member Avatar for Splink

Hey guys and girls, im a n00b at the programming side of PC's but im trying to create not a pop-up but a sub window? does that make sense? like when you get an error message or when you get an information box up! can anyone help me with basic …

Member Avatar for Ancient Dragon
0
95
Member Avatar for satrix36

Hi all, I'm needing some help on a program that Im making. When the program opens, I need it to detect whether or not a ftp server is online. I need the program to tell the user if the server is off line. Can someone please help me.

Member Avatar for pty
0
120
Member Avatar for Clinton Portis

Having troubles handling text from a multiline edit box.. the first part of this algorithm runs fine by itself.. the second part (highlighted in blue) runs fine as a DOS console project using 'char' data types.. but when I add it to this windows project (using TCHAR's) it distorts the …

Member Avatar for WolfPack
0
688
Member Avatar for Stibbeh

Hello, Is it possible to edit the target of an exe and then once the new target line is executed, it returns to its normal self or something along the same lines as this, using VB? If it is, any help or ideas would be appreciated. Thanks.

Member Avatar for Comatose
0
139
Member Avatar for Micko

Hi, sometimes I get this linker error LNK2019: unresolved external symbol _WSACleanup@0 referenced in function _main and sometimes it works OK. Solution is usually to place pragma directive below include directives [code] #pragma comment(lib, "wsock32.lib") [/code] First, can someone explain in simple words what this means? Maybe it's some kind …

Member Avatar for WolfPack
0
139
Member Avatar for Melotron

Hello! I started this course in Java and we got this assignment to do and it consists of making 2 strings of text and then we are are supposed to write this code that storage the varible "`max_length`" and then print out "The longest string has the length...". I know …

Member Avatar for jwenting
0
654
Member Avatar for OllieFalle

Hi everyone, Just thought i would post my program im doing at the moment as im completely stuck. Basically the program takes a user input as a string, uses the tokenizer to break down. The individual strings which will be single characters will be used to draw notes on a …

Member Avatar for OllieFalle
0
142
Member Avatar for danizzil14

Ok I was wondering if anyone could help me with how to make a python program interact with files. Copying, pasting, moving, things like that, opening. If it cant really be discussed quicky are there any good tutorials? Mainly a organinzing python program.(looks for a certain file extention, then moves …

Member Avatar for vegaseat
0
217
Member Avatar for danizzil14

Ok, Im still really shaky w/useing python with other programs. So here is my question, is it possible to create just a very small program that grabs my IP adress, copys it, and then sends it to certain IM buddys? The reason I am asking this is beacause my friends …

Member Avatar for shanenin
0
483
Member Avatar for smallville

Hi guys/gals, Boy what an experience it has been searching and reading through these forums. I have learned so much! I was given the task of pulling information from a database and entering it into a program that would sort the names. I was able to get that step down …

Member Avatar for Dave Sinkula
0
198
Member Avatar for Asif_NSU

I wanted to explore and know about the GUI toolkits available to be used with C or C++. I heard a bit about Qt, GTK, Mingw etc, and there's MFC too. For the moment I am not quite sure which one to start with. Does a programmer need to know …

Member Avatar for Ancient Dragon
0
573
Member Avatar for jack223

can't find where the error occurs using debugger? any help plz~~ [code] //this program computes how much money will //accumulate after so many years of investing #include <iostream> using namespace std; float Balance = 0.0; float Interest; float YearlyCont; int NumYears; //this function computes one year of investment float newBalance(float …

Member Avatar for jack223
0
132
Member Avatar for btech

The assignment I am working on is to create a doubly linked list. This is what I have thus far. However when I compile I get 2 errors: LNK2001 unresolved external symbol and LNK1120 unresolved externals. Was hoping someone could look over my code and help me with these errors. …

Member Avatar for Ancient Dragon
0
162
Member Avatar for Lightninghawk

The output that I'm looking for is: ---Site ------Session ---------Class ........... students in class ---------Class ........... students in class ------Session ---------Class ........... students in class ---Site ect ect.... ~~~~~~~~~~~ The current outcome : ---Site ---------Class ........... students in class or sometimes ---Site ------Session ---Site... ~~~~~~~~~~~~ It's almost like it has …

Member Avatar for e3computer
0
343
Member Avatar for aarya

i m trying to send fax from my site bit i m getting the error as -1003. the code is Set objSoap = Server.CreateObject("MSSOAP.SOAPClient") 'Create the SoapClient object objSoap.ClientProperty("ServerHTTPRequest") = True objSoap.mssoapinit("http://ws.interfax.net/dfs.asmx?wsdl") SendFaxResult = objSoap.SendCharFax("user", "pass", "+1 801 6852718", "This is a sample Fax", "txt") Response.Write "Fax submitted. Transaction ID: …

Member Avatar for aarya
0
277
Member Avatar for spidey

I have a table displaying the list of vendors from the database. I have to select one row (vendor details). For VendorID: ------------------------Start--------------------- <table> <tr> <td>Name</td> <td>Telephone</td> <td>Email</td> </tr> <%do while not rs.eof%> <tr> <td onClick="HighLightTR('#cccccc','cc3333');"><input type="hidden" name="vendorid" value="<%=rs("VendorID")%>"><%=rs("Name")%></td> <td><%=rs("Tel")%></td> <td><%=rs("Email")%></td> </tr> <%rs.movenext loop%> </table> --------------------------End------------------------- The page also has …

Member Avatar for msaqib
0
211
Member Avatar for aarya

i m getting the error as Error Type: Microsoft VBScript compilation (0x800A0401) Expected end of statement /myweb/updat.asp, line 18, column 181 my code is <% if session("bvuser")="true" then struser=request("usercode") stremail=request("email") strfname=request("fname") strlname=request("lname") straddress=request("address") straddress1=request("address2") straddress2=request("address3") strcity=request("city") strcountry=request("country") strpassword=request("password") struser=session("usercode") dim rsupdat,Conn,sql Set Conn = Server.CreateObject("ADODB.Connection") Conn.Open "Driver={MySql ODBC 3.51 Driver}; …

Member Avatar for aarya
0
310
Member Avatar for tdizzle342

I just wanted to know how to draw a thick line and also can anyone tell how drawArc works , in know how to make it work (x,y,width,height,startAngle,Arcangle) but i cant figure it out. Line just arc in ways i dont really understand. Thanks.

Member Avatar for NPH
0
153

The End.