132,726 Archived Topics
Remove Filter ![]() | |
I'm trying to find two cases in a test string. _Large and jpeg Here is my string : E:\Music Test Folder\Lamb of God\Wrath\AlbumArt_{F5969BAB-11BC-49E0-9B56-B6E9654204B7}_Large.jpeg And here is my expression: Match large = Regex.Match(file, @"^.*(_Large).(jpeg)$/i", RegexOptions.IgnoreCase); I cannot get a match. What am I doing wrong? Software Development regex | |
Good day, i'm writing a rotator that navigates to an url and then either displays the page or logs in and does something else. Some of these urls have the windows security pop uo, which takes focus and halts processing. To proceed it requires a login id and a password. … | |
As the title suggest, I don't know how to add item to a multiple column list box. When I do the usual ListBox1.AddItem "haha" it only adds to the first column. How do I populate the others? Columns property has been set to, say, 3. I googled out this issue … Software Development visual-basic | |
Hello I have 5 jtextfield in my jframe with 5 jbitton. I just want to move the cursor from jtextfield1 to jtextfiled2 and then to jtextfield3 and so on when I press tab key. This can be done in C# very easily by setting the tab sequence while designing the … Software Development java java-netbeans | |
Is it bad for a program to have so many resources loaded on the project? I am planning to add some for the project but this thought crossed my mind. Also, I have other forms that have a backround image and I really felt it slowing down while working on … | |
**Please how can i get only one element data from this xml soap web service response? (for example: <location>). Thank you** <string><?xml version="1.0" encoding="utf-16"?> <CurrentWeather> <Location>Madrid / Cuatro Vientos, Spain (LEVS) 40-23N 003-47W 687M</Location> <Time>Dec 22, 2012 - 03:00 AM EST / 2012.12.22 0800 UTC</Time> <Wind> Calm:0</Wind> <Visibility> less than … Software Development xml | |
Hello! Currently I am making an application in C#.NET with tabs, I have all of the functionality down it's just the look of them... I was interested in how this guy: http://www.youtube.com/watch?v=WWxUPuSkwNs (skip to 4:00) got his tabs to look like that. Those styled tabs are also in Notepad++ (I … Software Development | |
![]() | When using this code to insert 5, then 18, into a binary search tree, the data value 18 is placed as the left child of the root instead of the right child. The statement if data < node.val: (in the insertR method) doesn't seem to be working correctly. Can someone … Software Development python ![]() |
Hi all, I seem to be having problems with summing all the values in a .csv file with the following format: 3.2323232312 7.5345345675 3.3423565624 etc... I have opened this with a spreadsheet at it seems the floats are all in column[0] and each number is on a different row. with … Software Development python | |
Sample_Program-1 #include<iostream> using namespace std ; int main(){ const int i = 9; int *j = const_cast<int*>(&i); //Ok int *j = const_cast<int*>(i); //Error } Sample_Program-2 #include<iostream> using namespace std ; int main(){ const int i = 9; int j = const_cast<int&>(i);//Ok int j = const_cast<int>(i);//Error } I was just learning … Software Development c++ | |
hello, Iv been trying to write a java program to read an image from a list of images in a file I.E: * File * Filename * Image1 * Filename * Image2 * Filename * Image3 The problem i am having is that the filename's are string objects followed by … Software Development file-system java | |
Hey there! I have been trying to get all my JTable cells to be not Editable so you can't change the info displayed on the JTable. It sounds easy to do but I cant seem to do it. Any help would be appreciated Thanks!! Software Development java | |
Hello everyone, I am trying rotate in pygame, but I can't. What would be the best way to rotate something around its own center?? Thanks Software Development python | |
I recently started to learn rich text format and i am encountering a bizarre behavior. Here is the code: private void button2_Click_1(object sender, EventArgs e) { s = richTextBox1.Rtf; s = s.Insert(s.IndexOf("colortbl ;") + 10, @"\red0\green255\blue0;\red128\green0\blue0;\red128\green128\blue0;"); LockWindowUpdate(richTextBox1.Handle); string t = @"{\cf3 test }"; s = s.Insert(s.IndexOf("int") + 3, t); //insert … Software Development | |
Hello all, I am having a little issue I was hoping to get some help with. I am working on an app and everything was going great. I was able to write to my db and all feilds were working great, so then I wanted to add a user password … Software Development open-source vb.net | |
Hi everyone, I have a simple problem related to string, but I did not notice before that we can't give space in string input. For exmaple in the following program, take name input from user. If user enter M John, it will skip the enter email input(and the program will … Software Development c++ | |
I'm really new in ADO for just a substitution on Data Control (I cannot dl any access 2003 D:) --- Whenever I enter command3, it says: *Compile Error: Method or data member not found* and the highlighted one was **.EOF** Code: Private Sub Command3_Click() Adodc1.Recordset.MoveFirst Adodc1.Recordset.Find "SID = '" & … Software Development visual-basic | |
Invalid sequence in stack permutation ???? inpurt sequence ... 1 2 3 4 5 1) 4 3 5 2 1 2) 2 3 5 4 1 3) 5 4 3 2 1 4) 3 4 1 5 2 Answer is .... 4) ..... but i dont know how ? can … Software Development c++ | |
Hi, i want to read the data from text file and write to excel file. if some one has ready code written then please share with me. Software Development java | |
HI! i'v got a file like this: Lesson Name:Math Lesson File Name:1892.txt Student ID | Number ---------------------- 1892-----------20 i want to delete "20",only "20"! what i have to do? would you explain seekp,seekg,tellp,tellg... i looked everywhere for the but find nothing! please help... thanks so much Software Development c++ | |
does vb.net have a 3d pie chart? or can i possibly use a 3d pie chart on vb.net? | |
So in my classes I've taken I was told by the teacher "case statements and if-else statements are the same things essentionally" so why learn both? and so I was not taught about cases. Besides the fact I should learn it anyway incase I need it for someone elses code, … Software Development c++ programming-construct | |
Hi Everyone, Happy 2013 to all.I'm using JOption to print a table, how do I align the columns? I am using a single variable for the JOption. Example: QTY ITEMS UNIT PIRCE AMOUNT 1 Milk-Anchor 100.00 100.00 10 Del Monte-Tomato Sauce 1000.00 1000.00 Any suggestion will be great. All the … Software Development java | |
I have been using Qbasic 1.1 in MS DOS 6.22 PCs upto P4. In view of the changing hardware scenerio, I wish to migrate to VB inside Windows 7 32 bit machines. Should i rewrite all code in VB or can I import .bas files created in Qbasic 1.1 into … Software Development qbasic visual-basic | |
Hi, I have a database (OLEDB) on which i perform operations like insert, delete and update. When i carry out these operations, the changes are reflected in the database during runtime but when i close the form everything goes back to normal. How can i get these modifications to relfect … Software Development microsoft-access | |
So, I'm trying to make a game of tic tac toe using JFrame and JPanel. This creates the board image 3x3 . package book; import javax.swing.JPanel; import java.awt.BasicStroke; import java.awt.Color; import java.awt.FlowLayout; import java.awt.Graphics; import java.awt.Graphics2D; import javax.swing.JButton; public class Beginning extends JPanel { public void drawBoard(Graphics d){ int r … Software Development image java java-swing | |
I'm diving into various Image reading and writing methods and writing my own. I decided to tackle TGA/Targa. I got reading working flawlessly. It reads both compressed and decompressed .TGA files. I got writing decompressed .TGA files working. However, I cannot figure out how to write Compressed .TGA files. I … Software Development algorithm c++ ios open-source | |
Hi So i have a database in sql server 2008 and in 1 table i have information with a picture in it, i can retrieve 1 picture from the DB to display in a picturebox, wat i want to do now is read all the pictures and disply them all … | |
class Program { static void Main() { Console.WriteLine("Roll Nos." + " " + " Names" + " " + "score 1" + " " + "score 2" + " " + "score 3" + " " + "Average\n"); Console.ReadLine(); LinkedList<string> Linked = new LinkedList<string>(); Linked.AddLast("maryam"); Linked.AddLast("ali"); Linked.AddLast("mahum"); Linked.AddLast("aliza"); Linked.AddLast("faizan"); Linked.AddLast("mehreen"); … Software Development linked-list | |
[QUOTE=stackOverflow;164345]Hi, Oops sorry! I had not put double slash in the "path" in initgraph. :o Its working now. Anyway,thanks a lot. And the OS is xp.. but i don't get it.. how does it matter??[/QUOTE] hi, i've the same fucking problem: My PC failed and then I must to move … Software Development c | |
Why can't I capture the variable Painted and change it? The second that I capture it, it throws a compile time error: > *cannot convert 'Foo()::<lambda(HWND, uint32_t, WPARAM, LPARAM)>' > > to > > 'WNDPROC {aka long long int (*)(HWND__*, unsigned int, long long unsigned int, long long int)}' in … Software Development | |
Why can't I capture the variable Painted and change it? The second that I capture it, it throws a compile time error: > *cannot convert 'Foo()::<lambda(HWND, uint32_t, WPARAM, LPARAM)>' > > to > > 'WNDPROC {aka long long int (*)(HWND__*, unsigned int, long long unsigned int, long long int)}' in … Software Development | |
I'm not really getting the bigger picture with regards to linked lists. What needs to be done to link it? Also, there is an error with strncpy and for some reason on line 35 its not recognising struct trainset anymore and calls it a undefined variable. #include <stdio.h> #include <stdlib.h> … Software Development c linked-list | |
I am importing a library into a script that is being used in a php document, but for the script to run, I need to import a library that is rather large. Is it possible to permanently import the library so I do not need to load it up each … Software Development python | |
Hi All, I need to trunk a float number with one decimal place. For eg: i have a float number called total=95.20004. my result should be 95.2. I have tried with the DecimalForma, but it is not working out. Kindly help me to resolve this issue. Software Development java | |
I need to write a program that gets content of txt file and display all 4 letter word . Can someone help ? Software Development c | |
i'm trying to create a splitmenu but haven't found any tutorial, i would like to know after creating a splitmenu button with createwindow function, how to populate the menu and what will be the change in switch case of callback function? Software Development c++ windows-api | |
Friends, i have to submit a project on Car Rental System which is to be made in C. i have made half of the work like giving out the menus using Switch, but the prof told me that i have to now input the details of the customer and then … Software Development c | |
When the button is clicked, I want the file (it's a XPS document) to be opened in windows. The file will be in the same directory as the visual basic project. Therefore, I need the code to open the file using "app.Path". Any solutions? Software Development file-system gui microsoft visual-basic | |
When the button is clicked, I want the file to be opened. The file will be in the same directory as the visual basic project. Therefore, I need the code to open the file using "app.Path". Any solutions? Software Development file-system gui visual-basic | |
I am in the process of developing a cloud backup software. The application is a desktop application developed using C#. I need to add an option to stop/pause the backup if the computer was connected to a 3G network to save cost for the user. I cannot seem to be … Software Development microsoft user-interface | |
for example: 8 - 9 = -1 i want it to be : 8 - 9 = 1 i want to subtract a lower number from a higher number and the result will be a positive number and it will display on a Label. Software Development visual-basic | |
Hi all Normally a php type of person I am a noob / bodge when it comes to c#. Using Visual Studio 2010 I have had help in creating a memory / process reader. This looks like a cheat program which it could be if used in the wrong hands, … Software Development visual-studio | |
Hi. So, just switched to RAD XE3 to use Metropolis UI feature, and therefore started to completely rearrange and redesign my app to make it a little nicer, only this time I've chosen FireMonkey Metropolis App, since it has some good components, such as TSwitch (slide switch). Everything seems to … Software Development pascal | |
hi, i want to check a specific date using if condition. i want only date, not month and year. like code checks only date 20 of every month when i clicked a button. please help me.... Software Development vb.net | |
![]() | Hi, I want to declare a float[] in .h and initialize in .m as explained below: .h file ` @interface A: NSObject { float data[10]; } @end ` .m file @implementation A -(void) loadData{ data={1,2,3,4,5,6,7,8,9,10};//Does not work } @end I could have intialized in the following manner, but Could it … Software Development objective-c |
![]() | |
Hello, Im looking for a way to construct a scale-able 2d list or something of the sort. What i have so far is an array int [][] mydata = new int[6][4]; The problem is in my editor i wont know how long to make the array as people are going … Software Development data-structure java | |
Hi,I'm trying to do a parental control software project in C#. I made blocking and unblocking specific websites by using hosts file but the other part of my project is blocking the internet access. When I click a button, the internet access will be blocked and when another button is … Software Development c# |
The End.