132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for y2kshane

hey guys where can i find free office 2010 ribbon for vb.net i found ribbon for c# but nothing for vb

Software Development microsoft-office vb.net
Member Avatar for RenanLazarotto
0
146
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 MasterGberry

I found this code, but I wanted to ask a fast question, does this give the maximum possible resolution? Or just the current resolution set? I know there is a System function but I am trying not to use any System functions if at all possible. [CODE]#include "wtypes.h" #include <iostream> …

Software Development c++
Member Avatar for MasterGberry
0
249
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 XodoX

So, I have to store ( in a variable?) the number as a Roman Numeral ( M = 1000, D=500 etc.) Convert it to decimal and store in decimal. Print the number as a Roman numeral or decimal number as requested by the user. I suppose it's 2 separate functions, …

Software Development c++
Member Avatar for XodoX
0
203
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 wewehalim

Hi i know the title seems a little bit confusing, let me explain. Let say i have 10 properties of bindingsource. The names are: bindingsource1, bindingsource2, bindingsource3, ....., bindingsource10 i want to develop a code using loop for these properties.. For i = 1 to 10 //bla bla bla Next …

Software Development vb.net
Member Avatar for wewehalim
0
98
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 K92

This is the second piece of code I have ever written don't seem to understand what I'm doing wrong. It seems to be going over my head as I have no prior knowledge of any programming language and have literally just begun. I have tried searching the issue to resolve …

Software Development c++
Member Avatar for Narue
0
92
Member Avatar for Danny1994

Hello programmers out there again :) Im using this code (Thanks to adatapost): [CODE] private: System::Void textBox1_KeyPress(System::Object^sender,System::Windows::Forms::KeyPressEventArgs^ e) { if(Char::IsDigit(e->KeyChar)) return; if(e->KeyChar=='\b') return; if(e->KeyChar=='-') return; e->Handled=true; }[/CODE] To allows only digits, backspace and "-" But the problem is that you can put the "-" anywhere and as often as you …

Software Development c++
Member Avatar for jonsca
0
163
Member Avatar for localp

I need to know how to work this out, say for example i have a method is C++ that is helloworld(), and i need to call it from a C program. [CODE] // in my C++ program void helloWorld(){ // some code; cout<<"hello world"; some code..... }[/CODE] [CODE]This is my …

Software Development c c++
Member Avatar for Narue
0
301
Member Avatar for vedro-compota

Hi, programmers! there's global and local variables ? I've heard about [B][U]common variables[/U][/B]....what is it ? Does anybody know? if so - please - share your knowledge! Thanks in advance !

Software Development
Member Avatar for vedro-compota
0
131
Member Avatar for shajis001

Dear Friends, I have 5 check box and one submit button:: my problem is while checking first check box up to fifth check box is checked then i want to enter to form 2 i want that small code to check the check boxes,it may be in switch or if …

Software Development
Member Avatar for shajis001
0
102
Member Avatar for CHOCHOCHO

7a. Create an abstract class named Salesperson. Fiels include first and last nams; the Salesperson constructor requires both these values. Include a get method that returns a string that holds the Salesperson's full name, which consists of the first and last name separated by a space. Save the file as …

Software Development
Member Avatar for mcriscolo
0
530
Member Avatar for zinnqu

This is a great example for a thread stop. Simple debugging trick for any looped process that needs the "e-brake" applied while making sure that the thread is working correctly. The idea is that you can manually stop a thread, to prevent that hanging sensation during any process. This works …

Software Development multithreading tcp-udp vb.net
0
3K
Member Avatar for xibnoe

Iam looking for source code of c4.5 algorithm.. its part of my school project, please if u have it. let me know!!

Software Development algorithm
Member Avatar for shajis001
0
101
Member Avatar for cocoll

hello!. i need help with import in java. i want for example when i click a button in java to open a exe file,so i imported the exe into java,and i make the program everything is okay. so i export my classes into a jar file,so when i click the …

Software Development file-system java
Member Avatar for cocoll
0
96
Member Avatar for Arbus

Hello friends.Can anyone help me in this.Here is the code. [CODE]circle(320,240,100); textmode(BW40); cout<<"\n\n\n\n\n\n\n\n\n\n\t\thello";[/CODE] The problem is hello is displayed without circle.

Software Development c c# c++
Member Avatar for JSPMA1988
0
132
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 simon_wagstaff

I'm writing, essentially, a stack calculator where I can change an expression from normal(infix) notation to prefix and postfix and vice versa, and to be able to evaluate a postfix, prefix, or infix expression and return a value. I have been trying to use a switch statement to determine whether …

Software Development
Member Avatar for jmdrubi
0
250
Member Avatar for rushhour2

Hi all, I am having a little problem with my relay buffer which uses flow design patterns. The problem is that when the consumer should output the value of the Element, it is printing out "The item is: null". My code is a little bit long, but hopefully you can …

Software Development java
Member Avatar for quuba
0
147
Member Avatar for tchild

Hello I am working on this program and I cannot seem to get it working. I am trying to get an input of a line using cin.getline() but i am unable to get that line and assign it into an array of characters. Everything compiles correctly but the alphabet[50]'s output …

Software Development c++
Member Avatar for ravenous
0
137
Member Avatar for kvass

Hey guys! So I was wondering -- what's the syntax for updating a JTable that is being displayed on the screen? I know how to allow cells to be edited, but what if I want to like add in entirely new rows while it's being displayed? I tried repaint() and …

Software Development java
Member Avatar for Ezzaral
0
136
Member Avatar for tensai

hi, i am trying to copy all the data from two columns from two different tables to another table. the problem is when i use insert statement for the second time it does not copy the data from the two columns. i was able to insert two columns from loanTable2 …

Member Avatar for tensai
0
204
Member Avatar for rajeshap

Hello, I am Using VB 6.0 . Please Help me to get the codes to Create Backup and Restore in SQL server 7.0. I request Some one to help me at the earliest. Rajesh

Software Development sql visual-basic
Member Avatar for AndreRet
0
241
Member Avatar for xagutxu

Hello: I am trying to create an audio processor, and I have a program that creates some threads (in Windows). The "main" program creates the audio processor thread, and then creates the audio reader thread. I would like to know how the audio reader can tell the processor that the …

Software Development audio c++ motherboards-cpu-ram
Member Avatar for Narue
0
248
Member Avatar for aplh_ucsc

Can u guys help me to find errors of this programme! [CODE] #include<iostream> #include<conio> #include<string> using namespace std; string employeeName; int employeeNumber; double employeeSalary; char employeeType; class Employee{ private: string employeeName; int employeeNumber; double employeeSalary; string employeeType; public: void promotion(){ calc_salary('pr'); } void demotion(){ calc_salary('de'); } void calc_salary(char ch){ float …

Software Development c++ promotion
Member Avatar for Narue
0
105
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 mahmoud209

I’m working on a piece of software using vb.net that should allow the user to open sketch up files '.skp' and perform some measure on it. Any ideas how to get vb.net to open SKP files?

Software Development vb.net
Member Avatar for mahmoud209
0
103
Member Avatar for Petrica7

How do I detect that a drive is internal or connected to a USB port? For example I now the letter of a partition from that drive. If I use GetDriveType on one connected to USB it says that it is fixed not removable. I found some code with witch …

Software Development pascal
Member Avatar for Petrica7
0
883
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 lmytilin

[CODE]#include <stdio.h> #DEFINE suntetagmenes 3 double eswterikoginomeno(double dianusmata[][suntetagmenes]) { int j; double eswteriko=0; for (j=0;j<suntetagmenes;j++) { eswteriko+=dianusmata[0][j]*dianusmata[1][j]; } return(eswteriko); } double e3wterikoginomeno(double dianusmata[][suntetagmenes], int i) { double e3wteriko; if (i==0) { e3wteriko=dianusmata[0][1]*dianusmata[1][2]-dianusmata[0][2]*dianusmata[1][1]; } else if (i==1) { e3wteriko=dianusmata[0][2]*dianusmata[1][0]-dianusmata[0][0]*dianusmata[1][2]; } else { e3wteriko=dianusmata[0][0]*dianusmata[1][1]-dianusmata[0][1]*dianusmata[1][0]; } return(e3wteriko); } int main() { char x='m'; …

Software Development c
Member Avatar for lmytilin
0
139
Member Avatar for trickx

hi!..i really need some help.. i need to print a pyramid pattern shown below in c++ language using a nested for loop... 1 1 2 1 1 2 4 2 1 1 2 4 8 4 2 1 1 2 4 8 16 8 4 2 1 1 2 4 …

Software Development c++
Member Avatar for subtracktor
0
134
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 Xcelled194

Hi, for a program, I need to map the location of all the back pixels in an image into some kind of structure. The program later uses the structure to select a random pixel location. It then removes the location, to prevent it being used again. The problem is, there …

Software Development data-structure vb.net
Member Avatar for Xcelled194
0
77
Member Avatar for Urelsor

Hello guys, First of all I'm not really good with Java. To be honest I'd rather call my Java skills bad. But here comes my problem. I want to download a CSV file from a specific URL and save it at the TEMP directory. Then i want to read this …

Software Development file-system java session
Member Avatar for Urelsor
0
203
Member Avatar for ammayi67

thanks for allowing me join your forum i have an output of linux command "who" which provides following details..... CURRENT USER/ACCT INFO 17:31:36 up 4:49, 4 users, load average: 0.03, 0.04, 0.00 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT root :0 - 12:59 ?xdm? 4:54 0.02s /bin/sh /usr/bi root …

Software Development shell-scripting
Member Avatar for JeoSaurus
0
2K
Member Avatar for Hardcoded

Having looked at several tutorials I can't help but think data binding seems unnecessarily complicated... Let's say I want a label to show whether a user is logged in or not. The obvious way to me is in the login code put something like: lb_LoggedIn.Content = User + " Logged …

Software Development listview web-design xml
Member Avatar for Hardcoded
0
182
Member Avatar for gian10890

SOBA11009_1_1.xml SOBA11009_1_2.xml SOBA11009_1_3.xml SOBA11009_1_4.xml SOBA11009_1_5.xml SOBA11009_2_1.xml SOBA11009_2_1.xml SOBA11009_2_2.xml SOBA11009_2_3.xml SOBA11009_3_1.xml SOBA11009_3_2.xml SOBA11009_3_3.xml 978-0-387-98595-4 Is it possible that I want to create a batch file that overwrites the SOBA1109 with 978-0-387-98595-4? output: 978-0-387-98595-4_1_1.xml 978-0-387-98595-4_1_2.xml 978-0-387-98595-4_1_3.xml 978-0-387-98595-4_1_4.xml 978-0-387-98595-4_1_5.xml 978-0-387-98595-4_2_1.xml 978-0-387-98595-4_2_1.xml 978-0-387-98595-4_2_2.xml 978-0-387-98595-4_2_3.xml 978-0-387-98595-4_3_1.xml 978-0-387-98595-4_3_2.xml 978-0-387-98595-4_3_3.xml

Software Development shell-scripting xml
Member Avatar for JeoSaurus
0
178
Member Avatar for empror9

hello, i want to write a simple university programme please first see my code [CODE]#include<iostream> #include<string> #include<vector> using namespace std; class subject { string code; public: void create_code(); void list_of_code(); }; class student { string name; public: void create_student(); void list_student(); }; int main() { int size_of_student,size_of_subject; student student_attributes; subject …

Software Development c++
Member Avatar for empror9
0
112
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 markdean.expres

Hi everyone, can I customize my datareport? How? I'd like to add static information such the name of the company, address, contact and so on... No one can help me here (class) because I am the only one who uses VB 2008. All of them are using 6.0.

Software Development vb.net
Member Avatar for markdean.expres
0
167
Member Avatar for MarounMaroun

Hello guys, I have this function: [CODE=c] void swap(char **a, char **b) { char *tmp=*a; *a=*b; *b=tmp; } int main() { char *str1="aaa"; char *str2="bbb"; swap((char **)&str1, (char**)&str2); return 0; } [/code] The program runs and really swaps the two strings. I don't understand why we send (char**)&str1 and (char**)&str2 …

Software Development c
Member Avatar for Narue
0
141

The End.