Hi
I'm trying to publish a Windows application using Clickonce. I've built the project in Release/Any CPU. This is what I'm doing:
- Right click on the project and Publish
- Specify the location ftp://mywebsite.com/Subfolder/ and click Next
- Choose From a website, enter the URL...
Hi
Please could someone explain what I'm doing wrong here? This function is meant to load an image from project resources, draw some lines on top of it, then return it. The collection of lines is definitely legit, and the DrawLine command is executed in the loop. But it just returns a blank...
Hi
I'm trying to post a JSON request to a web service. I've attached the code I'm using below, as it currently stands. It's returning a 401 - Unauthorised error from the server.
Variables:
uri = the path to the service in Uri format
jsonDataBytes = the JSON request serialised into a byte array...
Not really, that would be extremely unnatural the way the program works.
I think I'm going to have to park it and go back to using Paint (which works perfectly) for now. Thanks for the replies anyway.
This is getting a little frustrating. I replaced
pInfo.FileName = "mspaint.exe"
pInfo.Arguments = """" + System.Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) & "\DrawingTemplate.bmp" + """"
with
pInfo.FileName =...
Thanks for the reply. It's not great that this doesn't work though really is it :-(
I'm trying just setting the filename property to the image directly, then would have to insist that the user sets the default program to Paint-3d if they want to use it. Annoying if this is the only way to do it.
Hi
Does anyone know how to launch the new Windows 10 Paint 3d app programmatically? I've got the code below for opening a file for the user to edit with Paint using the ProcessStartInfo class, and I'm trying to do the same with Paint 3d, which seems determined to hide its program location from...
Hi,
Strange issue with the .Net Combobox - the SelectedValue is disagreeing with the SelectedItem.
Dim VATCategoryAdapter As New IClarityDataSetTableAdapters.VATCategoryTableAdapter
Dim newVATCategoryTable As New IClarityDataSet.VATCategoryDataTable
.
.
newVATCategoryTable.DefaultView.Sort =...
Got it!
Okay, I've finally solved this. Hopefully the fix might help someone else. What I did is below. tmrRefresh is a Timer with an Interval of 1 millisecond.
Private Sub dgv1_RowHeightChanged(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewRowEventArgs)...
Thanks for the reply, but unfortunately the datagridview is unbound :rolleyes:
I'm going to try to investigate whether there is any event which occurs immediately after the RowHeightChanged event, or if not, if there is any way of creating one.
If you know anything about this I'm all ears...
Sorry to resurrect this old thread, but I've returned to have another look at this, and I've defined the problem much more clearly. What is boils down to is this: the exception is thrown if I remove rows from the DataGridView on its own RowHeightChanged event. In other words, it looks like you...
Ahhh, don't worry, I've got it. Classic case of explaining it to others causes you to realise what the problem is yourself.
If anyone is interested, SQL views do not like the ORDER BY clause, because they are intended to return unordered data. Therefore, although I had used a workaround to make...
Hi
I've got a TSQL view which looks like this
SELECT TOP 100 PERCENT --Needed for the ORDER BY clause
N.NHSReasonID
,N.Reason
,N.Notes
,N.TopValue
FROM
dbo.NHSReason N
ORDER BY
N.TopValue DESC
,N.Reason
In my VB.Net application, I have a ComboBox which uses the above as its datasource...
Same error unfortunately. I'm sure just about every method I've tried would work under 'normal' circumstances. There's just something bizarre about what I've done and I can't figure out what it is. Thanks anyway.
Yeah don't worry, I think I'd have to post the entire class for that, so you could see different circumstances in which the method is called. I'll shelve it and come back to it later, make do with the workaround for now. Thanks anyway.
Hi, thanks for the reply. Unfortunately this approach still gives the same error. Probably I should have given some more detail than I did, so here you go:
The datagridview shows a list of appointments in chronological order, which are stored in a database table. The idea is that the the user...
Hi
I wonder if anyone could help with this issue. I have an unbound datagridview from which I am trying to remove the top half of all the rows. Currently I am doing this:
<CODE>
Dim totalRows As Short = dataGridView.Rows.Count
For Each indexRow As DataGridViewRow In...
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.