Search:
Type: Posts; User: Slabs1960
Search:
Search took 0.04 seconds.
-
Thanks. That was very well explained. A nice guideline to use in the future.
-
Just curious. Which one is the better one to use and why? Part of the learning process.
strStatusAddr = CType(1000 + (2 * intDevicenumber), String)
strStatusAddr = (1000 + (2...
-
Thanks. I stand corrected. But it works for my application. I will keep your solution in mind (saved to my solutions directory) for future applications
-
Thanks for the reply.
I solved the issue by using ASCII encoding. It creates a UTF-8 only text file.
File.AppendAllText(strPOUFilePath, strPOU, Encoding.ASCII)
-
I have trawled the web. Seen some simple to esoteric solutions proposed. But none work.
I need to create a text file in UTF8 encoding with no BOM. Every method I have tried still includes the...
-
After the comment from jmcilhinney I rewrote to code to print the image, and not the form.
It prints, but the image is too large, and needs to be resized. I added some code to resize, but it is...
-
I would like to print the image.
-
I am trying to print a Windows Form Popup. I has a GIF image on it, in a PictureBox. At first, I used the PrintDocument component. Then I tried the PrintDialog. The reason being, I want to give the...
-
I am catching the exception.
The problem was, when the Data Set was cleared, the Sub (separate) saw the change, and tried to update the checkbox. Since the value was NULL, the exception occurred....
-
Hi Wes
Thanks for the effort. I found my problem. Been struggling with this all day. You know what they say if you are dumb you must suffer (that's me)
I have another sub that updates the...
-
Data Table field is a Boolean. DGV Column is a CheckBox (ViewedDataGridViewCheckBoxColumn) bound to the Boolean field in the data table.
-
Thanks Chris will give it a try later.
-
0
down vote
favorite
I have a table with a bound DGV. The table has 12 columns, one of which is a check box. The table has data in it and there are no problems.
I want to clear the table and...
-
Thanks. Tried it. Still does not work. :sick:
-
Thanks Chris. Tried it. Does not work.
I thought maybe I made a mistake with the name in "Dim xlp() As Process = Process.GetProcessesByName("Microsoft Excel")". So, I tried "Microsoft Excel (32...
-
No change. Thanks
I have been testing the code. I have noticed, that sometimes the Excel instance is closed. Other times, not. All Excel instances are closed when the application is closed. Your...
-
I am using Microsoft.Office.Interop.Excel and Microsoft.Office.Interop.Excel to import data from a Excel spreadsheet (Office 365). This is new to me and I have been playing around with the code to...
-
After playing with this I found that after setting this Tools-> Options-> Debugging-> Symbols. Select checkbox "Microsoft Symbol Servers". Visual Studio will download PDBs automatically., and running...
-
I do not use it, currently. So, I will ignore it for now and worry about it later if I need it.
Thanks
-
Ok. I did a bit of digging on the web. After a while I came upon these suggestions:
Tools > Options > Debugging > Native and check Load DLL Exports
Did not work for me.
Tools-> Options->...
-
Thanks. I have 2 other machine with VS2017. Will give it a go.
-
When running my project the Output Window displays the following message:
It does not seem to affect the running, or functionality, of the code. What am I missing here?
-
I have a project that I have been working on for a while now. It uses .Net Framework 4.6.2. I was wondering if there is any benefit to upgrade it to .Net Framework 4.7.1.?
I have looked but cannot...
-
That did the trick Thanks
-
I have a GroupBox on a form. It has four Radio Buttons, that are used to filter a DGV.
The Radio Buttons are No Filter, Type, Constellation and Type. There is an associated ComboBox on the form....
-
I have been referring to this: https://msdn.microsoft.com/en-us/library/kzy0fky2.aspx
This explains how to get my data file included. But I cannot find how to include a text file and DBF file.
-
I have been through all the options under Project/ Properties. References, Resources, Publish (Prerequisites), etc. I have browsed the web and cannot find a clear reference on how to add data files...
-
Was thinking of the ClickOnce Installer. Have tried to add the files to the project but they are not included in the install. Where would the correct place be to add the files?
-
What is an elegant way to publish a VB app install, exe file with associated data files. An Excel workbook, xml file and a text file. Once I know this I can figure out to place them in a fixed...
-
I use some thing very similar.
'Add Rows
For i = 0 To DGVConfigurationFile.RowCount - 2
For j = 0 To...
-
This is PLC's (Programmable Logic Controllers by Siemens, Schneider Electric, Mitsubishi & Allen Bradley) we talking about. Some of these are form based. Uugh.
-
This is a good question. I am not an expert, but from my reading the same questions passed through my mind.
The only way to answer that one is for me to submit a post explaining what my whole...
-
CRLF does not work. Has to a LF only
-
This is a device type. Depending on the size of the Process Plant, there could be 50 to 60 of them, identical except for a unique TagName and Device number. To add them to the PLC by manually could...
-
Using VS2017. Forgot to add it to the post.
I think I get the idea. Will give it a try.
-
:confused: More detail please. What popup, what does it say?
-
The format will always be the same. But I do not understand what you are saying. Please explain.
-
There is always ONE exception to mess up a simple pattern :D
-
Thanks Sitten Spynne , Shaggy Hiker for the great replies and compliments :blush:.
The reason for this that the "Device Number" comes in as a string. So in order to do the calculation I need to...
-
Thanks for the replies. I have my own standards (not from VB, but other software I use in the Automation programming field (PLC's, etc.) They are similar but not the same.
I thought to post it...
|
Click Here to Expand Forum to Full Width
|