132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for silversurf

Hello, Here is the scenario : I have the follwoing sales return from in my software: ![sales_return1](/attachments/large/3/sales_return1.JPG "sales_return1") In the from I have tow listview control, the left is Listview and the right is Listview1. I have the following code in procedure : Dim xsprice As String Dim xsprice1 As …

Member Avatar for hyesin
0
1K
Member Avatar for ryan311

in form1 i have this code #region MaterialSize Declaration //public static string materialtype = ""; private string _materialtype = ""; private string _size = ""; private string _kg = ""; private string _price = ""; private string _barcolour = ""; private string _sizeLength = ""; private DateTime? _datemodify; #endregion i …

Software Development
Member Avatar for ChrisHunter
0
265
Member Avatar for cobaltfive

so i was wondering if my program could be converted to a string version, if so gimme a start please. I also would like to find out how to set my speed variable if when entered it is less than zero for it to display an error statement, how would …

Software Development c c# c++
Member Avatar for tinstaafl
0
281
Member Avatar for xanthian23

So I'm just having a super fun time with overloaded operators and the friend function. I have an addressbook, and for my assignment I have to use the friend function to overload a few different operators. I think I understand how to type the friend function out to tie it …

Software Development c++ file-stream
Member Avatar for xanthian23
0
259
Member Avatar for pjns19

Hi All, Can anyone offer me some advise? I currently have a listbox i am using, in the listbox there is a list of images from any website. they are grabbed from the website via this method;;; Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted Dim …

Software Development html-css vb.net
Member Avatar for tinstaafl
0
348
Member Avatar for rahul.gour

If .SubItems(19) = "Y" Then chkTax.Value = 1 txtTaxRate.Text = .SubItems(16) Else chkTax.Value = 0 txtTaxRate.Text = "" End If having problem Compilation error : method or data member not found with this code chktax is a check box.

Software Development visual-basic
Member Avatar for AndreRet
0
176
Member Avatar for hwoarang69

it have 3 classes. main class = run every thing player class = create player and create his moves level class = render map and player when i run this code below it render a map and two players. 1st player in redering in main when can move. if user …

Software Development java oop
Member Avatar for bguild
0
257
Member Avatar for jab8288

Yes this is for a homework assignment. I am getting closer to what I need but am running into a block. my code shows how far I have gotten. I am pretty sure I can handle the washer gallons and cost part. its the second section I am aving problems …

Software Development listview operating-system vb.net
Member Avatar for jab8288
0
636
Member Avatar for ms061210

Hello guys, I need some advice/opinions. We are task to create a game in socket programming. We can choose from Java, C, c+, shelland php. Which language is the best to create socket programming for beginners. ? We have a litte knowledge with the given languages, but we don't have …

Software Development java socket-programming
Member Avatar for ms061210
0
190
Member Avatar for JakeRivett

How do you go about pausing your code from operating. I want to make an animation by making a picture box visable then another then another but I need a period of time between transitions? How would I go about doing this? boredPic(1, 1).Visible = True boredPic(1, 1).Image = My.Resources.Red …

Software Development operating-system vb.net visual-basic
Member Avatar for Reverend Jim
0
319
Member Avatar for tnputnam

I would really like to be able to compare two cells in visual basic from a database access database in two different tables and the idea is to take one paragraph from one cell and a paragraph from another cell and compare how closely related they are. How would you …

Software Development vb.net visual-basic
Member Avatar for Reverend Jim
0
104
Member Avatar for Suzie999

I'm here with what might seem like a very basic question, but I cannot figure it out. I am using EnumChildWindows winapi to identify a particular child window of google chrome browser. I fail when trying to return the handle of that child window when found. BOOL CALLBACK enum_wnd_proc(HWND h, …

Software Development c++
Member Avatar for Suzie999
0
1K
Member Avatar for pars99

Me and my friend are aspiring Indie Game devs. and we're hoping to get some help. As the developer of the duo (him being artwork and music), I need to create a physics engine for the game. I am sure there are some out there, but I think building one …

Software Development c++ gaming
Member Avatar for Tumlee
0
839
Member Avatar for Kareem Klas

Hello everyone, I'm studying the while statement now, and there is an example code and I tried to make it and see what it does. When I wanted to start it said it has errors and when I started with debugging I get a weird statement on my cmd program. …

Software Development c++ visual-studio
Member Avatar for andreas.bjorn
0
138
Member Avatar for nah094020

So i just started my project on a cpu sim , but right of the bat i ran into a problem #include <cstdlib> #include <fstream> #include <iostream> using namespace std; /* * */ int main(int argc, char** argv) { return 0; } void cpu() { } void memory() { int …

Software Development c++ ide
Member Avatar for nah094020
0
503
Member Avatar for nah094020

Ok so here is my problem, i have to write a simple computr system consisting of the processor and the memory, The project will simulate a simple computer system consisting of a CPU and Memory. The CPU and Memory will be simulated by separate processes that communicate I have to …

Software Development c++ unix
Member Avatar for nah094020
0
670
Member Avatar for nssrsaran

Hello, Will you please write a c++ program which includes all functions, 1) Recursive function for "vowels", that returns number of vowels in string. 2) Recursive function for "sum of array" 3) Program that uses a recursive function to check whether a string is Palindrome 4) Program that uses recursive …

Software Development c++
Member Avatar for Gonbe
0
2K
Member Avatar for terrier_unknown

I was just wondering is there a class handling integrals and derivatives or do i have to make methods on my own?

Software Development mathematics
Member Avatar for tinstaafl
0
319
Member Avatar for king03

Hi people can someone explain this code to me clearly, this is the simplest code I could possibly get I just want to ask how it works hope you can help me. By the way this code asks for an uppercase letter and will convert it to its lowercase equivalent. …

Software Development assembly
Member Avatar for deceptikon
0
219
Member Avatar for tanmay.majumdar2

#include<iostream.h> #include<conio.h> using namespace std; int re(int); int main() { int a, asd; cout<<"enter number\n"; cin>>a; asd=re(a); cout<<asd; getch(); return 0; } int re(int a) { int b; if(a==1) return ( 1 ) ; else b=re(a-1); return (b); } Hey, i was just trying to understand the concept of recursive …

Software Development c++
Member Avatar for Gonbe
0
397
Member Avatar for krystosan

what does it mean by defining a variable with double underscore only at the prefix part ? like in this [example](http://pastebin.com/8e5t2eAZ) at pastebin i.e. self.__weakReference

Software Development python
Member Avatar for vegaseat
0
482
Member Avatar for ChevaneHeadChefCooke

import java.util.Scanner; public class Name { String lastName; String firstName; Scanner scan = new Scanner(System.in); public Name(String LastName, String FirstName) { lastName = LastName; firstName =FirstName; }; public String getFirstName() { return firstName; } public void setFirstName (String FirstName) { firstName = FirstName; } public String getLastName() { return lastName; …

Software Development java
Member Avatar for tux4life
0
444
Member Avatar for jangojan

hie all i have two text boxes , password and confirm password now what i am trying to do is when password match a label near confirm passwd text box turns green automatically and say match and if not match its should turn red and say not match , and …

Software Development
Member Avatar for tinstaafl
0
119
Member Avatar for hwoarang69

i have a question on how to extends classes. i have three classes main, aaa, bbb classes. i want to draw something in bbb class and print in main. for ex main <-> aaa <-> bbb but nothing is being print at output. if i draw something in main, or …

Software Development java
Member Avatar for hwoarang69
0
147
Member Avatar for jangojan

Dear all i have created a small windows form application, which connect to mysql database, and the database is installed on a remote pc( virtual machine), i am using visual studio 2010 in winxp 32 bit , and i have build this application using .NET2.0, so that it can work …

Software Development assembly mysql visual-studio
Member Avatar for jangojan
0
523
Member Avatar for flebber

I was reading this article [Click Here](http://maxburstein.com/blog/python-shortcuts-for-the-python-beginner/) http://maxburstein.com/blog/python-shortcuts-for-the-python-beginner/ In there was this example from itertools import combinations teams = ["Packers", "49ers", "Ravens", "Patriots"] for game in combinations(teams, 2): print game >>> ('Packers', '49ers') >>> ('Packers', 'Ravens') >>> ('Packers', 'Patriots') >>> ('49ers', 'Ravens') >>> ('49ers', 'Patriots') >>> ('Ravens', 'Patriots') So I …

Software Development python
Member Avatar for vegaseat
0
434
Member Avatar for longtomjr

I dont know what the responce will be but I kind of like the idea. Pls reply with critisim but pls stay polite. I have been Thinking if there can not be started something like a python guild. Run by an advanced python programer and the people part of it …

Software Development python
Member Avatar for longtomjr
0
198
Member Avatar for pinkxhmile03

what code can i use in my game when i'm upgrading or i will evolve or build ong picture to another picture ? please help me thanks !

Software Development visual-basic
Member Avatar for AndreRet
0
87
Member Avatar for fx.eko

When I create data report use VB6 Enterprise, when I add Data Source to that form, I'm get error message "UNHANDLED EXCEPTION AT 0X89067542 IN VB6.EXE : 0XC0000005 : ACCESS VIOLATION READING LOCATION 0X89067542" and VB6.EXE close What happen ??? any body can help me, thanks for advanced Regards, FX …

Software Development visual-basic
Member Avatar for AndreRet
0
171
Member Avatar for PinoyDev

Is there a way to open a form in vb6 when they clicked on one of the field in crystal report? Ex. If I want to update certain deposit, when clicking on crystal report, it will open the vb6 form to display for editing.. Ive found 1 in vb.net from …

Software Development visual-basic
Member Avatar for AndreRet
0
532
Member Avatar for aditya369

I have been working with web traces and i need to change a particular format of the web trace to another. for example from cs21 793468639 122791 173 icons-html/HomePageIcon.gif ALT=" 0 0.0 cs21 793468639 122791 173 icons-html/HomePageIcon.gif ALT=" 0 0.0 cs21 793468639 122791 173 icons-html/HomePageIcon.gif ALT=" 0 0.0 to cs21 …

Software Development shell-scripting
Member Avatar for aditya369
0
369
Member Avatar for mikaichan13

I'm having trouble with this: Option Explicit Dim hold1, hold2 As String Public LoginSucceeded As Boolean Private Sub cmdCancel_Click() LoginSucceeded = False Me.Hide Welcome_Scrn.Show End Sub Private Sub cmdOK_Click() With Adodc1.Recordset hold1 = "[Username] like'" + txtUserName.Text + "'" hold2 = "[Password] like'" + txtPassword.Text + "'" If .EOF <> …

Software Development visual-basic
Member Avatar for AndreRet
0
150
Member Avatar for TayKaye

Hello All, I am new to this so I am not sure if this is going to post correctly. I am trying to create a rock, paper, scissors game. My issue with my code is I only want the code to repeat if the computer picks the same choice as …

Software Development c++
Member Avatar for jogosde
0
3K
Member Avatar for ringo_tech

Hi there, I'm doing a simp,e wav player as a school project. I know how to load, play and stop the audio but I don't know how to pause/resume it. Here is my code Public Class AudioPlayer Dim snd As Media.SoundPlayer = New Media.SoundPlayer Dim theFile As String = Nothing …

Software Development audio vb.net
Member Avatar for andreas.bjorn
0
956
Member Avatar for shermags

Hi Experts, I would like to seek your help, I need to create an application which can extract the current Active Tab and URL of any browser (i.e Chrome, IE, FireFox). I had googled around but there no samples had satisfy my needs. Sample: I would like to get the …

Software Development vb.net
Member Avatar for andreas.bjorn
0
2K
Member Avatar for savedlema

Hi! I just learnt to use the "Parameters.AddWithValue" to prevent harm of sql injections.However, I have only been able to do this with the INSERT, but I have trouble using that with SELECT and UPDATE. Please Look at my code with UPDATE Try ConnectionSettings() con.Open() Dim SqlUpdate As String SqlUpdate …

Software Development vb.net
Member Avatar for savedlema
0
1K
Member Avatar for anumash

Is there a way we can decrement a file pointer. I searched online and I found the ungetc() function but what if we want to decrement the file pointer to point to the last string in the database? Also, how does ungetc *put back* a character?? Explain. Thanks in advance!!

Software Development c
Member Avatar for deceptikon
0
306
Member Avatar for sundog1

Morning Guys.. Have a Monday Morning Blank out here! I have the following Debug code setup: //XML Load of Document. This loads the XML Document and the value of a Single Node then inputs this to a text box// XmlDocument doc = new XmlDocument(); doc.Load("C:\\twDB.xml"); XmlNode node = doc.SelectSingleNode("/DataBases/DataBase/Connection"); this.textBox1.Text …

Software Development
Member Avatar for sundog1
0
189
Member Avatar for anumash

I am trying to open a text file which contains a dictionary of english words. Each word and it's definition are on the same line and the entries are delimited by a newline. Now, my question is that if you open a text file using fopen() in "rt" mode then …

Software Development c
Member Avatar for deceptikon
0
214
Member Avatar for shermags

Hi Members, I would like to seek your expert advice. Is there a way load an application before the windows logon appear and shutdown windows when the executed application was closed? I am creating a project which needs to filter all the application that the user can use. Hoping there …

Software Development vb.net
Member Avatar for shermags
0
172
Member Avatar for riahc3

Hello Im having problems with the OS's FTP server so I want to write my own with its own possibilities. The processor is x86 so it wont be for ARM or anything. The IDE is I imagine VS (2012). Some questions: 1) Where can I even start? 2) I choose …

Software Development asp.net gui ide windows-server
Member Avatar for riahc3
0
297
Member Avatar for ram619

Hi, can anyone please tell me how to create a array of 20 crore (200000000) elements. I tried, but getting runtime error, might be that much memory is not available. Thanks

Software Development c
Member Avatar for Adak
0
205
Member Avatar for SamJo22

I'm trying to write a web server but with the code I have but I'm getting the GET/ht.html can't be opened. The html document (ht.html) is supposed to be opened in the browser. What can be added or changed so it'll work properly? The code I have is: #include <sys/types.h> …

Member Avatar for Banfa
0
332
Member Avatar for beanmiester

I've spent the better part of two hours going over my code line by line and I cannot find the problem for the life of me. #include "stdafx.h" #include <iostream> using namespace std; class NumberList { struct ListNode { int value; ListNode *next; public: ListNode(int val, ListNode * nextp = …

Software Development c++ linked-list
Member Avatar for JasonHippy
0
305
Member Avatar for conio.charles

Hello. I'm Having this problem since yesterday. My professor wants us to create a VB.net Program connected with MS SQL. The problem is when i put my VB.net Project to other pc, i need to change the current connection String. Currently im using this code for my Connection String. Data …

Software Development sql vb.net
Member Avatar for conio.charles
0
2K
Member Avatar for NidhiSree

Hi All, Can I show input cursor in a non-focused RichTextBox? In my project, I have a RichTextBox and a ListView control. The focus should be on ListView control. I could handle the KeyPress and KeyDown events of ListView and re-directed to RichTextBox to enable typing. But how can I …

Software Development listview
Member Avatar for Ketsuekiame
0
160
Member Avatar for nob_100

I am writing a program about sorting an int array. What I have to do is to just modify the pointer array so that the original content of the array will not be changed. Noted that it is not allowed to creat an new array. So what should I do …

Software Development c
Member Avatar for Adak
0
282
Member Avatar for nickayin

Hi all, i'm very new in this programming world..so i hope i can get some help here to understand more about C#. my task is to extract out the data from specific column and row in text file. i do found 1 post from this from regarding this matter..but there …

Software Development
Member Avatar for ddanbe
0
1K
Member Avatar for jangojan

hie friends, it is possible to get a hostname or computername in C# but, further is it possible to get a hostname and passed that name to a databse table when we press a button in forms alongwith other fields update.

Software Development
Member Avatar for pitic
0
159
Member Avatar for shammi24

i need a prog in java by which if u type any num u can get the corresponding alphabet in circular manner,eg:1=a,2=b.....26=z,27=a...,29- c.so on,plz do help...tnks in advance

Software Development java
Member Avatar for JamesCherrill
0
81

The End.