43,549 Solved Topics
Remove Filter ![]() | |
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 | |
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 | |
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 | |
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 | |
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? | |
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++ | |
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++ | |
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++ | |
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++ | |
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++ | |
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 | |
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++ | |
![]() | 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++ |
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 | |
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"/> … | |
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 | |
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++ | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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++ | |
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++ | |
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 … | |
![]() | 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 |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 |
The End.