132,726 Archived Topics
Remove Filter ![]() | |
I have been working on an assembly OS with a bootloader and console type thing, it is now getting too big for the 512 bytes allocated as the bootloader so I was wondering how I could link in an external assembly file to use without any size limit, which would … Software Development assembly | |
sorry, i'm a newbie of java. for example, public static myObj createObj(String nameFormUser){ myClass nameFromUser = new myClass(); return nameFromUser; } can it possible ? Software Development java | |
When is the garbage colletor called in c...Like in the following code int main() { int *i; int *fun(); i=fun(); printf("%d\n",*i); printf("%d\n",*i); } int *fun() { int k=12; return(&k); } the address being returned is of a variable that is no longer available....but printf statement prints 12 first time and … Software Development c | |
Hi! I have a little question. I'm new to WPF, and I've been working with DevExpress, I'm with the TreeListControl right now. How can I change the data format in a field? Specifically, I have a string with the url or route of an image, and I want the tree … Software Development | |
Hi again, I'm here to ask another stupid question so I apologize. I'm going to make a calculator in Python but I've ran into a wall, with the tutorials I've been following I've only ever been taught how to add two numbers together. Never have I learned how to add … Software Development python | |
how are float values exactly represented in memory...... Software Development c | |
I have created a database in ms access and a form, in which i want to add some records, it is updating correctly, but when i close the form and restart the application and started to add new records the previous records are deleted automatically. please help me in this Software Development vb.net | |
Greetings! Currently, I'm hitting a road block on a task that I need to perform. My goal is to hash my source code and check if the code has been changed during runtime. if it has been modified, it shouldn't be allowed to run. My question is how do i … Software Development java | |
Hello, anyone here have an idea of making your form more dynamic while not in a runtime i mean the form maximum size is the same as my screen resolution here in pc. i just want to add more control in that form but i cant because the maximum size … Software Development vb.net | |
Hi everyone, I'm trying to make a little applet that reads text files. I was planning to load some data into a class and use it later. However, I seem to having a few problems with it. // DataSet.java package com.someone.something; import java.util.ArrayList; import java.util.Arrays; import java.util.List; public class DataSet … | |
Hello! I'm a beginner developer and I'm currently learning Visual Basic 2008 Express Edition. I'd like create the following program: - search custom selected database - if selected database contains TABLEX and if TABLEX has data in ColumnY and it equals 0 then make some sort of signal/error/report where it's … Software Development open-source vb.net visual-basic | |
Hi, I am getting the following error while compiling error: argument of type 'void(FClass::)()' does not match 'void(*)()' on the line fPointer=instance.PrintIt; // Give the pointer the function address This is my code /** * @file FPointer.c * This is the main FPointer program start point. */ /** * Main … Software Development c++ | |
hi there i'm a begginer in c# i need to create a textbox onkeypress.. i have a dynamic list of courses... i need the first charachters that typed in the textbox will find those courses with names that begins with those charachters ...kind of filter... and i need to do … Software Development client-server | |
# **program editor** # how to create a **program editor** for compiling and executing java programs?i need the codings... Software Development java | |
i want to extract icon from exe file. does anyone know how to do this?? thank you very much Regards Estella Software Development visual-basic | |
Hello everybody, I have a question about vb.Net. I really hope that you can help me with it. I've got a form with several textboxes. When the user gives input in an textbox and presses the tabkey, then the input in the textbox must be checked and complement with data. … Software Development vb.net | |
#include <stdio.h> #include <stdlib.h> main() { char a[30]; int i,j,n,temp; printf("enter the limit: "); scanf("%d",n); printf("enter the string: "); for(i=0;i<n;i++) { scanf("%s",a[i]); } for(i=0;i<n-1;i++) { for(j=i+1;j<n;j++) { if(strlen(a[i])>strlen(a[j])) { temp=a[j]; a[i]=a[j]; a[j]=a[i]; } } } for(i=0;i<n;i++) { printf("%d",a[i]); } } compiler stops working here when executing the program but 0 … Software Development c | |
Hey I want to make a multithreaded and multiuser web service in Java. Where do I even start looking? Currently I have a web service that is one user and one thread. I think Ill problably have to completely rewrite it from almost scratch so.... Where can I see some … Software Development java | |
i am trying to run a jar file i created from net beans when i built my new project.it is giving me error cant launch application i tried everything.I am using window7,i opened the command prompt and put assoc jarfile ftype jarfile="C:\Program Files\Java\jdk1.6.0_01\bin" "%1" %* and tryied to run it … Software Development java | |
Hi there, Im working a web browser automation project. There is an ajax controlled dropdown list in a web site. It was like this; [CODE] <option value="test1">test1</option> <option value="test2">test2</option> <option value="test3">test3</option> <option value="test4">test4</option> <option value="test5">test5</option> [/CODE] When i was selected test2 ajax is working and its giving another div. (I … Software Development web-browser | |
> WHAT SHOULD WE LEARN OTHER THAN C LANGUAGE TO DO PROJECTS IN C..??PLEASE HELP... Software Development c | |
How can i change masked text box properties for IP address input. For example private void Interneta_savienojums_Load(object sender, EventArgs e) { maskedTextBox1.Text = " . . . "; maskedTextBox1.PromptChar = ' '; maskedTextBox1.Mask = "009.009.009.900"; maskedTextBox1.ResetOnSpace = false; maskedTextBox1.SkipLiterals = false; } In form text box show ( . . … | |
Theinput in a JTextField must be used in the variable Color color. input = YELLOW must change variable color in Color.YELLOW. My attempt does not work: Software Development java | |
I have executed the below program several times, most of the time i got the same out put but some times output is different. sample out put is: > skylab@skylab:~/Nx/Thrds$ gcc 3.c -lpthread > skylab@skylab:~/Nx/Thrds$ ./a.out > Scheduling policy = ??? > arg = 20 > 1arg = 20 > … Software Development c | |
> **I want to store session of employee that is employee id when employee login with username and password store employee id as session using vb.net** > **i have a form where employee enter his username and password after entering he must select new form from control panel when he … Software Development business-entrepreneurship session vb.net | |
I got a blank project, i added 3 checkboxes, and 1 inside a group box. And i got this code: Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click For Each phCheck As Control In Me.Controls If TypeOf phCheck Is CheckBox AndAlso DirectCast(phCheck, CheckBox).Checked Then If phCheck.Tag Is "Test" … Software Development vb.net | |
Hi everyone. I'm used to programming in C/C++ and I've created some dialog based windows apps. Recently, I've got an assignment at work to learn C# + WPF and its capabilities showing video. My company works with cameras and my job is to create an app to show their feed. … | |
I'm creating a program where the user can search items in an access database and results are displayed in a listview. When I click search all items are displayed but when I enter an item in the textbox then search nothing is displayed. This is my code Private Sub cmdProdSearch_Click() … Software Development display listview microsoft-access open-source visual-basic | |
In OpenGL, I'm reading about glVertexPointer which has a parameter: `const void* pointer` and it is a pointer to the coordinates of the first vertex. Thing is, it doesn't have any parameters that tell you the amount of vertices there are. I'm wondering if there is a way to copy … | |
Hi – I am new to .net security. I am following Mastering visual C#.net book to learn it.I have the following program in Visual Studio 2008. using System; using System.IO; using System.Security.Permissions; [assembly:FileIOPermissionAttribute(SecurityAction.RequestMinimum, All=@”c:\\temp”)] class Example19_1 { public static void Main() { // Create a new file to work with … Software Development assembly visual-studio | |
what is difference between a)strcpy and memcpy b) memcpy and memmov? Software Development c | |
Hello python world. I am new to python. I need some help in creating a table. It is an input file as <name>,<age>,<gender>,<marks>. these items can be seperated using a ','. The test part would contain mixed spaces.. e.g Jhones can be written as __JHoneS__. but if has to return … Software Development python | |
hello , i am getting error on it , object refrence is not set to an instance of an object , my code is if (dgvBlockSites.Rows[j].Cells[1].Value.ToString() != "-1") { //-------------- some code here } i dont know what is wrong with it , i have 4 or 5 rows in … Software Development | |
I have been trying to follow along with the tutorial on Apple's developer website: https://developer.apple.com/library/ios/#documentation/iPhone/Conceptual/SecondiOSAppTutorial/Introduction/Introduction.html but cannot figure out why my project will not run. I have one warning: Incomplete implementation in the BirdSightingDataController.m file: #import "BirdSightingDataController.h" #import "BirdSighting.h" @interface BirdSightingDataController () - (void)initializeDefaultDataList; @end @implementation BirdSightingDataController @synthesize masterBirdSightingList = … Software Development apple ios iphone objective-c | |
Hi Everyone, I need a perl script to create a word document in linux (in my system i have openoffice(oowriter) 1.1.5) with some text as header(left aligned) which is taken from a "file.txt". contents of the file.txt are HariKrishna 1200 Srikanth 1201 Madhav 2345 So based upon the no of … Software Development perl | |
Hi, I have made a square that will move but there are some bugs in the movement. I can't find anything wrong with the logic which is why I need help ;) You have to press left and right to move the square. The problems with the movement are: 1: … Software Development python | |
hello ! i want to restrict user to not visit www.abc.com site , from my pc , how can i do it in c# , user will use chrome , firfox , IE etc , Regards Software Development | |
Hey,hoping someone can help me. I'm having an error in my project. This is the problem for the project: In C++, the largest int value is 2, 147, 483, 647. So, an integer larger than this cannot be stored and processed as an integer. Similarly, if the sum or product … Software Development c++ | |
Hello All! Well this is not exactly a C++ question. Please let me know if this needs to be posted elsewhere. So, here it goes: I have a project, cosisting of the entire buildrules in Makefiles. This has been built only on Linux. Now, i need to build it on … Software Development c++ | |
i have a doubt how can we use string in matrices for examples a[0][0]=rohinn a[0][1]=rithish how to do this???? Software Development c | |
#include <stdio.h> #include <stdlib.h> main() { char a[30],b[30]; int i,j,n; printf("enter the limit: "); scanf("%d",&n); printf("enter the string: "); for(i=0;i<n;i++) { scanf("%s",a[i]); } j=strlen(a[0]); printf("%d",j); } here for example it will take 4 words where a[0]=word1,a[1]=word2,a[2]=word3,a[3]=word4 where i have particularly find string length of a[0] in 15 th line i … Software Development c | |
I am new to Java (taking it to get warmed up for C and C+++ as I am very rusty.) I am writing a class that is suppose run the file DLTest.java(written by the instructor) that is suppose to keep track of two licenses with name and tickets. DrivingLicense, ().addTicket, … Software Development java | |
I have been trying in vain to pass an array to a thread and have that thread loop through it. Here is code of a simple thread passing an int to it. #include "stdafx.h" #include <windows.h> #include <stdio.h> #include <stdlib.h> #include <iostream> DWORD ThreadProc (LPVOID lpdwThreadParam ); int threadnumber = … Software Development c++ | |
Hi guyz, anyone here who know how to set your form in a full screen in any type of screen resolution. Like for example im working here in my pc with a resolution of 1366x768 now if i want my application to run in another pc with another screen resolution … Software Development vb.net | |
I wanna just a beginning for my coding. (The application running with VB.NET and SQL server) I did this code and it not shown any error. After this process it is displayed the message "Successfully updated". But data is not update on the table. Please tell me, how to update … Software Development dataset open-source vb.net | |
Hello everyone, Im a beginner in vb.net and currently Im developing a program where i save date to a txt file like this Reminder#dinner#26-07-2012 19:52:00 and show it in a listbox(all the lines in the txt file). What i want to do is to select a line(item) in the listbox … Software Development file-system vb.net | |
#include <stdio.h> #include <stdlib.h> void main() { int i,j,n,c[10]; char *str,ch; str=(char*)malloc(20); printf("enter the string: "); fgets(str,sizeof(str),stdin); n=strlen(str); printf("%d",n); j=1; c[1]=0; for(i=0;i<n;i++) { ch=tolower(str[i]); if(ch== '') { j++; c[j]=0; } if(ch=='a'||ch='e'||ch='i'||ch=='o'||ch=='u') c[j]++; } printf("no of vowels in each word in given line is \n"); for(i=1;i<=j;i++) { printf("word is %d-->%d\n",i,c[i]); } … Software Development c | |
hi guys, im curious about c++ gui qt , the i searched for it and download QT opensource 4.8.2 (300mb+) for windows i run the installer, then it asked me for MinGw's directory in my pc, then i use the MinGw inside my codeblock, after that it said "Found version … Software Development c++ gui open-source qt |
The End.