132,726 Archived Topics
Remove Filter ![]() | |
hi! I am developing a window based application. I want to show my menu to be separated by a vertical separator. Just like this: File | Edit Anyone?Is it possible? | |
I was started a thread for how to do the setup. You was told me the solution, I have publish my project 1. [B]In Build menu - publish the project.[/B] I have publish a setup in Visual Studio 2008. It's running very well on my PC. But when i tried … Software Development assembly visual-studio | |
I'm trying to create login form in C#. I store username and password in SqlServer 2008 express using the stored procedure [CODE]ALTER procedure [dbo].[InsertNewUser] ( @UserName varchar(30), @Password varchar(30) ) as If exists(Select 'True' from Users where UserName = @UserName) begin --This means that the user name is taken select … | |
Private Sub btnOk_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOk.Click If txtuser.Text = "" Then MsgBox("Please Enter a Username or Password, DOnt leave it blank", MsgBoxStyle.Exclamation, "Access Error") ElseIf txtPass.Text = "" Then MsgBox("Please Enter a Username or Password, DOnt leave it blank", MsgBoxStyle.Exclamation, "Access Error") Else End … | |
Hi, I have drawn the rectangle using picture box paint. Now I like to edit the drawn rectange (Like to increase or decrease the length of the drawn rectangle). how cab i do this. for code refer below link: [url]http://www.daniweb.com/forums/thread286159.html[/url] Software Development | |
I have been away from c for awhile and was hoping that someone could guide me on how to code the following: I have a string for the time that is in the format hhmmss.sss (hour, minute, seconds, fraction of seconds). I would like to parse the string and store … Software Development c | |
Function selectDB17() Dim cn As New SqlConnection Dim cmd As New SqlCommand cn.ConnectionString = ("server=EKS-HQ;database=BGB;user id=administrator;password=admineks2005") cn.Open() cmd.Connection = cn cmd.CommandText = "SELECT KODSTATE,USERID,PASSWORD,KUMPULAN FROM USERID" Dim lrd As SqlDataReader = cmd.ExecuteReader() Try Do While lrd.Read() If lrd.HasRows Then a = lrd("KODSTATE") b = lrd("USERID") c = lrd("PASSWORD") d = … Software Development microsoft-access open-source vb.net | |
Hey Guys!!!! I am searching everywhere but i did'nt find actual answer from internet or may b I am wrong.. I am making a program that stores data.. my all program works perfectly but there is one problem i cannot solve.. i am new to WINDOWS FORM (Object ORIENTED) and … Software Development c++ | |
I have a small problem. I am a begginer in C programming . I need so help please. my project i am working on is in image. I use a camera to take a number in very small part for example ( 0901) but sometime those component have defect next … Software Development c | |
![]() | Hi all I am trying to insert a record into MS-Access database using VS2008 as front end and this is my code i am using to connect to the database. login.mdb has two tables(login,schedules) [CODE] Dim con As New OleDb.OleDbConnection Dim cmd As OleDbCommand Dim myquery As String Dim count … Software Development microsoft-access open-source vb.net |
Hi, I just like to know, can an input data from user (keyed in) be compared with data contained in a files (.txt). Because, I need to compare one data (string) to so many strings or a group of data (about 100+). Therefore, I like to avoid from using so … Software Development c++ | |
Why does the debugger stop execution and give an error when WaitForSingleObject() is called on a closed HANDLE?? when I run my program outside of the VS2010 IDE, WaitForSingleObject(invalid handle) just returns WAIT_FAILED like its supposed to. Is there anything actually wrong with calling it on an invalid handle? | |
Hi, long time no C. I have started using the Irrlicht gaming engine but have bumped into a problem which has been bugging me for the past 6 hours flat. I have a variable containing a std::string but it needs to be converted to a (const wchar_t *) string. Does … | |
Ok Guys I need some help with a small nigglying problem I have traditionally used the following code to check for a keypress when using the console and in msdos thats how far back Ive been using getch() but need to do something similar to this in C++ with cin … Software Development c++ | |
subject matter experts, greetings I come here b'coz i got nothing left i thought i solved this but to no avail. i cannot make it work,, [CODE]import java.util.*; class Property { private String ID; private String description; private String location; private double weeklyRR; private char status ; private boolean visibility; … Software Development java | |
I have to learn cobol but my acc in openVMS have no yet opened Does anyone know any windows software (like visual studio) which can write and compile and run cobol program? I know what to write some easy program now. Thanks in advance Software Development visual-studio windows-vista | |
can anyone tell me why this would freeze? I'm trying to find a way to terminate a thread from outside of it, and allow the main program to do garbage cleanup, like closing any HANDLEs used or freeing any memory allocated. I trigger an event which should cause that loop … Software Development c++ | |
:SHave they made a py2exe 3.0 yet and if so where in the internet can you find or have they just not made one yet?:confused: If not how else can I turn my programs into executables?:-/ Software Development python | |
Here is my try of changing integers to English written numbers. Here corrected version 3 check: [CODE]from __future__ import print_function import random,sys if sys.version_info[0]==3: raw_input=input to_19 = ["zero", "one","two","three","four","five", "six", "seven", "eight", "nine", "ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen" ] tens = ["","","twenty", "thirty", "forty", "fifty", … Software Development python | |
Dear Friends, How can we control just for that programme only.. *************************************************** * FOREXAMPLE * *************************************************** * I tried and successfully done with auto clicker * * using Dev C++ on CCleaner. But the question here* * The mouse will keep clicker while Im minimize * * the CCleaner. The … Software Development c++ ![]() | |
I am trying an exercise in a book and can't find my problem. I want an invoice class with a seperate implementation file and a file to use it. Below are the three files. [code] // invoice class //Invoice.h #include <string> using namespace std; class Invoice { public: Invoice(string,string, int, … Software Development c++ | |
Hi. I am working on a multi threaded program (game renderer). What I want to do is to loop through my threads and get a boolean value that tells me if the thread is done rendering or not. If all the threads is done, I want the code to go … Software Development java | |
Hi, I have a form that has Width & Height (1000,1000). Now if the users screen has for example this sizes (800,800). Then I want to adjust the Forms Width & Height to 800,800 so it fits the screen. So my question should be if it is possible to detect … Software Development c++ | |
Hi, I want to put GLSL shader in my game to get realistic shadows and lighting. But when I use polygons GL_POLYGON ,they are totally black. Only thing that works OK with shader is glutSolid bullshit like glutSolidTeapot and glutSolidCube and so on. So I wanted to know the source … | |
Hi, I have 2 questions about the scrollbars on the Form. 1. Is it possible to change the Width of the scrollbar control itself? (Ex: for the vertical scrollbar in this browser window is about 1 cm.) 2. Is it possible to change the Color of the scrollbar in any … Software Development c++ | |
Hi again This time I have one kind of bigger problem. I have to bind single click and double click with Tkinter. So, I tried this: [code=python] root.bind("<Button-1>", single_click) root.bind("<Double-Button-1>", double_click)[/code] That doesn't work. What I can try next? How to execute function X on double click and function Y … | |
Hello, good evening. :) I got some problems with the "Bubble Sort" and "Selection Sort". My "Insertion Sort" is already ok. I just can't figure it out with this problem. Hope you can help me with this and explain it to me my mistakes. Here's the whole code: [CODE=C]#include<stdio.h> #include<conio.h> … Software Development c | |
Hi, It is possible to drag a Forms width. What I want is to prevent a user to drag the Forms width more than the value 405. I have tried out with the code below but nothing happens when I drag the width of the form. Thanks! [CODE] private: System::Void … Software Development c++ | |
hello, I am a student and I am trying to build an application to send SMS. For that I have to modify this source code at code project article [URL="http://www.codeproject.com/KB/cs/SMS.aspx?msg=3533311#xx3533311xx"]http://www.codeproject.com/KB/cs/SMS.aspx?msg=3533311#xx3533311xx[/URL] SmsSubmitPdu pdu; pdu = new SmsSubmitPdu(richTextBox1.Text, textBox1.Text, ""); GsmCommMain comm = new GsmCommMain(); CommSetting.comm.SendMessage(pdu); I have used this code to … Software Development | |
Hello, I have an assignment due tomorrow and getting help by bugging you guys is my last resort... I have tried everything else. I'm extremely new at programming and taking my first course in Pascal Delphi. I'm using Delphi 6 and my assignment consists of using data within a .txt … Software Development delphi file-system pascal | |
How can I specify which sheet I want to write to by name? For example, I want to specify that the sheet I should be modifying should be labeled "212". Also, perhaps a more challenging question. How can I ensure that the sheets I create are always in alphabetical order? … Software Development | |
i would to backup textfiles from 24 hours ago using c#...what is the best method? thanks Software Development | |
Hi, I am trying to figure out graphics in C# and I wanted to start by drawing a line on the form. I was following msdn example. The problem is - where shall I put those code! I have tried this, but it didn't work. Can any one suggest any … Software Development | |
how can we run any project which is already made by some other person and we have all the files of that.if it is in java or vb.net project and we have the folder that contain all the files of the project Software Development java | |
my prof give us assignment but she doesn't explain what to do im just asking what will be the code to this problem: write a program that will find the area of square.. (look for the relevant formula) ty for the one who will help ty very much Software Development c++ | |
Hello! I am trying to write a piece of code to open a file using a 'while' loop. It should ask for the file name and, if it does not exist, ask for it again. This is the code: [CODE]while True: try: fhand = open(markFile) except: print 'File', markFile, 'cannot … Software Development file-system python | |
I have a problem with recursive imports in C++. I have this 2 classes: [CODE] //File A.h #include "B.h" class A{ public: A(){}; void doA(B b){ b.doB(); } } [/CODE] [CODE] //File B.h #include "A.h" class B{ public: B(){}; void doB(A a){ a.doA(); } } [/CODE] I tried to use … Software Development c++ | |
Hiya, Im trying make a simple cards game and i was wondering how in c++ can i use the characters ♠♣ ♥ ♦ , i think it would be betetr than me printing out the words each time, Are these in some extended character set anywhere? i tried googling … Software Development c++ | |
[CODE] #include <cstdlib> #include <conio.h> #include <fstream> #include <sys\stat.h> #include <string> #include <iostream> #include <iomanip> using namespace std; struct Student_Record { string name; int id; string ic; string parentName; string address; int telNum, parentTelNum; bool deleted; }; Student_Record Student; #define STUDENT_NAME "Student.txt" Student_Record Employee; char choice; fstream *fs = NULL, … | |
Im trying to create a boost thread which executes the following static function. [code=c] Updater::UpdateTrack(const std::string& sFolder) { //Do something } [/code] I cant seem to figure out how to pass the argument to the function i tried the following: [code=c] m_UpdateThread = boost::thread(&Updater::UpdateTrack,"test"); [/code] [code=c] m_UpdateThread = boost::thread(boost::bind(&Updater::UpdateTrack,"test")); [/code] … Software Development c++ | |
import java.io.EOFException; import java.io.FileInputStream; import java.io.IOException; import java.io.ObjectInputStream; public class ReadSequentialFile { private ObjectInputStream input; public void openFile() { try { input = new ObjectInputStream( new FileInputStream("clients.ser")); } catch (IOException ioException) { System.err.println("Error opening File"); } } public void readRecords() { AccountRecordSerializable record; System.out.printf("%-10s%-12s%-12s%10s%\n","Account", "FirstName", "LastName", "Balance"); try { while … Software Development file-system java | |
Hi guys, just wondering, would someone give me some advise of what what kind of software should I develop...maybe just a simple software...or a small software...whatever you call that...a software that would not take a lot of time in the development process...maybe...more or less than 3 weeks...what do you think?.. … Software Development engineering visual-basic | |
I need some help regarding Paging on a Gridview. I have a few dropdownlists and textbox and a gridview. At first load, the gridview will be populated with data from the sql server. And, I did a search and it works for the first page. When I press the second … Software Development | |
[CODE=C++] #include <stdio.h> int main() { int iBAF=10; int iPlots=14; double dblFactor; dblFactor=iBAF/iPlots; //to get a floating point you need a cast! printf("dblFactor = %10.6f\n",dblFactor); return 0; } /* dblFactor = 0.000000 */ [/CODE] I thought C/C++ would offer a few benifits beyond pure assembler. Apparently I was wrong. Software Development c++ | |
Hi, I think this a basic question but I'm not sure how to do it. I have a textbox1 which contains data in the following format : [code] Mass Fraction Intensity 79.05423 0.9366496 100.00 80.05423 0.0616264 6.58 81.05423 0.0016983 0.18 82.05423 0.0000252 0.00 [/code] Now I want the "Mass" column … Software Development | |
Hi, I am looking at functions that convert standard date to Julian data and vice versa. I tried to search the forum, but found nothing. Thanks, G Software Development vb.net | |
hi guys . i need your help to start vb so please tell me how to start learning vb and where can i get free resorces and support Software Development vb.net | |
hi every body this is my first post in this wonderfull web site i'm a biggener in c++ and i have a q i want to do a function that determines whether a number is prime and then use this function in a program that prints all the prime numbers … Software Development c++ | |
i am having trouble fixing this program... its not printing the number any tips??? i am using sieve of Eratosthenes [CODE]#include <cstdio> #include "simpio.h" #include "strlib.h" #include <iostream> using namespace std; int main() { bool is_prime[300]; int num[300]; int i, n; printf("This program prints all prime numbers from 1 to … Software Development c | |
my code is: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace WindowsFormsApplication2 { public partial class Form1 : Form { double num; string text = ""; public Form1() { InitializeComponent(); } private void calFactorial_TextChanged(object sender, EventArgs e) { if (calFactorial.Text != … Software Development |
The End.