It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I want to make an button that runs an action with the frequency from an number input in Visual Basic .NET . How do I do it? Could someone point me out the syntax of such an action?
#Jon, I think that's C++, I am talking about VB.Net.
#Adam Davis, VB.Net 3.5 and all that I want to do is use an number from "NumericUpDown" to give a button how many times the action the button has to do it.
Dim i as integer
For (i = 1 To InputNumber)
'Code here
Next
This should do the trick.
For i As Integer = 0 To CInt(NumericUpDown1.Value)
'Code to execute
Next
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
When i'm ready to use autocomplete i press enter but instead of getting the completed word the new line is added. What am i doing wrong?
Use up/down arrows to select completion variant or set this option to Always:
Yikes, the problem was that i misconfigured keymap. The enter key works by default.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Using Visual Basic .Net, I would like to receive a notification from Windows whenever either a new program or a shortcut is created in a particular path (let's assume for example: C:\Users\name\AppData\Roaming\...\Programs\Startup).
How can I achieve this?
You could use a FileSystemWatcher for that path and handle the Created event.
FileSystemWatcher-Tutorial
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
How to show the progressbar while updating 10-30 thousand records in ms access database.
Without more details I can only offer a list of operation to be done:
First you need to know how many modified/inserted record are
present.
Then you should subscribe to the event RowUpdated of your
OleDbDataAdapter.
Set the progressbar initial value to zero and the maximum value to
the count of modified records.
In the RowUpdated event increment by one your progress bar value.
See for reference the OleDbDataAdapter docs on MSDN
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
i am very new to objective-c, but i want to make some app that does the following:
1 It has object library (shapes, text fields and so on), i keep in on a panel on my app.
- the task is to drag a shape to the main form and place it somewhere where i like on my form: kind of same thing like in the Interface builder.
2 resize the shape (Actually an UIIMage).
It's pretty same with the Interface builder.
I would very appreciate for any example code that helps me to solve this task.
EDIT:
Exactly the same but for iOS exists here:
https://github.com/spoletto/SPUserResizableView
As i can see in the code it's not very easy task so this question is considered answered.
You can start by checking this out:
https://developer.apple.com/library/mac/#samplecode/DragItemAround/Introduction/Intro.html
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
how can i write custom code in rdlc report in c#.
I found examples in vb only.
Could u explore more about image in embedded external and database mode.
The report will only allow VB Code :(