132,726 Archived Topics
Remove Filter ![]() | |
Hi all, Can someone please help me. I'm writing a VB5 app that connects to an Access 97 database using a data access control with the following parameters: Connect = "Access" DefaultType = 2 'UseODBC Exclusive = 0 'False Options = 0 ReadOnly = 0 'False RecordsetType = 1 'Dynaset … Software Development microsoft-access visual-basic | |
i having problem saving a txt file and printing it back out , i have the hints of using fgets(v[i],14,infile); and sscanf(v[i],"%d: %s %s,%x"%line_num[i],inst[i],reg[2],reg2[0]); i have no idea on how to imply this correctly can someone show me a correct implemtation of the code so i can move forward to … Software Development c file-system perl | |
I want users to enter their name into a textbox but i want to ensure that they type in something so my program will continue the name into another form by a button. How do foolproof this while clicking the button won't automatically send nothing to the other form and … | |
Hi, I am developing a website that allows users to be able to navigate the website by only clicking on a soft switch. All links are rotated through an array when a link is highlighted and the user clicks the link it is selected. I need to be able to … Software Development java | |
Hello All! I am a little confused about the memory allocated for an executable. Now, say for example, this is my code: int foo = 1; int main() { const char* bar = "hello world"; int num; return 0; } Now, the "hello world" part would be stored in the … Software Development c++ | |
How can I get SetConsoleTextAttribute to work with my Console? I tried everything. First I redirected the cout and cin buffers so that my console can have input and output. But now it doesn't have Colour :S I used: HANDLE OutputHandle = GetStdHandle(STD_OUTPUT_HANDLE); SetConsoleTextAttribute(OutputHandle, 10); I don't think GetStdHandle is … | |
What would be the possible reason why my code display two reasults whenever i search for a record that is in the second row or higher, first it display the first records and then it display the record i am searching. example output: ->Enter ISBN : A200 then the output … Software Development c++ | |
Hello, I want to convert a WORD type to a string, I have this code: FileTimeToSystemTime(&fdFile.ftLastWriteTime, &SysTime); String numday = SysTime.wDay; But i says that operation connot be done because it's a WORD what I wan to insert to a String. And my question is, is there any function/way to … Software Development c++ | |
import java.util.Arrays; public class binary_search { public static void main(String[] args) { int ar1[] = new int[128]; int p, key=78; p=Arrays.binarySearch(ar1, key); System.out.println("element found at index "+p); Arrays.sort(ar1); p=Arrays.binarySearch(ar1, key); long start = System.currentTimeMillis(); Long elapsed = System.currentTimeMillis() - start System.out.println("Time to do stuff (in milliseconds): " + elapsed ); … Software Development java | |
Hello 'am working in qt creator but have problem running my code. It compiles alright but never executes. And also gives the following message at the output pane 'exited at code -1073741819' Please help me out | |
I have a JTextArea that I need to be able to print off from the printer. This is the kid of text that is in the JTextArea GLEN ROGERS 47 PINE AVENUE, CARRICKFERGUS, BT38 8EE, 07824771114 733KIA 2012/07/03 DEVICE; OTHER - GIVE MAKE AND MODEL PACKARD BELL EASYNOTE TN? WINDOWS … | |
i have two string .One has sentence of Devanagari /Nepali langauge="संसार à¤à¤°à¥€ साथी बनाऔ" and next i have the vowels of Nepali Language".I have created the array of both the array and compared each letter. But i got trouble while append the vowels to letter and get the required array … Software Development display mathematics | |
I need to open two pdf files as popup window on click ona button in asp.net C#,but now its opening only the first popup?Can anybody help me ,to open the both windows at the same time? This is my code: string PDFPath = folderpath + filename; string PopupName = "popUp"; … Software Development asp.net c# java javascript | |
Can someone tell me how to implement priority queues using arrays.Please help!!!!!! | |
Hi first of all am new to progarmming. Am using using combo box control in vb.net combo box getting filled properly Public Sub new_entry_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim cn As New SqlClient.SqlConnection("Data Source=KAU-4A76A124FB9;Initial Catalog=SRRY;Integrated Security=True") cn.Open() Dim adp As New SqlDataAdapter("select * from Bank_Details … Software Development dataset open-source vb.net | |
Hi im doing a application tool which will check for spoof email headers. now i want to do some comparison of text in textbox can anyone help me in this? thank you | |
Hi, I have a requirement in XSLT where in I have a xml as below, <Process> <name></name> <duration></duration> <time></time> <name></name> <duration></duration> <time></time> <name></name> <duration></duration> <time></time> . . . . </Process> <The first <name> node we get we create a Process_INfo and copy <name> in it and all other node following … Software Development xml | |
! Hi- this program is supposed to generate 100 random numbers between 100 and 1000, print out a message every 10th number printed to screen, and sum the total of the numbers. It does generate "random" numbers, but the message is not showing up and the numbers are not totalled … Software Development c# | |
Hello, I have developed an app. I want to protect this app, just like the one where we install some software by entering CD-key/Serial key. But I m not understanding how to do it? I want the serial key to be based on some formulation by MAC address! My Case: … Software Development mac-software | |
Is there any way to host several txt files on a computer without having to dive deep into socket programming? I have a few requirements, though: * People could connect when the app is running * No inteference of Windows * Instructions on how to create a client side software … Software Development file-system python socket-programming | |
In PHP using isset() function for checking the form value is set or not? Like wise which methed is used in java? Any one can help ASAP..? | |
![]() | int main() { float i=0.3; ....... ........ if(i<0.3) printf("ishq\n"); else printf("hello\n"); return 0; } hi, can anyone please explain why i am getting output as "ishq" even if i=0.3 so if condition must be false. pleas help i am not getting it. thanks. Software Development c |
Hi all I would like to embed an encoded image into an FXML (i need this in that I'm coding a converter between svg and fxml). I tried with this: <AnchorPane id="AnchorPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns:fx="http://javafx.com/fxml"> <children> <ImageView fitHeight="150.0" fitWidth="200.0" layoutX="153.0" layoutY="94.0" pickOnBounds="true" preserveRatio="true"> <image> <Image url="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYEAYAAACw5+G7AAAABmJLR0T///////8JWPfcAAAA … | |
Greetings, Guys could you give me some idea on how to count months left before the due date? For example 08/17/2012 - 12/17/2012 result: 4 Software Development vb.net | |
Hey guys, So I've been working on a program that takes a student id and name but however I got a weird error saying: error: expected ‘(’ before ‘.’ token error: expected ‘{’ before ‘.’ token and it occurs around the `name_first(firstName), name_.second(lastName)`. I'm having trouble to get the pairs … Software Development c++ | |
I have a dataset with the following data: account_number,master_code,score 100000023,UL189PU,1 100000025,UK120PU,1 100000026,AAL004PU,1 100000026,UL221PU,1 100000026,YHL003PU,1 100000034,UL246PP,1 100000043,1198112CS,1 100000060,182112JS,1 100000060,996211CS,1 100000060,AAL012PU,1 100000074,UI136PU,1 100000074,UK131PU,1 100000074,UL178SU,2 I've started a master loop where I loop through the accounts. I now need to do a sub loop and compare this account to the rest of the … | |
Hi I am using RDLC in .Net framework for my reports. I have a field StartDate and it can be null in the database.I want to show the date as 02/12/2010 . My code is, =Format (Fields!StartDate.Value,"dd/MM/yyyy") But in the report it shows "dd/MM/yyyy". When there is no formatting i.e … Software Development asp.net | |
I'm making a sales receipt. The user enters in the name and price of the items. On the display, I want the name of the items to be aligned as well as the price of the items. Is there a way to get the setw for the objects after the … Software Development c++ | |
I'm creating a program using strings to create a contact card for a customer. It works to allow users to input information up until the "state" input part. It skips over this and doesn't allow a state to be entered and then continues with the remaining two inputs. On the … Software Development c++ | |
Hi, I was trying to access some functions from a dll using python ctypes, but not sure how to pass pointers to get it to work. Here is an example of what i am trying to call: GetAvailableDevices ( SdkHandle session, DeviceDetail * pDev_list, uint32_t * dev_list_size ) Parameters: [in] … | |
So I'm trying to write this program in C that will take a message the user types in and encrypt it using an RSA public key that the user supplies. I know there are encryption functions and libraries in C but I want to actually recreate the algorithm in code … Software Development c encryption unix | |
Good day guys! I am recently developing an attendance monitoring system using a webcam. I have successfully downloaded some sample programs how to make a webcam application in vb.net primarily using avicap. I tried to apply it on my program. The code seems fine but everytime i run the code, … Software Development image vb.net visual-studio webcam | |
how to disable a button with another button in another form that hasn't been opened yet in visual basic 2008? Software Development gui vb.net visual-basic | |
Hi there, i need to use this function but it is write in Python and if is possible i dont want to start learning Python just for one function so i wanted to ask if someoen can direct me to Pythong to C# convertor or help me convert this function. … | |
Hey everyone. I am making an application where a user can draw shapes with their mouse. All the other shapes are implemented, but I am having difficulty with drawing arcs correctly. I got the program to draw arcs, but I am having some bugs in the code. Basically it's supposed … | |
![]() | i have a form from all costumers and i also have all payments now i need a sum field for all payments from a DataGridView Software Development vb.net |
I'm wondering why this code doesn't work on form load. Everything works except the item being added to the listview. I just got back into C# syntax, so can you guys explain this a bit please, thanks ahead. if (System.Net.NetworkInformation.NetworkInterface.GetIsNetworkAvailable() == true) { } else { MessageBox.Show("An error occured in … Software Development listview | |
On my class side I cannot seem to get netPay to calculate and am also having problems with finding insDeduct. On the demo side I have you choose between S - Single and M - Married. Any help would be greatly appreciated. [CODE]public class ChapterFiveClass { // Declare some fields … Software Development java java-swing | |
![]() | Hi, all. I am having a problem using the `getpass()` function, there are no problems with the `raw_input()`, though. I'm trying to check the user input is valid (meaning that the Username is nav and the password is 39429432) Really, I DON'T want to use `raw_input()` for the password field. … Software Development file-stream python |
Public Class Form1 Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Checkbox1.CheckedChanged If Checkbox1.Checked Then TextBox2.Visible = True Else TextBox2.Visible = False End Sub Private Sub CheckBox2_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox2.CheckedChanged If CheckBox2.Checked Then TextBox3.Visible = True Else TextBox3.Visible = False End … Software Development vb.net | |
Hey Guys, i just started learning python and havent really done much programming so im pretty new im following a book and I have to read some data from a text file the code thats giving me trouble is os.chdir('Users\spreston\Desktop\HeadFirst\Chapter 3') the error says that the path does not exist, … Software Development python | |
Hi, ok i had a file looking like this: SilkroadR,,321,13,321,Gobi,False,False,False,False,False SilkroadR,,321,321321,321,Gobi,False,False,False,False,False SilkroadR,,213,321,231,Gobi,False,False,False,False,False SilkroadR,,3251325,3215,3251,Gobi,False,False,False,False,False SilkroadR,,,,,Gobi,False,False,False,False,False I encrypted it and it looks like this: Hdgr6oHm47q2SC5AEjqUY9Boi5WfUT5FTfLvMVYLtorgmufM5GiH6wMg12raZ/YpW/OPZ7bL94wbSWiauy59nrEHlJdO3o1voedaWb/XV7lxNzbUURqDgGtkpr6Ex++d0YAA4sCnkB/GcDtuFd+vqF2IJoI3cC+WKPF73zM5eNz6mJd1hjZK+40je7/LbUyU7JQ8nmvBpEy7J391xM5X5dfKlNziYahufdVsxbO8mTAosQcEZ8JtUoJg2ZWjXO8nPqDci8iy/JgBYnd8Z4fpbfwY5jKwTrq2+TW9k/+I2F9PXUT6OzUUTk4tRFfvWVXBFj/C5s60puxaYJQxgzUzKE2yWls4N3qk3TcZBH1kKCB8h0lS69X77mOxJ0ixkOm1a+deaIWXsBfFHq8ej30ShH2WFf09iAr3 Ok, thats what i wanted, i used to load my accounts like how it looked before the encrypting with this code: Dim iCount As Integer = CInt("0") … Software Development encryption vb.net | |
I am new to Linux, and C++. Usually when I used Java, I could just use javac Something.java and run it using java Something. How do I compile my own c++ code without the help of an IDE? Also I am using Linux Ubuntu 12.04 | |
hi i am getting a floating point error while im trying to complile the rc4 encryption in c++...i was wondering if anyone could help me out...i have the code pasted as below #include <stdio.h> #include <iostream.h> #include <ctype.h> #include <string.h> unsigned char s[256]; unsigned int i, j; void swap(unsigned char … Software Development c++ encryption | |
Can someone point me in the right direction for formatting text and aligninng text in a JTextField? Thanks... Software Development java | |
I know that it generates a public key and then a private key. You encrypt with public and can only decrypt with private key. How is this algoritm going to work in a C++ program, how am i going to compute the public key and then the private key? Also, … Software Development c++ encryption | |
I have a exe file named file.exe When it is run through command line, it takes some data and process it and creates an output file. I want to feed data to file.exe within a perl script and want the output file. Please let me know the commands to do … Software Development operating-system perl | |
Hi everybody! I am having some trouble running a detached process using CreateProcess function in C++. I have been using the following function to spawn processes in c++ for years now havnig no trouble. I have used it with console applications, mfc apps, dialog based ... etc : StartProc(char *callprogram, … Software Development c++ java windows-api |
The End.