132,728 Archived Topics
Remove Filter ![]() | |
Hi guys, I'm trying to hook the keyboard in vb.net. Who can show me an example where you press button "F2" and a message box appear (MsgBox("You've pressed F2")). I need to hook the keyboard to make some action when DirectX application is running (I've Already tryed with "registerhotkey" but … Software Development vb.net ![]() | |
Hi all, To do OCJP certification what are the things should I learn . Pls suggest some good tutorials Thanks in advance Software Development java | |
I am converting a program written using Borland Turbo C to M$ Visual C++ 2010. I have created a Win32 application, and have now managed to write to a window. But the font that has come out is a proportional one, and I need a fixed font for everything to … Software Development c++ visual-studio | |
Hi Everyone, I have an existing VB6 application distributed to client using the Microsoft Visual Studio Installer 1.1 (VSI). The .Msi file has been installed by the client. Subsequently, I have changed the VB6 code and need to give the client an upgrade. The upgrade consists of 2 files ... … Software Development visual-basic visual-studio | |
Hello, I have a problem with my program that I can´t figure out. I would appreciate if someone could give me some hints on what to do. I am trying to write a program that checks how many random numbers less than a positive integer N one should generate before … Software Development c++ | |
I have an input file that i make into a string, it looks like this "1+2+3+45*5*2" My problem is when i print the string it always prints as single characters instead of 45 i get 4 5, how do i fix this. heres a small piece of the code. [CODE] … Software Development c++ | |
My teacher just told us that we have to write this program that it will compile in ".c" i was taught ver little in my intro about c++ however i dont know how to write in .c and although i told my teacher he insisted that i read the book … Software Development c | |
I want to create a function or a class method that will create a dictionary named by a variable that is passed in. By way of example, I'm creating a class method to read data from a table (in this case it's an ArcGIS table, but that's not critical) and … Software Development python | |
Some system info before proceeding further: Platform: Mac OS X 10.7.1 Python Version: ActiveState Python 2.7.1 wxPython Version: [url=http://downloads.sourceforge.net/wxpython/wxPython2.9-osx-2.9.2.1-cocoa-py2.7.dmg]wxPython2.9-osx-cocoa-py2.7[/url] I want the button label to be changed while performing a task So, here is what I did/want: [code]self.run_button=wx.Button(self.panel,ID_RUN_BUTTON,label='Install') self.Bind(wx.EVT_BUTTON, self.OnRun,id=ID_RUN_BUTTON) def OnRun(self,evt): self.run_button.SetLabel('Installing..') #call a function that does the installation … | |
i ask my teacher why java doesn't support pointers my teacher reply me that it is because pointer's are very hard to understand so java doesn't support the pointers. but i don't think that it is true. please help me by giving the right reason. Software Development java | |
Hi everyone, I want to compile a simple assembly language program like helloworld.asm in visual studio 6. I don't want to use MASM as assembler. I want to include NASM as assembler. please help me out. thanks in advance..:D Software Development assembly visual-studio | |
I am having trouble figuring out how to convert base 10 to base 3, I have tried several different attempts and this is my latest effort, anyone have any ideas. I was giving this algorithm but am having trouble creating a function for it: [B] 1. Set k to the … | |
Hello, I'd really like some help on this. How can I add the server's root folder of "english" to this: [B]~ s/_e\.shtml/_f\.shtml/ [/B] This searches all occurences of [B]_e.shtml[/B] and replaces them with [B]_f.shtml[/B] (it being in the same folder). Yet, in between that, I would like to add the … Software Development perl | |
Hi, I'm trying to create a 2D grid that would allow me to use fluid properties in each cell of the grid, which is defined by a struct. I have 3 grids: [CODE=c]Grid2D <fluidProperties> grid1; Grid2D <fluidProperties> grid2; Grid2D < fluidProperties> grid3;[/CODE] My struct fluidProperties contains 12 different properties: [ICODE]struct … Software Development c++ | |
Hello, here is a thing, i'm beginner at wxPython ant Pyhton too. I have written small program here is a example: [CODE]import wx import urllib2 import re class MyFrame(wx.Frame): def __init__(self, parent, title): wx.Frame.__init__(self, parent, -1, title, size=(600,400)) self.panel=wx.Panel(self) self.areaa = wx.TextCtrl(self.panel, pos=(0,10), size=(400, 20)) self.area = wx.TextCtrl(self.panel, style = … Software Development http-protocol python regex | |
Hello! I have a problem in trying to convert a string into an integer. I'm not supposed to use the routine atoi, ie I have to do it on my own. Here is the code; [CODE] .data String: .asciz "1234\n" Show_integer: .asciz "The integer = %d\n" Intg: .long 0 .text … Software Development assembly | |
Hello! I am writing an application for an embedded system with GUI written in swing. I now want to incorporate animations in the GUI to enhance usability. Hypothetical example: The user sees a table with some buttons ant things around it. The user can temporarily "save" the table, which makes … Software Development gui java java-swing | |
Hi, I am using the following codel. But it is always returning 'False'. Even though i gave correct values.. Plz help... [code] PrincipalContext adContext = new PrincipalContext(ContextType.Domain, "xxx.xxx.0.15", "Administrator", "Password"); using (adContext) { return adContext.ValidateCredentials(userName, passWord, ContextOptions.Signing); } [/code] I tried the this one also.. [code] DirectoryEntry de = new … Software Development | |
I was just wondering if anybody has any ideas on how I could allow a users input to be disguised on the screen when they're entering their passwords (such as the case about everywhere on the internet) i.e. gmail's black dots in place of the actual text of a password. … | |
Guys, i have problem in my search button after i search the name it didn't highlight the name of the person. this is the code that i found on the internet. [CODE]Dim searchName As New TextBox Dim sname As String sname = InputBox("Search for gym user." & searchName.Text) Dim foundItem … | |
Hey guys! I started learning Python 3 four days ago and I wrote a little command line RSS Reader (~120 lines) using the [URL="http://feedparser.org/"]feedparser module[/URL]. The rss reader currently has a menu, and also receives command line arguments (run the script with "-h" or "--help" for more info). It has … Software Development daniweb-feedback python xml | |
I am trying to compile this example [url]http://www.boost.org/doc/libs/1_42_0/doc/html/boost_propertytree/tutorial.html[/url] and I am getting the error "/usr/local/boost_1_47_0/boost/property_tree/detail/ptree_implementation.hpp:795:54: error: request for member ‘put_value’ in ‘tr’, which is of non-class type ‘bool’" in this line: BOOST_FOREACH(const std::string &name, m_modules){ pt.put("debug.modules.module", name, true); } My full error message is: make all Building file: ../src/Boost_property_tree.cpp Invoking: … Software Development c++ | |
hey... i'm using Visual Studio 2010(c#) for a winapp i'm writing. i have a DataBase in which i have 6 tables and there are so many fields in them that use unicode characters( Persian) and all of them are nvarchar(n) type cuz i had problem with text earlier, but when … Software Development sql visual-studio | |
If I have a vector of structs [CODE] struct widgets { string widgetName; int age; int color; }; [/CODE] and widgetName had multiple words in lets say widget one type 45 blue widget two 34 yellow widget eight 46 green widget ten type 33 pink and I wanted to search … Software Development c++ | |
Hello everyone I have a problem. i want to make a form with movable command buttons. the aim is that these buttons will represent the computers that are installed in one room. or the tables in one bar. all the tables can change depending the order that user give. can … Software Development vb.net visual-basic | |
it's a search listview and i want to retrieve the data all i want is to populate a data in listview per each row please help... here's my sample code [CODE] Dim objDataReader As OleDbDataReader objDataReader = objCommand.ExecuteReader If objDataReader.HasRows = 0 Then txtCostCenter.Text = "" txtDivision.Text = "" End … | |
i have a reminder section in program and I want to see some icon when 2 days before to remind so i need to sort dates and i need to measure the time interval :) how can i do this thx for Answers :) Software Development vb.net | |
okay so ive finished this code but now i have to modify it so that it uses the following lines of code to make the program "easier" to understand private static void writeText(BillboardInterface billboard, int x, int y, String text) private static void writeLetter(BillboardInterface billboard, int x, int y, char … Software Development java java-swing | |
hello sir, i am working on attendance system project.For that i want to use swap card machin.plzzzz tell me the connection code between swap card machine and in my attendance software. plzzzzzzzzzzzzzz help me......!!!!!!!!!!!! Software Development vb.net | |
I am running into an issue trying to use an iterator to print. I am trying to print the widget name and widget type from a class and am getting an error on the iterator part. The rest of the code works fine but any comments on that are more … Software Development c++ | |
Hello, I get this error when I try to run my code "Cross-thread operation not valid:Control 'dataGridView1'accesses from a thread other than the thread it was created on" File Name Form.cs I have method call FillDataGrid() [code] FillDataGrid(string msg) { string[] data = msg.split(';'); string Name = data[0]; string LastName … | |
Hi, My application is in VS2008 coded in Vb.net.I have a datagridview which is populated from Database.I have a save button on the same form that has DatagridView. My requirement is i want that all the records that are populated in DatagridView should be saved in a certain table of … Software Development vb.net | |
I am having problems with understanding this code. The program should write all permutations of first N numbers. [CODE=c] #include <stdio.h> #include <iostream> using namespace std; void print(const int *v, const int size) { if (v != 0) { for (int i = 0; i < size; i++) { printf("%4d", … Software Development c++ | |
i am new to python and am working on a simple code for a project. I am to end up with and output that says: "Please enter your name: Bubba" I am to use [CODE]name = input("Please enter your name:")[/CODE] However, when I input the name "Bubba" the project says … Software Development python | |
I'm currently trying to split a string into a 2d array. currently I've split it into a 1d array of each line using: [CODE]string[] LinesFile = streamReader.ReadToEnd().Split('\n');[/CODE] And now I'd like to Split it further into a new variable with a 2d array. how would I go about doing this. … Software Development | |
Hey guys, I am posting here for the first time, so please be gentle with me :P. I have an assignment of storing a text file in two arrays (one contains both char and int, whereas the other contains just numbers. The text file looks something like this: Time 2 … Software Development c++ | |
hi i was compiling a program in linux , the program had conio.h file which is generally used in turbo c in windows. now the program is not compiling and giving errors. so what is the substitute . as clrscr() cant work without this file. Software Development c | |
Hi, I am trying to read an input text file. And read the last letter only and check if it is an '+' or '*'. Here is the code I have written so far, if anyone can help me, I would be very greatful. [CODE] while(input>>lastChar) //put file contents into … Software Development c++ file-system ios | |
[CODE]// initial_project.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include<iostream> using namespace std; void printmessage() { cout <<" ***WELCOME TO THE ALLOY INQUIRY PROGRAM!*** " <<endl; cout << endl; cout<< "Please Choose the Number of Your corresponding Choice\n \n (1) Aluminum Alloys \t \t (11) … Software Development c++ visual-studio | |
Hello there, i'm writing a program (pharmacy gestion), for my dad's pharmacy and i want to set a password when loging in to the program and have the ability to change it any time ... [B]BUT THE PROBLEM IS[/B] ... i thinkd to store the password in a text file … | |
I'm having trouble getting this program to work for roman numeral conversion. I hope it says that i have one error, which is C2110: cannot add two pointers. here's what i have so far... ANY help would be great, thanks a bunch! :) [CODE]#include <iostream> using namespace std; int main() … | |
hello all, i'm a beginner of c#. i need to develop a client server application. how am i suppose to code so that the server can get the ip address of one or more than one clients? Thanks. Software Development client-server lan-wan | |
My code is suppose to take the digits i type in my raw_input and sum up the number example: if i type 123456789 then i will get 1+2+3+4+5+6+7+8+9 = 45 as an answer but it will not stop there it will continue adding until the sum reaches a single digit … Software Development python | |
so im basically new at c++. i need to generate 20 entries randomly from 1-20, and each number must be unique. i was able to generate the number but i don't know how to make them unique. any suggestions?[CODE]#include <iostream> #include <stdlib.h> #include <time.h> #include <math.h> using namespace std; int … Software Development c++ | |
I want it to say "You are correct!" when the number they guess matches the random roll but it just keeps saying this when I type in 6 as my guess, how do I fix it? This is what I wrote in the main: [CODE] int num; int die; cout … Software Development c++ | |
i've made this little game but the image keeps on flickering. i've read about double buffering online, but i really don't know how to implement the code into my game. here's some of the source code from the constructor and paint method: [code] public Game(){ super("test"); setSize(495,429); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); setVisible(true); try{ … Software Development java | |
Okay I am working on arrays in class this week and since it is an online course I don't have anyone to turn to. YAY me! Basically this is what I have been asked to do. [I]Create a class named TVShow.java. Data Fields can include a String containing the Name … Software Development java java-swing | |
asalam to every one how can i attach my exe to a web browser when ever the brower open the exe starts working Software Development visual-basic web-browser | |
hello i really need code for modify button plss and some tips how make it work pls i really need an answer bfore tommorw :) Software Development visual-basic | |
Hi I have a class which I have packed as a jar file.When I run the jar on its own the application executes as expected.I have got a JFrame(Main) which has a button which when clicked, fires off the jar. But the JasperViewer doesnt launch at the end unless the … Software Development java |
The End.