Hi!
Just curious if anyone knows if it's possible to format numbers in the DataGridView so they look like the Accounting format in Excel. This is different from the Currency format (which I know how to do).
for example:
$5000.00
$3000.00
$2500.50
_$100.00
That is currency formatting, the...
...stkResponse As String, apiKey As String, xmlHTTP As Object
Dim sPos As Integer
Dim splitResponse() As String
apiKey = "*Redacted*"
URL = "https://www.alphavantage.co/query?function=GLOBAL_QUOTE&symbol=" & Ticker & "&datatype=csv&apikey=" & apiKey...
I was curious if anyone has ever used the Alpha Vantage free stock feed API in VB.Net.
I've looked at several pages, but my knowledge of installing third-party ... things into VB is dismal at best. Sorry I can't be more specific about what I want. I know so little, I don't know how to...
D'Oh! See, I told you it was something basic. Must be the lack of sleep.
I changed the line in the Mousedown event from:
Dim img As New Bitmap(picGrid.Width, picGrid.Height)
To:
Dim img As New Bitmap(picGrid.Image, picGrid.Width, picGrid.Height)
Thanks.
...picGrid.Paint
Dim objPen As Pen
Dim objPicGraphics As Graphics = e.Graphics
Dim picSizeX As Integer = numColumns.Value * numSize.Value
Dim picSizeY As Integer = numRows.Value * numSize.Value
picGrid.Size = New Size(picSizeX, picSizeY)
objPen =...
You know, if anyone has a better (or even comparable) idea on how to layout a grid that can be easily adjusted by the user and then filled with an image or text, I am more than happy to hear it. I'm getting nowhere with this.
Ugh right, sorry. Didn't even think of that. It's straight text from a font I have of different shapes.
They pick the pattern they want, it goes into the text of a label then they click on a cell in the datagridview which places the text into the cell. It's a simple app, I've tried to keep...
Greepings,
I've been banging my head on this for a few hours now and I can't seem to figure out a way to get around it. I've got a datagridview setup with lots of empty columns and rows. The user clicks into a cell to fill it with a pattern they've picked. I want the patter to go right to...
Okay. so I figured this out.
Here is the updated code:
Public Sub FillMeetingMembers()
Dim MListRowVals(6) As Object
Dim MGID, MemberName As String
Dim cbCol As DataGridViewComboBoxCell
grdRoleCall.Rows.Clear()
For idx As Integer = 0 To...
Sorry if this is going to sound snarky, but I've been frustrated with this for a couple of days now. I know WHAT I want to do, I don't know HOW to do it. People have suggested theory, but no practical help. I've googled the heck out of it and can't find anything.
I've changed it to this,
Public Sub FillMeetingMembers()
Dim MListRowVals(6) As Object
Dim MGID, MemberName As String
Dim cbCol As New DataGridViewComboBoxColumn ' <- Added this line
grdRoleCall.Rows.Clear()
For idx As Integer = 0 To...
So I have a DataGridView control, it has a few columns, one column is a DataGridViewComboBoxColumn. I have pre-filled it through it's own Items collection with the numbers 0 to 9. I want to pick one of the numbers as a default when the program loads, how do I select it's index?
Here's the...
Thanks for that input, but that wasn't it. :( You can't have negative values in a logarithmic chart and stocks and mutual funds DEFINITELY go into the negative. lol But it was a good idea!
So I want to do a perspective graph, but when I google it, all I get is information on how to do 3D.
Now, what I call a perspective graph might be known as something else so here is an example of what I call a perspective graph.
The distance between 1 and 10 is the same as 10 and 100 and...
Hey!
Sorry for the delay in getting back to this, I had to take my annual vacation. :)
To be completely honest, your way (and microsoft's) seems hopelessly and needlessly complicated. So many things that have to be added and linked. It's definitely NOT simple, even though I'm sure that it...
That's ... not ... editing the rows.
Lemme explain. :)
This table has 5 fields. (There are two other tables, but if I can get this one working, the other two will be easy to change)
FID - The unique Autonumber assigned by the database upon creation of a row, used as a Key.
FCode - The unique...
That's quite a lengthy explanation! But your code example only shows adding new rows. I don't have a problem adding rows, just editing rows that are already there. But I think your suggestion of the conflict option is what I'm looking for. I'll dig more into it when I'm more awake ... and at...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.