132,729 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for goodi

Hello, Im wanting to write a basic VB application that will allow the user to select a bunch of PDF files then print them in bulk. I have achieved something similar with Microsoft Excel, using the shell command to do this. (ie, VB app allowing users to select a bunch …

Software Development pdf visual-basic
Member Avatar for hkdani
0
169
Member Avatar for itsasif

Hi all , I have a console WCF client application . When it compiled creates an EXE file which sends information to the Web service . my question is that how can i use this console application in my web application ? Thanks,

Software Development
Member Avatar for darkagn
0
98
Member Avatar for cangan

Hi gang, I've created an object array from a managed class. [CODE] array<MyDataType_Class^> ^Object = gcnew array <MyDataType_Class^> (3); Object[1] = gcnew MyDataType_Class; Object[1]->id = 1; Object[1]->surnmame = "Formen"; TextBox1->AppendText(ConvertToString(Object[1]->surname)); // Outputs "Formen" + [/CODE] The object works well and outputs expected results. However what i need is : [U]Calling …

Software Development c++
Member Avatar for cangan
0
280
Member Avatar for pilipino93

HI, I've been looking for a long time now, for some simple ways to get the full path of a file in the same directory of my console and the console itself. The main purpose of my small project is to just locate a file and move it into another …

Software Development assembly c++ file-system
Member Avatar for pilipino93
0
1K
Member Avatar for asif49

Suppose you have a supermarket, and every item which belongs in that supermarket is stored in one place. Then you have sections of the supermarket like "Food & Cuisine", "Entertainment" and so on. The user of your program needs to be able to list every item within the supermarket, then …

Software Development java storage
Member Avatar for asif49
0
217
Member Avatar for Hawk123

Hi, I have a form where i can enter new product. In that same form i have listbox where i show the current product from the database. I want to know how to update that listbox as i enter new product into the database so that user can see the …

Software Development dataset vb.net
Member Avatar for Hawk123
0
129
Member Avatar for clflyer

I have a program that I wrote that creates a database in SQL Server called States_02 as a sysadmin user. Later on I want to grant SELECT permissions to that database to another user, web I always get an error that it cannot find States_02 or I don't have permissions …

Software Development client-server sql vb.net
Member Avatar for bluehangook629
0
174
Member Avatar for roverphoenix

A simple program to calculate permutations of a string using recursion, I have used a malloc string of size 100 , you can change it to whatever value you want. The author is currently working at Microsoft,any questions can be directed to [email snipped]

Software Development c
Member Avatar for roverphoenix
0
422
Member Avatar for blackfireburn

hi this is a course work question and i have tried multiple methods to get it to work so if you can show me where i'm going wrong i would greatly appreciate it. i have to read a 4 character input and create each of the numbers into a sort …

Software Development algorithm c
Member Avatar for DeanMSands3
0
322
Member Avatar for PF2G

Hi, i'm doing a registration form and i have problems checking if the username exists in the database. [CODE] Imports MySql.Data.MySqlClient Public Class Admin_Reg Dim server As String = "Server=localhost;Database=escola_musica;Uid=root;Pwd=;" Dim con As New MySqlConnection Private Sub Admin_Reg_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load con.ConnectionString = server …

Software Development vb.net
Member Avatar for adam_k
0
124
Member Avatar for prathapsv3

Hi all, Someone please tell how to print invoice. I dont have printer, is it possible to print a sample bill in notepad?

Software Development printer vb.net
Member Avatar for Reverend Jim
0
359
Member Avatar for elpaisa

Hi, this is my first post, so any help or advicing is welcome. I have a form in which i want to show records from a database and create buttons for each record, the problem is that i need to point the buttons in diferent locations inside the form based …

Software Development
Member Avatar for elpaisa
0
2K
Member Avatar for hamby

Hi i'm making a function that will return make a series of strings and perform a function returning a value for each. I've stored the strings in one vector v, and the integer values in another v2. Then it is supposed to return the string that corresponds to the smallest …

Software Development c++
Member Avatar for hamby
0
7K
Member Avatar for rhone0809

i am new to VB.net. just want to check an id number in my textbox if its aldready existed in my database. this is my condition: if textbox1.text = ds.tables("employees").row(0).item("id") then msgbox("ID already exist") end if

Software Development vb.net
Member Avatar for Begginnerdev
0
213
Member Avatar for Zssffssz

When trying to cut down possible memory leaks in my program, I noticed a reoccoring pattern: Move Delete closer to new, repeat, remOve the function that uses it and move code to main, move a few things to global, replace some stuff with arguments and return values, and in the …

Software Development c++
Member Avatar for MastAvalons
0
139
Member Avatar for sat21091

hi guys please help me i want to know how i can pass an i ,j argumaents to the function abc so that i can do oprations on i, j in function abc [code]Button[,] b = new Button[8, 8]; void drawchessboard() { int x=60, y=10,z=0; for (int i = 0; …

Software Development asp.net
Member Avatar for skatamatic
0
200
Member Avatar for bluehangook629

I have a connection string for my SQL database connection called my.settings.GCRConnectionString which was created when I created my dataset for the application. I want to change the value of the connection string but it give me an error saying it is ready only. Is there a way to update …

Software Development dataset vb.net
Member Avatar for bluehangook629
0
2K
Member Avatar for lxXTaCoXxl

I don't even know where to begin with this one, but I'm wanting to create a couple graphic controls that at least appear to be in 3D (not stereoscopic but as in not a 2D flat image) and can rotate and move back and forth on an illusional Z axis. …

Software Development
Member Avatar for ddanbe
0
515
Member Avatar for Karlwakim

hi everybody, i am using code blocks with the mingw compiler to develop my c++ console applications, in the end of each program, i get the message "Process returned 0 (0x0). execution time : ....... press any key to continue" How can i get rid of that. Thanks

Software Development c++
Member Avatar for Narue
0
112
Member Avatar for Labdabeta

I have a difficult function to write and I have no idea where to begin. Here is the definition of what I need to write: "A function f(x,y) which returns true if the binary number formed by concatenating the bits of x, 8*y-1 zeroes and a one is prime, false …

Software Development c++
0
111
Member Avatar for OmegaCoCo

So a friend and myself are in a computer science course and for our final project we decided to really apply ourselves and add stuff into our assignment that we weren't taught throughout the year. Well we came to a wall when we decided to add an option to delete …

Software Development visual-basic
Member Avatar for BitBlt
0
103
Member Avatar for krishnisilva

hi, [CODE] public Record get(VideoObj v) { // TODO if((v ==null) || (v=="")) return null; else return ??; } [/CODE] Recor and VideoObj are classes. if the methos return type is Record, can someone tell me what should I return? thanks

Software Development ide java java-netbeans
Member Avatar for stultuske
0
232
Member Avatar for sirlink99

I am making a java game, and I have heard that when I use the Math.random() method it has greater chances of generating some numbers. is this true, and if so how can I fix it. If not which method generates numbers unequally? Thanks for your help.

Software Development java
Member Avatar for sirlink99
0
3K
Member Avatar for toferdagofer

I am trying to compare two arrays of objects to verify that they have the same values. It is returning false when it should be returning true. Im not sure what I am doing wrong when comparing the two arrays. Class : arrayObject [CODE]import java.util.*; public class arrayObject { private …

Software Development java
Member Avatar for mcriscolo
0
2K
Member Avatar for krizhan4u

i already have sql database ,server,login,password,,,i have to check from visual studio windows form,,,,to check test connection

Software Development c c# c++ visual-studio
Member Avatar for thines01
0
32
Member Avatar for jryans10

Hi, If you create a CLR windows form project in Visual Studio C++, when you distribute your programs does the user need the .NET Framework or just the Visual C++ 2010 Runtime Redist? Thanks.

Software Development asp.net c++ visual-studio
Member Avatar for stbuchok
0
166
Member Avatar for sha11e

I have seen some people talking about it and my question is... I have a program that opens a input and output stream, when the program gets the message '#end' it should terminate the program. Does it really matter if I close the in-and output streams and then close the …

Software Development java
Member Avatar for JamesCherrill
0
134
Member Avatar for CodeJava1

could some one explain the code below [CODE]import java.util.Map; import java.util.HashMap; import java.util.Collection; import java.util.ArrayList; final class InventorySet { /** @invariant <code>_data != null</code> */ private final Map<VideoObj,Record> _data = new HashMap<VideoObj,Record>(); InventorySet() { } /** * Return the number of Records. */ public int size() { // fill in …

Software Development ide java java-netbeans
Member Avatar for CodeJava1
0
255
Member Avatar for Joshua73

Hi i am doing a student grade lab where the student enters a grade they got on a test and they get a letter grade. My program only gives the user a F even if it should be another grade. This is my code. [CODE]strT1 = JOptionPane.showInputDialog("Enter 1st test score:"); …

Software Development java
Member Avatar for stultuske
0
262
Member Avatar for Jakpot

Hi, I have to design a program that plays sounds (from WAV files). I have to create a wav and play it. Once it finishes I have to change the contents of that wave file and play it again. It is like playing a wave file that is constantly changing. …

Software Development file-stream
Member Avatar for Jakpot
0
379
Member Avatar for Poongundran

hi experts During my development progress i was stuck up with a problem. I used a class MyList and with the Help of this MyList the combo box named cboCity was filled with City Code(like 1001,1002,etc..) as Value member and City Name (like Canada,California etc...) as display member. [CODE] Public …

Software Development vb.net
Member Avatar for Pgmer
0
176
Member Avatar for jaai

hi... could anyone please help me with how to create buttons dynamically in vc++ 6.0 dailog based application

Software Development c++
Member Avatar for Ancient Dragon
0
157
Member Avatar for Rasmalai

the following program uses 2 arrays a & b of sizes m & n, both the arrays take values from user. third array is of size m+n. i hv to merge these two arrays into third one. but becoz of 1 error i m unable to do this. i hv …

Software Development java
Member Avatar for Rasmalai
0
147
Member Avatar for pseudorandom21

Is there a library that's easy to setup and use with Visual Studio 2010 for AES encryption/decryption? I've been fiddling with CryptoPP and it's endless link errors and iterator_level_not_equal error messages for an hour now, so I think it's time to look for an installer or a new lib. Any …

Software Development c++ encryption visual-studio
Member Avatar for Narue
0
238
Member Avatar for SyncMaster170

Hello all, I am debugging a vb app for my company. I did NOT create this app. So far there is just one thing that has been bugging me, AxctlUSBHID.AxUSBHID. Heres the code and the error im getting for each section. There is only two errors. (1) [CODE]Private Sub InitializeComponent() …

Software Development visual-basic
Member Avatar for SyncMaster170
0
228
Member Avatar for boris90

I have this code: [CODE] /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package se211.dz14; import java.util.Scanner; /** * * @author Boris */ public class Month { /** * @param args the command line arguments */ public static void …

Software Development java
Member Avatar for boris90
0
228
Member Avatar for jryans10

Hi, I'm just wondering, why do we bother with function prototypes? Wouldn't it be better if we just defined the functions before the main function instead of having a function prototype and a function definition in separate areas? For example, instead of the following: [CODE] #include <iostream> using namespace std; …

Software Development c++
Member Avatar for jryans10
0
128
Member Avatar for sharathg.satya

hi all Here i am trying to a code in which the run method is not being called when the thread is started.. Can anyone help me please.. Here is my code [CODE]import java.awt.*; public class Games extends Frame implements Runnable { int x=250,y=470; Thread t=new Thread(); Games() { setVisible(true); …

Software Development java
Member Avatar for sharathg.satya
0
2K
Member Avatar for jryans10

Hi, Can someone please help me with understanding the differences between the 2 please: [CODE] Shape* rectangle = new Shape; [/CODE] And [CODE] Shape rectangle; [/CODE] I know that with the pointer you use the "->" operator to access the object methods, and with the other one you use the …

Software Development c++
Member Avatar for Narue
0
146
Member Avatar for MrEARTHSHAcKER

Hi, I made code of several classes for game, not 3D nor 2D, it's like those on FaceBook where buttons are main. I'm curious, could code for that type of game be called Game Engine? Hmm... Thanks! :)

Software Development c++
Member Avatar for MrEARTHSHAcKER
0
192
Member Avatar for gfp91

hi. im programming a 2d game and on the university computers it runs nice and slow but on my i7 laptop the ball travels at a million miles per hour. how can i restrict the speed/fps.

Software Development c++ windows-api
Member Avatar for gfp91
0
121
Member Avatar for sun_2588

Hello everyone....... i need to display the html and php page on the tkinter window...is that possible to create a frame or canvas, which work as a php html interpreter.......... to fetch html i can use urllib module, i think... Thanks ....

Software Development python tkinter
Member Avatar for sun_2588
0
147
Member Avatar for dan_code_guru

Ive been trying to code a GUI application in qt but im having trouble trying to get a button work. homewindow.h: [CODE]#ifndef HOMEWINDOW_H #define HOMEWINDOW_H #include <QWidget> class homeWindow : public QWidget { Q_OBJECT public: homeWindow(); ~homeWindow(); void init(); private slots: int when(); private: QWidget *aWidget; }; #endif // HOMEWINDOW_H[/CODE] …

Software Development c++ gui qt
Member Avatar for chikkupa
0
158
Member Avatar for joy39

i have downloaded pdcurses and installed it. and , right now i am studying a ncurses tutorial , [url]http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/intro.html[/url] there are some sample examples also. but, when i try to compile "form" code examples , i see that there are no <form.h> header file in the pdcurses installation. has, anyone …

Software Development c
Member Avatar for L7Sqr
0
132
Member Avatar for riahc3

Hey I want to create a JAR library but not sure how to in MyEclipse. Im currently doing it manually using jar command but I cant seem to get it correctly The library code is: [code] public class LibAdd { public static int addtwonumbers (int a,int b) { return a+b; …

Software Development java
Member Avatar for riahc3
0
179
Member Avatar for wallet123

[CODE]class DoWhileDemo { public static void main(String[] args){ int count = 1; do { System.out.println("Count is: " + count); count++; } while (count <= 11); } }[/CODE] can someone please rxplain to me how does Do while statements work? and how can i use it in my program?: [CODE]public static …

Software Development java
Member Avatar for stultuske
0
134
Member Avatar for wallet123

im trying to do a program like this: i need to do a program like this: Automatic Teller Machine [B] Balance [D] Deposit [W] Withdrawal [Q] Quit select you OPtions: once i have chosen an option then i should proceed here if i choose b: YOur Balance is __ if …

Software Development java
Member Avatar for wallet123
0
98
Member Avatar for xxvicoxx

Hello guys well I have been working in this arraylist that is now driving me crazy! Bascially I wrote a CAR class which has some methods in it, however now I created an arraylist so it could store cars from the other class and at the same time have access …

Software Development java oop
Member Avatar for jeff-fisher
0
1K
Member Avatar for ajacintha

I am new to Java Swing, I have created a JFrame which should get displayed when there is mouse focused over it and should be hidden when the mouse is not over it. Should i add a window listener for it.

Software Development java java-swing
Member Avatar for JamesCherrill
0
222
Member Avatar for jbutardo

Hi, I have this sort of problem whenever the datatable has an empty cell, it shows cannot find column 6 or depending on the number of the datatable column cell. Why does this happen and how can I resolve this? Thanks

Software Development vb.net
Member Avatar for jbutardo
0
2K

The End.