43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for emily1989

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
Member Avatar for Riga
0
141
Member Avatar for CHOCHOCHO

i tried searching for it for hours but cant find anything.

Software Development
Member Avatar for kvprajapati
-2
358
Member Avatar for CHOCHOCHO
Member Avatar for woofers

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
Member Avatar for woofers
0
157
Member Avatar for shajis001

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
Member Avatar for shajis001
-1
147
Member Avatar for PM312

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
Member Avatar for AndreRet
0
1K
Member Avatar for Rickay

[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
Member Avatar for Rickay
0
638
Member Avatar for JD69

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
Member Avatar for JD69
0
95
Member Avatar for f_atencia

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
0
92
Member Avatar for discovery-power

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
Member Avatar for discovery-power
0
201
Member Avatar for Jennifer84

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++
Member Avatar for Nowayz
0
639
Member Avatar for Joey_Brown

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 …

Software Development c c# c++
Member Avatar for Joey_Brown
0
111
Member Avatar for davi0011

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
Member Avatar for jonsca
0
203
Member Avatar for MasterGberry

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++
Member Avatar for MasterGberry
0
147
Member Avatar for piyushseven

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
Member Avatar for nytro
0
10K
Member Avatar for ddndd

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
Member Avatar for Gribouillis
0
16K
Member Avatar for ziggystarman

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
Member Avatar for ziggystarman
0
4K
Member Avatar for shajis001

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
Member Avatar for shajis001
-1
847
Member Avatar for DarkLightning7

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 …

Member Avatar for DarkLightning7
0
275
Member Avatar for Danny1994

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
Member Avatar for Danny1994
0
330
Member Avatar for CHOCHOCHO

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
Member Avatar for Singlem
0
651
Member Avatar for daniwaber

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
Member Avatar for AndreRet
0
2K
Member Avatar for Jayson83

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
Member Avatar for Jayson83
0
71
Member Avatar for dre-logics

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
Member Avatar for kvprajapati
0
116
Member Avatar for iwanttolearnc

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
Member Avatar for WaltP
0
119
Member Avatar for bman214

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++
Member Avatar for bman214
0
207
Member Avatar for Ahna

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++
Member Avatar for Ahna
0
121
Member Avatar for moreautemps

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++
Member Avatar for moreautemps
0
116
Member Avatar for dougn

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
Member Avatar for dougn
0
167
Member Avatar for Felipevd

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
Member Avatar for Teme64
0
510
Member Avatar for f_atencia

<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
Member Avatar for f_atencia
0
122
Member Avatar for SeanC

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
0
119
Member Avatar for JD69

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
Member Avatar for JD69
0
108
Member Avatar for pixeldroid

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
Member Avatar for richieking
0
160
Member Avatar for Acidburn

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 …

Software Development storage vb.net
Member Avatar for Unhnd_Exception
0
129
Member Avatar for sciprog1

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
Member Avatar for sciprog1
0
134
Member Avatar for johnt68

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
Member Avatar for Mitja Bonca
0
96
Member Avatar for swathys

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
Member Avatar for lolafuertes
0
122
Member Avatar for kailashbuki

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
Member Avatar for TrustyTony
0
191
Member Avatar for Xjmaslord4

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
Member Avatar for AndreRet
0
1K
Member Avatar for electrox73

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++
Member Avatar for electrox73
0
704
Member Avatar for jaasaria

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
Member Avatar for AndreRet
0
368
Member Avatar for theurbanist

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
Member Avatar for rapture
0
170
Member Avatar for DoctorGiraffe

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.

Software Development html-css vb.net
Member Avatar for DoctorGiraffe
0
98
Member Avatar for NewOrder

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
Member Avatar for Mitja Bonca
0
122
Member Avatar for JOSheaIV

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
Member Avatar for ddanbe
0
154
Member Avatar for moroccanplaya

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
Member Avatar for moroccanplaya
0
112
Member Avatar for Jayson83

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, …

Software Development dataset vb.net
Member Avatar for kvprajapati
0
161
Member Avatar for Gazzmonkey

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 …

Member Avatar for Gazzmonkey
0
97
Member Avatar for Girum1

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
Member Avatar for kvprajapati
0
204

The End.