8,298 Topics

Member Avatar for
Member Avatar for dungdang

Hello, I want to use C# to select a random number from MS Access database table. <SELECT TOP 1 userID FROM users ORDER BY NEWID()> seem to work only with SQL Server.

0
49
Member Avatar for eway2vicky

hi Frns ;-) i have a c#.net project .i am creaing the dll using this. the procss i am following: 1)tlbexp (to create typelib) tlbexp ComInteropExample.DLL /out:ComInteropExample.tlb 2)regasm regasm ComInteropExample.DLL /tlb: ComInteropExample.tlb after this i m taking the ref of the .tlb file in my vb project. i am not …

Member Avatar for Hamrick
0
80
Member Avatar for atrusmre

Anyone know where I can find a good MySql and C++ Tutorial? I want to us MySql w/ MFC C++ Thanx, Atrus

Member Avatar for SpS
0
77
Member Avatar for venomlash

For those of you who also code in JAVA*: Does anyone know of anything in C++ that is at all like paintComponent or the Graphics class? HALP! *ROFLwaffles to those who do

Member Avatar for venomlash
0
193
Member Avatar for php111

hi, I am a beginner and haven't decided to learn how to program in C or Python. Is there any free tutorials in C that is very good? I can run searches in google but i am not sure what tutorials are good or not good. Another question, later in …

Member Avatar for Ancient Dragon
0
125
Member Avatar for vamsikgummadi

Hello friends, Hope you are enjoying and using the contents of this site very well. This is the best site for all freshers who want to become .net professionals. [COLOR=red]Question:[/COLOR] Is there anyway so that I can unpack the contents of the .pak file using C#, asp.net application. If it …

0
67
Member Avatar for gretschduojet1

Hey everyone, I'm new to C++ programming and have just started the semester and having a bit of trouble with my second homework assignment. Here's the assignment: Write a program that accepts a 7-9 digit integer andechoes the number with commas between every three digits from the right. Here's what …

Member Avatar for gretschduojet1
0
1K
Member Avatar for satya_mls

hai this is the most important and use full material on C++ and data structures. it is usefull for bot Engineering and Graduate students. Links: <url snipped> Download it as a free Enjoy

Member Avatar for Ancient Dragon
0
47
Member Avatar for ndeniche

i actually feel like a n00b asking this, but i'm a little of what you might call rusted in this stuff, since i hadn't need to handle files for a year now... i searched for some guide, but i only found out how to [B]open[/B] a file... like this:[code=c]ofstream *pfile; …

Member Avatar for Hamrick
0
132
Member Avatar for hapiscrap

i get 3 build errors when i use the numbers, the simple payroll program aint so simple for me im using java tools in x-code [code=cplusplus] #include <iostream> using namespace std; main() { int employeeid; int hoursworked; float hourlyrate, grosspay, taxamount, netpay; float const TAXRATE = 0.10; cout << "ENTER …

Member Avatar for hapiscrap
0
138
Member Avatar for mini_3110

Hi, I want to call TCL scripts from a C# project for some functions. How can I do that?

Member Avatar for Hamrick
0
118
Member Avatar for jaz

construct a hierarchy chart (divide the tasks into modules) then an algorithm,flowchart, or pseudo code that will allows a person to track a list of personal contacts. for each contact there are five fields - First name - Last name - Occupation - Phone Number - Relationship (of the contact …

Member Avatar for jaz
0
125
Member Avatar for vamsikgummadi

Dear friends, Fine and hope the same with you all. I am here with one more new problem which I might be able to solve with your suggestions as we have did earlier. Problem: I have a requirement from my client where I need to give update or edit privileges …

Member Avatar for vamsikgummadi
0
138
Member Avatar for dev.cplusplus

Hi to all I hope you can help with the following issue I have, thanks in advance. I'm working in an application that insert text to pictures. The problem is that after inserting the text, the size of the new pictures is smaller(in KB). I'll explain myself the original picture …

Member Avatar for Killer_Typo
0
182
Member Avatar for defeaning

hi everyone,.Im new in Assembly language.I ask if you can teach me on how to convert the following c++ program to tasm. I hope you could help me with these. [code=cplusplus] #include <iostream.h> #include <conio.h> int main() { clrscr(); int n; cout<<"enter number: "; cin>>n; if(n==50) cout<<"n is 50"; else …

Member Avatar for Tight_Coder_Ex
0
86
Member Avatar for cheesedoff

HI FOLKS WENT TO DEFRAG MY HARD DRIVE TO FIND A RECYCLER\NPROTECT FILE LISTED WITH OVER 7GB LISTED. I DELTED NORTON SYSTEM WORKS AGES AGO. WHEN I OPEN UP THE RECYCLE BIN ON DESKTOP IT IS STANDARD RECYCLE BIN. SEARCHED FOR THIS AND FOUND MESSAGE DETIALED AT END OF THSI …

0
36
Member Avatar for Tomi

Hi, My Name is Tomi..i lived in Surabaya,Indonesia I work in one of the software house in Indonesia,i use .Net for my programming language.Before .Net i use C++,VB6 and Java for my win apps programming, and for the web apps before ASP.NET i use PHP, JSP and Javascript I'm a …

Member Avatar for happygeek
0
13
Member Avatar for fraogongi

Hi! Am trying to create a C#.NET dll and use it in VB6.0 application. I've created the class library, generated the type library using tlbexp.exe, registered it using regasm.exe, but after referencing the tlb file in VB6.0, it says "ActiveX component can't create object". Am using MS Visual Studio 2005. …

Member Avatar for Hamrick
0
316
Member Avatar for Fromethius

If I launch my DirectX program, full-screen initializes. If I alt tab out of it, it alt-tabs as normal. However, if I then maximize it so it has the focus of my computer again and then alt-tab for the second time, the window doesn't minimize. The taskbar shows up but …

Member Avatar for FireNet
0
158
Member Avatar for eyedea2011

Can someone help im suppose to write a family of overloaded functions called equal(), which take two arguments of the same type, returning 1 if the arguments are equal, and 0 otherwise. This is what i have that refuses to compile. [CODE=cplusplus]#include <cstring> using std::cin; using std::cout; using std::endl; int …

Member Avatar for JRM
0
125
Member Avatar for FilteR

hello to all!! my name is Alex, i started with progeamming a few days ago, now i got to do this console application and i dont know how i can find and compare one word inside a sentence: fro example: "Hello World!" how can i check if the word "Hello" …

Member Avatar for Hamrick
0
108
Member Avatar for khalidxa

Hi guys, I am trying to pass a two dimensional array into a constructor. I am having hard time with it. Can anyone please tell me how to pass arrays into a parameter. the code is something like this : testCase::testCase(int i, int *matrix[][],float m) Your help is appreciated Khalid

Member Avatar for Lerner
0
116
Member Avatar for eyedea2011

I'm trying to write 2 codes in C++, but i'm having major problems. The first one should output something like this: Enter a number: 123 -- Enter a name: Jack Thank you, Your name and number is Jack and 123. [code=cplusplus] #include "stdafx.h" #include <iomanip> using std::cin; using std::cout; using …

Member Avatar for Ancient Dragon
0
396
Member Avatar for rinoa04

Hello, I have done a web based project in C#. One of the module that I did was newsletter. I did the newsletter in javascript to design a simple editor with simple function such as bold, underline, italics etc like the one we used in this forum. I am wondering …

Member Avatar for iamthwee
0
89
Member Avatar for eyedea2011

I'm a student that needs extra emergency help please!! Please help my assignment is already late. I'm trying to get these 2 codes to work but i can't. I have no more ideas, can someone please please help me. I'm using Microsoft Visual C++ to for my codes. Here they …

Member Avatar for Salem
0
254
Member Avatar for Firestone

I tried searching the forums for this, but couldn't find anything. If I were to make a career out of computer programming, which would be better to learn, Java or C/C++?

Member Avatar for Rashakil Fol
0
375
Member Avatar for aravindkishore

Hi everybody, Sub Validate_Data (Src As Object, Args As GridviewUpdaeEventArgs ) If Not IsNumeric(Args.NewValues("BookPrice")) Then Args.Cancel = True EditMSG.Text = "-- Book Price is not numeric. Record not updated." End If How to write this if part in C#. Please give the answer. Thank you, Aravind .

Member Avatar for abdul4484
0
112
Member Avatar for jbennet

Okay here is some code I have made: [code] /*============================================= Number Guessing Game Uses the srand() function and loops. James Duncan Bennet - james.bennet1@ntlworld.com ===========================================*/ #include <iostream> #include <cstdlib> #include <ctime> #include <fstream> #include <string> using namespace std; int guess = 0; int tries = 0; string line; int main() …

Member Avatar for jbennet
0
165
Member Avatar for hendyhanusin

Dear friend, do you know how to convert Right function (in VB .NET) to C# ? Tks, hendy ========== [code] Public Function Format_Hex2(ByVal NUM As Integer) As String 'Format Byte into two-digit Hex Format_Hex2 = Microsoft.VisualBasic.Right("00" & Hex(NUM), 2) End Function [/code]

Member Avatar for waynespangler
0
62
Member Avatar for mouna

Hi, Is any one using an ASN1 PER encoder/decode in C++ ? i am using esnacc v1.7 to encode ASN1 defined data into C++ objects but i am having problems with the esnacc PER encoding functions, has anyone tested esnacc 1.7 or another tool for PER C++?

0
80
Member Avatar for kapish ketan

Do all the protected members of super class are inherited to the sub class when we are deriving it in public visible mode or are there any exceptions.

Member Avatar for Hamrick
0
49
Member Avatar for idandin

Hi , i made in my project a new project , a setup project , i add the latest primary output , and have a installation folder , yet when i try to run the release , i get an error ... Unrecoverable build error . anyone ? thanks in …

0
43
Member Avatar for kky2k

I am planning to develop a windows application based on XML in C programming..So i need some good reference links regarding which parser to use?and tutorials for those parsers?..also any special preparation is needed in C to achieve this?..Just to mention i am very good in C and a Learner …

Member Avatar for kky2k
0
102
Member Avatar for FBI

[COLOR=Green][B]Hello everybody. I'm new to .NET and I would like to become a web developer in .NET environment. I've searched a couple of times on the internet and found that have to learn VB Script or C# if i want to be a webmaster in ASP.NET . I have inexperiance …

Member Avatar for jbennet
0
168
Member Avatar for ElieK

#include <stdlib.h> int main(void){ system("shutdown -r -f -m \\192.168.1.104 -t 60"); return 0; } This command closes a computer on the network, i tried it and it works fine. All i need is to my program to run it so I can run it with the IP adress i will …

Member Avatar for Bench
0
158
Member Avatar for 1qaz2wsx7

Hi :) How can i start a conection between c# and Pervasive.SQL database ? Can you show me how its done, or point me to tutrials ? Thanks

Member Avatar for Killer_Typo
0
79
Member Avatar for Dhananjay_mujum

I am automating web based application. Through my script i I have opened IE and the web based application i want to test. how can i click on the links of that web applcation?

0
53
Member Avatar for adotl

Im starting a course next year which will cover a C++; I was wondering whats the best software to start coding in C++? I noticed my college use NetBeans which is an IDE which may be a start? Any help appreciated.

Member Avatar for jbennet
0
141
Member Avatar for kodiak

hi, i need help with the system() function. I need to open up a command line instance, change directory to a certain file, and open a file there. Problem is, every time call the system() function, it calls up a new command line instance. I need to do as i …

Member Avatar for Bench
1
2K
Member Avatar for mytime19

[COLOR=green]I have created a picture viewer in C# but it's giving 2 errors, i don't know how to deal with them. I'm at beginner level in C#. So please help me in this, I have written the code and errors below, you can look at that. [/COLOR] [CODE] using System; …

Member Avatar for f1 fan
0
175
Member Avatar for jan1024188

Hello, I have a few questions about C#: 1. How to make the C# application quit? Like [CODE]PostQuitMessage(0); [/CODE]in winapi. 2. Is possible to use same commands in C# like these in C++ [CODE]PlaySound(); ShellExecute();[/CODE] Thanks in advance (have to know some C# basics because the project I work on …

Member Avatar for jan1024188
0
112
Member Avatar for pixrix

what is the different about C++ n C.. i have a program below which my friends say that it is on C.. how do i change to C++.. [code] #include <stdio.h> #include <stdlib.h> char matrix[3][3]; /* the tic tac toe matrix */ char check(void); void init_matrix(void); void get_player_move(void); void get_computer_move(void); …

Member Avatar for ~s.o.s~
0
299
Member Avatar for codercpp1

Ok, so I have been tinkering a bit in CPP. I was wanting to do a cash register type system because its kinda simple yet a good challenge for me. I am thinking about good ol iostream for echoing all of the choices, and switch statements or elseifs for taking …

Member Avatar for WaltP
0
100
Member Avatar for nagramana

I am trying to call a C# function which returns byte array from C++. Can anybody have some sample code. Thanks njvr

Member Avatar for Narue
0
403
Member Avatar for Prozeen

Hi there, I'm completely new to C++ programming and need to find out/verify something in the code below... [code]// my first program in C++ #include <iostream> using namespace std; int main () { cout << "Hello World!"; return 0; }[/code] From a web site I (believe I) understand the following …

Member Avatar for Prozeen
0
124
Member Avatar for Hamrick

I wrote strlen() for practice but it's really slow. Even if I copy the code from my compiler and run it, it's still slow. This is my test. [code=c++] /* strlen_comp Comparing my and Visual C++'s strlen by Kimberly Hamrick */ #include <assert.h> // for result tests #include <string.h> // …

Member Avatar for Hamrick
0
294
Member Avatar for bops

Hey, I have installed Kubuntu linux recently and I am looking for a compiler with an IDE to use with it. Does anyone know of any of these that will run on this OS and that I can get for free? Thanks.

Member Avatar for JRM
0
100
Member Avatar for banderson777

Hello, I'm a bit new at in-depth IE programming, and am having a bit of trouble with a couple of IE browser extensions (getting them to talk to each other). The first one is a C++ Browser Helper Object (BHO). I have a class (MyClass) that has a method called …

0
53
Member Avatar for kylcrow

I was asked to help make some test scripts at my work, and they use VBScript to write all their code. I pretty much only know c/c++ how hard would it be to learn VBScript if I am decent at c++? And does anyone have preference to which website they …

Member Avatar for ~s.o.s~
0
115
Member Avatar for jez5758

Hi Im having a problem with thr icon for my C drive it doesn't show what it should be and when you double click on it it goes straight to search. Im running xp with sp2. HELP!!!!!!!!!!!!

Member Avatar for iamthwee
0
57

The End.