26 Archived Topics

Remove Filter
Member Avatar for quintoncoert

can anyone tell me if it is possible to connect to a database (for example an access database) from visual c ++ 6.0? And if one can how does one do it? Is it some wholy complicated thing or is it as easy as doing it in visual basic 6.0 …

Member Avatar for Ancient Dragon
0
762
Member Avatar for quintoncoert

i am trying to connect to an MS Access database but i am new to C#. I have looked at, amongst others, Paladin's response to dark omen about connecting to a database and since i have connected to a database before in Visual Basic most of it makes sense to …

Member Avatar for vkmaurya5785
0
166
Member Avatar for quintoncoert

I have received a library in dll format with a .h header file. When I instantiate an object from one of the classes I get an access violation error. It is a run time error; the program compiled bug free. The program even runs. It is just at the exact …

Member Avatar for Basicgear
0
589
Member Avatar for quintoncoert

hi. i am looking for a free web hosting service. i did search daniweb archives for people who asked similar questions but some of the sites mentioned seem to no longer work while others are just plain unsuitable. i am planning on developing a website which keeps track of Daniweb …

Member Avatar for hbk619
0
172
Member Avatar for quintoncoert

hi. i would like to ask if the following operation is possible. imagin a device which has a number of rs 232 ports. in this case we shall take four. then imagin that you have two keyboards and two computers connected to these ports. now is it possible to write …

Member Avatar for TkTkorrovi
0
127
Member Avatar for quintoncoert

hi. i am planning on assembling a computer by buying and putting together motherboard, processor, memory etc. The problem is an operating system. windows vista costs a fortune. But worse is my intended use for this computer. i am planning on learing the C programming language on this computer mostly. …

Member Avatar for paetechie
0
119
Member Avatar for quintoncoert

hi. can someone tell me if there is some way to open or start execution of a program by typing in some sort combination of keys on the keyboard? For example if I have a program called program.exe and it is stored on the hard-drive is it possible to start …

Member Avatar for quintoncoert
0
191
Member Avatar for quintoncoert

i hope that this does not sound like a silly question but can someone please tell me why we return an integer from the main method in c++? if program execution starts and ends in main then what is the point? main calls other mothods and receive return types so …

Member Avatar for Salem
0
619
Member Avatar for quintoncoert

Can someone please tell me what is wrong with the following code or if it is even legal? I am trying to access the text in a multitude of textboxes without having to go to each textbox manually. so i named them all similar enough. their names are all variations …

Member Avatar for quintoncoert
0
120
Member Avatar for quintoncoert

is it possible to have global level methods in c#? I have several forms and they are going to use roughly similar logic. i can design methods which can work with them all depending on what parameters are passed to them but how do i make these methods global so …

Member Avatar for quintoncoert
0
138
Member Avatar for quintoncoert

Can someone tell me how to convert variables from one type to another in c#? Specifically i need to display an integer in a textbox. the textbox does not want to display it since the textbox has text and the integer is an int.

Member Avatar for quintoncoert
0
110
Member Avatar for quintoncoert

i am very new to c# and dont understand all of array passing to methods. chief reason for these misunderstandings is the keyword param. param can only be used in a method header once and is always passed by value. also it works on a number of individually declared variables …

Member Avatar for f1 fan
0
169
Member Avatar for quintoncoert

is there any way that one can place code in C# in a procedure or a function? I have code logic which is going to be executed many times over and instead of recoding it twenty times over I want to put them in functions and procedures so that I …

Member Avatar for Ezzaral
0
166
Member Avatar for quintoncoert

I am using the system.diagnostics.process command to run a program. the program receives a number of parameters. can someone please tell me if the process command of c# can receive more than one argument? and how do you specify them? when one runs this command from the command-line you seperate …

Member Avatar for f1 fan
0
193
Member Avatar for quintoncoert

can anyone give me more info on the system command? It allows you to execute dot exe programs from your code. I am in particular looking for return values. Can one get the system function to let the called program write its output to a variable instead of writting it …

Member Avatar for Ancient Dragon
0
168
Member Avatar for quintoncoert

I have three questions about MFC and their use in Visual C++ 2005. Firstly. Can one actually use the MFC in C++? I have taken a look at the internet and almost all the information seems to indicate that it, along with win API, is for use with C. There …

Member Avatar for Narue
0
197
Member Avatar for quintoncoert

can someone please tell me what i am doing wrong here? My program does not print any output after the attempted bucket sort. It only prints before. It is almost as if it does not run to its end.

Member Avatar for quintoncoert
0
130
Member Avatar for quintoncoert

Is the common language runtime the only way to develop graphical user interfaces in c++? That had been what I thought until I read a gaming thread( how to develop board games in c++ ). A dll, which i have to use, refuses to work with the clr (i am …

Member Avatar for jan1024188
0
145
Member Avatar for quintoncoert

I 've read Narue's answers in another game thread but there are still some things I would like to ask. what kind of c++ works best for games? can one use any kind. the main reason for using c++ is, i assume, to take up as little space as possible …

Member Avatar for Narue
0
145
Member Avatar for quintoncoert

i have a form which i have to protect with a password. this form is called from a user form which does not have any passwords on it. which means anyone can access it. in order to accomplish the security i placed a password in an access database but the …

Member Avatar for quintoncoert
0
94
Member Avatar for quintoncoert

i have taken a look around and it seems to me as if visual c++ is an outdated technology. I mean it appears as if no one is using it anymore. Even Deitel, which sells some good textbooks, list them as "old products". Is it worth the effort to learn …

Member Avatar for quintoncoert
0
113
Member Avatar for quintoncoert

I am currently working on a project which requires me to instantiate objects of a class. The class is in a dll which is accessed via its header file. I suspect that the dll does not work with visual c++ express edition which I am using. I would like some …

Member Avatar for vijayan121
0
254
Member Avatar for quintoncoert

can anyone tell me the difference between visual c++ express edition and visual c++ .net? It would apear that they are the same. Both seems to use the dot net framework. Are there any significant differences? And also how do they differ from other types of c++ such as ansi …

Member Avatar for jwenting
0
126
Member Avatar for quintoncoert

I am writting a program which receives args on the command line. Before they can be used however they must be converted to ints. I am using vc++ express edition and I have tried the _strtoi64 function but I cannot get the parameters to this function right. It is specifically …

Member Avatar for vijayan121
0
148
Member Avatar for quintoncoert

I am using VC++ express 2005 and I have a dll and two header files. The one header file inherrits from the other and the dll contains the source code. Can someone please tell me where do I write the include commands for these header files? I can create and …

Member Avatar for Ancient Dragon
0
306
Member Avatar for quintoncoert

I am new to c++ and I am using visual c++ express edition. I am spending quite a lot of my time doing excercises and am using the command line to compile them. I have now reach the stage where I am seperating the header files and the .cpp files …

Member Avatar for Ancient Dragon
0
157

The End.