132,726 Archived Topics
Remove Filter ![]() | |
So I need to write a function that if a file exists, it will change the file name by sequentially adding integers, starting with 1, to the base file name (the part that does not include the file extension). so if the filename is hello.dat, then it will return hello1.dat … Software Development python | |
i am new to vb.net... my problem in this query is that "Format is not a recognized built in name" this Format() is an sql function right? is there a header file to call the format() function just like c++? can anyone help me with this? please! here's my query … Software Development vb.net | |
Proper way of doing this? Please disregard some variables. [CODE]Imports Oracle.DataAccess.Client Imports Oracle.DataAccess.Types Public Class Addcage Dim conn As New OracleConnection Private cmd As OracleCommand Private da As OracleDataAdapter Private cb As OracleCommandBuilder Private ds As DataSet Dim roomprice As Integer Dim roomtitle As String Dim lubid As String = … Software Development dataset open-source oracle sql vb.net | |
Hi , In my application I have to implement Tooltip for Link Button. When mouse hover on link button , I should get a Tooltip. It can be a Telerik ToolTip as well. Please help me with this concept. I need step by step process for implementing this. Regards. | |
Hi guy, would you help me, how to create table (ACCESS) with primary key in visual Basic 6? Set catNewDB = CreateObject("ADOX.Catalog") catNewDB.Create "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=" & sDatabasetocreate & _ ";Jet OLEDB:Engine Type=5;" ' Engine Type=5 = Access 2000 Database ' Engine Type=4 = Access 97 Database Set … Software Development microsoft-access open-source visual-basic | |
Hello Everyone, I would like to seek your help since I am a beginner to vb. I want to create a report based on some criterias such as dates or names. For example, the user will select the dates from a combo box above and the report to be displayed … Software Development vb.net | |
Hello, everybody, I am doing my Java homework and we used this line in class with no problems at, I have the code from the program we used in class and it works on my computer no problem. However, when I put it into my homework's code, it gives me … Software Development java java-swing | |
Hi folks. I'm new here so appologies if I'm not posting in the correct place. Here's my issue. I want to paint independent graphics on the same JPanel. I thought that I could create a method that paints my image(s) then call this in the constructor, but not sure what … Software Development java java-swing ![]() | |
Hi, I am new to programming and have just started learning C and C#. I am trying to print the following pattern using for loop in C# 1 23 456 78910 and so on... I have tried everything but its not giving the desired output. Can anyone help me with … Software Development | |
if (A == nullptr || B ==nullptr) { cout<< "empty"; } When a put this code in Visual C++ 2010 Express, told me this error no operator "==" matches these operands Could someone help me how to solve, it is really important Software Development c++ | |
I already wrote the code to read in these two files: processing_rules.txt - which will contain rules like these: 0R1, 0R2 1S3, 0S3 end input_data.txt - will contain data: 5 00110101 The positive number (5, in the example above) represents the position in the second-line sequence, from which processing will … Software Development c++ file-stream | |
Hello I'm making an application that reads a series of values from a text file and then converts it to a bitmap image. Currently, I'm using arrays, but, deciding on a particular length is annoying. I have been reading a few tutorials and i've read a lot about using vectors, … Software Development c++ | |
Hello, so my assignment was to take a text file that contains a properly written C++ program code and to go through that code character by character and output all the comments in that code to another text file. This is what I got so far, basically I`m wondering how … Software Development c++ | |
Hello guys, I want to ask the experts here, if what technology of .NET would I consider when my client wants his POS connected to a USB-based Scanner? Is still a serial communication? I'm a new programmer so please do give me some advice. thanks Software Development vb.net | |
Bored and just wrote this. Anything I did wrong? Anything that can be improved? Relatively new to C++ but I have the basic basics down(I like to think so anyway). [CODE]#include <iostream> #include <cstdlib> #include <ctime> using namespace std; void programIntroduction(); void gameLoop(); int playerChoice, cpuChoice, wins=0, losses=0, ties=0; int … Software Development c++ | |
I have created two classes: [code]class dm_Step { public: char m_plus; char m_particle; float m_energy_sec; float m_xpos_sec; float m_ypos_sec; float m_zpos_sec; }; [/code] [code]class dm_Track { public: vector<dm_Step> m_track; } [/code] I have a data base with hundreds of lines of code in the following format: + gamma 2.306013 -0.213225 … Software Development c++ | |
I'm in a computer programming course on Florida Virtual School, and I'm stressing out over our current assignment, because it seems like it should be easy. The point of the assignment is to write a program to count how many times the Scribbler robot stalls and then print the results … Software Development python | |
Hey, I am having trouble implementing a c++ function that will allow the user to enter a lower and upper bounds and reverse everything in a char[] in between the bounds, so if array is, char[] = {'A','B','C','D','E'}; and the user input was 1 and 4 for 1 as the … | |
I had to write a program that finds out whether a matrix is Skew-symmetric matrix or not...well my code is a disaster I seek help in this matter. In which way can I write this code to make it eficient,short and smart? this is my code (yet again it;s a … Software Development assembly | |
I'm trying to run a simple servlet that counts the number of times a user visits the page using cookies but I'm getting the following error. I thought that NullPointerException was because there were no cookies at all in the browser. But after checking I found a couple of cookies … Software Development apache java web-browser | |
Hi, I've been trying to learn what pointers are and how they function, and I now finally understand most of it. However, I don't understand the assignment of strings to a char *, and what the values they have mean. I wrote a small program to learn: [CODE]#include <stdio.h> #include … Software Development c | |
Hey guys! I'm almost done with a payroll application im creating but I'm stuck with this Crystal Reports issue.I want to filter the report by displaying data by two specific textbox,TextboxA(EmployeeID) and textboxB(PayrollNumber).How can I do this?please help!! Software Development vb.net | |
The code below takes the quantity of tickets from the 55 tickets that is available and it stores the value in a text file. What I want the program to do is to store the amount of tickets that is available and then each time the program executes it will … Software Development c++ | |
I want to update a record of a gym member when his/her weight change. But unfortunately my program can't find the given member. Here is my code: [CODE] public static void updateWeight() { Scanner in = new Scanner(System.in); // Creation of a new Scanner object String tempName = ""; // … Software Development java | |
Hi, I created a game in which players take turns entering their symbol by clicking on a box that is implemented on a grid window. I am having a hard time being able to check if the player has four symbols in a row diagonal or up or down or … Software Development gaming java java-swing | |
anyone who can help me regarding how to read data from .dbf files recordwise. Software Development visual-basic | |
hi , how can i print data as grid view in python, in my case a variable is carrying all the data which is coming from table and i want to print them by using two nested loops. [CODE]data_from_table = ['col 1'] + "/t" + ['col 2'] + "/t" + … Software Development python | |
Hi everyone, I've written a cellular automata code in python that updates land uses based on each cell's adjacent neighbors. I import a text file as a dictionary with cell id: land use code. I also import a text file with each cell's adjacent neighbor. I then run the cellular … Software Development python | |
Here's the full assignment: [QUOTE]The ABC Corporation wishes to review a group of its products based on their performance in the prior fiscal year. The company has the sales data for these products for each quarter in the year. Having heard of your programming experience, the company has hired you … Software Development c++ | |
So, what is my deal... I'm working on a script, which, at some point will require the user to insert his or hers username and a password. My question is, how can I make that when the user will write in the password box/line whatever, instead of its characters, to … | |
I am working to take c code from an academic paper and edit. I am studying cryptographic algorithms. I have ran the following code, but I am having a little difficulty understanding two things. First, the program uses unsigned long ints. When they are added or subtracted, I don't get … Software Development c encryption | |
I have a battleship python assignment due in an hour and I can't figure out where the error is in this code. It seems like when player 2 plays sometimes the coordinates saved in Board.remaining_ships can't be deleted because they aren't there. Please please please help Here is the error: … | |
I am having a hard time getting specific text from a webpage. [url]http://mbible.com/john/1-1.htm[/url] OR [url]http://m.bible.cc/hebrews/1-3.htm[/url] (Whatever easier!) I want to get the text infront of "KJV" label. ex: KJV: sometext. how can I get this "sometext" tried this and didn't work. [CODE] 'Dim htmlElements As HtmlElementCollection = WebBrowser1.Document.GetElementsByTagName("a") 'For Each … Software Development vb.net | |
Hi, I was wondering is there a way where you can sell limited tickets. For example there are 55 seats in a bus and 55 people bought the tickets for the bus,the people who want to buy those tickets for the bus must wait for an hour. How would I … Software Development c++ | |
During Loading of form I call connectpaybox to show the list in the combobox, but after that it will result in the error "[COLOR="Green"][I]Operation is not valid due the current state of the object"[/I][/COLOR] but the combobox items that was taken from the database shows. I tried "select CAGECOST from … Software Development vb.net | |
I had an old version of Mathcad (version 7) running on an old computer (running Windows 2000). That computer recently died, but I have several .mcd files saved. I doubt there is an upgrade path for me; my version was too old. And 95% of the time, I used it … Software Development | |
I am only allowed to use int, unsigned int and float. Must be accurate to the 7th significant digit. Currently I overflow 'float top' at an x value greater than 13. Thank you for your time. [CODE] #include <iostream> #include <iomanip> using namespace std; float sum=1,x, top=1,factoral=1; int main(void) { … Software Development c++ | |
Dear all, I have problem with reading from ini file. My code is as follows, but it has Error with GetPrivateProfileInt. It cannot read and the error is : error C2664: 'GetPrivateProfileIntW' : cannot convert parameter 1 from 'const char [9]' to 'LPCWSTR' 1> Types pointed to are unrelated; conversion … Software Development c++ | |
In my project, all my forms access the connection string from the login form which takes data from an XML file [CODE]Dim thisConnection As New SqlConnection(LoginForm1.cnString)[/CODE] now when i create crystal reports. i first select a viewer which calls the report via code [CODE]cmd.Connection = thisConnection cmd.CommandType = CommandType.Text cmd.CommandText … Software Development vb.net | |
Hello all. A friend is shipping some items in a container so it gave me the inspiration to write a quick little program. This only took 20minutes at best so please bear that in mind. The basic idea is if the containers size is known, and the cost is known … Software Development c++ | |
Hi, Can i ask something what type of eclipse should i use in developing android.there are many of them,can you help me on this please.Thank you in advance. Eclipse IDE for Java Developers, Eclipse IDE for Java EE Developers, Eclipse Classic 3.7.1, Eclipse IDE for C/C++ Developers (includes Incubating components), … Software Development android android-development ide | |
Hi guys, I need your help: I tried to initialize an array like this: [CODE]string[] relation1;[/CODE] then I fill it with another function that contains the code: [CODE] for loop then: relation1[z] = something; [/CODE] but...compiler always writes that: [CODE]relation1' is never assigned to, and will always have its default … Software Development c# | |
Currently working with graphical interface and dynamic object arrays, Got two text files with kinda same data on it, my current task is just to read and output that data. Problem is most likely either with my read function or function to determine how much data there is in files … | |
Hi all, I am doing something like this int f(){ umap::iterator p = mmap.find(s); if(p != mmap.end()){ ....... } } My memory usage is somehow constantly increasing. While exiting the function do I need explicitly delete the iterator p? Thanks in advance, _alen Software Development c++ programming-construct | |
Aoa, Hello All, i am having problem in this question Write a program that takes integer input from the user and store into the array dynamically allocated each time a new element is added. Your program should prompt user to take integers until he enters -1, which means end of … Software Development c++ | |
I'm noob at GUI Swing. I have 2 questions. 1)I'm trying to implement a program that reads a text file, so I can use it to add multiple tabs to the program based on the amount of data in the text file. For example, text file have 3 names. I … Software Development gui java java-swing | |
Please is there anyway in outputting subscripts and superscript notations in c++ Software Development c++ | |
#include <iostream> #include <string.h> using namespace std; int main() { char clear[200]; char cipher[200]; int x,i; cout<<" Enter a string:"; cin.getline(clear,sizeof(clear)); x = strlen(clear); for(i=0;i<=x-1;i++) { cipher[i] = clear[i]+3; } cipher[x] = '\0'; cout<<" Encrypted:" << cipher << endl; system("pause"); return 0; } Hey guys hope someone could help me, … Software Development c++ |
The End.