132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for yogeshsinh.chauhan

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
Member Avatar for Reverend Jim
0
185
Member Avatar for entropic3105
Member Avatar for vegaseat
0
369
Member Avatar for Ismatus3

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

Software Development os-x python tkinter
Member Avatar for vegaseat
0
202
Member Avatar for nmakes

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++
Member Avatar for deceptikon
0
154
Member Avatar for Nandomo

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
Member Avatar for jwenting
0
236
Member Avatar for MasterHacker110

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++
Member Avatar for MasterHacker110
0
150
Member Avatar for Liam_1

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: # # # # # # # # # # # # # . . . . . . . . . . …

Software Development gaming os-x python
Member Avatar for TrustyTony
0
707
Member Avatar for Franze

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
Member Avatar for Ketsuekiame
0
202
Member Avatar for wavsyntax
Member Avatar for Franze

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
Member Avatar for Ketsuekiame
0
13K
Member Avatar for shenn.to

How can add new tab on a tab page control by clicking a child node in a treeview?

Software Development vb.net
Member Avatar for shenn.to
0
248
Member Avatar for shenn.to

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
Member Avatar for shenn.to
0
176
Member Avatar for bigdawg22

any one know how to write a PSEUDOCODE for a 24 hour clock?

Software Development c++
Member Avatar for bigdawg22
0
676
Member Avatar for nnayram

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
Member Avatar for hericles
0
156
Member Avatar for yvrej17_1

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 …

Software Development promotion vb.net
Member Avatar for yvrej17_1
0
425
Member Avatar for sujan.dasmahapa

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
Member Avatar for Ancient Dragon
0
355
Member Avatar for new_developer

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++
Member Avatar for Ancient Dragon
0
220
Member Avatar for fss

Hi! Is any one can help me how to set landscape orientation using Data Report in Visual Basic 6.0:)

Software Development visual-basic
Member Avatar for Ainnop
0
805
Member Avatar for charles.dupree.37

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++
Member Avatar for rubberman
0
850
Member Avatar for Petranilla

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
Member Avatar for Petranilla
0
310
Member Avatar for vyalineconstantino

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++
Member Avatar for ddanbe
0
306
Member Avatar for Dan_1

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
Member Avatar for JasonHippy
0
1K
Member Avatar for schematicc

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
Member Avatar for mathematician
0
310
Member Avatar for SaRa Ahmad

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
Member Avatar for SaRa Ahmad
0
216
Member Avatar for Franze

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
Member Avatar for Franze
0
277
Member Avatar for Ghufran Ahmad

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++
Member Avatar for rubberman
0
101
Member Avatar for MasterHacker110

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
Member Avatar for rubberman
0
161
Member Avatar for ram619

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 …

Software Development python ubuntu
Member Avatar for ram619
0
1K
Member Avatar for Neon Tetras

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
Member Avatar for mKorbel
0
1K
Member Avatar for james.lu.75491856

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
Member Avatar for james.lu.75491856
0
2K
Member Avatar for Sanchixx

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
Member Avatar for iamthwee
0
239
Member Avatar for Fangling

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
Member Avatar for Fangling
0
123
Member Avatar for sushilsth

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
Member Avatar for ddanbe
0
386
Member Avatar for sash_007

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
Member Avatar for sash_007
0
355
Member Avatar for piczim

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
Member Avatar for Ancient Dragon
0
129
Member Avatar for Labdabeta

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
Member Avatar for Labdabeta
0
303
Member Avatar for Jake.20

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
Member Avatar for Jake.20
0
1K
Member Avatar for pritaeas

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
Member Avatar for pritaeas
0
2K
Member Avatar for sushilsth

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
Member Avatar for sushilsth
0
476
Member Avatar for Spacecrawler

I created a combobox with certain values in it, I need to read the selection from the combobox into a text box. Any suggestions to help me get started?

Software Development vb.net
Member Avatar for Spacecrawler
0
103
Member Avatar for eshajoshi

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
Member Avatar for eshajoshi
0
229
Member Avatar for hdaccess

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
0
104
Member Avatar for sushilsth

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
Member Avatar for Begginnerdev
0
3K
Member Avatar for Vinod Supnekar

#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
Member Avatar for Gonbe
0
196
Member Avatar for Siberian

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
Member Avatar for JeoSaurus
0
119
Member Avatar for mathura.shreedher
Member Avatar for Tinnin

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
Member Avatar for Tinnin
0
190
Member Avatar for evan.winstead.7

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
Member Avatar for evan.winstead.7
0
230
Member Avatar for TechSupportGeek

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
Member Avatar for Luc001
0
2K
Member Avatar for حسنين_1

what is difference between char*name and char name[]

Software Development c
Member Avatar for Ancient Dragon
0
119

The End.