132,726 Archived Topics
Remove Filter ![]() | |
I need to be able to check if another user has an excel workbook open (from a network drive) from within another workbook. user 1 has workbook1 open and has a macro to open workbook2, paste some data in, save it and close it, I need to add code to … Software Development visual-basic | |
Hi. I'm trying to create a 'search engine' like program. With a bit of searching i found this website which was relevant to what i needed to do.[url]http://www.dreamincode.net/code/snippet1278.htm[/url] [CODE] if (Regex.IsMatch(allRead, regMatch))//If the match is found in allRead { Console.WriteLine("found\n"); Console.WriteLine(regMatch); Console.Read(); }[/CODE] I thought "console.writeline(regmatch)" would display the related … Software Development regex | |
hi pls help me i have error to my code in shortest job next [code]Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim cc As Integer Dim tt As Integer Dim wt As Integer Dim ryan As Integer = TextBox1.Text For escal As Integer = 1 … Software Development vb.net | |
Hey there. I have a problem. But to make a Long story short, ill just say what i want to accomplish. I have a Datagridview, I can re-arrainge the data inside of it, by clicking the column headers to "auto-Sort" my data. But now i insert another database into the … Software Development | |
Hey guys, Tried doing a search on this, and couldn't figure out if anyone had posted it before. Basically, my question is this. I have a large python pipeline that outputs data to be compared in an ordered fashion where comparable entries are to overlay one another. For example: Entry … Software Development vb.net | |
I want to represent money which is usually to 2DP and I add up items using float values but whenever I have a value that is similar to the one used it only converts it to a string to 1DP. This seems like its going to be annoying to work … Software Development python | |
Hi , I hate the hard copy versions of the Books. Those books are really weight than me . I get hard time in carrying them. what I need is CHM or PDF or djvu , html or txt ebooks. where I can transaction (pay money and download ) those … | |
hi guys i wanna ask how to make warning messages when a user clicks the search button and found no record with what he input. here is my stored proc [CODE]ALTER PROCEDURE dbo.Searchbylastname /* ( @parameter1 int = 5, @parameter2 datatype OUTPUT ) */ ( @value1 varchar(50) ) AS /* … Software Development vb.net | |
okay so we have to create a coursework submission system where students submit there assignments and the teacher can get the assignment grade it and send back to student and if they want to add ocmments they can add comments.. i am so lost with how to create a system … Software Development c++ | |
Hello, This is something that I need to do in my program, that's a little though for me to define in a few words for Google, I couldn't find any useful results. The thing is this, I have a program that creates a bunch of code files(.cpp and .h, in … Software Development c++ | |
the path is correct, and there is no error, but still, my database is empty... Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim myConnection = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\Along\Documents\Visual Studio 2008\Projects\LCRS\LCRS\Lcrsd.mdb;") Dim myCommand As OleDbCommand Dim mySQLString As String Try myConnection.Open() mySQLString = "INSERT INTO REKOD_PELAJAR … Software Development open-source vb.net visual-studio | |
Can someone help...this used to be so easy in C++ and VB6 :) I am dynamically creating multiple instances of a fairly simple class, tracking them via the Collections class in vb.net. I loop through the collection if I need to get to a particular instance to set some property, … Software Development vb.net | |
I have VB 5 learning edition which has suited me fine thus far believe it or not! One thing has really been annoying me for quite some time. I can't find how to set the command buttons forecolor (at least with the VB version I have). Backcolor is no problem, … Software Development visual-basic | |
Hey, I'm trying to build my own calculator piece by piece, and I've currently got it to the stage where it'll add positive integers. Anyway, at the moment I'm trying to incorporate the keyboard into the program. What I've done is made is so that only my form can have … Software Development java | |
hi, i try to run java program with ProcessBuilder but it works only with .exe file and with .jar or .java i use netbeans 6.9 why please? [CODE]import java.io.*; public class Mani { public static void main(String args[]) throws IOException, InterruptedException { try { Process p=Runtime.getRuntime().exec("javaw -jar D:\\NetBeansProjects\\GetIPAddress\\dist\\GetIPAddress.jar"); } catch(IOException … Software Development java java-netbeans | |
Hello All, I am writing my self a simple little address book application and I seem to be having some trouble with updating the dataset. I have written the code and I cant see for any reason why it shouldnt work, but during run time, when I delete an entry … | |
How to list all files in a folder including subfolder files. Software Development multithreading vb.net | |
Hello, I'll be as clear as I can in this one. OK, here is what is going on: I'm kind of trying to create a programming language of some sort using a Console application. I have got most commands to work, but what I haven't got is the ability to … Software Development vb.net | |
I am working with mobile agents, i got two .java files: HelloAglet.java and MyDialog.java they both depend on each other, i put them both on the desktop (same directory) and im trying to compile them using the following command: %JDK_HOME%\bin\javac -d %AGLET_HOME%\public -classpath %CLASSPATH% *.java and im getting the following … | |
I can use the program fine without this code but I need to be able to take a line of text a file and read it into a variable. Here is the code causing the app crash: [CODE] string ReadLine() { getline(file, lineread); if (lineread.find_first_of("WSF_") != string::npos) { return lineread; … Software Development c++ | |
I have a simple array, where I store the 5 best times for a game. I then write the array elements to a text file . I get the message that a string reference is not set to an instance of a string [CODE] private void Scores() { if (!File.Exists("TopTimes1.txt")) … Software Development | |
i am a beginner .can anyone just give me a code to make a txt file using c code,that will create txt file with name same as the value of int variable.. consider like if int x=10,then file name created will be 10.text if x is assigned 45 then it … Software Development c file-system | |
I don't know why but nothing is appearing? I suppose to have a applet of a house. [CODE]import javax.swing.*; import java.awt.*; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.awt.event.*; import java.applet.Applet; import java.awt.Graphics; public class color extends JApplet { public void init() { addMouseListener(new MyMouseListener()); getContentPane().setBackground(Color.white); } public class MyMouseListener implements MouseListener … Software Development java java-swing | |
How do I insert commas to numbers so I can convert 1000 to 1,000 or 1000000 to 1,000,000. [CODE] FileSize = GetSize(MyFile).ToString & " KB" [/CODE] the output would be "6652 KB" i m trying to get output 6,652 KB Plz try to modify this code only. Software Development vb.net | |
I successfully implement in my application a listview that can get the values of selected items using a for loop [CODE] for (int i = 0; i < eventlv.Items.Count; i++) { if (eventlv.Items[i].Checked == true) [/CODE] and using this to get the specific value on my parameter [CODE]eventlv.FocusedItem.SubItems[0].Text[/CODE] Though, I … Software Development listview | |
i want to develop a program using vb to lock the wondows which needs a user id and a password to logon. the user ids and passwords will be stored in a server machine's database. the clients requires the user id and password to logon the client m/c. so i … Software Development client-server visual-basic | |
im currently studying having a python program supply data to a website. to do this, i am working with a simple example. as a disclaimer to you guys: im quite new with webservers and websites so please bear with me. 1. the python program simply generates a random number continuously … | |
Is there any possible way to change the language of a form with a button or checkbox. I have found and tried [CODE]ChangeLanguage("de")[/CODE] But that no work. Any Ideas ? :) Thanks Software Development vb.net | |
Hi i am kind of new to java but can please show me the code on how to count words in an input for example : [B] only allowed to use looping and String Methods only[/B] Select The type of character to be Stripped(1-vowel, 2-consonant, 3-number, 4-other(special characters) Input Enter … Software Development java | |
I am trying to learn java. I want to know whats the best way of doing it? For example I got the code for setting up a TCP server in java which sends the data given in string. Now I want it to send the data dynamically to the client … Software Development client-server java | |
I've been teaching myself java using youtube videos of Starnford Engineering Everywhere. So far its been good, till the code started getting complicated and i got stuck. I need advice on how best to learn java. Software Development engineering java | |
How can I loop through a particular column of a datagridview? For example, I have three tables and I only need to get the selected items of the first column. I'll use for loop, right? Software Development | |
I'm having real complex problems with Windows API and a console application. The issue is that I can't have both windows active at the same time. I tried to include both headers, did both required tasks but only one of the windows opens. Here is the completed code: [code]#include <windows.h> … | |
Guys, need help in autofill in my textbox, and the data is coming from the database, please tell me how will i do it. need help pleasee. thank you in advance. Software Development vb.net | |
Hey, I got excellent help regarding adding tabs to a tabcontrol. Now, how would I got about adding items to a listbox? I'm creating an application that not only adds tabs but allows you to edit the names of the tabs using the listbox. Basically, every time it adds a … Software Development | |
Dear Friends: I have a few questions. First, I want to say I am using Microsoft Visual C++ 2010 Express. 1. When creating a class, should it be in the main file? I assumed it was in the header files folder of the project. Maybe I am making this process … | |
I need help writing this code i been working for a day now on it and i cant seem to get it. i need help with this code if any one can help. I am taking java and this is the first program i cant get. thank you guys so … Software Development java | |
| |
I am trying to come up with the algorithm for my n queens using Simulated Annealing. There is the general algorithm online, but when i look at it, I couldn't understand how it work. My nodes have the number of hits between the queens on chess board. How can I … | |
I have only been diving into the C# language for roughly 3 days. I have alot of background with computers but never in a programming language. I am attempting to gain a foothold in C# by playing with it to learn a little about how it works before returning to … Software Development c# | |
Hi guys, I want to split the console output screen ,as like frames , which means, for every entry i give it should update on the other side of the console. any idea on how do i do that? Software Development | |
i wrote this a couple of years ago when i was just starting to program. i didnt know any professional programmers and wanted to learn, so just experimented with the language. maybe it will give you an insight into how people program for fun. feel free to add to it, … | |
I want to know how to show C++'s application in a text-format in machine language through C++ itself. Does any one know how to do that? Sorry if I wasn't too descriptive, I can add more. Software Development c++ | |
Hello all, I'm studying socket programming and have trouble when simulate a FTP server (I don't want to use pyftpdlib). The problem is when the client want to list the directory (LIST command) on the server, I do not find a way to send directory contents. here is the code: … Software Development client-server python socket-programming unix | |
I just learned about the AtomicInteger a few days ago. Didn't realize it existed before. I haven't tried it yet. I used to simply write my own MutableInteger class. Integer has no "set" method. AtomicInteger does, so I imagine that it can now replace my MutableInteger class. My question is … Software Development java | |
Create a file that contains your favorite movie quote. Use a text editor such as Notepad and save the file as Quote.txt. Copy the file contents and paste them into a word-processing program such as Word. Save the file as Quote.doc. Write an application that displays the sizes of the … Software Development file-system | |
For a homework assignment I need to write a function that computes the average value of an array of floating-point data: double average(double* a, int a_size) In the function, use a pointer variable, and not an integer index, to traverse the array elements. The code below is what I have … Software Development c++ | |
I am trying to figure out what I am missing to get this to work. I am not sure how to get the account balance to change as the user continues to do more transactions. Here is the code I've written so far but now I'm stuck. import math [CODE]def … Software Development python | |
ok. i am woking on a web browser for a friend of mine. everything works except for the favourites / history code, which is giving me an Unhandlded access violation. i have tryed using [CODE]Try[/CODE] but then it gives me a file not found error when attempting to append the … Software Development microsoft-access vb.net web-browser |
The End.