199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bornok15

I have installed a VS 2005 that has a MSSQL Server. When i was about to try running the SQL Server i can't find anything except Configuration tools. I don't know if its express edition or not. Is SQL Server 2005 like this? how would i know that the SQL …

Member Avatar for JRSofty
0
115
Member Avatar for gauravmishra

hi i want to know that what does the scale() method of AffineTransform do i mean when we reduce the size of a image does this transform reduces the number of pixels or something else .........

Member Avatar for gauravmishra
0
104
Member Avatar for bornok15

I've been working with a class module to make my connection codes abit shorter but when i removed my connection from the class and made it public it was not working anymore. The way I use the class lcon = New ADOcon lds = New DataSet Dim ltb As DataTable …

Member Avatar for JRSofty
0
612
Member Avatar for mmc18

typedef struct Individual{ int number_of_la; double cost; }Individual; void deleteIndividual2(Individual **ind){ if((*ind)==NULL) return; freeLists2(&((*ind)->MSC),1); freeLists2(&((*ind)->BSC),1); freeLists2(&((*ind)->LA),1); freeLists2(&((*ind)->BS),1); (*ind)->MSC=NULL; (*ind)->BSC=NULL; (*ind)->LA=NULL; (*ind)->BS=NULL; free((*ind)); (*ind)=NULL; } //LAList-LA-LA_BS ,if includeGroup=1 remove all LAList-LA-LA_BS otherwise List and element will be removed void freeLists(Network_Element_List *head,int includeGroup){ Network_Element_List *temp=head; while(temp !=NULL ){ Network_Element_List *x=temp->next; if(includeGroup) freeLists(temp->element->groupHead,0); …

Member Avatar for mmc18
0
116
Member Avatar for kings
Member Avatar for nav33n
0
164
Member Avatar for KimJack

Hello All, I am having a problem with removing a specific item from a linked list. Any advice would be great: Here are some snippets: private Node head; //the head node at the front of the list private Node previous; //element just before the current position private Node current; //refers …

Member Avatar for sohguanh
0
920
Member Avatar for Suetan

This is just something that I'm working on for my own website. Could someone please check this over real quick to see if I have any major errors in it? [CODE=PHP]<?php /* index.php created by Suetan Start Date: Wednesday January 9, 2008 Project: RPGCMS Version: 0.0.1a */ define('IN_RPGCMS', true); $root …

Member Avatar for Suetan
0
205
Member Avatar for IceBikers

Hi, i have set validating cell control into the datagridview by only allow numeric and a single dot, but i only want to validate specific column only instead all columns. below is what i did [CODE] Private Sub DataGridView1_EditingControlShowing(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewEditingControlShowingEventArgs) Handles DataGridView1.EditingControlShowing 'source: http://www.devx.com/dotnet/Article/33748/1954?pf=true …

Member Avatar for galleon_10
0
492
Member Avatar for blcase

ok exploring the STL <set> if you entered the values say 1 to 1000 in order would it auto balance?....i thought no but then a friend of mine told me about this "red and black" tree and if i test the result times to find an element (random and numeric …

Member Avatar for vijayan121
0
79
Member Avatar for knight fyre

I'm trying to design my UML diagram but I'm not sure about something. If I have a derived class that belongs to two other classes will the two other classes inherit the features of the base class? For example class Vehicle_Details inherits features from class People[I](is-a relationship AKA inheritance)[/I] while …

Member Avatar for knight fyre
0
90
Member Avatar for Jboy05

I have to write a C++ function named MPG which returns the number of miles a car can travel with one gallon of gasoline. The function should have three parameters: the size of gas tank in gallons, number of miles traveled, and gasoline left in tank in gallons. this is …

Member Avatar for superjacent
0
181
Member Avatar for CoolGamer48

Is there any reason why the code below won't work (I mean as far as writing output to file, not as far as writing the correct output to the file): [CODE] #include <cstdio> #include <iostream> #include <fstream> using namespace std; int main() { ofstream fout ("ride.out"); ifstream fin ("ride.in"); char …

Member Avatar for Ancient Dragon
0
289
Member Avatar for demroth

This is the first program I have had to do in 5 years so please don't be surprised by some of the mistakes. I am creating a program that will open a file and sort the integers inside that file using Insertion sort. There are 12 files and each as …

Member Avatar for demroth
0
160
Member Avatar for push

how to deploy project at dotnet by cresting bin folder and puting .exe file in that. and creating shortcut for exe file. pls...........any one pls..............elp me for this.

Member Avatar for push
0
67
Member Avatar for Exo1337

Ok so I need to pull up records one at a time and then have the loop terminate when it reches the end of the input file using while and the istreamVar.eof() commands [code=cplusplus] #include <iostream> #include <fstream> #include <iomanip> using namespace std; int main() { ifstream ticketSale; int num2, …

Member Avatar for codeaa
0
275
Member Avatar for Jennifer84

I wonder what the correct syntax is to delete All contents like below: [B]2D vector string vector double vector[/B] These 3 look like this: [code] std::vector<std::vector<string> > Word2(100, std::vector<string>(100)); std::vector<string> Word1(100); std::vector<double> Number1(100); [/code] Is it correct to do this: delete[] Word2; delete[] Word1; delete[] Number1; Thank you

Member Avatar for sohguanh
0
151
Member Avatar for IIMarckus

Hey guys, I've been having some trouble setting ios:: flags. In general I don't use [inlinecode]using[/inlinecode], but without it what I do doesn't work. [code]#include <iostream> #include <iomanip> using namespace std; int main() { double moneys = 5.2; cout << "$" << moneys << "\n" << "$"; cout << setiosflags(ios::fixed) …

Member Avatar for vijayan121
0
111
Member Avatar for sohguanh

Hi everyone, I am new to this online forum. I am a software engineer residing in Singapore doing software development for a living for past 9 years. Only recently am I introduced to the wonders of ACE. It is such a pity the ACE framework is not part of the …

Member Avatar for sohguanh
0
134
Member Avatar for defience

I have a file named numbers.txt that looks something like this: 1243#74656453634#6356#56456456#565#1212121#78384 83#457#090#720347###24273#18712#478230478#57117 58125671#47464#74647#46474647#19192938#828##2583 5#2948284#6010203040# I need to replace all of the '#' symbols with '!'. Then I need to replace 3 of the'!' symbols to '@' but not knowing which ones. It could be the 2nd, 5th, 15th or …

Member Avatar for woooee
0
8K
Member Avatar for cwarren13

Note: second post contains more info about where I'm having a problem... what I'm expecting to do and what the program is actually doing. Hey all, I'm finishing up an assignment for my C++ class and I can't figure out why the program stops in the middle of it. The …

Member Avatar for cwarren13
0
91
Member Avatar for dogma

Is there a way to query Oracle on the number of connections open (Not as the administrator). I am trying to setup connection pooling and I want something (on the client end) to check how many connections are being maintained etc.

Member Avatar for dogma
0
139
Member Avatar for nish88

hi ..... i'm making an animation but am having a problem Tkinter. the problem is that when i open the file with python 2.5 and execute the code then it works but by just double clicking on the file icon the program don't not work properly.its does not show the …

Member Avatar for sneekula
0
155
Member Avatar for slayer10

Ok, i have been making a chess game program, basically what it is is a chesspiece class and a chess board class, the chessboard class has an 8x8 2-d array of chesspiece objects, then i have my frame, my frame has a parallel 2-d array of Jtoggle buttons, when a …

Member Avatar for slayer10
0
82
Member Avatar for dami06

Hi Guys, I'm trying to create a webpage where it's meant to get some information which i put in the database and then show in the webpage but it's not getting the information. Could you please take a look at my code and tell me if there is a problem …

Member Avatar for dami06
0
180
Member Avatar for maggie789

Hi, I was wondering if there is a way to split double into its integer part and decimal part. I' working on binary converter, and my teacher gave me 4 steps on how to write the program. I've completed step 1 which is separating number into integer and decimal portion, …

Member Avatar for maggie789
0
958
Member Avatar for Phan

I am a noob that is currently trying to learn C++ for a programming class in highschool, and I am having difficulty with a particular project. Basically, I have to create a number guessing game that lets the user play as many time as he or she wants, while telling …

Member Avatar for Phan
0
120
Member Avatar for noble3ad

Hello all, I'm trying to write a program that will compute the real roots of the quadratic equation ax^2 + bx + c = 0 given by: x1 = (- b + sqrt (b^2 - 4ac)) / 2a and x2 = (- b - sqrt (b^2 - 4ac)) / 2a. …

Member Avatar for noble3ad
0
109
Member Avatar for jure.gregorin

Hello! So i have a 200x200 image that has a wheel on it. This wheel can vary positions so i need to find it's center in it. I have a approximate x positon of the wheel, but I still need the center. One problem is also that the wheel can …

Member Avatar for BlackSun
0
140
Member Avatar for rutul

i want to create calender scheduler in c# i which i can insert,edit,update meeting,birthdays,holidays informations . Does any one knows how to solve it?

Member Avatar for BlackSun
0
143
Member Avatar for harryl5

Hey people! I have been using VB2008 since it came out now, and have also used the 2005 version, but I was just wondering, if there is ANY way to create a Chat Application, or any way to create an IM service. Please help me :) Thanks x

Member Avatar for Jugortha
0
209
Member Avatar for debangan.b

hi every body dis is debangan bhattacharyya 4th yr IT student of WBUT...we have project in our final sem...Currently working on a mobile communication based messaging framework for automating job/class/workflow information scheduling using an open standerd based technology I have to write code in python as my instructor has told...But …

Member Avatar for linux
0
122
Member Avatar for ftpvk

I need to write some code for making a double space between 1-2 words, triple space between 2-3, then double again followed by triple and so on. I came up with this code: a = 'one two three four' and I want to get this: "one two three four" print …

Member Avatar for sneekula
0
78
Member Avatar for see_sharp

hi everybody, am new to C#, i want a simple description about using namespaces in C#. plz help me

Member Avatar for BlackSun
0
69
Member Avatar for knish

Hi, #!/usr/bin/python # panels.py import wx class Panels(wx.Frame): def __init__(self, parent, id, title): wx.Frame.__init__(self, parent, id, title) hbox = wx.BoxSizer(wx.HORIZONTAL) splitter = wx.SplitterWindow(self, -1) vbox1 = wx.BoxSizer(wx.VERTICAL) panel1 = wx.Panel(splitter, -1) panel11 = wx.Panel(panel1, -1, size=(-1, 40)) panel11.SetBackgroundColour('#53728c') st1 = wx.StaticText(panel11, -1, 'Feeds', (5, 5)) st1.SetForegroundColour('WHITE') panel12 = wx.Panel(panel1, -1, …

Member Avatar for Lardmeister
0
224
Member Avatar for amitpatney

Hello All, I a beginner to vba 6.0 and vb.net programming. I have 6 months to come up with a solution that entails putting up an access database, that i created, onto the web so that hundereds of people can access it at the same time from multiple locations. Questions …

Member Avatar for harryl5
0
138
Member Avatar for StephNicolaou

I'm trying to make a circle appear from a class I've developed to move following the x co-ordinate of the mouse. I've done that part correctly, it's just loading the class...Can anyone tell me why it isn't loading? I do love to solve problems myself but I've been working on …

Member Avatar for Ezzaral
0
233
Member Avatar for swabyw

I am trying to use a Listview1 instead of a datagrid1 by dropping a oledbDataadapter1 or a SQLDataAdapter1 on the Window form But having the hardest time. I can use this method: Private Sub btnLoad_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLoad.Click Dim MyConnection As New SqlClient.SqlConnection() 'Define …

Member Avatar for Alekhan
0
174
Member Avatar for nblue

I have a design like this: CREATE TABLE moving ( id char(10), itemsList integer, .... ) CREATE TABLE itemsList ( id integer, itemID integer, quantity integer, describtion char (40), ... ) the id in itemsList will be repeat for each different item. I think it very inefficent, so is there …

Member Avatar for nblue
0
107
Member Avatar for Parsu7

Suppose i try to instantiate an abstract class then a checked exception is thrown,but who handles it or how is it handled?

Member Avatar for Parsu7
0
122
Member Avatar for Elchanan

Hi everyone, I began reading about the various options in Fantastico for bloggers (b2evolution, Nucleus, WordPress) and I noticed that out in the world, these are sometimes referenced as CMS tools. Previously, my conception of CMS has included Joomla!, Mambo, and the like, but not these. Would someone be willing …

Member Avatar for Shackbase
0
100
Member Avatar for piers

I am currently working on something where I have to make two shapes which extend to a class called 2d shape. I am currently working on my Triangle class which is this: [CODE]lass Triangle extends TwoDShape { String style; Triangle(double width, double height, String style) { super(width,height); } private double …

Member Avatar for piers
0
800
Member Avatar for JeniF

Hello all, I have a form that contains checkboxes to update a database with either "Yes" or "No" based on the user selection. The check boxes are in an array with the values set to a "LinkID" example: [code=php] <?php //find the user's assigned links $rowlink=$row_rsUpdate['LinkID']; mysql_select_db($database_mambo, $mambo); $query_rsAssignedLinks = …

Member Avatar for JeniF
0
320
Member Avatar for javavsdotnet

i have DSL router with an ip address a.b.c.d i want to write a Linux script, which when executed can restart the router. Please can anyone help me out? thnx in advance.

Member Avatar for DimaYasny
0
41
Member Avatar for boburob

Hi, I am designing a code breaker program that works out letter frequency in a text file and tries to codebreak using the frequency that letters appear in the english alphabet, however at the moment it is only outputting whatever is at the end of the decry array. Thank you …

Member Avatar for codeaa
0
794
Member Avatar for The Midnighter

Alright, so I've got a Merge Sort program working that accepts a text file, and is supposed to split the data from that one text file, into TWO different text files. This is however, just putting them into one =x Any idea as to why? here's part of my code: …

Member Avatar for The Midnighter
0
190
Member Avatar for lordx78

[code=php] <?php // connection to MySQL server mysql_connect('localhost','root',''); mysql_select_db('administration'); if (isset($_POST['submit'])) { $loginUsername=$_POST['username']; $loginPassword=$_POST['password']; $MM_redirectLoginSuccess = "validated.php"; $MM_redirectLoginFailed = "admin.php"; $MM_redirecttoReferrer = true; mysql_select_db('administration'); if(empty($_POST['username']) && empty($_POST['password'])) { die('<div class="error_up">Both field was blank</div> <br><br><div class="footer_padding"> &copy; Copyright Cycle Tracks <span>®</span></div> '); } if(empty($_POST['username'])) { die('<div class="error_up">Username field was blank</div> <br><br><div …

Member Avatar for nav33n
0
88
Member Avatar for googletired

Good day, I have problem that i'm just not 100% to go about it or if it will even work they way in which i wish it to. My current site (article content based) has the option of the user being able to select the article he/she likes and have …

Member Avatar for SheSaidImaPregy
0
104
Member Avatar for RockClimber

I'm teaching myself C++ through googling (my class has no textbook, if you can believe it) so I apologize in advance for my (probably) incorrect terminology. I want to name individual incarnations of a struct by numeric information supplied by the user. Here is a snippet: [code]int main (void) { …

Member Avatar for codeaa
0
101
Member Avatar for tgreer

I've posted a new article on my site, dealing with how to integrate JavaScript and ASP.NET. It's a "beginner level" article. [url]http://www.tgreer.com/aspnet_html_03.html[/url]

Member Avatar for SheSaidImaPregy
0
215
Member Avatar for eranga262154

Hi all, I have two C# projects (a service and a windows form) on the same solution. I want to send some parameters to the service on click event of the service start (serviceControllr.Start() method) How can I do that. Thanks.

Member Avatar for JerryShaw
0
111

The End.