Most voted "vb.net" questions
Visual Basic . NET (VB.NET) is an object-oriented computer programming language that can be seen as an evolution of Microsoft Visual Basic 6 (VB6), but applied on the . NET Framework by Microsoft.
Learn more…682 questions
Sort by count of
-
1
votes0
answers26
viewsUndocumented attribute: Forcetokenstabilizationattribute & __Dynamicallyinvokableattribute
I discovered an attribute undocumented, and he is Friend, is located in the namespace System.Runtime.CompilerServices, as it is used in the system, it has no documentation. I tried to decompile this…
-
1
votes2
answers5074
viewsEncoding ASP Classic
I have an application in .asp and was having problems with special characters, they were printed on canvas in a totally unnatural way. To solve the problem, I applied: Response.CharSet =…
-
1
votes1
answer156
viewsSave data and insert into Checkbox
To start I will already expose my problem: After the person responsible for adding this new service how will automatically appear in the form where is the list of all services in checkbox form? At…
-
1
votes1
answer1405
viewsStreamwriter - Cannot access the file because it is being used by another process
Guys I have the following code below that when executed it always returns me the error that is being used by another process. I guarantee there’s no other lawsuit opened with him! #Region…
vb.netasked 9 years, 1 month ago Vyctor Santos 13 -
1
votes1
answer238
viewsIs it possible to change CSS in Webbrowser VB.NET?
Hello, all good folks? my next question... I want to disable all background-image so... wanted to take the html of the whole page and put nothing in the tag "background-image" always leave empty. in…
-
1
votes1
answer731
viewsHow do you turn off a key in a full form?
How can I disable key TAB or ALT program? Example: clicking TAB does not make any changes. It is possible in the KeyDown?
-
1
votes0
answers52
viewsWebservice VB passing parameters to C#
Good morning, We have two systems, one of them is in VB and the other in C# an identity manager (which serves to unify the login, we will put more systems inside it so that there is only one login…
-
1
votes1
answer676
viewsHow to use Updatepanel in gridview?
I have a grid and I want to make it not give postback when clicked on any boundfield (those stock buttons). I did so below, but always updates the page. <asp:ScriptManager ID="ScriptManager"…
-
1
votes2
answers128
viewsList the daily records?
My program does the insertion of records of both the services and the computers of a school library. As such the library office has to make a daily record and I would like to know if it is possible…
-
1
votes1
answer148
viewsUse "SUM" in access + Vb.net
I have a small problem in the Access query , where I have the following code : Dim cn As New OleDb.OleDbConnection Dim cmd As New OleDb.OleDbCommand Dim Da As New OleDb.OleDbDataAdapter Dim Dt As…
-
1
votes2
answers2679
viewsCopy text from a textbox
How can I make the "Copy" button copy all text from the textbox?…
-
1
votes0
answers345
viewsPrinting Multiple Datagridview
I am creating a Vb.net report with my Datagrid data and trying to send it to print. However in this project I am using two Datagrids , one for a table Report , and another for the table Report. the…
-
1
votes1
answer1045
views -
1
votes0
answers41
viewsImport and export date file - DATABASE
Boas. Scenario: "I have two pc’s, with the same program that uses a database. I want to export the data from one PC to put on a flash drive and import to the other PC" Question: How do I select…
-
1
votes1
answer117
viewsExport Dataset to Excel with Spreadsheetgear
I’m trying to export 7 datatables to a spreadsheet, each datatable into a sheet using Spreadsheetgear. I am having enough difficulty in returning the data and exporting them to excel. This is my…
-
1
votes1
answer893
viewsSelect span, and grab the text inside
I have the following HTML code: <div class="dados"> <span><strong>Nome:</strong> Yuri Santos</span> <span><strong>E-mail:</strong>…
-
1
votes1
answer294
viewsHow to make the Split in some lines except specific?
I want to make a dynamic list that uses the Regex.Split separating each item by the character of a new line, except when you’re in the fields ( ... ) in my lines of code, as follows the example: var…
-
1
votes1
answer569
viewsHttpwebrequest with SSL
When I have to play a few steps (GETS and POSTS) of an access all https using .net I need the use of ServicePointManager.ServerCertificateValidationCallback. Then there came my doubt, it is…
-
1
votes1
answer384
viewsHow to delete information in BD using Datagridview?
Can anyone tell me which command should I put to delete from the database using the information of the selected phone? I put it like this: SQLcmd.CommandText = ("DELETE FROM usuario WHERE nome = '"…
-
1
votes1
answer1315
viewsWebbrowser problem to click on elements of the site
Hey there, guys! I need to access this link: https://br.answers.yahoo.com/question/index?qid=20140809134831AAoevh8 Using IE, Chrome, Firefox... any browser I can normally with no errors, but when…
-
1
votes1
answer1509
viewsInsert without specifying columns
I have several tables T1, T2... TN, each one can have columns in common or not. My final table F, contains all the columns (one time) of the previous ones. There is how I insert from each without…
-
1
votes0
answers66
viewswhile function using System.Drawing.Printing adds nothing?
I would like help on a report I am creating via code... Next in the data insertion part taking from a datagridview I’m in trouble, when I use the command While on the page printPreview appears the…
vb.netasked 8 years, 10 months ago Aaron Nto Shinobi 81 -
1
votes1
answer453
viewsText inside a picturebox
I want to do it in PictureBoxes for when I pass the mouse she show the message I wrote. How can I do? Remembering I use the version Visual Basic 2010…
-
1
votes1
answer129
viewsHow to make the loop wait to load the webbrowser component before going to the next item?
I am reading the contents of a textbox, and using a "loop for each" to pass the string in sequence to the url on localhost that contains php code: $var = $_GET["nts"]; echo $var; So far so good, the…
vb.netasked 8 years, 9 months ago user3624529 11 -
1
votes1
answer72
viewsReportviewer - Data merges columns when exported to excel
I am generating a report and exporting to excel, using Reportviewer and Dataset. Reportviewer consists of a table and two textbox, that refer to the title and company, and an image. After doing some…
-
1
votes2
answers2117
viewsWhat is a literal?
In that link from the MSDN website says that a literal is: A literal is a value that is expressed as itself rather than as a variable value or the result of an expression, such as the number 3 or…
-
1
votes1
answer146
viewsHow to pass more than one argument using Process + Openssl
Using the following code I pass a certain argument, then I need to pass a password that Openssl requests, but how do I do that? I tried the StandardInput but I received an exception: Additional…
-
1
votes4
answers1276
viewsHow to get the amount of records from a Datareader?
I am doing a query in a database, but need to know how many records I will get from this query, before I even start crocheting. Note: I don’t want to put a counter inside the mesh, I need the value…
-
1
votes2
answers80
viewsHow to change a button event?
I need to change an event. Click one button by clicking another, but do not know how to do it. Making common method of Button1.Click = , the program gives me as error. I’m doing in VB.NET. How can I…
vb.netasked 8 years, 3 months ago Catharina Lopes 160 -
1
votes2
answers414
viewsInsert CSV file data into the pl/sql Database using VB.NET
I am reading a csv file by a Console Application, and up to this point is returning me correctly. Now I’m having trouble understanding how to include each field in a Bank column. This is the code I…
-
1
votes1
answer31
viewsHow to use a table in the database with different fields of the model layer?
For example, I have a table where the field in the bank called COD_CLIENTE, but in the model layer it is ID_CLIENTE, how to access this value without changing the name of the in the VB.net? Partial…
-
1
votes1
answer66
viewsHelp in basic visual programming
Private Sub GridWithLoop() Dim sum As Integer = 0 Dim sum2 As Integer = 0 Dim allrow As DataGridViewRow Dim band As DataGridViewBand For i As Integer = 0 To DataGridView2.Rows.Count() - 1 Step +1…
-
1
votes1
answer1317
viewsImport Excel data to a Visual Studio Listbox
I want a help on the title problem... I know I can make this import by VBA, but I want my program to detect the format . xls from a spreadsheet and extract your data to a Listbox within Visual…
vb.netasked 8 years, 2 months ago Catharina Lopes 160 -
1
votes1
answer477
viewsHow to hide process by clicking button
I wonder if it is possible I get the id of a program like in the example and hide it (since it is already open), taking it from the navigation bar (http://i.imgur.com/fiAQ3fJ.png), that is, when…
vb.netasked 8 years, 2 months ago Wladi Veras 379 -
1
votes1
answer355
viewsChecking browser and version with REGEX
I am working on a Vb.net MVC system and need to detect the browser and version. I will only use Chrome, and IE9+. I was wondering if I could simplify the verification structure using Regex. Below…
-
1
votes1
answer76
viewsHow to make Usercontrol fill all Tabpage
I am placing a Usercontrol inside a Tabpage. When not Maximized, the Usercontrol fills all Tabcontrol However, if I maximize the screen, there is a space on the right. I used usercontrol winforms…
-
1
votes1
answer953
viewsReferences of Subs and Functions where it is being used disappeared in my Visual Studio
Where I have the option in Visual Studio 2015 to show the Sub/Function reference, where they are being used. (Ex: Recorded Function > I call it in the Save button), at the top of the Function…
-
1
votes0
answers35
viewsAre there differences in the performance of variables implicitly and explicitly stated?
There are differences in performance of explicitly declared variables? List<int> lista = new List<int>(); And implicitly stated? var lista = new List<int>();…
-
1
votes1
answer342
viewsDatabase Login when generating report in Crystal Reports VS2008 - VB.NET
Good morning late evening I already know that there are some topics related to this same issue that I am raising, but none participated in exactly the same conditions that led to the same event, as…
-
1
votes1
answer47
viewsWhat is the equivalent of the Handler clause in C#?
I’m following this one tutorial to try to get Skype to automatically accept lost friendship. The tutorial is in VB and I have to translate code to C# the problem is when I got to part of Handler, i…
-
1
votes0
answers351
viewsCreate and save text file(.txt) with Vb.net?
Layout Utilizado Nomenclature: XXXXXX_DDMMYYY_ZZZZZZ.TXT DD = DAY / MM = MONTH / YYYY = YEAR: XXXXXX = It will be a 6-digit fixed code with zeros on the left. ZZZZZ = Will be a sequence of the file…
-
1
votes1
answer89
viewsHow to use Registerstartupscript one after the other?
It is possible to use ScriptManager.RegisterStartupScript one after the other? 'Cause I need to use one like tabChange(); and another to display the modal, but in case it only executes the first.…
-
1
votes2
answers72
viewsSorting Code does not return correct value
I have a class assignment whose need is to use an sorting algorithm to sort a list of random numbers. My problem is that I am throwing the items from the random number list into an array,…
-
1
votes1
answer73
viewsError saving information from an ASP.NET page to the database
I have an application developed in ASP.NET (VB.NET) with two Radiobuttonlist and a Textbox where this information is returned by VB and recorded in the database, when clicking on record the system…
-
1
votes1
answer38
viewsThe angles are crazy!
I’m creating a simple orbiting system, where you have the earth and the sun, created on the basis of a UserControl, the problem is I don’t know why the angle gets crazy by placing an angle on the…
-
1
votes1
answer255
views -
1
votes1
answer102
viewsWhat is "-1. #IND" in VB.NET
I have a variable that is receiving this value, which is not a STRING, so what is it? And has some way to detect if the variable is equal to that through an IF?
-
1
votes0
answers17
viewsDoubt with Decompiling VB.NET project
A class compiled in J# or Vb.net after is in a DLL, there is some program that can decompile by passing a code that is in Vb.net to C# or J# to c#?
-
1
votes1
answer911
viewsCapture pressing a key in the background
Hello, I would like to make my application detect when a certain key is pressed, but in the background, IE, there will be no form on display. I can detect the keys in the form with the code…
vb.netasked 7 years, 4 months ago Gabriel Sarates 69 -
1
votes1
answer234
viewsDatabinding for JSON.NET objects: how to implement?
My application handles a lot of HTTP requests that return JSON data. I use the JSON.NET library to manipulate them. Here is a simulated and quite summary example of the information (there are…