132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for galhajaj

Hi :) i am creating a game in C# the game contain a lot of windows and views i heard about mvvm & mvc design pattern but when i search for them i get only things that relative to asp & wpf... and those are (if i dont get it …

Software Development software-architecture web-design
Member Avatar for surajrai
0
294
Member Avatar for Lotus_2011

Hi I wanna to ask about siverlight question.How to save pdf document in wcf (ServerSide).

Software Development pdf
Member Avatar for surajrai
0
88
Member Avatar for harsha_123

I'm new to c++. I was studying data structures and came to know Linked Lists Lately. We had a problem of finding an item stored inside a linked list and here's the code I wrote using Visual Studio to store and find an item. This code gives me a run …

Software Development c++ linked-list visual-studio
Member Avatar for harsha_123
0
1K
Member Avatar for cvanithakpm

hi any one help me.. in this pgm if i use pointer in name means it correctly working, but by using array to name it doesnt work properly... it shows lvalue required.. by using array i need to run this pgm.... plz help me... main() { type def struct { …

Software Development c
Member Avatar for zeroliken
0
100
Member Avatar for gourav1

hey! i have made a List object as follows: List error = new LinkedList(); and then as per my requirements, i have added strings in it. like error.add(); like this. so, now at some time, i want this list to be empty, so i was doing error=null; which is giving …

Software Development java
Member Avatar for gourav1
0
140
Member Avatar for Ismatus3

Hello friends , I just need to know if I can print a Tkinter window on paper , if yes i need to know how , it is a window of a form of a new inscription . Thank you very much :)

Software Development python tkinter
Member Avatar for Ismatus3
0
109
Member Avatar for Mr.BunyRabit

Hey there, is there a way to convert a string to a tree path? i can convert a path to a string, but not the other way around... [CODE]jTree1.getSelectionPath().toString()[/CODE] thats the only way i know.. nooo idea how to convert it back??

Software Development java java-netbeans
Member Avatar for Mr.BunyRabit
0
881
Member Avatar for Mr.BunyRabit

Hey there. I have a program that uses access, and everytime i go to install it for some one i have to keep my fingures crossed and hope they have office installed on their pc. Is there a way to run my program without buying microsoft office? (using access database) …

Software Development java microsoft-access microsoft-office
Member Avatar for Mr.BunyRabit
0
804
Member Avatar for Priya Dharsini

import java.net.*; import java.io.*; import java.util.Date; import java.util.*; public class crawling { //Properties private String startUrl; private int maxUrls = -1; private boolean limitHost = false; private boolean crawling = false; private Date currentDate; private int counter=0; // Set up crawl lists. HashSet crawledList = new HashSet(); LinkedHashSet toCrawlList = …

Software Development http-protocol java seo
Member Avatar for stultuske
0
331
Member Avatar for shann1718

hello guys im a newbie started studying vb.net 2010 on last week of december 2011. in my first form i have a datagrid havng access 2003 as db. on my second form i have textboxes. now what i need to do is when i clicked a specific row of my …

Software Development vb.net
Member Avatar for M.Waqas Aslam
0
124
Member Avatar for tcl76

hi, attached is my sample file. i want to extract all lines starting from -- num until before -- Advanced. appreciate if anyone can show me. thanks johnny

Software Development python
Member Avatar for tcl76
0
636
Member Avatar for pwolf

well this is the first time i am trying to make a module, i saved the .py file into a new directory called MyModules and tried to import it in IDLE, but it returned the following error; Traceback (most recent call last): File "<pyshell#0>", line 1, in <module> import polymod …

Software Development python
Member Avatar for pwolf
0
580
Member Avatar for Ehtesham Siddiq

Hi, My application is in VS2008 and coded in Vb.net. I have my database in Sql Server 2005.I have a Database table say Table1 in My Database named Test. Now i want to export the data in Table1 to a MS-Excel(.xls) file on the click of a button. An excel …

Software Development sql vb.net
Member Avatar for Pgmer
0
1K
Member Avatar for daviddoria

Can anyone explain why I can't sort this vector: [code] #include <iostream> #include <vector> #include <algorithm> #include <memory> struct Test { public: Test(const unsigned int input) : a(input){} int a; }; struct SortFunctor { bool operator()(std::shared_ptr<Test>& object1, std::shared_ptr<Test>& object2) { return(object1->a < object2->a); } }; ////////////////////////// int main (int argc, …

Software Development algorithm c++
Member Avatar for vijayan121
0
4K
Member Avatar for Karlwakim

Hi everybody, Is it possible to write a c++ compiler in c++ ? Its bootstrapping, right ?? In which language are usually written compilers ? Thanks

Software Development c++
Member Avatar for vijayan121
0
198
Member Avatar for BCBTP

I have a piece of software, that I would like to license and protect but I am having a hard time finding the right license, and how I would go about with it. Is there a license that allows: - Free distribution of the executable and DLL's - Costs money …

Software Development c++
Member Avatar for vijayan121
0
198
Member Avatar for Xinen

Let's say I input the letter: c it will show: c - cat How do I do that? Thank you!

Software Development c
Member Avatar for Adak
0
137
Member Avatar for scheppy

Im trying to make a simple program.It just has a couple JButtons and JTextFields, but its looks kinda odd, and I was wondering how to change their size. Thanks In advance Scheppy

Software Development java
Member Avatar for scheppy
0
82
Member Avatar for nav07

This is my code, but its taking time to save record in excel. In SQL Server table have 11201 rows and 80 columns. please suggest private void button1_Click(object sender, EventArgs e) { Microsoft.Office.Interop.Excel._Application app = new Microsoft.Office.Interop.Excel.Application(); Microsoft.Office.Interop.Excel._Workbook workbook = app.Workbooks.Add(Type.Missing); Microsoft.Office.Interop.Excel._Worksheet worksheet = null; app.Visible = true; worksheet = …

Software Development microsoft-office sql
Member Avatar for hericles
0
211
Member Avatar for Sarkahn

This is a way to force a given aspect ratio of a window any time the user tries to resize or cascade it. [CODE] double aspectRatio = 640.0 / 480.0; WPARAM sideBeingDragged = 0; LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) { switch(msg) { case WM_CLOSE: DestroyWindow(hwnd); …

Software Development api c++ microsoft
0
499
Member Avatar for walid86

i am curious to know if any one else has used this software... EasyByte RTF to HTML [url]http://www.easybyte.com/products/rtf2html.html[/url] i have tried sending them an email, but yet to receive a reply. I even bought the software as i really need a RTF to HTML dll component; it said wait 24 …

Software Development
Member Avatar for walid86
0
179
Member Avatar for donlee

Dear Master, I have some confuses problem, I have an java window application that has been used almost 2 years more, suddenly today, when i run the application, error message come out "this application is corrupt". I try to run in others (almost 5 workstation), the result is same. any …

Software Development java
Member Avatar for dmanw100
0
193
Member Avatar for lethal.b

I have to create a midlet using netbeans. It says have 1 form that allows the user to enter data. Second form shows a gauge. The third form displays results. It must also have 2 threads. 1 thread that reads the users input and another thread that carries out some …

Software Development java
Member Avatar for dmanw100
0
119
Member Avatar for sunmania

Hi Friends how to extract following data and store in string variable. All variable are string no need to use any other data type like datetime and so on. [CODE] Deposits and Additions Date Description Amount Refe 11/01 Test1 201f13050000100 NEWEDGE 1,500,000.00 OBI:FFC SAN LAZARO, SA A/C 430 11/01 Test2 …

Software Development java
Member Avatar for dmanw100
0
2K
Member Avatar for aileengrace03

Private Sub Text5_Change() Dim ccs As Double Dim bal As Double Dim loss As Double Dim pcs As Double Dim bcs As Double Dim bgl, aa As Double Dim total As Double Dim a As Long Dim X, y, z As Integer X = 0 z = 0 a = …

Software Development open-source visual-basic
Member Avatar for BitBlt
0
214
Member Avatar for buynsell

After bunch of searching on google I end up with posting new thread for help, I am trying to login to youtube using webRequest/Response but no success, it is returning source code which tells that "Your browser cookies disabled ..." etc. Attaching my code and can someone tell me the …

0
138
Member Avatar for scheppy

[CODE] import java.awt.*; import java.awt.event.*; import javax.swing.*; /* *Created by ************ *on Dec 28 *to calculate the area of multiple shapes */ public class AreaCalculator extends JFrame implements ActionListener { static JTextField triwidth, trihieght, recwidth, reclength, cirradius; static Container contentPane; static JPanel infoPane; static double circlearea; static JLabel circleanswer; public …

Software Development java java-swing
Member Avatar for scheppy
0
250
Member Avatar for breakzzzz20

Can someone Help me in my general problem,i can't decrypt the encrypted xml files??is there any tools to use?so i can edit or make readable the encrypted xml files?[CODE]<a href="http://www.mediafire.com/download.php?z7k0q8io2t1nxyf"> <i>click me to download the 2 xml encrypted file</i></a>[/CODE] hope someone help/suggest/comments in my threads.

Software Development xml
Member Avatar for breakzzzz20
0
236
Member Avatar for dobson1953

I have coded the following which works [CODE]Public Sub bBetStatus_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles bBetStatus.Click GetBetStatus(104604222) 'Call getMUBets End Sub Public Sub GetBetStatus(ByVal YourMarket As Integer) Dim Req As New BFUK.GetMUBetsReq With Req .header = oHeaderUK() 'The standard header .marketId = 104604222 'The market of interest …

Software Development api vb.net
Member Avatar for Reverend Jim
0
106
Member Avatar for triumphost

I have an idea for a program but I don't know if its possible. I want to write a program that can read commands from a file.. For example, I've seen bots that can parse and read javascript for games and execute whatever is in the .java file.. How can …

Software Development c c# c++
Member Avatar for triumphost
0
179
Member Avatar for sanket044

Private Sub Button_Click() Handles Button1.Click, Button2.Click, Button3.Click MsgBox() End Sub

Software Development vb.net
Member Avatar for Reverend Jim
0
122
Member Avatar for sanket044

Private Sub Button_Click() Handles Button1.Click, Button2.Click, Button3.Click [INDENT]MsgBox()[/INDENT] End Sub Can anyone say me how can we print that which button is clicked?????

Software Development vb.net
Member Avatar for Reverend Jim
0
754
Member Avatar for Rox Vi

Hi, I am having problem with my coding below when I would like to export the data from GridView to Excel Spreadsheet. Appreciate if you could share your valuable comment. Thanks [B]Error Message =[/B] Class 'System.Web.UI.WebControls.GridView' cannot be indexed becasue it has no default property. [B]Error Line[/B] = xlWorkSheet.Cells(i + …

Software Development asp.net microsoft-office vb.net
Member Avatar for Reverend Jim
0
454
Member Avatar for lastbencher

C++ course has started in my college. I would like to know the best beginner book for C++. My teacher has referred Robert Lafore and The Complete Reference. Since there are a lot of suggestions given in the sticky thread, I am confused. Thanks in advance :)

Software Development c c# c++
Member Avatar for lastbencher
0
227
Member Avatar for morred

Heya, still rather new to programming, I'm having trouble understanding NullPointerException. The code below throws NullPointerException at rows 30 and 92. I do not quite understand why (as I understand it row 30 won't be run before the objects are created)? Any help would be appreciated!! [CODE]public class Uppg5_OH { …

Software Development java
Member Avatar for morred
0
157
Member Avatar for MrBillyUK

Hi all! I am having some trouble displaying the whole of a file within a JTextArea. The problem is that every new line of code that's read is showing within its own JTextArea rather than the text being displayed within a single JTextArea. I assume that the problem is something …

Software Development gui java java-swing
Member Avatar for MrBillyUK
0
148
Member Avatar for Suirbachi

Hello all, I'm taking my first BASIC programming class this year, and for a final project, I'm trying to make a book-keeping log. What I want to have happen, is to open a list of books, highlight a book title, click the "check in" button and have the text change …

Software Development visual-basic
Member Avatar for BitBlt
0
278
Member Avatar for harvybcn

I have a Win32 Application in C++. At runtime, It loads a Matrix stored as TXT file in the working directory with I/O functions. I have problems to distribute my program (EXE and DLL) because people normally forget to move the text files together with the Application. How can I …

Software Development c++ windows-api
Member Avatar for alexb119
0
2K
Member Avatar for khelly

at first, plec correct me this one... [code] std::string explanation; // this upper coding char explanation; //after entering void to display if(item_code=='A') explanation='BABY WEAR'; else if(item_code=='B') explanation='CHILDREN WEAR; else if(item_code=='A') explanation='LADIES WEAR'; else if(item_code=='A') explanation='MENSWEAR';[/code] BABY WEAR and others was error, what should i put? plz correct my coding above …

Software Development c++ ios
Member Avatar for gusano79
0
164
Member Avatar for Reeseoo

Hi all new to this forum, just thought i'd post in here because i am having a bit of trouble with an assignment... basically i have this class in a header file called Product.h... [CODE] class Product { private: int _id; unsigned int _price; public: }; [/CODE] I access this …

Software Development c++ oop
Member Avatar for Reeseoo
0
535
Member Avatar for Macksh

Hey please help me, I'm beginner to C# programming using visual studio 2008 ,i wanted to develop student information management system,so i wanted to create a table in sql database and maintain all information.so i created a new project and went to create sql new database, i right clicked on …

Software Development c# sql visual-studio
Member Avatar for thines01
0
183
Member Avatar for joydsouza90

:?: Is there any way, in Turbo C++, by which we can make the mouse disappear when it enters a certain area of the screen ? I have tried this but it doesnt seem to work completely.... ------------------------------------------------------------------------------------[code=c] void initmouse() { union REGS in,out; in.x.ax=0; int86(0x33,&in,&out); } void showmouse() { …

Software Development c++
Member Avatar for sourabhjaiswal
0
1K
Member Avatar for sansalama

Hi all I have a program, which I can do and in that program the user can enter information if he had missed to enter it in the required field and he must to be informed about this option. [CODE]//verification of the PIN Edit6->Text = ""; int digits[10]; AnsiString egn …

Software Development c++
Member Avatar for adityatandon
0
122
Member Avatar for leutrim

please tell me how to creta a countdown timer in visual basic button1 (buton for start timer) labelsec(Sec lab) labelmin(min lab) labelhr(hours lab) txtsec(textbox for write sec) txtmin(textbox for write min) txthr(textbox for write hour) please tell me how to programming

Software Development vb.net visual-basic
Member Avatar for adam_k
0
334
Member Avatar for nicprog

how to write this in c++??? while (Q not empty) { u = deleteMin (Q) for each v adjacent to u if (v is in Q and w(u; v) < key[v]) { key[v] = w(u; v); //decrease key T[v] = u; }}

Software Development c++
Member Avatar for nicprog
0
100
Member Avatar for Ruchi224

Hello !! Being a newbie for vb.net, I seek your advice in a windows application I am developing. I have a form consisting of datagridview with as checkbox column. Now, when the user selects a row using checkbox, I want a new form to pop-up and the selected rows be …

Software Development vb.net
Member Avatar for Pgmer
0
1K
Member Avatar for prathapsv3

Here is my code to save image in a folder,but i am getting this error(a generic error occurred in gdi+). Could someone please help me? [CODE] Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click If (Not System.IO.Directory.Exists("d:/posimage")) Then System.IO.Directory.CreateDirectory("d:/posimage") End If PictureBox1.Image.Save("d:/posimage") End sub [/CODE]

Software Development image vb.net
Member Avatar for Pgmer
0
2K
Member Avatar for skix

Hello, I am fairly new to Python. I have only skimmed the surface in an introductory class I just finished in college. As my first program in Python, I am attempting to make a text editor. I am wondering if there is a universal command to bring up a Save …

Software Development python
Member Avatar for Notouch
0
11K
Member Avatar for the_kitoper

I have a problem, whenever I attempt to use the following expression it returns -3. Can you please explain why this is? [CODE] int level = ((RoD * 10) - 50) / 15; std::cout << "Level = " << level << std::endl; [/CODE]

Software Development c c# c++ mathematics
Member Avatar for LRRR
0
176
Member Avatar for jain1.anuj

how to get handle to usb device for reading and writing purpose ?? i m using hid.ll and setupapi.dll !!!! i am getting "-1" value for the handle!! need help!!

Software Development
Member Avatar for jain1.anuj
0
160

The End.