vb.net-2010 Questions
3
I will have to create columns in datatable during runtime and assign values to it. How can i do it in vb.net. Any sample please...
Repress asked 28/6, 2012 at 7:50
3
Solved
Replace("",vbLf, "")
Go figure.
It should return ""
No. It returns nothing.
Just put the code in vb.net
I think it should return "". Replace all occurance of vbLF with "". Because the origina...
Riel asked 28/2, 2012 at 2:49
4
Solved
Is there any way I can convert a date of format: dd/mm/yyyy to yyyymmdd format? For example from : 25/07/2011 to 20110725? in VB.NET?
Briony asked 28/7, 2011 at 12:22
5
Solved
I use a temp table in a Stored Procedure with LINQ to SQL. I add the stored procedure to Linq to SQL dbml file then project occur error message
"Unknown Return Type - The return types for the fol...
Bills asked 30/3, 2011 at 15:49
4
Solved
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim myconnection As SqlConnection
Dim mycommand As SqlCommand
Dim ra As Integer
m...
Relativistic asked 16/1, 2014 at 23:21
9
Solved
What is the difference? I always use ByVal, but, I don't really have a good idea of when should I and when not...
Blim asked 5/2, 2011 at 18:20
4
Solved
I use to work in C# and use Ctrl + G for go to line but it is not working in vb.net. Can you please. Edit menu > Go to even not show any short key. If I press Ctrl + G it opens immidiate window. Is...
Spreader asked 18/3, 2013 at 22:18
4
Solved
I have made an application and some of its features only work with admin rights,
How can I check if application is running with admin rights or not ?
And show a message box if application is not...
Promptitude asked 19/4, 2017 at 11:42
3
Solved
We have several projects in VB.Net, using .Net Framework 4 and Linq to Entities for many of our SQL queries. Moving to EF is a new shift for us (been using it for about 4-6 months) and has the back...
Edgeworth asked 10/7, 2012 at 18:46
1
Solved
I am following this Edraw Link.
I was able to search for one of my problem using this LINK.
My code now is
With AxEDOffice1
.PrintOut(EDOfficeLib.WdPrintOutRange.wdPrintRangeOfPages, 1, 1, "",...
Cycle asked 23/1, 2017 at 3:0
3
Solved
I am new to windows desktop application development.
I have created an application using visual - studio 2010 in which I have used one form for data entry. One form with report viewer control and ...
Ashford asked 18/3, 2013 at 10:16
3
When I build the release project of the vb.net 2010 I just started using, I get two warnings:
the version of the .net framedwork launch condition does not match the selected .net framework bootst...
Maxillary asked 27/2, 2013 at 6:10
2
Solved
Dim ImagePath As String = "images/spaceship2.png"
Dim img1 As Bitmap
Dim newImage As Image = Image.FromFile("images/spaceship2.png")
img1 = New Bitmap(ImagePath)
pb2.ImageLocation = ImagePath
pb1...
Winner asked 3/11, 2013 at 1:22
3
Solved
I'm using a set of graphics overlays to draw an image inside a picturebox control using the graphics object. I have placed the Picturebox inside a Panel and set the Panel to autoscroll. What I need...
Saritasarkaria asked 21/11, 2012 at 15:39
5
Solved
I am trying to set up a date range filter on my UI, with checkboxes to say whether a DateTimePicker's value should be used, e.g.
Dim fromDate As DateTime? = If(fromDatePicker.Checked, fromDatePick...
Kielty asked 26/9, 2012 at 6:29
8
Solved
I have a welcome to my application as it loads up, but then need to have that form close and login form open when the continue button is hit.
My code:
Me.Close()
Dim Login As New Form
Login.Sh...
Nurseryman asked 28/8, 2013 at 14:56
2
Solved
How can i replace "Enter" in one of fields in the database with space
actually I have tried the below codes in vb.net, but non of them is working for me ,,
address = Replace(address, System.En...
Loria asked 21/11, 2012 at 9:30
2
Solved
I'm developing a tiny UDP console to send some data to test some GPRS devices so I modify an example that I found in CodeProject that it uses one thread; but I get an issue when I want to exit the ...
Revers asked 31/3, 2014 at 13:17
2
Solved
I need to be able to determine if the SHIFT or CTRL keys were pressed when the application is launched
How can I do this for a Windows Forms Application?
Size asked 18/3, 2014 at 10:19
3
Solved
I have a VB.NET 2010 Winforms application where I'd like to include line numbers in the stack trace. I've read the following question and answers:
how to print out line number during application r...
Willman asked 27/12, 2012 at 0:6
1
Solved
I am using this code in my aspx file:
<%MailValidation(Email.Text)%>
<asp:RegularExpressionValidator runat="server" ID="RegExpValidator" CssClass="failureNotification" ControlToValidate...
Topnotch asked 4/12, 2013 at 21:9
2
Solved
I have a log file in my project. This file is a text file (.txt). Is there a way to open this file when a button clicked without using the OpenFileDialog tool?
Note that I'm using VB.NET 2010.
Purdah asked 16/9, 2013 at 10:7
2
Solved
I need to display a list on a ListBox component in VB .NET.
// params is a string representing a path, empty means root folder
params.itemsPath = ""
// resp is a response object, here it is a Str...
Lost asked 18/11, 2010 at 13:11
1
Solved
Im a little stuck on some code that im writing
An outline is that i am reading some data in from an SQL database and wantint to display it in a DataGridView on a form. I have confirmed that there ...
Chirr asked 9/8, 2013 at 16:42
4
Solved
How to add a child node to a specific node in treeview? Say I have "Item1" in treeview already, how do I add "SubItem1" to "Item1" as it's child node?
I know its probably really simple, but i trie...
Microphone asked 1/4, 2012 at 11:4
1 Next >
© 2022 - 2024 — McMap. All rights reserved.