8,298 Topics
![]() | |
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. | |
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 … | |
Anyone know where I can find a good MySql and C++ Tutorial? I want to us MySql w/ MFC C++ Thanx, Atrus | |
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 | |
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 … | |
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 … | |
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 … | |
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 | |
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; … | |
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 … | |
Hi, I want to call TCL scripts from a C# project for some functions. How can I do that? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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" … | |
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 | |
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 … | |
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 … ![]() | |
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 … | |
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++? | |
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 . | |
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() … | |
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] | |
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++? | |
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. | |
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 … | |
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 … | |
[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 … | |
#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 … | |
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 | |
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? | |
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. | |
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 … | |
[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; … | |
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 … | |
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); … | |
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 … | |
I am trying to call a C# function which returns byte array from C++. Can anybody have some sample code. Thanks njvr | |
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 … | |
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> // … | |
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. | |
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 … | |
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 … | |
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!!!!!!!!!!!! ![]() |
The End.