43,549 Solved Topics
Remove Filter ![]() | |
Hi there, I am new here, and i humbly seek your assistance, when i try to increment the for loop it jumps to case 5 of the select case statement. What i actually want is when i press the Next button it shows me a set of options which is … Software Development vb.net | |
i tried searching for it for hours but cant find anything. Software Development | |
I tried executing a simple line drawing program using exec(). It worked fine. But when I tried to execute the same program by sending it through a tcp/ip network(the server reads the program and sends it to the client which receives it to a variable(b) of string type) and then … Software Development client-server opengl python | |
Dear Friend, on my work i want to use combo box,and in that combo box i have 10 url's,but i cant specify for each.. my code is:: [code] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace WindowsApplication7 { public partial class Form1 : … Software Development | |
i am trying to trigger tab key in keypress event of text box If KeyAscii = 13 Then SendKeys "{tab}" End If [U]but getting error[/U] Run time error 70 permission denied any help Software Development visual-basic | |
[CODE]int main() { static short multiplycounter; static short dividecounter; double decimal; int rdecimal; cin >> decimal; rdecimal = int(decimal); cout << setprecision(10) << decimal << endl << rdecimal << endl; if(rdecimal % 1 != 0) { while(rdecimal % 1 != 0) { if(rdecimal % 1 == 0) { break; } … Software Development c++ mathematics | |
Linking Comb Box Items to a Button to load a new form Combo box 3 has 2 items.....Item 1, Item 2 i want it so if you click on the button when item 1 is selected it will load form3 and if item 2 is selected the same button will … Software Development vb.net | |
Say I have an XML file as such: <contacts> <contact id="1"> <name>Steven</name> <address>Here</address> <phone>11111111</phone> </contact> <contact id="2"> <name>John</name> <address>There</address> <phone>22222222</phone> </contact> </contacts> ...etc. How can I transform that to HTML with XSLT so that it can be a collapsable/expandable tree? For example, If I click a button that shows contact{@id="1"] … Software Development html-css java javascript xml | |
Hi All, I have created a form for a user to create a booking of a meeting room, I need this form to do 3 things. have print functionality update the new booking to a dataset view the current bookings screen I seem to be struggling with the second task, … Software Development dataset open-source vb.net | |
I thought about something like this. Is this a good way to do it ? [code] std::stringstream Num; std::string str; Num << 5; str = Num.str(); [/code] I have this: [code] int ist = 5; [/code] How is it possible to convert ist to std::string ? Software Development c++ | |
Hello I have a following line inside a .txt file This$is$my$Input$203 I would like to know whether is it possible only to store the 203 value in variable using fscanf. So without declaring char arrays to store all those strings. I was thinking of something like this ; [CODE]fscanf(fp,"%*[^$]$%*[^$]$%*[^$]$%*[^$]$%d",&number)[/CODE] But … | |
Hello I'm not too experience with c++ but I've learned some of the basics. I tried making a small txt file encryption program however my output prints one too many times to the 2nd txt file. This occurs both when encrypting and decrypting. [CODE] #include <iostream> #include <fstream> #include <cstdlib> … Software Development c++ encryption | |
So I am new to maps, vectors too, but I read a guide on those. And I need to do one thing with the map that I haven't figured out yet. Implement this C# code into C++ [CODE]map.TryGetValue(oldValue, out newValue)[/CODE] In the C# code map is a dictionary, so I … Software Development c++ | |
Hello, I have a datagrid and I want to delete selected row from that grid. It is working fine upto this. but I want to add some advance functioning with msgbox YES-No buttons. If user select some row and click on delete button, A msgbox with YES/No options appears. If … Software Development open-source vb.net | |
hi .. im trying to terminate a process so in python i used os.system("taskkill /IM notepad.exe/T" and os.popen("taskkill /IM notepad.exe /f") neither have worked since the process does close but start up again !! on SOME computers it did work, the process was terminated but on others it did not … Software Development python | |
Hi Just written a small C++ program to try the Public & Private Key Algorithm process, the program seems to function properly as intended in that it decrypts a message sent from Bob using Alice's Public key. [CODE]#include <iostream> using namespace std; /*********************************************************** XOR Process for both encryption/decryption processing ***********************************************************/ … Software Development algorithm c++ encryption | |
FRIENDS, i want the code for hide the first form in 10 seconds and show the form2. i have using the below code but it open the second form continously... [code] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace Steganography { public partial … Software Development | |
I cant seem to find the problem with this program I am building as a learning exercise. I am getting errors referenced to extremely simple pieces of code. In the output the first thing that should be printed is the random double number that the program selects then it should … Software Development apache api java java-jsp java-netbeans java-swing windows-api windows-vista xml | |
Hello programmers out there :) Im currently having problems with allowing the "-" in my TextBox. [B](Im using Visual Studio 2010)[/B] Im kinda new to programming, thats why this code looks messy. [CODE]void Form1::textBox9_KeyPress(System::Object^ sender, System::Windows::Forms::KeyPressEventArgs^ e) { if(!Char::IsDigit(e->KeyChar) && (e->KeyChar != 0x08) && (e->KeyChar != 0x6D)) e->Handled = true; … Software Development c++ visual-studio | |
The Peterman Publishing Company has decided that no published book should cost more than 10 cents per page. Create a [I]BookException[/I] class whose constructor requires three arguments: a [I]string Book[/I] title, a [I]double[/I] price and an [I]int[/I] number of pages. Create an error message that is passed to the [I]Exception[/I] … Software Development publishing | |
Hi, After I packaged the project and deployed it on another computer without VB6 installed on it, Every thing works properly except the Reports. when I try to call the Report it gives error "Application-defined or Object defined error" and Report does not open. If you install VB6 this problem … Software Development visual-basic | |
Below is my code to call the records or save/update to the database which works fine [code] Private MasterConnection As New OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=Info.mdb;Persist Security Info=False;") Private daMaster As OleDb.OleDbDataAdapter Private dsMaster As DataSet Private dtMaster As New Data.DataTable [/code] I have been trying to add First Previous Next Last … Software Development dataset vb.net visual-studio | |
I use Visual Basic 2008 I have this code : [CODE] ' this picture i want enclose in the URL '========================================================== Dim PicBuffer() As Byte PicBuffer = IO.File.ReadAllBytes("c:\picture1.png") ' ========================================================== Dim Request As HttpWebRequest Dim Response As HttpWebResponse Request = WebRequest.Create("http://api.online....nl/update.xml?type=add&tabel=groups&name=test") Request.Method = "GET" Response = Request.GetResponse Dim reader As … Software Development api image vb.net visual-basic xml | |
hello sirs. im trying to turn two 8-bit hex characters that represent the lsb and msb of an integer. below is the code i am using. i am getting output though im not sure of the validity. [CODE] char a = 0x01; //msb char b = 0x3D; //lsb short int … Software Development c | |
Hello! I am making a text-based game (I am new to C++) called The Final Journey (I made the name up, didn't copy) and I have had some trouble with the code. I am using Dev-C++ (I plan to get VC++), just so you know. Here is what I have … Software Development c++ | |
Hello I am new to C++ and coding. A few years ago I decided to learn C++ and wanted to start off by making a text based game to start off. So I brought a few books and began reading and doing the tutorials for things like 'Hello World', 'Calculator', … Software Development c++ | |
I'm currently developing a screensaver for Windows. I am curious as to how I can get my screensaver to display in the little screensaver selection window in the Control Panel under Personalization. Is it in the Registry or something? Or am I going to have to contact Mr. Bill himself … Software Development c++ | |
Hi, Is it possible to save the contents of a RichTextCtrl with the formatting? I'm writing a text editor to learn wxpython and when I use the SaveFile method it saves the data as plain text. PrintFile works the same. Doug Software Development python | |
Hi everyone! For months now I've been reader of this forum and it's now time for me to register and start contributing. Well, my problem is basically with arrays and loops, in a calculator project.. What I'm trying to do is to write all operations in a line i.e: ( … Software Development vb.net | |
<comment> <content> This is a really long string. It is really long because it contains plenty of characters. The purpose of this exercise is to separate this content element into blocks containing one hundred each </content> </comment> I have the XML file above and I need to use XSLT to … Software Development xml | |
Hi all, ive got a bit of an annoying problem regarding JUnit 4.5. I've created a bunch of unit tests which work properly when I right click the class and press 'Test' (in Netbeans). However, when I right click the whole project and press 'Test', i get a ClassNotFoundException. I … Software Development java java-netbeans | |
Hi i've been searching everywhere to try to get this setup. I am running Visual Basic 2008 I have 1 Combo Box that Has 3 Entries, Kyocera>Konica>Toshiba I have a 2nd Combo Box that has entries for each of those manufactors...Kyocera has 3035,4035,5035....the konica has c250,c352,c452......the Toshiba has c3520, 4520 … Software Development vb.net visual-basic | |
Hello: I am building a UI using Python in Maya, a 3D app. I have a panel in which I want to assign commands to buttons which are created in a loop. The commands have an arg, which is derived from the loop. Using lambda, the button commands all get … Software Development python | |
Hi guys, I've got a C#.NET background and due to circumstances I'm trying to make a plugin written in VB.NET. I've created a new class project which gives me a DLL. This class implements a C# interface which all works. My only question is this... In my C# code I've … ![]() | |
Hello, I have a program where if I click anywhere in a JFrame, a ball appears(using fillOval).If I happen to click on the ball once it has appeared, how do I make it disappear? Thank you! Software Development java | |
Hello - on my noughts and crosses / tic tac toe game I have initialised a 3 x 3 array and addded buttons using all the code below. If I want to also have a 5X5 array game and aa 7X7 array game - how do I go about it … Software Development | |
Hi Below is my code. The code is running well if the column name specified below is not exist. [COLOR="Red"]Sql = "ALTER TABLE Update_PaymentDetails ADD ServiceCharge float NULL," _ & "TotalAmount float NULL,Commission1 float NULL," _ & "Commission2 float NULL,DealerCommission float NULL," _ & "PaymentToDealer float NULL,PaymentPay float NULL," _ … Software Development vb.net | |
I have a string as below [CODE]"i am genie. who are you? we worked together in a hotel called xsis."[/CODE] Normally string like the above is cleaned. Cleaning involves removing whitespaces. Thus the cleaned version of the above string would be [CODE]"iamgenie.whoareyou?weworkedtogetherinahotelcalledxsis."[/CODE] It is divided into kgrams of fixed size. … Software Development python | |
I want to make a countdown time that will basically let you click one of the buttons and the countdown will start. But I don’t want the countdown to be shown in seconds but rather in Hours/Minutes/Seconds. There will be multiple buttons that will trigger the countdown. The only hiccup … Software Development visual-basic | |
I get the error in these lines: [CODE]infotxtbox->Text = ("Name: Peter Jaško "Rank: Main Tech Manager, Vice-Leader, "Donated: ?, "Exp: ?"); [/CODE] This code is entered in a header (Form1.h) of a Windows Form Project/Application in C++ in VC++ 2010 Regards Software Development c++ | |
hello coder, could anybody can share an idea on making attachment files. on my cms software. i wanted to have an attachment portion. where my doc,jpg,xls files can be attach. im planing to stored it on my app.path by copying the files. but my problem is when opening on the … Software Development cms visual-basic | |
I'm trying to write a program that switches the "x" and "o" in a String, only using the replace method repeatedly. At the end of the day, the program should turn 'xxxooo' into 'oooxxx'. I understand why this isn't working, but I'm just completely out of ideas as to how … Software Development java | |
I am trying to figure out a way to to make a webbrowser scroll to an html element and center the element, i don't have any code to show as i have desperatly looked everywhere after a solution but havent found anything. | |
i dont fully understand when is it more effective to use a struct and when is it more effective to use a class? i read the explanation from Oriely's book "C# in a nutshell", but i still dont understand. [QUOTE] Because a struct is a value type, each instance doesnt … Software Development | |
Okay so I hope the title makes sense but I'll explain a litte more indepth. Right now i have an object that consists of multiple forms of data (strings, int, and a boolean array). The object array looks like this (sorry for all the clutter I had it looking nice, … Software Development | |
can some one help me why its not copying the file ? [CODE] if(choice = 2) { puts("please open your archive\n"); scanf("%s",&archive); archive_pointer = fopen( archive, "r+b"); //opens the archive puts("please select the file you want to be copied into your archive\n"); scanf("%s",&original_file); open_pointer = fopen( original_file, "r+b"); //opens the … Software Development c | |
I am trying to add a new record everytime i do my navigation gets all messed up I also need an update button... I would like so when i hit new record the record of will be(ex. If Im adding record number 30 it will say record 30 of 30, … | |
Hi all, I have a very annoying problem with adding new records to my Access Database, I'm not getting any syntax errors but there's obviously a symantic error of some kind causing this headache. I've been developing an RFID system for two months now and spent the last four weeks … Software Development dataset microsoft-access open-source vb.net | |
I create a simple data base table using Microfoft SQL Server 2005 and i want to display this simple table as a hole in my form.I use DataSet and DataAdapter to communicate with my SQL data base.i try to pull all the record at data base in to the DataSet … Software Development c c# c++ dataset open-source user-interface |
The End.