43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for spinnaret

Hello All, I would like to programatically set the Column borders for a datagrid based on the column Index. So I would like Columns(3) for exampe, to have a border but not Columns(1) or Columns(2). The only thing remotely like this I can find is the datagridview grid setting. But …

Software Development vb.net
Member Avatar for spinnaret
0
131
Member Avatar for bpacheco1227

Upon checking the corresponding check box, which is either Ladies Shoes, Men Shoes, Sneakers or Sandals, the program needs fill the listbox with the checkbox information. Can't figure the syntax, any help would be greatly appreciated. [code=VB] Public Class Form1 Private Sub chkboxLadiesShoes_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) …

Software Development vb.net
Member Avatar for Jx_Man
0
139
Member Avatar for EkoX

Hi masters... How i can got last 3 character from string? Ex : Daniweb -> i got "web" is this possible? Please Help me Regards

Software Development vb.net
Member Avatar for Jx_Man
1
108
Member Avatar for JackDurden

My output looks like this "T h i s m y o u t p u t" and I want it to look like this "This is my output". Any suggestions? I guess what Im asking is how do you take words from a file and put it into an …

Software Development c++ file-system
Member Avatar for Alex Edwards
0
188
Member Avatar for Clockowl

Howdy folks, Does anyone know if GCC is capable of creating a fixed length 1D array of an N-Dimensional array for reasons of speed? I've heard it matters quite a lot if one works constantly with N-Dimensional (with N != 1) compared to 1D arrays in terms of speed, but …

Software Development c
Member Avatar for grumpier
0
90
Member Avatar for AlSal

I've been trying to find a complete list of the c/c++ libraries and all of their functions, but everywhere I look, I only find a part, never the whole thing. Is there a website where I can find such detailed list?

Software Development c c# c++
Member Avatar for BeyondTheEye
0
94
Member Avatar for Cindy_

Hello! First of all, sorry if my english sucks, it's not my first language >_< I want some help of you guys. I got a vector of dates named ListDate[i], and I want to do a search on it, to find the last days the user defines, for example: The …

Software Development c++
Member Avatar for Cindy_
0
197
Member Avatar for Extreme

I need to make a program to check if the entered number is palindrome or not i.e. if u take a number and reverse it it will be the same old number for example if u take 121..then if u reverse the number it will be 121 and so 121 …

Software Development c++
Member Avatar for Ancient Dragon
0
186
Member Avatar for Jennifer84

I think I have a convertingproblem when using stringstream. I multiply 0.995 * 19.99 wich is: 19.89005 The first messageBox do show because 19.89 < 19.89005. Then I convert Total to string and back to double again and do the same check if: 19.89 < NewNumber But here the MessageBox …

Software Development c++
Member Avatar for Jennifer84
0
95
Member Avatar for unbeatable0

Hey there, I'm trying to use the SetSuspendState() function to hibernate the computer, but I have no idea what parameters I should send to it. The prototype is "BOOLEAN WINAPI SetSuspendState(BOOLEAN, BOOLEAN, BOOLEAN);" Since I'm a somewhat beginner in c++ programming, I don't really have an idea what BOOLEAN means …

Software Development c++
Member Avatar for dougy83
0
567
Member Avatar for kux

This may sound silly. I have a class that contains a vector of pointers to instantiated objects. I want to return a refrence to that vector, but I don't want to be able to modify the vector through that refrence. Now, if i return a const reference, the vector is …

Software Development c++
Member Avatar for dougy83
0
113
Member Avatar for dinilkarun

Hi friends.... I am using SS Tab in my form. There are 4 tabs in total. The user needs to enter a text provided on tab1 and then go to tab2. If the user clicks on tab2 without entering text in the textbox, a message box should be shown to …

Software Development visual-basic
Member Avatar for dinilkarun
0
146
Member Avatar for Emerald214

Excuse me, could someone help me? This code from an ebook and it isn’t wrong but it gives an error while being compiled. I don’t understand what error it is. error C2653: 'vector<int,class std::allocator<int> >' : is not a class or namespace name [code] #include<vector> using std::vector; int main() { …

Software Development c++
Member Avatar for Emerald214
0
158
Member Avatar for iamthwee

OK I was wondering what is the easiest way to do this? Let's say I have some arguments int main(int argc, char* argv[]) and argv[1] equals a c-style string. I want to change this to a std::string because I want to do stuff with it and I prefer working with …

Software Development c++
Member Avatar for vijayan121
0
92
Member Avatar for bprabhumdu

Hi friends, in my vb project , hindi font doesn't set . i download the mangal font from internet and paste it in a c:windows/font folder........but it resemble like a unknown symbol... any help will be appreciated .... waititng for ur reply

Software Development visual-basic
Member Avatar for Drycola
0
108
Member Avatar for afolli

Hello, I have to base64 encode a large quantity of data and include it in the XML response of the webservice.The WSDL define the XML element in the following way: [CODE]<xs:complexType name="MessagePart"> <xs:simpleContent> <xs:extension base="xs:base64Binary"> <xs:attribute name="contentType" type="xs:string" default="text/plain" use="optional"/> <xs:attribute name="length" type="xs:int" default="0" use="optional"/> <xs:attribute name="offset" type="xs:int" default="0" use="optional"/> …

Software Development apache java xml
Member Avatar for afolli
0
177
Member Avatar for smile4evr

hi... im finding an error in the following statement... here department is my database name... n deptid n deptname is the name of the fields on the form... when i run the form it shows "No value given for one or more parameters." [code]sql = "INSERT INTO Department(Department_ID,Department_name)VALUES(deptid,Text2)"[/code] please help …

Software Development visual-basic
Member Avatar for Jx_Man
0
73
Member Avatar for nizbit

I'm trying to call a member function inside a class but am having no luck. I need to find the length of the array. When I posted this code before there were some questions on the member functions. The reason those functions are private is that I don't want the …

Software Development c++
Member Avatar for Ancient Dragon
0
2K
Member Avatar for toadzky

I'm pretty sure this isn't possible but I want to be sure. I have a form with text boxes. I want to be able to link the text boxes to members of an object. Is there anyway that I can make the text boxes reflect specific data members?

Software Development
Member Avatar for toadzky
0
91
Member Avatar for kyosuke0

My goal is to read Olympic data into an array of structs. What i need to read in is the country code, and number of gold, silver or bronze medals that the country won. Also if one country won more than one medal, i am to just increment the information …

Software Development c++
Member Avatar for kyosuke0
0
164
Member Avatar for 3Dees

Hey, Can anyone help me solve this, i am trying to read the value of Console.Readline into a varible declared as Double using vb 2008. As shown below: [code=vbnet] Private Sub ReadQuantity() ' Read ask customer to input many liters Private quantity As Double Console.Write("How many liters (only whole liters …

Software Development vb.net
Member Avatar for EDDYGATE
0
271
Member Avatar for VernonDozier

This is a simplified version of a larger project. I have three JPanels contained in a larger JSplitPane called [ICODE]wholePanel[/ICODE]. The top panel and left panel hold labels and buttons, which I have not included here. The lower right panel, called [ICODE]canvasPanel[/ICODE], is where I draw shapes. I'm trying to …

Software Development image java java-swing
Member Avatar for VernonDozier
0
829
Member Avatar for yair7190

hi everyone! i'm kind of new to perl and having some problems with a script i wrote. hope i came to the wright place :) here's my problem: i wrote a script that goes through each line in a file (i loaded the file into an array "RevLogFile") and when …

Software Development perl
Member Avatar for yair7190
0
139
Member Avatar for mufliha

hi everyone, iam using vs.net2005 and sqlserver 2000.i want [B]connection string [/B] to connect to local sql server.the connections strings which i used in vs.net2003 isnot working here.so plzzzzzzzzzzz help me as soon as possible. thankuuuuuuu

Software Development
Member Avatar for Jx_Man
0
89
Member Avatar for bops

Hey all, very simple question here.. How in Java can I get a Rectangle object that represents the Desktop coordinates? In fact just the width and height of the Desktop will do.. I'm just looking for something similar to the following C code [CODE=C] HWND hDesktop; hDesktop = GetDesktopWindow(); if …

Software Development java
Member Avatar for bops
0
126
Member Avatar for spinnaret

Hello All, I would like to display charts based on some conditions being fulfilled. I have pseudocoded the information. If the use of pseudocode is not acceptable please inform me and I will code it in vb. Essentially I need to display inofrmation about Multidisciplinary Teams in a number of …

Software Development display vb.net
0
60
Member Avatar for Gaspacho

Hi there, I'm currently making application for my school project. I have managed to get everything working but there is still one thing left on my list. The application should be capable of listening on a specific port for a specific type of packet (the protocol is SCTP). I tried …

Software Development java
Member Avatar for peter_budo
0
104
Member Avatar for mufliha

hiiiiiiiii evryone, plz help me out.i want to delete a record but not able to do so.plz check the code and rectify the mistake.it is giving some unknown error.thnqqq [code=csharp] private void button1_Click(object sender, EventArgs e) { int i; String sqlvar =("Delete from emp where empno=" + textBox1.text); string conn1 …

Software Development open-source
Member Avatar for JerryShaw
0
100
Member Avatar for Demonisya

Hey....Help me in this one please... I have to encode something that the output will come out as example....10, 8, 6, 4, 2, 0..... please help me what I did wrong....Thanks ...and I like to thank Narue too...for helping me in my last problem....I have to do this without using …

Software Development c
Member Avatar for Demonisya
0
310
Member Avatar for redflame777

In the code below I am getting a complier error that looks like this: ';' expected }while (employee_equals("")) ^ I am not sure why I am getting this error or how to fix it. [code] //get employee name { System.out.println( "Enter employee name: " ); employeeName = input.nextLine(); do { …

Software Development java
Member Avatar for redflame777
0
124
Member Avatar for devnar

I found the following code in the 'Code snippets' section( written by nanodano). i tried compiling it in my Dev-Cpp compiler, and i got the output as shown in the attachment for up, left, down and right arrow keys respectively. All other defined keys i.e., F1 to F10 gave the …

Software Development c
Member Avatar for devnar
0
197
Member Avatar for Seagull One

I've been doing some more work on my robot today and I'm having a bit of trouble with calling a random function like so: [CODE=python] import speech import random import pythoncom running = 1 class OnTopic: topic = "nothing" def TopicChange(self): self.topic = "nothing" print OnTopic.topic class Know_Raptors: def RapYoung(self): …

Software Development python
Member Avatar for vkumar42
0
1K
Member Avatar for abu taher

what difference between access and sql. i use access in a database project not sql. what what problem i will faced for not use sql. or what advantage i will get for using sql.

Software Development sql visual-basic
Member Avatar for Ancient Dragon
0
100
Member Avatar for Helgso

I'm a beginner to C++, I use CodeBlocks which I think is related to Ming so please make your answers pointing to C++ but not Visual C++. Thanks! And also, please ecplain things in detail ... Well, after a long search on the net I found the code that looks …

Software Development c++
Member Avatar for Helgso
0
333
Member Avatar for Th3_uN1Qu3

A lot of blah blah, scroll down for the matter i need help with... Hello everybody. I'm a moderator of a gaming forum and a big fan of bishoujo games. I sometimes do my own game releases/revamps, but what i've did till now didn't involve much "real" coding. I want …

Software Development audio data-structure gaming perl python
Member Avatar for Th3_uN1Qu3
0
199
Member Avatar for chiwawa10

Hi all, I have a piece of program written in Visual C++ which works just fine in Win XP. However when its run in Vista, the error message "A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available." …

Software Development c++ windows-vista
Member Avatar for Salem
0
118
Member Avatar for marcosjp

Hello there! I wrote a small program in C on Windows using DevC++. It works perfectly, but when I try to run it on Linux I get compiler erros at these lines: [code=c]void printOctets(int octets[][], char []); void printInterval(int suntwk[][], int brdc[][]); [/code] This is a college assignment and I'm …

Software Development c
Member Avatar for marcosjp
0
102
Member Avatar for Jennifer84

I think this could be a simple question. I have declared a 2D vector like below. The thing is that by default all elements is set to 0. What I want to do is to declare all of these elements to: -1 how this is possible without doing that with …

Software Development c++
Member Avatar for twomers
0
739
Member Avatar for john88

Hi I have a question. Basically I want to create a dictionary of words, where a user has typed in a couple of sentencies. Im then supposed to sort it in alphabetic order and also count how many times a word has appeard. The sentence contains letters and whitespaces. Ex: …

Software Development c++
Member Avatar for john88
0
94
Member Avatar for AKJo

I have just installed Delphi 2007 in my Vista (jumping from 6 in wonderful XP). Everything is new and unknown. Help seems impossible to find, and I need to get a DLL showing its object in my Tool Palette so I can compile old programs. Could someone please guide me …

Software Development delphi pascal
Member Avatar for AKJo
0
956
Member Avatar for imyewneek

Alright I am totally new to Visual Basic and might have just shot myself in the foot agreeing to do this class! Our first project is due tomorrow and not only has my book still not arrived but I was violently ill the past few days and missed class! (Senior …

Software Development user-interface vb.net visual-basic
Member Avatar for silambharasan
0
90
Member Avatar for BeyondTheEye

Well, the basic structure is a form which uses multiple classes defined in seperate files. Below is my controller class which is supposed to keep track of which files are opened. It's included in both the form and the [i]Map.cpp[/i] file, which contains all Map function implementations. I'm supposing these …

Software Development c++ data-structure visual-basic
Member Avatar for BeyondTheEye
0
262
Member Avatar for Blackeagle

Hello, i have two questions concerning programming in Java. [U]1st Q:[/U] i have more than frame opened for the same program and when i want to close one of them, all the program closes as well. basically i write this code for closing the frame when clicking on a button: …

Software Development java
Member Avatar for Blackeagle
0
217
Member Avatar for asmit1987

hello ppl, i have a doubt how do i append [B]MSWord[/B] in my proj. if i have a form on which i make a button now on clicking that button [B]MSWORD[/B] should open. If i use [B]system.diagnostic.process.start() [/B]and the whole path of [B]MSWORD[/B] in the bracket it will work but …

Software Development vb.net
Member Avatar for asmit1987
0
203
Member Avatar for smile4evr

Im not able to run my program witht the following code! [ICODE] Dim rst As ADODB.Recordset Dim sql1 As String sql1 = "insert into Passport_Release VALUES('0259','14/09/2008','returned')" CN.Execute sql1 As Recordset [/ICODE] instead of the last statement i even tried CN.Execute sql1 alone.... but nothing is working... i doubt if error …

Software Development visual-basic
Member Avatar for Jx_Man
0
97
Member Avatar for NinjaLink

I need help with my output. I have pretty much everything done. I'm just getting an output like: "The class average is 5.8%" "The class average is 12.4%" "The class average is 13.6%" "The class average is 18.4%" etc. "Highest grade is 58%" "Highest grade is 66%" "Highest grade is …

Software Development c++
Member Avatar for Sky Diploma
0
274
Member Avatar for smile4evr

i have made a sstab with three tabs... i want to know that if i hv to assign different funtions like only one tab should be active for one user at a time where as the other should be disabled... please help soon... very urgent

Software Development visual-basic
Member Avatar for GaryOC
0
234
Member Avatar for AllenB

Hello, I am relatively new to Java. I would like to know how to add additional threads to this applet. Particularly adding additional balls that bounce at the same time. I think the problem lies in my mousePressed event. The program will start a new ball, but make the existing …

Software Development java java-swing
Member Avatar for AllenB
0
2K
Member Avatar for deviantrunner

i'm pretty new to using python...i'm still in the 1st basics... nyway i've tried to work this up... but it didn't work :s... it shows that there's something wrong with the "def" of the add and sub and div and mul formulas...here is the program... tell me what i did …

Software Development python
Member Avatar for deviantrunner
0
220
Member Avatar for redflame777

I have worked on this class all last night and I am having trouble finding the problem. When I compile this file I am recieving errors and I do not understand what is the problem. Here is the program code: [code] public class Employee { private String employeeName; //name of …

Software Development java
Member Avatar for redflame777
0
70

The End.