43,549 Solved Topics
Remove Filter ![]() | |
Guys, how do I create a label that when clicked by the user, it will open a website using the default browser. I have seen the control LinkLabel but I do not know how it works or how to use it. Anyone please? | |
Hey guys! I'm making a simple app that will need some DLLs that I'm using, but I don't want them to be in the same place as the main exe. How can I make my app to load these dlls from a specified folder, like %mainappfolder%\files\dlls ? Thanks! Software Development vb.net | |
Hey guys, quick questions! 1- How can I check the size of a variable? Size in bytes, not length. (; 2- What data can be stored into byte variables? And what the maxium size of the variable? 3- How do I store data inside a byte variable? Thats all for … Software Development vb.net | |
Hello, I am having trouble using ctypes to call a Dll function. In short, the function accepts a pointer to an array of structures....like: [CODE] int arrayFiller( USHORT sensorID, void *pRecord, int recordSize ); [/CODE] I have generated a pythonified version of the function by importing the Dll etc. We … Software Development python | |
Hi, all Does somebody know how to open text file with half of its name using vb6. example i have 2 files in C:\, they are : 1. Myfile10001.txt 2. Myfile20001.txt I want to read file no.2 with 7 characters first (Myfile2xxxx.txt), and ignore next characters. my script is : … Software Development visual-basic | |
Hi everybody, I decided to ask it here because i didn't know how to ask it on google, i want to know what does this line do: : ${dummy_msg:="Nothing started."} Thanks. Software Development shell-scripting | |
Hi, I'm having a strange problem with my linked list program. This is slightly embarrassing because I'm getting back to coding in C++ after 4 years and don't remember much. This is the code [CODE]#include<iostream.h> #include<conio.h> #include<string.h> void printList(struct node *&); struct node { node* next; int data; }; int … Software Development c++ linked-list | |
Hello all I have a query,may be silly but i have to clear it.IT IS REGARDING THE UPCASTING.I want to "when we can invoke the methods of base class using the object of derived class.then what is the need of assigning the subclass object to base class reference." I mean … Software Development java | |
hey everybody, i have a text file containing some names i place extract those names and i place it in an array an then i compare it with the input from JTextField i am able to compare them and find the values that match. what i want is if the … Software Development java | |
i get this warning message when I try to include the "using System.Data.MySqlClient;" directive. 'mysqlclient' is missing in the 'System.Data' yet I have installed the connector. what could be the problem? Software Development | |
Hi all, Once again I am here with a simple problem which is hard enough to solve by myself: I got the following keys in an array: [CODE] 20110225104849 20110225104833 20110225104848 [/CODE] And following files in a folder: [CODE] google_20110225091600.7z google_20110225091622.7z google_20110225100306.7z google_20110225100410.7z google_20110225104833.7z google_ready_20110225100410.txt google_ready_20110225104833.txt Yahoo_20110225091639.7z Yahoo_20110225100320.7z Yahoo_20110225100424.7z Yahoo_20110225104849.7z … Software Development perl | |
hi, i'm using flash file to open to next screen but i have no idea how to do that using the code...below is my code. i'm having problem to code at red highlighted area.How do i make it to link or show the next form once the button clicked. PLEASE … | |
Hello, I'm trying to select a good IO module. My goal is industrial control: sensors and push buttons for inputs and ssr's and lamps for outputs. I have VB 6.0 (not professional) I'm looking for about 16 I and 16 O. . . once recieving the module, typically, are there … Software Development visual-basic | |
Hello. I'm not very familiar with RichTextBox so I don't know if it can do what I'm thinking. I have 2 textbox, Quantity and Type. What I want is, when type in both, and click Save, it will save in the RichTextBox. Then click Clear, the text in both textbox … Software Development vb.net | |
Dear Sir/Madam I am getting the list item of a listbox as ToolTipTest on mouse move event. How can I get the list item of a listbox as ToolTipTest by pressing Up or Down Arrow Key on KeyBoard. Please guide me. How i have got the list item as ToolTipText … Software Development visual-basic | |
good, i am having trouble on how to insert record date in my access db. i am using hdate as my field and his data type is short date here is my code [CODE] cmd.CommandText = "INSERT INTO hold ([hdate], des) VALUES (#" & myDate & "#, '" & TextBox1.Text … Software Development vb.net | |
Hi guys. I have some questions about very long diagram that I have to make. In short lines the task is this: airplanes and airports. The airports have these characteristics: One runway and multiple hangars. Some of the airports are only military. The airplanes have these characteristics: Capacity. Speed. Max … Software Development java | |
in visual studio 2008 C#, I'm using Developer Express v2010 v10.2.4 to develop a form. when I run the form in other pc, It pop out a message(look at pic in attach).Run in my develop pc is OK. Detail message is See the end of this message for details on … Software Development assembly visual-studio xml | |
ive been implementing this formula and it doesnt give me the right ans. is this applicable? p3tc = ((p2tc - p3at.Text) + p2tc) + p3bt.Text can someone please rearrange this formula to an effective and better formula. :) i create another form to try if this given value really works … Software Development vb.net | |
Is their ANY way to do something like: [code] for (int x=1; x<3; x++) {string MyArray[1][x]={"-"};} [/code] Assuming the array has already been defined? I really don't want to have to do: [code] MyArray[1]={blah} MyArray[2]={blah} MyArray[3]={blah} etcetera etcetera [/code] I'm not necessarily looking for efficiency but seriously, initializing 50 arrays … Software Development c++ | |
Hello i have problem, how can i put icon on my toolbar below my menu bar.because i have not yet tried using the toolbar. Thank you in advance hoping for your positive response. Software Development visual-basic | |
Hi, I have a rectangle inside another rectangle, how can I make to do like an IntersectWith method but just the outer rectangle Border? Since one rectangle is inside the other it seems like it is always intersecting so I want to know how to tell the inner rectangle to … Software Development | |
i'd like to ask how one can get rid of all the components in a JPanel (buttons, labels, comboboxes etc), so that you can add new components (at run time that is) Software Development java | |
Hey guys, I just started to try and use OpenGL and I wanted to run an example but I get linker errors. The code is just fine but it has linker errors says the console. Linker Errors/Console: [CODE] [Linker error] undefined reference to `glFinish@0' [Linker error] undefined reference to `wglSwapBuffers@4' … | |
i got a small piece of soft that connects to a huge .gdb database (500000 lines) through the network. using .movelast will give me memory out. any good advice to access in a fast way the last record? Dim cn As New ADODB.Connection sConnStr = "Provider=ZStyle IBOLE Provider;Password=masterkey;User ID=SYSDBA;SQL Dialect=3; … Software Development open-source visual-basic | |
Hi guys, I have a class called [B]Gen [/B]under a package [B]diaby[/B], project name diaby. I then have my other project andy, with class [B]Anders [/B]under package [B]andy[/B]. I have built successfully project dan, gone into its dist folder and copied the jar into project kim's common jars/libraries, included the … | |
My project I am working on is a product location system for a large supermarket. My current issue is that the map I am using to display the product location is assembled from rectangle objects which I will then change the colour of when required. The array storing the locations … Software Development vb.net | |
Hi I am running a simple application which has three Radio Button and I have two problem with that as following: 1- First of all, two of the radio buttons [R2(Blue) and R3(Green)] are automatically selected when I run the code!(As you can see in attached screen shot). I tried … | |
[CODE] #include "includes" int main() { time_t rawtime; struct tm * timeinfo; char buffer [80]; time ( &rawtime ); timeinfo = localtime ( &rawtime ); string timetest; timetest= strftime (buffer,80,"%Y-%m-%d",timeinfo); puts (buffer); } [/CODE] now instead of print the time i want add the value of the time to a … Software Development c++ | |
I'm wondering what is the proper way to point at an overloaded function. Is it correct to cast the function to the proper type? [code] #include <iostream> int double_it(int x) { return x * 2; } int double_it(int x, int y) { return (x + y) * 2; } int … Software Development c++ ![]() | |
In these problem I have to find triangular number by the number of it's divisors. The program takes about 0.65 seconds to find the first triangular number with >100 divisors and about 87 seconds for the number with >200 divisors which means that my algorithm is very inefficient. Any help … Software Development c | |
I am trying to drag a program originally written in Borland C version 3 into the light of the present using Visual C++ 2010. I have a curious, apparently simple, problem. The program read data from a file. I can create a noddy program that opens and reads the contents … Software Development c++ visual-studio | |
Hello everyone I have written a small c++ program where two files are compared line by line and in case the lines are different, the differing ones are put into a report.txt document.But its not working right! The first few lines which are same are not put into the report.txt, … Software Development c++ | |
[CODE]#include<stdio.h> #include<conio.h> main() { clrscr(); double sales[10]; int index; double largestsale,smallestsale,sum,average; //initializing for(index=0;index<5;index++) sales[index]=0.0; //reading printf("Enter Value:\n"); for(index=0;index<5;index++) scanf("%d",&sales[index]); //printing for(index=0;index<5;index++) if(sales[index]<index) printf("%2d",sales[index]); //sum & average sum=0; for(index=0;index<5;index++){ sum = sum+sales[index];} average = sum/5; printf("\nThe Sum is %d",sum); printf("\nThe Average is %d",average); //largestsale int maxIndex = 0; for(index=1;index<5;index++) if(sales[maxIndex] < … | |
hi, i have develop an application in vb.net which is running well with windows xp but when i install it to win 7 basic home it doesn'nt execute at all. It stops when it reach the form that has flash player. I have instal flash player version 10 but it … | |
Hi! Since my last thread hasn't been answered and I simply cannot wait until it gets answered, how can I validade what is being written on a textbox? I need to know when the user types a "-" (minus) char. And when he do so, an message appears (preferably an … Software Development vb.net | |
Hello, First, this is an extension to homework. I have all the requirements completed, but I'm attempting to write a switch that will allow me to toggle between sorting on actual data structs, or on smart pointers to data structs. By themselves, they both work, but when attempting to combine … Software Development c++ | |
Hi all I have been tasked to implement a median filter on an image - this involves creating a window that will traverse the entire image. When the window goes out of bounds of the image, the guilty indices are supposed to be set to zero. My problem is that … Software Development c | |
currently i am developing an image processing software it loads images from disk to application for processing .As more and more images loaded to application memory used for each image is not freed so system become slow and slow.In java theory it is stated that garbage collector automatically deallocate unused … | |
PLease help me !! how can i uppercase the half only of the string and the half is in lower case?? Software Development c | |
Hello, I want to make a code to sort the numbers in array from the biggest to the smallest. How can I do it? [CODE]static void Main(string[] args) { int[] Array = { 108, 112, 87, 71, 49, 105, 49, 78, 63, 42 }; int length = Array.Length; }[/CODE] Any … Software Development | |
HI, I WANT TO BUILD A TREE STRUCTURE BY TOKENIZING THE WKT STRING STREAM ( BELOW ). ALSO I WANT TO ACCESS AND STORE THE VALUES OF THE CHILD NODES IN THE TREE. EX : VARIABLE PROCS_NAME : "OSGB 1936 / British National Grid" . I AM ATTACHING THE REQUIRED … Software Development c++ | |
Hi, I have developed a simple result program in excel 2003. I have stuck up at the following point: I have total seven subjects based on which I need to prepare a result. My aim is to find out failures. My condition is, if a student secures less than 35 … Software Development visual-basic | |
hi, Below is my code to delete the transaction. It suppose to delete the data once the transaction but the data remain there....I don't find there is a problem with the code but some how it doesn't work. It capture the data in the table but it returns = 0 … | |
Hi :-) do you know how to move up one line in the terminal? Explanation with an example: [CODE]#!/usr/bin/env python # -*- coding: utf-8 -*- from time import sleep def test(): print "begin" i = 1 s = "#" while i < 5: print s sleep(1) i += 1 s … Software Development python | |
Gudam, Please help me, regarding my ascending code.I've been doubt how to compare the two loop which is the outer loop and inner loop.I cant get the the output which is ascending in form...Please guide me this time because I'm just a beginner. Thank you in advance Here is my … Software Development java | |
Hi, I have been working on a little text based interactive fiction game for a decent amount of time, but I just can't seem to figure out how I can cut up strings so that my program can understand simple commands. Is there a simple way to do this? For … | |
Hey people! I have this code: [CODE] Public Class Form1 Private HowManytoGenerate As Integer Private HowManyDone As Integer Private List As ArrayList Private CDKeyFile As String = "C:\My Cool CD Keys.txt" Public Function GenerateUniqueString() As String Dim rnd As New Random Dim Chars As String Dim Result As String = … Software Development vb.net | |
Hello. What i'm trying to do is simple and I know that I could just get the answer offline. However, I wanted to finish this one myself, so if someone could fix what I believe to be a small error I would appreciate it. I am simply trying to read … Software Development algorithm c++ file-system |
The End.