199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Darkipod

Hello, My name is Justin. I am currently taking a course in college that requires me to write a paper in which I have to interview another person currently or originally in my field of study. First I will need your name and Job title and place of employment. The …

Member Avatar for BestJewSinceJC
0
112
Member Avatar for marirs07
Member Avatar for marirs07
0
91
Member Avatar for twalton42

trying to delete selectedItem from combobox to remove selectected account from database using mysql and vb.net 2008....this is my code for my delete menu can anyone help? *************************************************** [code] Public Class delete Public Sub _load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'TODO: This line of code loads …

Member Avatar for Geekitygeek
0
330
Member Avatar for stevee1984

Hi all, and must say a great looking forum! I wish to start developing c++ apps on Linux and would like to know what GUIs are supports out of the box on Linux, especailly the main distros anyway? QT, KDE, GTK, etc? I basically want to write gui apps that …

Member Avatar for stevee1984
0
124
Member Avatar for MrDavo

Hi Everyone, I am seeing the following error message whilst attempting to access a website that is hosted on my workstation computer (127.0.0.1) Error Type: Microsoft OLE DB Provider for SQL Server (0x80004005) [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied. C:\INETPUB\WWWROOT\INTRANET\..\connection.asp, line 12 If anybody can shed some …

Member Avatar for kbk_10
0
108
Member Avatar for lonprog

I have a project that I'm working on in C++ where I have to Search for Multiple Occurrences of a String in a Text File. Does anyone have code out there on how to do this? Thanks

Member Avatar for mrnutty
0
120
Member Avatar for mybluehair

So I have a game in c++ console, and it's pretty big now. (over 3 megabytes) I've been using strings in the code forever, but now, I need to make a separate exe program from scratch that will update the game when needed. Big problem - this new program is …

Member Avatar for Nick Evan
0
100
Member Avatar for CppBuilder2006

what's wrong with this code in VC++ 2008 Ex [CODE] #include <conio.h> #include <iostream> using namespace std; class Allocate { private: void* v; unsigned n; __int8 dummy_ret; void* Alloc(unsigned& n) { void* ret; if(n == 0) ret = 0; else { ret = new(nothrow) char[n]; if(ret == 0) n = …

Member Avatar for CppBuilder2006
0
84
Member Avatar for abby524

Hi, I'm a newbie working with ASP.Net, attempting to create a feedback form in ASP.Net VB but I am getting the below error message. Not really sure how to create this query that its asking for. Please help...... Page.IsValid cannot be called before validation has taken place. It should be …

Member Avatar for pritaeas
0
266
Member Avatar for merse

Sorry about my primitive questions but I cannot find a good summary about this basic topic. So I would like to write my own libraries: mylib.h and mylib.cpp. I need to include some standard libraries. But I dont want to overload them, what is the solution? I have to use …

Member Avatar for Narue
0
150
Member Avatar for dinwal

I have a project that I am working on. This is basically an extension of that. There is this weird error (Seg fault) when I run this code. What makes this error weird is that I print the value stored in the pointer and in the next line I pass …

Member Avatar for dinwal
0
105
Member Avatar for Ghost

I have this code: [CODE]try { robot = new Robot(); robot.mouseMove(0,900); robot.mousePress(InputEvent.BUTTON1_DOWN_MASK); robot.mouseRelease(InputEvent.BUTTON1_DOWN_MASK); }catch(Exception e){}[/CODE] And I want it to click the "Start" button on Windows computers. The mouse moves to the correct location, but does not click. Advice?

Member Avatar for Clawsy
0
190
Member Avatar for Clawsy

Hi, I want to "click" with the mouse using a Robot object like this: [code] Robot bot = new Robot(); bot.mousePress(InputEvent.BUTTON1_DOWN_MASK); bot.mouseRelease(InputEvent.BUTTON1_DOWN_MASK); [/code] This results in: [B]Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Invalid combination of button flags[/B] I even delayed the process before it starts clicking to have time to release …

Member Avatar for Clawsy
0
2K
Member Avatar for web_developer

hey developers i am facing a new problem and need ur help. i have a crystal report running perfect but when i press a button to export the report to specific type such as ("pdf", "excel"...) i got this error. [B][COLOR="Red"] Error in File C:\WINDOWS\TEMP\temp_d5b87b69-0a62-48a7-bb70-0f98fdbf36f2.rpt: Access to report file denied. …

Member Avatar for Castle01
0
115
Member Avatar for Alex_is

anyone enlighten me? i have to find the median...below i found the mean and read the question wrong. how do calculate the median? i have my text input file which has 7 ints, 1-7, so i kno #3 will show up for median...but i dont know how to code it...pls …

Member Avatar for stevelg
0
406
Member Avatar for adraganov

Hi, guys. I've been reading your forum for some time. Now I need a little help again. I am trying to read a bitmap file using BITMAPFILEHEADER, BITMAPINFOHEADER and RGBQUAD in windows.h - I need RGB values or only one of them. All the info in header structures is OK. …

Member Avatar for adraganov
0
267
Member Avatar for jas2010

I wrote a program that should before it WampServer I used from following code [CODE] System.Diagnostics.Process.Start("C:\\wamp\\wampserver.exe");[/CODE] wampServer was run but services isn't run I should do how work ?

Member Avatar for DdoubleD
0
56
Member Avatar for gunjannigam

How to draw a circluar arc of given radius say 20 passing from two Given points. I have seen the function Arc2D.Float but can figure out how to find the required parameters for the contructor and also for QuadCurve2D cant figure out the control point.

Member Avatar for james chaco
0
94
Member Avatar for bamcclur

So I pretty much finished a memory management simulator, and it worked for the test cases my professor gave me, but when I added a test case it didn't work as it should have. The main issue is, the first job will start, and finish, but the wait time wont …

0
56
Member Avatar for kahaj

First off, let me be honest in saying that this is homework. I am not asking for it to be done for me, merely some help in figuring out what I have messed up. Secondly, I am not good with VB, nor do I particularly care for it, but seeing …

Member Avatar for TomW
0
107
Member Avatar for venkat0904

Hi all, I am thinking of a login system which can retrieve user credentials from: i) DB ii) LDAP iii) XML essentially a configurable one.. Like when u choose to get credentials from DB, u can specify the table name and columns to get the value from... similarly for others.. …

Member Avatar for venkat0904
0
77
Member Avatar for bords

hello... i just want to ask for help on how to add or retrieve data in datagrid... in my case, i have my data and im just going to output it in datagrid view.... plz help me guys...

Member Avatar for Geekitygeek
0
108
Member Avatar for redstrykr

I made an Electronic Dictionary for a college project and it's around 85-90% done. The two final issues I'm having is to figure out how to get a count on each individual word ( there are over 1000 words ), keep track of each of them, and display them ( …

Member Avatar for Geekitygeek
0
108
Member Avatar for ahmedlibrian

Hi guys, Anybody can help me out with this. I have made a DLL with VB.net. Under project settings i have marked checked 2 things 1. Register for COM interop 2. Make assembly COM visible When i build project its done successfully. Now i take DLL file from project location …

Member Avatar for kvprajapati
0
525
Member Avatar for pardeep3dec
Member Avatar for kvprajapati
0
87
Member Avatar for jencee

I have searched the forums here and while there are similar problems going around, mine is different from what I've seen. First, I will say that I have yet to do sessions OR injection protection. This is a project for school so those things will come last; the most important …

Member Avatar for nav33n
0
119
Member Avatar for rs25

Hello All, While Browsing thru some sites I visited a site [url]http://www.tattooart.pl/[/url] When you visit by links it work fine but when I delibrately omitted some text in url i can see the Directroy structure and can even access them [url]http://www.tattooart.pl/pliki/[/url] Can you People focus as how this can be …

Member Avatar for rs25
0
143
Member Avatar for bgavran3

Okay, I have a simple problem. I want to print the value of N twice and then increase it (this is just a chunk of a bigger program, ie the one in which it makes sense to do that), however, the output is "1 0". [CODE] #include "stdafx.h" #include <iostream> …

Member Avatar for amrith92
0
140
Member Avatar for rzhaley

im supposed to write a code that you prompt to enter 10 different grades then drop the minimum value, while computing the average of the remaining 9. I'm getting infinity as the answer when I run the program so I know my min is messed up, somewhere but i cant …

Member Avatar for Geekitygeek
0
233
Member Avatar for Byrne86

Iv made conways game of life, but I want the user to be able to select a pre defined pattern or for them to be able to choose different shaped brushes then draw with that brush. Aswell, when I use the radio buttons to change the size, the program goes …

Member Avatar for Geekitygeek
0
227
Member Avatar for kapil.tandon

i have created the code like this [code=asp.net]<asp:GridView ID="grd" runat="server" AutoGenerateColumns="False" onselectedindexchanged="grd_SelectedIndexChanged" Width="100%"> <Columns> <asp:BoundField DataField="ID" HeaderText="Budget ID" /> <asp:CommandField HeaderText="Delete" ShowDeleteButton="True" /> </Columns> </asp:GridView>[/code] a show delete field will appeat at run time. i want to delete the row from the gridview.can anybody tell me how to do it?when …

Member Avatar for sekharM
0
146
Member Avatar for godsgift2dagame

Hey guys, I was wondering how I'd go about returning a "list" of strings inside a member function. I'm assuming an array would have to be created, but I'm not sure...I've tried looking it up but anything with "string" Google'd leads to the string class. Please, I'd really prefer not …

Member Avatar for jonsca
0
165
Member Avatar for lotrsimp12345

i get a stack error [CODE] template <class KT, class DT> void my_bst<KT,DT>::show_bst_structure() const { my_bst_node<KT,DT>* b=root; show_bst_structure(b,0); } template <class KT, class DT> void my_bst<KT,DT>::show_bst_structure(my_bst_node<KT,DT>*& p, int level) const { int i; if ( root == NULL ) { for ( i = 0; i < level; i++ ) …

Member Avatar for lotrsimp12345
0
93
Member Avatar for P00dle

I've found this online(Can't remember where) and I thought it might be usefull to other people as well:[CODE]package org.kodejava.example.text; import java.util.List; import java.util.ArrayList; import java.util.Locale; import java.util.Collections; import java.text.Collator; public class StringShortWithCollator { public static void main(String[] args) { List<String> fruits = new ArrayList<String>(); fruits.add("Guava"); fruits.add("Banana"); fruits.add("Orange"); fruits.add("Mango"); fruits.add("Apple"); // …

0
65
Member Avatar for questionary

Hi. Is there any way to develop app (WinForms) which will fill out textboxes of web app(Asp.net) with standard data. For example I have in my web application 10 textboxes which have to be filled with cureent date. I do not want to fill every single textbox. What functionality do …

Member Avatar for questionary
0
88
Member Avatar for ngnt4

[CODE]import javax.swing.*; import java.awt.*; import java.awt.event.*; public class TravelExpenses extends JPanel { private JTextField days; //declaring textfields and labels private JTextField lodging; private JTextField airfare; private JTextField taxiCost; private JTextField miles; private JTextField rental; private JTextField seminarFees; private JTextField parkingFees; private JLabel daysL; private JLabel lodgingL; private JLabel airfareL; private …

Member Avatar for ngnt4
0
114
Member Avatar for gsc1ugs

Hi I have this data [code] CustBid idProduct bidAmount bidDate 1 272 165.00 2009-11-20 09:05:31.640 1 272 155.00 2009-11-20 09:05:25.480 4 272 95.00 2009-11-19 12:40:44.973 4 272 85.00 2009-11-19 12:40:40.377 1 272 85.00 2009-11-12 11:20:52.400 1 272 85.00 2009-11-12 11:20:52.400 4 272 75.00 2009-11-12 11:11:02.080 1 272 65.00 2009-11-12 11:20:20.170 …

Member Avatar for gsc1ugs
0
185
Member Avatar for phpbeginners

Hi all, I want to convert 1 to 000001 in Visual Basic 6 example: 1 = 000001 2 = 000002 thanks

Member Avatar for phpbeginners
0
63
Member Avatar for futhonguy

Hi i found this script from google search (PHPSense) on pagination. It's a wonderful script. However i wasnt able to do search query on this script. Can anyone help me to figure out how i should go about to modify this script if my search query contains WHEREBY field LIKES …

Member Avatar for futhonguy
0
422
Member Avatar for GadiK

Hi. I'm writing a function for a project that has many authors. I thought it would be nice if there was a tool (VS add-in) that would enable me to insert a comment in the form of a flow chart so that I wouldn't have to write a lot of …

Member Avatar for GadiK
0
100
Member Avatar for ngoelnoi

Hi, I am facing a problem in JTextPane. Actually we are creating a editor like application in Java Swing. In JtextPane we type the matter and set some metter as heading1, heading2 so on as user required and some matter as simple story. My problem is that how can we …

Member Avatar for ngoelnoi
0
104
Member Avatar for sselwyn

Hello! I am supposed to write a recursive method for my assignment in my class but I'm not sure what is wrong with the code I wrote. The method should print all of the letters of the alphabet up to (including) the parameter value. Some examples of what it's supposed …

Member Avatar for sselwyn
0
85
Member Avatar for yoshi14

I am halfway through writing a program to calculate training times, and best exp to health ratios for any game which I can use it in but i have run into an error. I am having a problem loading a form from when a menustrip item is clicked in Visual …

Member Avatar for yoshi14
0
143
Member Avatar for lotrsimp12345

Here's what I have so far [CODE] template <class KT, class DT> void my_bst<KT,DT>::show_bst_structure(my_bst_node<KT,DT>*& p) const { my_bst_node<KT,DT>* le=NULL; my_bst_node<KT,DT>* ri=NULL; //empty tree if(p==NULL) { cout<<"tree is empty\n"; } else { //print node key cout<<p->data<<endl; if(p->left!=NULL&&p->right!=NULL) { show_bst_structure(p->left); } else if(p->left!=NULL) { cout<<"enter left\n"; le=p->left; show_bst_structure(le); } else if(p->right!=NULL) { …

Member Avatar for lotrsimp12345
0
105
Member Avatar for ejazmusavi

i have a c# project with a table "Pics". it has two columns R_no(int) Picto(OLE). How i can store images if different formats in this table and retrieve it to show in a picture box. plz help me to solve this my code is as below [code=c#] string q2 = …

Member Avatar for sknake
0
365
Member Avatar for gdp_87

Hi i am new to php and am trying to sort out the update part of this script. What should happen is the record is selected using the drop down box, changes are made to the required fields and changes are saved. What current happens is i edit the record, …

Member Avatar for Atli
0
80
Member Avatar for xonxon

[code] The following code lists the nodes in a binary tree in two different orders: preorder:C,B,A,E,D,F,H postorder:A,B,D,H,F,E,C Draw the binary tree. The answer is : C / \ B E / / \ A D F / H so, my question is how should i think or is there any …

Member Avatar for mrnutty
0
142
Member Avatar for ceileyg

Hey all - yes, this is another thread asking for some homework help, but I've got a solid start, just looking for some fresh ideas. Anyways, the task is to create a java clock class and access/use it from a driver. I saw something similar on here, but not quite …

Member Avatar for masijade
0
5K
Member Avatar for P00dle

I need to write a combination of String and Images to a file. The catch is that I have to write some String, then the Image, then more String again. Does anyone have any ideas how to do this? Should I use BufferedImage?

Member Avatar for P00dle
0
82
Member Avatar for kool005

Hi, I need to create an adjacency list for a weighted graph. The input is given from a text file. I have created an array assigning each index a vertex. Now i have to link that array with a linked list. For example, vertex 'a' showing all the vertices that …

Member Avatar for kool005
0
69

The End.