132,726 Archived Topics
Remove Filter ![]() | |
[B]How to sort excell worksheet in workbook using C#[/B] Software Development c# | |
Hi, I've just started using MS VC++ 2010 express and I have a problem which when using Dev C++ I've never had... VC++ doesn't allow me to allocate elements for an array using a variable as a subscript, like this : [CODE] int maxElements = 10; char myArray[maxElements]; [/CODE] It … Software Development c++ | |
Hello All, I have stored a Image in my sql server database and when i am tring to retrive the data the following error is coming.. (Conversion from string " 8901.jpg " to type 'Boolean' is not valid.) In the database and also in the \\Debug\member file that .jpeg files … | |
This is my code and i do understand the logic but i don't understand the algorithm. About the Parking time coz when i give 1:26 in the time in and 2:20 in time out, i got a negative parking time. here's my code [CODE]#include<stdio.h> void menu(char a); void getData(int *a, … | |
[COLOR="Red"]5.8 - Function Declaration vs Array Declaration SYNTAX CLARIFICATION[/COLOR] this declares an array: string word2("Over"); string word3(3, '!'); how are these not being mistaken for functions that pass default parameters? Is it because the parameters placed above are not = to anything or being defined as a type? Are the … Software Development c++ | |
Simple little exercise using the MonthView Date Picker. I'm trying to loop through print all dates from dateclicked to end of month. I'm getting stuck on the comparison value to define the end of the month. Keep getting the "argument not optional error" or and infinite loop. [code] Private Sub … Software Development visual-basic | |
Okay, so I have a project activity to find maximum and min elements of a matrix. I kinda know how to make .asm file, but I don't know how to make .exe and .obj. Or are they generating by themselves? How to connect .exe with .asm? Software Development assembly | |
Hello guys! I have so many form to manage. I want to count the instances of a particular form. For example, if I show my form1 two times then there must be a counter for my form1 and if I also shown my form2 another counter for form2. I want … Software Development vb.net | |
Hi All, I have experience with c, and familiarity with c++ & java (took courses on them, never really used) I want to learn c# now. I know c# is similar to Java. Time passed since my Java studies, so I guess I'll get the concepts fairly quickly, but I … | |
A simple function that converts alphabetic values into their respective lowercase value. Software Development pascal | |
drawn an rectangle on the image using picture box. quires 1. when tried to zoom image the drawn rectangles needs to be placed on the drawn area. 2. Also draw another rectangle (in zoomed mode). 3. when i zoomed out the rectangle needs to resized. How can i achieve this. … Software Development image | |
Thank you friends.I have just began c++ and i dont know were to state from.If any one can help me pliz you are welcome.Thanx Software Development c++ | |
I am using Bloodshed Dev C++ 4.9.9.2 but I am having a tough time understanding how to use their debugger... I can't get it to single step. It tells me there is no debugging information, I let it include debugging information when it aks me for permission to but still … | |
Hi, What is a log file?What is its purpose?How do I open, read and write to log files? Thanks, Toms Software Development shell-scripting unix | |
I want to write a function to add nodes to the end of my linked list. My problem is that I don't know how I can have a pointer that always points to the first node of my linked list.Forexample if I write [CODE] Gnode*p = new Gnode; first->link=p;[/CODE] when … Software Development c++ linked-list | |
#include "stdio.h" #include "conio.h" #include "graphics.h" char far *vidmem=0xB8000000; main() { int gm,gd=DETECT; int r,c,i; char message[]="praveen"; initgraph(&gd,&gm,""); clrscr(); for(r=5;r<=20;r++) { for(c=5;c<=50;c++) write2vdu('',64,r,c); } c=10; for(i=0;i<=10;i++) { write2vdu(message[i],77,10,c); c++; } getch(); } write2vdu(char ch,char attr,int row,int col) { char far *v; v=vidmem+row*160+col*2; *v=ch; v++; *v=attr; } when i run this … Software Development c | |
I was wondering if anybody knows how to uncheck a checkbox in a web browser using VB.NET? I Using the code .SetAttribute("checked", "true") will check a checkbox but using "false" will not uncheck it. I really need to figure this out, does anybody have any ideas? Software Development html-css vb.net web-browser | |
I am trying to incorporate MSFlexgrid to read all the data from a text file but i am currently having a problem with a line Below is the coding Private Sub Command1_Click() MSFlexGrid1.Cols = kiraCols + 1 Open App.Path & "\master_data.txt" For Input As #1 ' linecount = 1 Do … Software Development visual-basic | |
I know the password. I want to crawl all the post of my gf's xanga down to my comp, for better reading. But my gf have set "require friend login" to see her post. So I need to login my id of xanga before reading her post. What I want … Software Development java | |
Hi Guys, My issue is that i dont know of a way to pull data from a formview using C# and inserting or updating that into a database. I saw something which searching around on the internet called a findcontrol, and i gave it a go, but I m so … Software Development asp.net | |
C# noob. Ok, here's what I'm trying to do ... I have a dbUtilities class I've made. And its my desire to have methods in it like "FillListBoxFromDB" .... I want to pass the listBox that will be the target, and the sql query command. I will have multiple places … Software Development assembly | |
i want a search command for searching a data in document or database which search any word in the document Software Development visual-basic | |
I want to create an activation window to add onto clients pc so if they dont pay their account within a certain period the activation window will pop up and not allow them access to the pc until their account is paid and we will provide them with an activation … Software Development visual-basic | |
[CODE]Private Sub Command1_Click() Dim rs As ADODB.Recordset Set rs = New ADODB.Recordset rs.Open "select *from Payroll", Cn, adOpenDynamic, adLockOptimistic rs.AddNew rs!Date = Text1.Text rs!Emp_ID = Combo1.Text rs!EmpName = Text2.Text rs!Father_Husband = Text3.Text rs!Designation = Text4.Text rs!PANNo = Text5.Text rs!PF_PENNo = Text6.Text rs!HRA = Text7.Text rs!Basic = Text8.Text rs!TA = Text9.Text … Software Development visual-basic | |
Hi ALL =) hope all of u will be right I have been visiting this site constantly and I learned a lot from him, this is the first production in the Java language to me I hope that you like. this is my First Program in java language i hope … Software Development java | |
![]() | [CODE] #include <iostream> #include <string> #include <sstream> using namespace std ; int main () { char promptisbn [] = "Plese Enter 10 Digit ISBN" ; string isbn ; int x = 0 ; char buffer[1024] ; cout << promptisbn << endl ; cin.getline ( buffer, sizeof(buffer), '\n') ; isbn = … Software Development c++ ![]() |
Hi, I have always been a little confused about inline/non-inline virtual functions and got a little more confused when I read this in a book: According to the book the code below will fail to link on many systems(it gave no errors on mine, g++ 4.4.1). The explanation is "Even … Software Development c++ | |
Hi all, New user here using VB .Net 2008 I seem to be having trouble getting group boxes to appear when I click a radio button. For example: [CODE] If radiobutton1.Checked Then Groupbox1.Visible = True Groupbox2.Visible = False Groupbox3.Visible = False Groupbox4.Visible = False End If[/CODE] This indeed brings up … Software Development vb.net | |
Hiya, I need to make a game for my cs class. My game is the word find game and it plays like this: You are given a long word like "antidisestablishmentarianism" and your goal is to find as many words in to word given as possible. My program will save … Software Development java | |
My objective is make a game program for my cs class. So my game is like this: You input a word and then input another word which starts from the last letter of the first word. The program check if the word has been used before and if the last … Software Development java java-swing | |
Hi..........I am trying to create a simple text file compressing tool in c sharp? Can anyone give me the code for a simple algorithm implemented in c sharp? I have already used MSDN code using System.IO.Compression but i need something else. It shud be simple and compress a text file.....Can … Software Development algorithm | |
Hey, well I have this problem, I am making a game in Java and it is getting really far. If anyone saw my last problem, that is resolved and I finished my networking code. Here is the problem, to start a new game window in my code, one would write … Software Development java | |
I'm writting program in VB 2010, but I have a problem. I want to draw a temporary line on PictureBox control MouseMove event. That works fine but deleting of that line doesn't work. I tried to draw the white line on the same coordinates (PictureBox's background is white), but won't … Software Development vb.net | |
Alright. So I have a Macbook Pro. I also know a bit of c++. I want to know how to draw simple shapes. You know, rectangles, circles and stuff. Like in java (while using console) you can do c.drawRect and stuff? Same way.. is there something or some way to … | |
someone help me pls...The 'Add' works fine..but when i try to open it,my full name didn't show completely , such as 'Jack Sparrow' = 'Jack'.. help me pls. #include<fstream> #include<iostream> #include<string> using namespace std; void main() { string name; int age; int options =0; char filename[20]; while (options!=3) { cout … | |
Hi guys i have java scripts as follows His acquaintance with Elizabeth was very trifling."</p>\n<P class="Sx0x1">"To be sure, Lizzy," said her aunt, "he is not so handsome as Wickham; or, rather, he has not Wickham's countenance, for his features are perfectly good. But how came you to tell me that … | |
Hi guys..i have a XML: <?xml version="1.0" ?> <EmployeeDetails> <Employee EmployeeName="Johnny" EmployeeId="209007" CompanyName="ABC Inc." CompanyAddress="Bangalore" ContactNo="0000000" /> <Employee EmployeeName="JohnnyDepp" EmployeeId="78452" CompanyName="ABC Inc." CompanyAddress="Bangalore" ContactNo="0000000" /> <Employee EmployeeName="JohnnyStechhino" EmployeeId="45678" CompanyName="ABC Inc." CompanyAddress="Bangalore" ContactNo="0000000" /> <Employee EmployeeName="JohnDoe" EmployeeId="45981" CompanyName="ABC Inc." CompanyAddress="Bangalore" ContactNo="0000000" /> <Employee EmployeeName="Soumyadeep" EmployeeId="12345" CompanyName="ABC Inc." CompanyAddress="Bangalore" ContactNo="0000000" /> </EmployeeDetails> … | |
I have a piece of client software which sends an HTTP POST request asynchronously using a "chunked" transfer encoding ($ENV{HTTP_TRANSFER_ENCODING} is "chunked"), which I'm utterly unfamiliar with -- and unfortunately I can't change the client specification. I need to write a simple server script to receive the client's chunked data, … Software Development client-server perl | |
Hi everyone I am making a system where i have to refresh the database after updating it. I am using a JTable and a mysql database, but i have to close down the application so that the updates can be implemented.Is there a way of refreshing the connection session, or … | |
Is there a good way to make vba code secure other than using a password, which I understand is quite easy to break? Software Development visual-basic | |
![]() | hey, I have tried many methods to save my datagridview contents to a file but with no luck does anybody have a good method for xml to datagridview, datagridview to Xml, or any other methods to read/write a datagridview |
hi i want ask how things get copied when i assign one object s1 to the another object s3(s3=s1)of the same class string in the following given example,also tell why constructor 1 needs to be initialized like str[0]='\o' ..thanks in advance [code]#include<iostream.h> #include<string.h> #include<conio.h> const int max=80; class string { … Software Development c++ | |
Hi, I am having throuble resetting my textboxes to nothing if the selection in the listview is nothing. I.e. when i select a record my textboxes are updated with teh selected data, but if nothing is selected after something is selected I would like to clear the textboxes to blank … | |
I would like to design a programm in visual basic.net meet the following requirements: Fibonacci numbers Input limit is 15 Numbers are 0 1 1 2 3 5 8 13 The program must allow input limit Display all generated Fibonacci numbers The sum of all the Fibonnacci numbers Anyone who … Software Development display vb.net visual-basic | |
Hello Everyone, I am working on this [URL="http://www.ibm.com/developerworks/opensource/library/os-eclipse-stlcdt/#author1"]Eclipse development tutorial from IBM[/URL]. I had already installed Eclipse prior to finding this tutorial and had installed MinGW instead of Cygwin. But other than that change, I followed the "Lottery" programming tutorial precisely until I got stuck at the Running the Program … Software Development c++ | |
The solution to my problem is probably very simple, but I am having great problems solving it. I have a [B]MainWindow[/B] Class calling a [B]Dialog[/B]. I send the contents of a list from a loop to the Dialog lineEdit for a user to accept or change as required and return … | |
there is a string like [CODE] 0123456789 string a = "25 + 5.6 - (54 - (-61))" a[0] = 2 a[1] = 5 2 = 3 = + 4 = 5 = 5 6 = . 7 = 6 8 = 9 = - 10 = 11 = ( 12 … Software Development c++ | |
Hi all, Here is a code snippet that is bugging me off for a while: [CODE] #define size (20 * 1024) unsigned char data_base[size]; /*my application here*/ ......... ......... ......... ......... [/CODE] The global variable "data_base" as you can see is uninitialized. The executable size was 434KB. when this variable … Software Development c | |
I would like to create a battleship game in C++. I have the game working but I cant really decide how to determine what positions make up a ship. My game board is a 15 x 15 so, for example: 0000000000000010 0000000000000010 0000000000000010 0000000011000000 0001000000000000 0001000000000000 ect.... So what I … Software Development c++ |
The End.