132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Gunapriya

Hi All, Pls. help me in sorting out this problem. I tried to retrieve attribute value from LDAP using VB. when i try to get value from attributes like cn i get a 'TYPE MISMATCH' error. how to sort out this... Thanku for any help...

Software Development visual-basic
Member Avatar for Comatose
0
120
Member Avatar for Gunapriya

hi all, I get an error message as "Invalid use of Null' when i try to retreive an attribute value from LDAP. I could not find the reasons for this... I find this error message when i try to retreive some specific attributes like first name ,last name in LDAP. …

Software Development visual-basic
Member Avatar for Comatose
0
159
Member Avatar for Jay J

I need to be able to use system functions on turbo c++ 3.0 on windows XP. I require this for my school project and I am restricted to this particular compiler and OS (modern OS and old compiler..i love my school :confused: ). Is there anyway in which in i …

Software Development c++ windows-xp
0
295
Member Avatar for erikkl2000

going crazy over here!!! If you will notice in the bottom left hand corner the ProductCategoryName Column is producing two and three results on the same product and these products are not in the categories table, this categories table is where the ProductCategoryName is at so i am not sure …

Software Development sql vb.net
Member Avatar for Paladine
0
124
Member Avatar for Robert Walker

Dim OraStr As String = "Data Source=Oracle8i;Integrated Security=yes" OR dim OraStr As String = "Provider=""MSDAORA.1"";User ID=dev;Data Source=testdb;Password=dev" I am using oracle8i but that should be provider shouldn't it? the MSDAORA.1 is for the OLEDB so I assume it is wrong also. Any Ideas?

Software Development oracle vb.net
Member Avatar for Paladine
0
508
Member Avatar for George2

Hello everyone, When exceptions occur in constructor so that the instance of the object can not be created, should we throw the exception to the invoker of the constructor or simply catch the exception (and not throw it again)? I think we should not catch the exception (and not throw …

Software Development java
Member Avatar for George2
0
179
Member Avatar for Lee Bel

Hello!! Does anybody know how to create a function that randomly changes elements in a string? And: does anybody know how to set the chances for the type of changes? I've tried to look it up in tutorials, but since I'm a beginner, most of the time creating random outputs, …

Software Development python
Member Avatar for shanenin
0
200
Member Avatar for Ghost

Hi, What's the coolest thing you've done in VB??? Post screenshots!

Software Development first-post visual-basic
Member Avatar for Lalo1985
0
250
Member Avatar for Rete

Sorry, I know that this is probably the wrong section to post this question in, but I'm sort of confused as to which one would have been appropriate. Anyways, I've been using regular expressions to find specific information such as e-mail addresses and whatnot inside textfiles, but I can't get …

Software Development first-post python
Member Avatar for Rete
0
228
Member Avatar for DotNetUser

I'm new to Visual Studio .NET. I thought C#.NET replaces VC++ 6.0 until I saw that C++.NET was still around. So, what's the difference between the two? I want to create a GUI that uses some C++ header/source files and a C++ socket library. Which would I use? I have …

Software Development c# c++ gui visual-studio
Member Avatar for darklordsatan
0
233
Member Avatar for -=disAbled=-

I'm trying to finish up my first Python program. The program was built to help me maintain and add content to my webpage (it's nothing fancy...just pure html). Everything was smooth sailing (hey, python kicks some serious butt), until I ran into problems using retrbinary() to download files. The problem …

Software Development email python windows-server
Member Avatar for -=disAbled=-
0
487
Member Avatar for shanenin

I just finished my first program, other then a few test ones. it is tic-tac-toe. If you want to try it. here is the link [url]http://webpages.charter.net/lindbergfamily/game.py[/url] It is not very advanced, just mainly a bunch of if then and while statments. If any of you care to comment on my …

Software Development legal python
Member Avatar for vegaseat
0
1K
Member Avatar for luisator

Hi everyone: I am running an java application in a windows xp toshiba computer. My application works fine in an windows 2000 compaq deskpro computer but in the toshiba one I get a strange exception. I think the problem is something with the parser and that makes the second error …

Member Avatar for freesoft_2000
0
294
Member Avatar for tomank

My knowledge of java is zero - I program in VB, however I have just got hold of a bluetooth mobile phone, and since it runs java apps it got me to thinking... In a nutshell I want to use the phone as a remote control for windows media player …

Software Development java
Member Avatar for freesoft_2000
0
369
Member Avatar for M Tritt

I'm trying to compile the following class code and keep getting errors on the overload functions. Everything else compiles ok. I've looked at several sources and compared the syntax and I don't see where the problem is. Please help??? header file [code] #ifndef GAMEPIECE_H #define GAMEPIECE_H #include <iostream> #include <cctype> …

Software Development c++ os-x
Member Avatar for Dave Sinkula
0
238
Member Avatar for Yoshidex

Hi, I'm new to the forum and need some help writing my first 'complicated' program. I have trouble writing to an existing file. I want to write to an Excel file I already created and edited exclusively for the program I wrote, but when I write the data it destroys …

Software Development c file-system
Member Avatar for Yoshidex
0
343
Member Avatar for stupidenator

Hey all, I am very new to python, but I hear that it can be used to handle web forms. Does anybody know of where I can find a good tutorial on how to create something that will handle form input? Thanks in advance. -Nick

Software Development python
Member Avatar for nephish
0
334
Member Avatar for khoobl

I would like to create a deployment project for my application. And my application need mysql as database, my deployment package will package the mysql installation. How to use VB.net to check whether mysql had been installed in the client PC and if not install, mysql installation will be initiated …

Software Development mysql vb.net
Member Avatar for cpopham
0
201
Member Avatar for winbatch

Hopefully I can ask this clearly. Basically I'm wondering if I have a structure like so: struct MyStruct { char fieldA[20]; char anotherField[15]; int andAnother; char lastField[30]; }; Is there a way to dynamically print out it's contents? [fieldA] = "ABCDE" [anotherField] = "TEST" [andAnother] = 5 [lastField] = "WHATEVER" …

Software Development c++
Member Avatar for Rashakil Fol
0
111
Member Avatar for M Tritt

I'm trying to put together a tic tac toe game for a c++ class. Requirements are that it have two classes - gameboard and gamepiece. The gameboard I've pretty much taken care of, but I'm confused on how to set up the gamepiece class. Here's the requirements as given to …

Software Development c c# c++
Member Avatar for M Tritt
0
1K
Member Avatar for vajwee

Non of the java programs which used to run fine in my computer has stopped running. There are no errors in da programs as they still run fine in other computers. All programs gives the folllowing error "Exception in thread "main" java.lang.NoClassDefFoundError" I set my classpath and the path fine …

Software Development java microsoft sql windows-server
Member Avatar for vajwee
0
464
Member Avatar for amir_ct2001

how can i connect Vb with access database that have password to login using ADO(OLEDB) connectivity.give codes

Software Development visual-basic
Member Avatar for Comatose
0
120
Member Avatar for coolgal_neha

well hi :D Actually i have a school assignment and i need help with it i have 2 ques which i am not able to solve so plz help me Q1)create a program to find wether the entered year id leap or not? :?: Q2)write a program to find and …

Software Development visual-basic
Member Avatar for Comatose
0
101
Member Avatar for freemind

Hello everybody! I'm quite new to C++ and as exercise I had to write a simple program, trying to duplicate the strcpy(), strlen() and strcmp() functions in C++. The code seems to be ok from syntax point of view but the results are quite unsatisfying :o. If anyone could point …

Software Development c++
Member Avatar for freemind
0
104
Member Avatar for Mr.

Hello, I want to create a very simple program to test threading. Example [code] int main () { char option = 'a'; int run = 1; while ( option != 'x' ) { option = getch (); /* some code that changes run */ /* thread ? */ } } …

Software Development c
Member Avatar for Mr.
0
91
Member Avatar for EricaJanine

Hi everyone, Just wondering if anyone is interesting in starting a new forum for using ACE? I am new to both ACE and network programming using C++. Thanks! ej

Software Development c++
Member Avatar for alloy_zeus
0
270
Member Avatar for somer2412

I know this is very simple but I cannot remember how to underline a string in C++. Can someone please help.

Software Development c++
Member Avatar for robgxxx
0
125
Member Avatar for JSThePatriot

Okay I use Dev-C++ as my IDE. I have never linked my own files. I am pretty much a noob on C++, but not to programming in general. My issue that I have been almost pulling my hair out with is this. I am using a premade MD5 header file …

Software Development algorithm c++ first-post ide
Member Avatar for oboler
0
150
Member Avatar for akshayabc

I have 2 problems in C regarding floating point, please help : Q1 Output of the following code- C. [CODE] main() { float a=0.7; if(a<0.7) printf("C"); else printf("C++); } [/CODE] But if we change the if condition from a<0.7 to a<0.7f we get output- C++. Q2 The following code gives …

Software Development c++
Member Avatar for akshayabc
0
141
Member Avatar for mav1

I am having a little trouble with my program assignment. I don't want the answer I just need pointed in the wrtie direction. I cannot get my program to loop. The program prompts user to enter hours worked and calculates and displays. The it asks the user to enter y …

Software Development c++
Member Avatar for varunpuri
0
178
Member Avatar for JoBe

Hello ladies and gents, Ive been reading about when you have a very large program, that it is advisable to divide this into several modules. Ive tried this out with an example of two separate modules that where given as examples and managed to get two .cpp modules into the …

Software Development c++
Member Avatar for JoBe
0
240
Member Avatar for Raven11

Hello, I've been working on a security based software from which I got the idea from another program. Here are the details: Upon load of the software a 4 digit string is given (I.E: 1kfh). Then you're prompt for a password. To find your password you would use a Memory …

Software Development c
Member Avatar for oboler
0
92
Member Avatar for dile

I need to figure out a way to check for conflicts in a Number Puzzle. This is how the number puzzle works.... It has a [U]1D array of size 81[/U]. It is filled with integers from 1-9. When the user enters a number i need to make sure it's valid …

Software Development c puzzle
Member Avatar for oboler
0
163
Member Avatar for craigmckeeman

I have inherited an application that requires access to a network share, which mean the PC has to have a mapped drive before access can be gained (user and password required). Is it possible to gain access programmatically? What I need to be able to do is check for existance …

Software Development visual-basic
Member Avatar for mrmike
0
948
Member Avatar for bhautikdesai

HI i m Bhautik Desai doing Master In Computer Application... from india, gujarat.. i need help in VB or Vb.net to use winsock... thanx

Software Development vb.net
Member Avatar for Catweazle
0
83
Member Avatar for grajeshmsc

I'm working on a project that requires users logging on using windows authentication. How do I go about this. This application is JSP-Struts.i can able to get the user name by System.getProperty("user.name"); But i can i get the password.PLz help.Thanks in advance. with luv Rajesh G

Software Development java
Member Avatar for grajeshmsc
0
320
Member Avatar for shre86

hey i would like to know if there is anyway i can send an object or a structure directly using any winsock2 function.. its mighty difficult to convert to a string and send as required by WSASend and send functions..

Software Development c
Member Avatar for Dave Sinkula
0
113
Member Avatar for JoBe

Hello ladies and gents, I'm trying to output a 2D array, but can't seem to find the solution, can anyone help me out here. [code] #include <stdafx.h> #include <iostream> using namespace std; int main() { int **pp; int i, j, n, ni; cout<<"Geef het aantal regels als volgt: "; cin>> …

Software Development c++
Member Avatar for JoBe
0
586
Member Avatar for dello

Hi all.. wonder if anyone can guide me. I am writing a program which reads values from a text file, the text file includes both characters and float values, below is a sample of the data.. [QUOTE]London 7.24 8.15 6.45 3.24 3.66 2.45 4.71 6.78 6.45 8.61 7.45 6.55[/QUOTE] The …

Software Development c
Member Avatar for BruceWilson512
0
263
Member Avatar for NejiHyuuga

I have a program that I know I need a string to use. Problem is in class we did a program with strings in which we input one name like "Dan" and another name like "dave" and it would say which is bigger, how many characters are in each ect. …

Software Development c
Member Avatar for Dogtree
0
155
Member Avatar for yaan

I've gotten feedback from my instructor to modify my code because it contains poor design techniques. I need to add a " return " after each function without it going back to " main " and also to avoid the use of global headers. I've tried to modify it several …

Member Avatar for BruceWilson512
0
181
Member Avatar for johnson9000

Which method below requires less processor time? [CODE]class obj{ public: void DoSomeThing(){}; }; int main() { obj *p = new obj; p->DoSomeThing(); // OR obj theObj; theObj.DoSomeThing(); return 0; } [/CODE] Thanks for your help. W.Johnson

Software Development c
Member Avatar for johnson9000
0
149
Member Avatar for shahid

I write a C++ program, which stores the information about of the company’s employees. First I create a class named as Employee having following attributes. 1: id 2:name 3: sal 4: address Take input of all the four attributes from the user using four different setter functions. Class has following …

Software Development c++ display
Member Avatar for BruceWilson512
0
113
Member Avatar for nephish

i have an html form with a drop-down list that lists a bunch of images. how can i get my cgi script to load the image ? i have imported cgi and os text entered from a form and read from a file do ok, but i cant seem to …

Software Development image python
Member Avatar for nephish
0
240
Member Avatar for nephish

hey there, i have written a script that gets my email messages, but i need to be able to strip off all of the stuff except the body of the message so i can write that to a text file. is there an easy way to do this ? Edit/Delete …

Software Development email python
Member Avatar for nephish
0
217
Member Avatar for akshayabc

I am using borland C++ compiler ver-3.0 for running C & in that range of char type is -127 to 127. Q1 In C, characters have ASCII codes in range 0-255. How can we print characters having ASCII code from 128-255. printf("%c",(unsigned)129); //it will still print the char having ASCII …

Software Development c++
Member Avatar for Dave Sinkula
0
132
Member Avatar for erikkl2000

Hello All, :rolleyes: I found this code from and artical posted back in may and i had a newbie question that i would like to add to it. 1. Is this the proper all around method to pass values? 2. How would i capture these values? Could i do it …

Software Development vb.net
Member Avatar for erikkl2000
0
438
Member Avatar for Ghost1330

[I]Private Sub File1_Click() [/I] [B](<.....It usally highlights that)[/B] File1.Pattern = ("*.wmv;*.mp3;*.wma;*") Else: without File1.Pattern = ("*.*") End If If Right(File1.Path, 1) <> "\" Then FileName = File1.Path + "\" + File1.FileName Else FileName = File1.Path + File1.FileName End If End Sub The Error is Runtime 424 Object Required and i …

Software Development video visual-basic
Member Avatar for Ghost1330
0
133
Member Avatar for p1no

I'm trying to add copyright information to the top of XML files. However, it needs to go after the prologue: <?xml version="1.0"?> <!DOCTYPE ...> My problem is that some XML Documents have the <!DOCTYPE...> tag spread out over many lines and I need to add the copyright information after the …

Software Development perl xml
Member Avatar for p1no
0
132
Member Avatar for oRg

Hi, I'm fairly new to C++. I've taken a class on it at a university but it really only went through the basic I/O, data structures, classes, and pointers. It wasn't very algorithm oriented. It was all very basic. Here's the problem a friend of mine needed help with his …

Software Development algorithm c c# c++ microsoft visual-basic
Member Avatar for oRg
0
443

The End.