132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for abu taher

which procedure I write this code: option1.value = true then text1.enable = true else text1.enable = false

Software Development visual-basic
Member Avatar for abu taher
0
142
Member Avatar for _dragonwolf_

I am having to write a program that has a user-defined class. In this program I need to convert an INT to a STRING. For example, if the program reads in the date "7/17/2009" it will need to be converted to "July 17, 2009", where all it does is take …

Software Development c++
Member Avatar for _dragonwolf_
0
166
Member Avatar for FTProtocol

Image of my problem [url]http://i31.tinypic.com/2v3ivyq.png[/url] Left = Actual notepad.exe opened in notepad Right = what i get after i read/write. Goal - Be able to store notepad.exe between to splits and then when the application that is houses the bytes is run, it reads those bytes and saves them. I …

Software Development image
Member Avatar for sknake
0
248
Member Avatar for fuggles

What is the best way for me to send and int[999999] accross a socket? When I just plug in the pointer to the array I get this error: [icode]Error 1 error C2664: 'send' : cannot convert parameter 2 from 'int (*)[999999]' to 'const char *'[/icode]

Software Development c++
Member Avatar for wildgoose
0
113
Member Avatar for Alex!

Hey Guys. I've been given a Major for school where I have to create a Mathematics program in Python. The problem I am having is that If i try to set up a canvas with a background image, the buttons will not show any more!? the second problem I am …

Software Development mathematics python
Member Avatar for vegaseat
0
117
Member Avatar for Sharif Lotfi

Hello I need to connection beetween VB.Net 2003 and Excel 2003 and use excel 2003 object I add Excell 11.0 Library to my project and write this code : -------------------------------------------------------- Dim xlApp As Excel.Application Dim xlBook As Excel.Workbook Dim xlSheet As Excel.Worksheet xlApp = CType(CreateObject("Excel.Application"), Excel.Application) xlBook = CType(xlApp.Workbooks.Add, Excel.Workbook) …

Software Development email vb.net
Member Avatar for kolstedt
0
297
Member Avatar for pete08

Hi, can anyone help me on this. I'have put pictureBox in panel, with image loaded into pictureBox. When scrolling, I want to load another pictureBox on certain position within panel, that will be displayed along original pictureBox. I'm having trouble with this.

Software Development
Member Avatar for pete08
0
422
Member Avatar for Alpdog14

I am very new to XML & XSL but I know there is a way to build blog aggregators. I have a XML document that pulls the blogs in with the URI: [CODE]<?xml version="1.0"?> <!DOCTYPE feeds SYSTEM "feeds.dtd"> <feeds> <feed name="Mary Rose's Blog" provider="Blogabond" spec="rss" version="2.0" uri="http://www.blogabond.com/rss/rss.aspx?UserID=7835"> <keyword name="meow"/> </feed> …

Software Development xml
0
233
Member Avatar for dombit

ok, so i tried about everthing, to print the box charaters in a console window. but all i ever get is ? i am gusing the console font done not support these charicters. so is there a way to change the console font for my aplication throgh c++. i am …

Software Development c++ windows-vista
Member Avatar for nmaillet
0
112
Member Avatar for DIDL

Hi im new in this program but i want to work with C++... i know the basic comands but i want to make the interface o litlle game.... but i dont understand how....

Software Development c++
Member Avatar for JameB
0
74
Member Avatar for wingers1290

Hi, i am creating up to 10 textboxes using the following code: [code] if (textBoxIndex != 11) { TextBox field = new TextBox(); field.Name = "field" + textBoxIndex.ToString(); textBoxIndex++; field.Size = new Size(200, 20); panel1.Controls.Add(field); } else { MessageBox.Show("A Maximum of 10 Areas is Supported"); } [/code] What I need …

Software Development c c# c++
Member Avatar for ddanbe
0
283
Member Avatar for jdfskitz

I just Started Java BUT I'M FOR SURE I CAN GET A HANG OF THIS! ive typed these pages out and Cant Find the Problem.. I NEVER START OUT EASY!! SO FAR EVERY TIME I START OUT EASY I LOSE WHERE I AM!! so this is a rotating 2d picture.. …

Software Development java java-swing opengl oracle
Member Avatar for jdfskitz
0
213
Member Avatar for db11

I have code that generates a string (which is held in a variable). I need to compare this string to see if it matches any one of many strings contained in a txt file. I am not sure how to do this. I have read a bit about steamreader, which …

Software Development
Member Avatar for db11
0
175
Member Avatar for arunkumars

Hi ppl, just wanted to knw if v can specify the file types tat our client can access when he clicks the browsebutton. i could find fileaccess, filemodes n stuff, but cudnt find the file type specyfying stuff... for example, if the user clicks the browse button, he/she wil get …

Software Development file-system
Member Avatar for arunkumars
0
89
Member Avatar for anonymous23

Can someone please give me some problems or activities using if, else/if, and nested if statements???? i need 5 for each.. it would be better if u give the c++ codes for each problem..:) this will be for my project.. hope u guyz helpme:icon_cheesygrin:

Software Development c++
Member Avatar for wildgoose
0
88
Member Avatar for rcbhat

I thought that the function parameters were pushed onto stack from right to left. [code=C] #include <stdio.h> main() { int i=0; printf("%d %d\n",scanf(" %d",&i),i); } [/code] But this code prints out the keyboard entered value instead of 0. Why is it so?

Software Development c
Member Avatar for wildgoose
0
126
Member Avatar for TheBeast32

Hi, I need a way to see if a mouse button is up or down, if the wheel is being used, and if so, which direction the wheel is moving using a hook or something like that. MSDN didn't help me much. Also, I'm using Dev-C++ 4.9.9.2.:yawn:

Software Development c++
Member Avatar for nicsor
0
168
Member Avatar for AndrewP7

Hello, I am trying to convert an object to IntPtr so that I can pass it to the Win32 function GetWindowRect. I have used the code below, but my program just hangs [CODE] [DllImport("user32.dll")] [return: MarshalAs(UnmanagedType.Bool)] static extern bool GetWindowRect(IntPtr hWnd, ref RECT lpRect); [StructLayout(LayoutKind.Sequential)] public struct RECT { public …

Software Development
Member Avatar for AndrewP7
0
829
Member Avatar for ejazmusavi

HI all! in c# when i write a query to update there occurs an error "Syntex Error in UPDATE query" my code is as [LIST=1] [*]string query="UPDATE Employee_Table StartTime='"+txt_StartTime.Text+"',EndTime='"+txt_endTime.Text+"'where id="+txt_id.Text+";"; [/LIST] where Employee_Table is a table in Acces the field StartTime is of date/time data types and EndTime is also …

Software Development c#
Member Avatar for arunkumars
0
1K
Member Avatar for shahul.hameed

while i run report login window comes , how to i remove this one

Software Development vb.net
Member Avatar for shahul.hameed
0
68
Member Avatar for RobBrown

Hello, I am new to c and up until now i have understood it pretty well. I am having a difficulty writing a program that lists the characters in a phrase entered into the program. I think my problem is with the loops and maybe some variable declarations. None of …

Software Development c
Member Avatar for Dream2code
0
232
Member Avatar for calavan11

I am working on a program that uses an array called Game that can store 26 characters. It asks the user to to enter a single letter and a number between 1 and 26. It then places the letter they entered into the position in the array referenced by the …

Software Development c++
Member Avatar for wildgoose
0
96
Member Avatar for Dixtosa

Hi All how are you?:). ok. lets begin. mmm, when i use py2exe applications became in windows classic mode. for example buttons corners became more sharp. if you cant understand , i will put down pic.-s:) and is there any way to eradicate that? sorry for my english:) :)

Software Development python
Member Avatar for Dixtosa
0
77
Member Avatar for Nogat21
Member Avatar for sravan953

Hey guys, I am currently using subprocess module to open programs and stuff like that... What I want to know is; if in case I want to open Windows' Sound Recorder, how do I start the recording action? Like: [CODE]subprocess.call(location of the program)[/CODE] -will only open the Sound Recorder, but …

Software Development python
Member Avatar for Stefano Mtangoo
0
128
Member Avatar for buchanan23

Hi everyone. So here is my dilemma, I am working on my final project, tackling it one item at a time, so this post is strictly for help deleting a record out of my array. I think I have everything set up right to call to a Method I am …

Software Development gui java java-swing
Member Avatar for buchanan23
0
113
Member Avatar for Tham0

Hai, I want to open an Excel sheet by using clicking command button in form.This Excel sheet is stored in my local drive. can any one help me to do this using VB6

Software Development visual-basic
Member Avatar for vipin saxena
0
81
Member Avatar for dezza

So far i've got this and it returns something like: -2087276233 [code]import binascii def getCRC(filename): filedata = open(filename).read() return binascii.crc32(filedata)[/code] Someone told me that I had to use struct.pack or struct.unpack to change it to hex values. I am not sure which type to convert to and would like some …

Software Development python
Member Avatar for jlm699
0
375
Member Avatar for firoz.raj

Can anyone tell me how should i use variable to take different value.here is the following code which is working fine. [code=vb] strsql = " SELECT *" & _ " From ALRAJHIBANK " & _ " WHERE (((ALRAJHIBANK.ID)=12))" [/code] But i want to use integer variable name instead of integer …

Software Development sql visual-basic
Member Avatar for vb5prgrmr
0
99
Member Avatar for Beatle Bailey

Greetings, Here is my Problem. I have written a VB6 program that works just fine. I wrote it with all of my Variable Arrays written within the program itself. This has made the program very long and I would like to shorten it. I have the Arrays also written in …

Software Development visual-basic
Member Avatar for vipin saxena
0
165
Member Avatar for Acidburn

Hey guys, Is there a standard library for communicating with a USB device? I've got a smart card reader that works via USB, and implemented the PC/SC interface. To my knowledge and googling I've not been able to answer the question. Surely someone somewhere as written a library to allow …

Software Development c c# c++
Member Avatar for ddanbe
0
117
Member Avatar for trinity_neo

hello all need help in solving this problem print current time in a file for every 1min. thank in advance.:)

Software Development c++ visual-studio
Member Avatar for trinity_neo
0
78
Member Avatar for fish786

I am new at programming and would like someone to assist me as to what I am looking for? As far as I know I have followed the instructions I found on one of the sites. Can someone please help? I am using VStudio 2008, creating an MFC application. I …

Software Development c++
Member Avatar for fish786
0
206
Member Avatar for nverma

i need code for saving a file in access database using C#

Software Development
Member Avatar for kvprajapati
0
113
Member Avatar for Web_Sailor

I donno why I am not able to get the popup for this JTree. This tree is found almost in all tutorial ? [CODE]import java.awt.*; import java.awt.event.*; import java.io.*; import java.util.*; import java.text.SimpleDateFormat; import javax.swing.*; import javax.swing.tree.*; import javax.swing.event.*; public class FileTree2 extends JFrame { public static final ImageIcon ICON_COMPUTER …

Software Development java java-swing
Member Avatar for Web_Sailor
0
188
Member Avatar for tonief

I'm working in a web application aspx and C#. I have two procedures in code behind. [CODE] protected void Button1_Click(object sender, EventArgs e) { ... int totalCost=1000; Label7.Text = totalCost.ToString(); } [/CODE] i have this code behind in in button2 [CODE] protected void Button2_Click(object sender, EventArgs e) { ... int …

Software Development
Member Avatar for lighthead
0
102
Member Avatar for minime2100

Hello all, I have to do a mid semester project for my online C++ course and I am having trouble finding a place to start. We were given a list of what needs to be included within the program that I am to write. I just don't have anything that …

Software Development c++
Member Avatar for Nick Evan
0
132
Member Avatar for veronica_0501

hello, is there anyone who could help in saving and loading binary trees? is there any source code i can refer to?? thanks alot. (:

Software Development c++
Member Avatar for Nick Evan
0
80
Member Avatar for Amitji

Hi All I am developing a application n having a serious problem. Think we have opened some running applications like text document and after a particaular time i want to autosave data from that application at a default path.Pls try to solve me this problem Thanks in Advance

Software Development java
Member Avatar for peter_budo
0
852
Member Avatar for rcbhat

I have the following code, [code=C] main() { char *p="abc"; int x; x=++*p++; printf("%d",x); } [/code] My question is, when I try to do x=++*p++, the program crashes. If my associativity rules are right, first the address pointed to by p should be incremented by the postfix (p++) and then …

Software Development c
Member Avatar for Alibeg
0
518
Member Avatar for S2009

I want to display a message box when any person clicks on the menu item which is not enabled I have tried the following coding but it is not displaying the message box. Coding: [code] private void updateFineDetailsToolStripMenuItem_Click(object sender, EventArgs e) { if (updateFineDetailsToolStripMenuItem.Enabled == true) { frmUpdateFineDetails objUpdateFineDetails = …

Software Development
Member Avatar for kamisori
0
120
Member Avatar for abu taher

How can I show my data in a combo box. I need help . anybody help me.

Software Development visual-basic
Member Avatar for jhai_salvador
0
121
Member Avatar for wingers1290

Hi, I am having problem with a particular process of commands. My program begins with detecting whether a textbox is empty at the press of a button and if it is it will display an error code which i scripted to do, you can create up to 10 textboxes which …

Software Development c c# c++
Member Avatar for wingers1290
0
123
Member Avatar for Bladtman242

Hi guys and girls. I was wondering; is there a way, using winAPI or external libs and whatnot, to check the internet connection etc? more important; check the speed the conmputer is currently uploading at? The goal is to make a program that monitors the internet connection, and if the …

Software Development c++
Member Avatar for Bladtman242
0
247
Member Avatar for tomtetlaw

When I try to build my project(im using VC++), I get this wierd error: [code] ------ Build started: Project: DarkGDK Engine - By Tom, Configuration: Debug Win32 ------ Embedding manifest... mt.exe : general error c10100b1: Failed to load file "..\Debug\DarkGDK Engine - By Tom.exe". The system cannot find the path …

Software Development c++ visual-studio
Member Avatar for thelamb
0
128
Member Avatar for Aiban

Hello everyone Just saying hello before i rip into the many questions that i'm sure will occur. I'm brand new to Python programming (and in fact any programming since Arexx on the Amiga - anyone remember that? I'm here cause i signed up at python-forums.org and found it is only …

Software Development python
Member Avatar for Clueless86
0
103
Member Avatar for dalemahan

Can anybody send me some VB code that does probit analysis? Thanks, dalemahan

Software Development visual-basic
Member Avatar for abu taher
0
116
Member Avatar for mediachicken

So I know I can run a terminal command, ok? What if I want to run say... a vi command or mkdir command INSIDE ssh? If I want to make it insert a directory in a server via SSH, possible? Last time I checked I think when you run commands …

Software Development c++
Member Avatar for necrolin
0
127
Member Avatar for daimon

Greetings all, I'm working on a classic Elevator Simulator problem and have a quick question: How can I access a private data member of the container class from one of the contained classes? My Building class (container) "has a" vector of Floor objects and "has a" vector of Elevator objects. …

Software Development c++
Member Avatar for wildgoose
0
108
Member Avatar for didijc

Hey C++ guru's... I would really appreciate some help... I'm building a general tree (a tree with one root and N children), I've written the code and compiled it quote/un-quote successfully... ...however, I can't seem to get my delete function working properly -- what I want to do is pass …

Software Development c c# c++
Member Avatar for wildgoose
0
125

The End.