132,726 Archived Topics
Remove Filter ![]() | |
Hi Guys, I need your help with calendar.I want to know how can i popup calendar when i hit a button(I am using visual studio with c#) and look up that dtae in database. Thanks Software Development visual-studio | |
Can anyone please tell me why this returns records in Access SQL pane but not from VB6 using ADO? SELECT LCD.*, LCS.*, LS.*, LMM.*, LPS.si_ElementNumber FROM ((TableLOANContractualDynamic LCD INNER JOIN TableLOANLoanStatic LS ON (LCD.sv_LoanNumber = LS.sv_LoanNumber) AND (LCD.sv_CoNumber = LS.sv_CoNumber)) INNER JOIN TableLOANLoanContractualStatic LCS ON (LCD.sv_LoanNumber = LCS.sv_LoanNumber) AND (LCD.sv_CoNumber … Software Development visual-basic | |
Hi, I try to develop Forms App which will count my working hours, taxes, expenses etc... At moment Iam working on calendar. On the first form I have combobox which sends the name of month into the ReturnNumberOfDaysInCurrentMonth(). The Class returns the number of month for DateTime.DaysInMonth(int,int), which returns the … Software Development display | |
This class when, it is not integrated with the main program, shows the following error....and I have no idea what it is trying to say.. :( :( [code] #include "character.h" Character::Character(DrawEngine *de, int s_index, float x, float y, int lives, char up_key, char down_key, char left_key, char right_key) : Sprite(de, … | |
Okay, I am writing a script that might be impossible to fully explain in words. Therefore, I am going to come up with an example that shows the same problem, so please do not tell me to simply combine the scripts or anything, as I am unable to. Anyways, I … | |
HI, I have a text file which is like this [QUOTE]29/8/2004 dsadsa dadsad [email]dasdsa@dasda.com[/email] tfdsfce m rfdsfson2l43 Hadfsdand Rd. Frdsfsin GN 50033 5545163111 3338544355 Anytime VG337612 TN476757 Vn5676982 0.067 6700 3.5 7222233339 [/QUOTE] I want to do pattern matching in this file and do some manipulations. For eg: I want … Software Development file-system open-source visual-basic | |
Hi all. I had a software exam the other day and one of the questions was : Define a new data type called PC that contains data both about the computer and the monitor. The computer contains how much RAM (integer) and the processor speed (floating point number). The monitor … Software Development c++ | |
Hi, I'm trying to populate a tooltip with a list of users connected to a database when hovering over an row in a ListView. I'm using sysprocesses to show a list of databases and the connections, how do I tie this together? [CODE]select loginame, hostname, blocked, db_name(dbid) from master..sysprocesses where … | |
![]() | Hi, Let's say I have a csv file like such:- [b] part,text,true,quantity [/b] [code] [COLOR="Green"]371336959,-New DDM Part-,Y,1[/COLOR] 449127604,-New DDM Part-,Y,1 808635064,-New DDM Part-,Y,2 [COLOR="Red"]189657,-New DDM Part-,Y,2[/COLOR] 319330767,-New DDM Part-,Y,1 [COLOR="Green"]371336959,-New DDM Part-,Y,1[/COLOR] [COLOR="Red"]189657,-New DDM Part-,Y,1[/COLOR] [/code] Now I want to remove duplicate parts and add the quantities together whilst PRESERVING … Software Development c++ ![]() |
Hi. I'm working on a binary tree home assignment and I have a problem. Initially my program used global variables. I decided to change that and declare variables inside functions (various reasons, you probably understand why). I want the program to run without using global variables. However, I can't figure … Software Development c++ | |
i am using a new smartcard reader.Before i had used old one and the purchased company provided the concerned dll file and its functions and examples.but new company is asking charges to purchase the same.I need necessary idea by using vb6 to read and write textbox datas to and from … Software Development visual-basic | |
Hi, I have a form application that has a number of pictureboxes. As the program runs it changes the pictures in the boxes depending on buttons pressed on the form via a function 'updateGUI'. The program runs for a limited period and eventually i get an error: An unhandled exception … | |
hello my dear brothers and sisters can you explain to me what is lvwTag , I am using it for finditem in my list view i dont know what is it means , it says Search for the String argument in the Tag property of the ListItems . Software Development visual-basic | |
im a beginner in visual basic 6.0 and ma teacher give me a project as below: evaluation of entrance examination system....so i hv fields std name, roll no and mark. according to the roll no i type and with criteria given(some cut off mark) the particular student information must pop … Software Development microsoft-access visual-basic | |
Anybody know of any good tutorials for customizing the appearance of Java GUI's and applets. Specifically, I'd like to design the layout of the GUI or applet in Photoshop. Thank you for your time and help. | |
Hi All, Can anybody explain here what is the different between normal function call and function to pointer call? How function to pointer is working internally? Why should we use function to pointer in call back? why not we call function call directly? Please pardon me ,if it is very … Software Development c | |
I'm trying to create a blackjack program for school. No matter what I've been doing, this keeps coming with errors. My teacher says theres some logic errors, and i don't understand it. [code] import java.util.Scanner; import java.util.Random; public class BlackJack { public static void YesNo(){ Scanner input = new Scanner(System.in); … Software Development java | |
hello hey i want to implement a program in c or c# for preemptive processor sharing tasks. can anyone plz help me out??? Software Development c | |
Estoy haciendo un programa en java donde el usuario puede jugar torres de hanoi o resolverlo solo, pero cuando hago q se resuelve solo me tira d una vz la solucion enontonces e intentado cn timers y sleeps para q pare redibuje y asi se mire paso a paso pero … Software Development java java-swing | |
Hi I have a problem with this [CODE] Public Class SendPings Shared Sub New() AddHandler Post.Saved, AddressOf Post_Saved AddHandler Page.Saved, AddressOf Post_Saved End Sub Private Shared Sub Post_Saved(ByVal sender As Object, ByVal e As SavedEventArgs) If e.Action = SaveAction.None OrElse e.Action = SaveAction.Delete Then Exit Sub End If Dim item … Software Development vb.net | |
Dear all, I'm creating a set of functions to handle stl vectors. Some are useful for achieving my goals. I'm coding some other just for fun. But after some coding I see I cannot compile them propperly. One example would be a vector print function which prints all the elements … | |
Im trying to make a program that generates all the verses of the song "The Twelve Days of Christmas" using recursion (its homework). Ive read what the book says several times, researched online, etc etc. Im not looking for anyone to do the homework for me...I just need some guidance. … Software Development c++ | |
[CODE]#include<iostream.h> //is used so it will display output to the user and that input can be read from the keyboard #include<iomanip.h> //is used so that the user can format input using namespace std; int main() { int qty1; cout << "Please enter the quantity of Televisions: "<<endl; cin >> qty1; … | |
What's Up? OK, So I have a working python script that sends and receives text to and from the client and server python files, However if the Server and Client are on different computers, And therefore we need to connect over the internet, How would we do that? New to … Software Development client-server python | |
Hi, I created a macro in excel by importing XML file and then make amendments and then run to export as textfile. I have a column with specific characters like "A" or "C" as last characters of a string. I want to export that column strings after removing the last … Software Development visual-basic xml | |
i'm making this spanish conjugator for class. and i cant seem to get how to make multiple letter variables. can anyone tell my what i'm doing wrong? it's kinda urgent. here is the code so far. #include <iostream> using namespace std; int main () { char verb; cout << "Enter … Software Development c++ | |
Hi! Long time since i done any bash scripting. Is it possible to pass a arguments in functions? Something like: [CODE]recivefunc(SOMETHING) { echo $SOMETHING } passingfunc() { SOMETHING=test recivefunc($SOMETHING) } [/CODE] Software Development shell-scripting | |
I am trying to catalog mysql database items in a plone site using python. The function that catalogs the SQL query results takes 2 arguments. First is the item returned by the query (for example Select * from books would return many book objects) and second argument is the string … Software Development python | |
Hi guys: I wrote this simple code to read a series of numbers from a list and then do some simple aremathic with it. I am not certain where the error could be, I read the code upside down and still can understand where the error lies. Any help would … Software Development c++ | |
[code]Public Sub PasteFile() For Each Me.lItem In leftListView.Items If lItem.Selected = True Then If File.Exists(lItem.Text) Then lItem.ToString() fSource = leftCBselect.Text & lItem.Text Me.fTarget = rightCBselect.Text & lItem.Text FileCopy(fSource, Me.fTarget) rightListView.Items.Add(lItem.Clone) 'MsgBox("You have copied " & lItem.Text & " succesfully!", MsgBoxStyle.Information, "Information") ElseIf Directory.Exists(lItem.Text) Then fSource = leftCBselect.Text & lItem.Text Me.fTarget … Software Development file-system vb.net | |
is there a way for me, using a mac to compile a c++ program to work on windows? or could some one with a windows computer compile this code and send it to me somehow?? #include <iostream> #include <string> using namespace std; int main () { char* verb = new … | |
This is a silly question. I have been working with pointers for almost two quarters and this question never occurred to me until today when I wrote up some code and my IDE screamed at me about it. Oddly enough, 99% of the time I get it right so this … | |
Goal is to create a simple class that can be used for GUI buttons. My question is how can I define a function variable, and then when constructing a 'button' define which function should be called when clicked. This obviously isn't right, but just to get the idea: [CODE] class … | |
HI i want find record in file and null it . i find it and set file pointer with --fsetpos--befor i use --fwrite-- . all thing id correct but record not change and fwrite write record at end of file i use ftell() and fseek() but i get again this … Software Development c++ file-system | |
I'm working on a program that will get a list of words from the user and rearrange it in alphabetical order. So far it works but I think it may have some memory issues because I was testing an alternative way of asking the user how many arrays will be … Software Development c++ motherboards-cpu-ram | |
Hi Please tell vb.net equivalent of following method: [B]C# Syntax[/B] [CODE] public class RecentPosts : Control { static RecentPosts() { BuildPostList(); Post.Saved += new EventHandler<SavedEventArgs>(Post_Saved); Post.CommentAdded += delegate { BuildPostList(); }; Post.CommentRemoved += delegate { BuildPostList(); }; Post.Rated += delegate { BuildPostList(); }; BlogSettings.Changed += delegate { BuildPostList(); }; } … Software Development c# vb.net visual-studio | |
hi there, does anybody know a good encryption method that can be used the C#.NET to encrypt and decrypt the password in C#.NET desktop application? thanxxxxxx Software Development c# encryption | |
I'm trying to write a simple file output program for my class. The error I recieve when I try to compile in VS .net 2003 is the following. [I]fatal error C1083: Cannot open include file: 'fstream.h': No such file or directory[/I] The code to my program is extremely straight forward … | |
How do I trim my values in a gridview edit form before they are updated or inserted into the database? I want to be sure that users do not add extra spaces onto the end of the text or at the begining. Software Development asp.net | |
Hello , I need an approach for my new assignment.Thought a lot but could'nt find an approach so posting it in this site hoping that someone might have come accross this situation and can suggest me something :-) I have a console application that downloads images from IP cameras (say … Software Development | |
Okay, this just makes me feel stupid. I'm pretty good at programming for the console so I figured I would try a Win32 program. Apparently I'm stupid because I cannot even compile hello world. Heres the code I copy and pasted. [CODE] #include <windows.h> int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, … Software Development c++ windows-api | |
Hi, I have to do multithreading. In my case each thread should run in a specified timer interval given in a database. I tried a sample by storing the data in an xml file and reading them with linq to xml. But it seems all the thread takes the last … Software Development multithreading xml | |
Hello, I have a project for school and I need it finished a in a few days. What the project does is reads data from a txt file. Each row of the txt file contains a timestamp hh:mm:ss,mmm (example: 00:05:33,141). Whenever the system time is equal to one of the … | |
Heya Thanks for taking the time to look at this, i would like some people to review my curent project which is written in c++ using visual studio 2008. Although in VS08 it does not use anything that makes it dependant on it (i dont think) i just wanted to … Software Development c++ linked-list visual-studio | |
Okay so I have a datagrid view I am trying to build (here is the code so far) [CODE] public partial class employeeAlterForm4 : Form { static readInFileDel2 readInFileCall = new readInFileDel2(readInFileClass2.readInFile2); static Employee [] employeeTempArray; ToolTip tooltip1 = new ToolTip(); Panel panel1 = new Panel(); //-------------------------------------------------------------------------------------- public employeeAlterForm4() { … Software Development vb.net | |
Here is the code I used: [code=c#] using system; using system.Management; using system.Management.Instrumentation; using system.Security.AccessControl; namespace Permissions { public static int Main(string[] args) { string strFolderPath = "c:\\Program Files\\Whaddeva\\"; string strUserName = "user@domain"; AddDirectorySecurity(strFolderPath, strUserName, FileSystemRights.FullControl, AccessControlType.Allow); } public static void AddDirectorySecurity(string Filename, string Account, FileSystemRights Rights, AccessControlType ControlType) { … Software Development | |
I am attempting to execute some code when a second form is closed, and have been at this for some time with no luck as of yet except to know this is my obsticle after some testing. I had thought it may be in the reference of the second form … Software Development vb.net | |
I am trying to capture keystrokes, and have been able to for all letters, and numbers, but i cant capture keystrokes such as ' ;, @, -, _, +, =' e.t.c. I have tried looking up their decimal code from the ASCII table, but that does not work. In the … Software Development c++ | |
Dear Daniweb Community, Like I've previously explained on an other topic, I'm trying to delete lines of a csv file where the value of a column is equal to a fixed value. In other words I have to check if a specific column value for a line is equal to … Software Development perl | |
Hey everybody, I am currently having difficulty using GetOpenFileName() and GetSaveFileName(). The keeps returning the error " undefined reference to `_GetOpenFileNameA@4' ". I can't seem to find a fault in my code, so is it the compiler or is it the code? I am using CodeBlocks. [CODE]void DoFileOpen(HWND hwnd) { … Software Development c++ windows-api |
The End.