Search:
Type: Posts; User: kaliman79912
Search:
Search took 0.03 seconds; generated 27 minute(s) ago.
-
In VB.Net, I have a module that I use for all my projects. I just add it as a link to the project and any changes are then compiled in any project that uses it.
In that module there is a sub that...
-
I am using VS2017 Community
-
Thank you jm, but I have tried that and it kind of goes that way, but even though it color codes the file, intellisense does not work when just registering the file extension that way.
-
I will not go into the details but I need this.
At work we have a ton of files with extension .svb, they have visual basic code. I would like to edit them in Visual Studio and take advantage of...
-
Yes, the binding source is bound to a view on my SQL Server. DataSource = MyDataSet, DataMember = vwStatesCities
I changed some parameters on the columns and all is OK. But if I move or do...
-
Hello
I have a datagrid view which is connected to a Bindingsource. I added the columns and changed their name and header text. Every once in a while, when I move or even just move the container,...
-
I have solved it my little own way and I thought I share it with all.
As mentioned in my last post, I put my Subs in a global module, using one single call to a Public sub to assign the Handlers,...
-
Sytten wrote something that made me wonder... what if I put the functions and subs in a global module, all public. And then just add the Handlers in the constructor of each form. That would still be...
-
Interesting, how would a DLL work here? For example: If I always wanted to run a procedure when any form is closed.
Private Sub MeFormClosing(sender As Object, e As FormClosingEventArgs) Handles...
-
Hello and welcome to the forum. Try reading your own post out loud and see if it makes any sense. I believe you have concepts and statements confused. A statement that makes a variable true all the...
-
Hello,
I have a section of code that I include in all my forms. It is pretty easy to just paste it when I create a new one. But the thing is that from time to time, I make changes to that code and...
-
I do not believe you can name your variables and/or objects at runtime. It will not even make sense because how would you reference them in the rest of the code? But that might not be what you are...
-
That is the correct way of doing it.
-
It is a good thing that you ask this question and that you prepare for your code in advance. Many different conventions are there and all have points for and against them. But the most important...
-
Does mpcs.image_resource table only have those 5 columns? if there are any other and they do not accept null values then it might be the issue.
-
Find returns the index. Then you can use an overload of Find that includes the starting index.
But since you have the text in a RTB, how losing internet connection affect it?
-
Dim myconnection As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Vb.Net Security\SecurityGuard\SecurityGuardmdb.accdb;Persist Security Info=False"
Dim str As String = "SELECT...
-
Something is wrong with this thread, I can't post code tags or edit my previous answer. Will try to update later.
-
Not only you need to add the reference to the project but you need either to import the namespace to the project or add the Imports statement at the beginning of the form's code.
-
Still, you are trying to use a DataReader with a SELECT statement that returns one single value.
Dim myconnection As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Vb.Net...
-
If you use ExecuteScalar do not use a DataReader, use an integer variable for that.
-
The thing is that your code is also set for always the same format, it is trying to take the first byte, assign it to the NodeAddress, eliminate it from the original string, etc. It will only work on...
-
I tried but can't compare them, your V2 zip has no project file.
-
It definitely sounds like references. I do not think is that you have a duplicate because you would get a message of the sort. Where are you checking your references? not only that, but it may be an...
-
The symptom still appears to be the same. Move your code from the load to the shown event to see what happens.
-
Put this as your single SQL command and you will get the remaining quantities in the QTY field
SELECT A.ORD_NO, A.ITEM_NO, A.ITEM_DESC_1, A.QTY_ORD - SUM(B.QTY) AS QTY
FROM VI_USER_LABEL_INFO AS...
-
Of course, you have commented your second query. You can put all of that into a single query and just read it. I will work on that and post it in a few minutes.
-
What is the code? it may have nothing to do with the theme, if you have an error in the load event it may just be aborting the sub and proceeding to show the form. This happens with 64 bit OS.
-
I am not saying it is wrong (it is), I would just do it a whole different way. But before we go into that, let me give you some advice about the code that you have.
* You are using a variable...
-
even if they are, only one will be assigned
-
At first I thought that you were getting an exeption in the load event and the form was not loading after all, but this is really weird
-
It happens to me a lot. I just do Build - Clean Solution and then Build - Rebuild Solution.
-
But if you want to search just if there is something on the TextBox
If TextBox4.Text <> "" Then
-
For what you are doing should be something like
If TextBox4.Text = "Text you are searching" Then...
-
But does the form still opens?
-
I will assume that you want to fill a range and not just a cell.
Convert your collection to an array and send that into the Excel range in just one instruction.
-
Without changing much, You could stop the loop once it found the match. Save a few ticks.
Public Sub DetermineCode()
For Each record In InputRecords
For Each code In Codes
...
-
OK, I have seen this before, the issue was on that time that the code in the module of the form had more than one class declared. This is acceptable as long as the form class itself is the first one....
-
I don't know the target for this application. But a solution integrating the gap will then only work fine on a Windows 10 computer. If you go with this approach you may need to check for the OS...
-
|
Click Here to Expand Forum to Full Width
|