132,726 Archived Topics
Remove Filter ![]() | |
Private Sub CommandButton1_Click() Dim rowCount As Long 'Range("A2")=UserForm1.TextBox1.Value 'Range("B2")=UserForm1.ComboBox1.Value 'Range("C2")=UserForm1.TextBox2.Value 'Range("D2")=UserForm1.TextBox3.Value 'Range("E2")=UserForm1.ComboBox2.Value 'Range("F2")=UserForm1.OptionButton1.Value 'Range("G2") UserForm1.OptionButton2.Value 'Range("H2")=UserForm1.OptionButton3.Value rowCount = Sheets("Data").Range("A2").CurrentRegion.Rows.Count With Sheets("Data").Range("A2") .Offset(rowCount, 0) = Now .Offset(rowCount, 1) = UserForm1.TextBox1.Value .Offset(rowCount, 2) = UserForm1.ComboBox1.Value .Offset(rowCount, 3) = UserForm1.TextBox2.Value .Offset(rowCount, 4) = UserForm1.TextBox3.Value .Offset(rowCount, 5) = UserForm1.ComboBox2.Value If UserForm1.OptionButton1.Value Then Sheets("Data").Cells(nextrow, 6) … Software Development visual-basic | |
Is it possible to play or make music in Python? | |
hello , I use Tkinter , at the line : `print modelidvar ` in Interface3() function , it prints "" , nothing , without any error message , can i know why plz , here is all the code : # -*- coding: cp1252 -*- # -*- coding: cp1252 -*- … | |
How to make a pointer to class and how to use it? Like, what would the cout statements show on screen? #include <iostream.h> void main() { class CLASS { public: int INT; char CHAR; }; CLASS OBJECT; OBJECT.INT = 10; OBJECT.CHAR = 'A'; CLASS *POINTER = &OBJECT; cout << POINTER … Software Development c++ | |
I am trying to decimal format a group of numbers into a 2D array and I keep getting an Error in Netbeans. It says where I have the d.format(0.0); that I need a double and have a String when then input present is 0.0. This is driving me insane and … Software Development java | |
I am trying to write a simple text file translator, will translate the text into morsecode. I need something like this to be done: for(i = 0; i < list.size(); i++) { if(list[i] == character_from_file) { translatedLine = list[i_the_second]; } } I am wondering if I can use the "list" … Software Development c++ | |
I'm making a simple text based game in python, which works fine until I activate "debug" mode (in game, with /debug), which is supposed to change this: # # # # # # # # # # # # # . . . . . . . . . . … | |
Hi, I have never used SpinWait. I am waiting for a lockfile to be free, so we can lock the file with below code (FileShare.None) This lockfile will always be avaliable in approx. <= 50 milliseconds. I will be needed to react as fast as possible so I beleive it … Software Development | |
Hi, I have a backgroundthread where I in this moment is using: while (runsomeCode == false) { Thread.Sleep(1); } to wait for "runsomeCode" will turn to: 'true' from another thread, which is button9_Click in this example. However, using Thread.Sleep(1) doesn´t seem to be a very effective way. I wonder if … Software Development | |
How can add new tab on a tab page control by clicking a child node in a treeview? Software Development vb.net | |
How to maximize forms? What i mean is that, if i maximized my form. The objects inside will be maximized too and will be on the same position. Objects such as Tab Control, Tree View, List View and other objects. Thanks. Software Development vb.net | |
| |
please help run this program in 3 times\cases. **case 1:** it will only display the following: Employee Name: Employee Code: Salary Level: Salary Rate: **case 2:** Employee Name: Employee Code: Salary Level: Salary Rate: ------------- Date Covered: Total Number of Work Hours: Overtime hours: Regular Income: Overtime income: Gross income: … Software Development | |
Hi, I just need a little help here, I wanted to copy the rows in current form's datagridview to another form's datagridview. Here is my example rows in datagridview1 in current row ID | ProID | Name 1 | 1 | Shirt 2 | 1 | Shoes 3 | 2 … | |
I am writing a pure C based win32 applications. I have drawn line. Now i want to translate that line, move the line whereved user wants to move on screen. Then again I drawn another line, I am drawing multiple lines. I have created rectangle region for each line and … Software Development c display windows-api | |
Hi there, I have a question related to C++ functions. If a boolean return type function contains too many returns in it, does it cause any problem ?? In my program one of the bool function contains too many return statements, in if conditions. And interesting thing is that it … Software Development c++ | |
Hi! Is any one can help me how to set landscape orientation using Data Report in Visual Basic 6.0:) Software Development visual-basic | |
Hi My name is C.D., I am currently taking C++ 1, I have an assignment that asks me to write a function that displays the prompt string and then reads a floating point number and then returns that number. The book gives an example of the code to use in … Software Development c++ | |
In Java programming a game like with maze like structure. How do we check collision with wall? Anyone who knows how the wall object work? Many thanks--Petranilla Software Development java | |
Illegal else without matching if, but I have an if after else. :( And how can I round off the results? I mean, if it shows 4.5 it would display 5 and if it's 4.5 it would display 4? Please help me. :((( Software Development c++ | |
Hello everyone. I'm quite new to Python and Pygame, and programming in general. I've made a few basic games like pong, frogger and asteroids (the last two took me ages, but I learnt a lot doing them!) Anyway, I'd quite like to have a go at making a 2d side … Software Development python | |
I am asked to create a program that will enable the user to input something just like a text editor. Saving of the file is not required. We just have to let the user type in it(on the console/dos environment of the turboc++) just like any other text editor. What … Software Development c | |
hi every one , can some one give me an idea or code of how to save .PDF file and .dwg into sql server and preview these file using image box in vb6 if can ???? Software Development pdf sql visual-basic | |
Hi, I have a question about the threadpool. ThreadPool accepts to pass along an object as shown in my code. I will pass along 3 doubles, which I ofcourse could make to a string object, - and then convert it back to doubles in the "receiveDoubles" function. This is no … Software Development | |
I want to open any website using me c++ program. But don't know ho it will be done, please help me. Software Development c++ | |
I have been trying to start asm programming for a long time now. But having some problems. MY main system is windows so I cant use int and dont want to use the win32 api or call c functions. So I read that you get a x86 simulator. If I … Software Development api windows-api | |
Hello,I have written this script to telnet from Ubuntu system to windows7 running system. This script goes fine upto login name, then it takes the password but it is not able to process the password. Although it looks as if the password has reached other side but in real it … | |
I created several JComboBoxes using a for loop. I want them to reset when i click the reset button. But this doesn't work. These are my codes... import javax.swing.*; import java.awt.*; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; import java.awt.event.ItemListener; import java.awt.event.ItemEvent; class TryCombo extends JFrame{ TryCombo(){ super("Trying JComboBox"); setDefaultCloseOperation(EXIT_ON_CLOSE); JButton but = … Software Development java java-swing | |
import turtle def f(): turtle.forward(10) def l(): turtle.left(1) def r(): turtle.right(1) def b(): turtle.back(5) turtle.onkey(f,"Up") turtle.onkey(l,"Left") turtle.onkey(r,"Right") turtle.onkey(b,"Down") turtle.showturtle() turtle.listen() while True: print, EDIT: add `turtle.showturtle()` but STILL doesn't work Software Development python | |
Hi, I am making a game I added a mouselistener in my game class but when i add a mouse listener in my class to make a custom button it doesn't work, so i had to make a variables mousePressed and variables for the mouse location mX and mY but … Software Development java java-swing ![]() | |
Hi, i have this datatable dt3 which looks like: ADminNo PaperNo 111411H 3 111411H 18 172828z 3 172828z 18 111380Y 93 111938S 10 How to i get something like: ConflictingPaper Numberofstudents AdminNo 3 : 8 2 111411H 172828z so on and so forth. to populate in a datagridview. i tried … Software Development vb.net | |
Dim i1 As Integer Dim i2 As Integer For i1 = 0 To Me.DataGridView5.Columns.Count - 1 For i2 = 0 To Me.DataGridView5.Rows.Count - 1 If String.IsNullOrEmpty(Me.DataGridView5.Item(i1, i2).Value) Then MessageBox.Show("You must fill in all cells before you can save the data.", "Empty Cells", MessageBoxButtons.OK, MessageBoxIcon.Information) DataGridView5.Rows(i1).Cells(i2).Style.BackColor = Color.Bisque 'Index was out … Software Development vb.net | |
hello friends, i am new to this forum and new with C i am stuck at setting up eclipse kepler with MinGW I have my eclipse installed undder C:\Program Files\eclipse and MinGw under C:\MinGW i know MinGW needs to adjust environment variables here is screenshot for ur refernce http://gyazo.com/276678dcfacd54c15a0c332f136964d1 and … Software Development c | |
I am wanting to write a program for a BMI calculator that eventually will record details for several entries. However to start with I need to be able to just complete one calculation. Below is my code which works up to the if statement what I am trying to do … Software Development c | |
Hello, First of all some background. My friend and I are having a bit of a competition over theoretically infinite number storage. We have agreed that the first person with a working arbitrary precision integer library with the theoretical ability to store an infinitely large number (IE: if the hard … Software Development c++ programming-construct storage | |
Greetings fellow developers i just want to ask for help on how to slide the panel from right to left of the screen. I only know the sliding panel from left-to-right but is it possible to slide the panel from right-to-left? Software Development vb.net | |
I have the following code: const AGENT = 'User Agent'; SERVER = 'www.daniweb.com'; RESOURCE = 'api/access_token'; ID = ''; // my client id SECRET = ''; // my client secret CODE = ''; // my returned code, pasted from the browser REDIRECT_URI = ''; // my redirect uri ACCEPT: packed … Software Development api daniweb-api first-post pascal | |
For i = 0 To DataGridView1.Rows.Count - 1 ' Dim row1 As Integer = DataGridView2.Rows(i).Cells(1).Value.ToString Dim row1 As Integer = Nothing Dim row2 As String = Nothing Dim row3 As String = Nothing Dim row4 As String = Nothing Dim row5 As String = Nothing Dim row6 As String = … Software Development vb.net | |
Hi All, I have a an error: "Type Mismatch" on the line that has the stars next to it. Can someone please help? I appreciate all the help. Option Explicit Dim cn As ADODB.Connection ' Establishing a Connection Object that provides a connection to the data Dim rs As ADODB.Recordset … Software Development open-source visual-basic | |
I am currently making a subreport and I found it very tricky to do. I already created a parameter(ID) that would link Report2 to Main Report but still it doesn't work. I have two datasources: LoanerDataSet for the main report and LoansDataSet for report 2. I would like to ask … Software Development vb.net | |
Private Sub one_btninsert_Click(sender As Object, e As EventArgs) Handles one_btninsert.Click For i = 0 To DataGridView1.Rows.Count - 1 Dim row1 As Integer = Val(DataGridView1.Rows(i).Cells(1).Value.ToString) Dim row2 As String = DataGridView2.Rows(i).Cells(2).Value.ToString Dim row3 As String = DataGridView2.Rows(i).Cells(3).Value.ToString Dim row4 As String = DataGridView2.Rows(i).Cells(4).Value.ToString Dim row5 As String = DataGridView2.Rows(i).Cells(5).Value.ToString Dim row6 … Software Development vb.net | |
#include <stdio.h> int *check(); int main() { int *c; c = check(); printf("%d\n", c); return 0; } int *check() { int i=10; int *p=&i; return p; } Software Development c | |
I hope this is the correct area for this post, I'm not to sure where it would fall into, regarding SSH ? Onto my question, is there a method to access Vi or Nano to find the exact path where a directory lies in the <root> directory ? Software Development shell-scripting | |
How to call webpage from unix script? Software Development shell-scripting unix | |
Hi All, I've just started to learn C from "The C Programming Language" (Kernighan). One of the exercises asks you to write function that folds a line of text into newlines after x number of characters without splitting a word. This is my attempt so far: // fold: folds the … Software Development c | |
Hey! I am trying to learn some LWJGL, and wanted to know the best source to learn from, that could be a youtube channel or a text tutorial, but something with videos is much prefered. Software Development java | |
Hi again DaniWeb, this time I'd like you to help me with the text alignment options available in a standard text editing application. My problem is, even though I got the application to successfully align the text where I want it, that if I click on every single option (Justify … Software Development vb.net | |
The End.