Does a Winform Framework exist for something similar to ASP.NET Masterpage or MS Access SubForm ?
With MS Access SubForm you can do like ASP.NET Masterpage. It's a huge loss of time with Winform when having to create a lot of complex form. You have to compensate with either Code Generation which create code duplication or do Runtime Dyn...
I have an aspx page that my colleague designed for me to stick on the back end. I made a few alterations to the page, adding various controls and things - and now the compiler doesn't recognize any of the controls on the page! The Intellisense is working just fine - I can type txtName. and as I push the . all the properties of a TextBo...
Dear Friends,
I have text file which contain the 15000000 Rows with the Comma delimiters..i want to import that file to SQL Table Through VB.net(2005) With 1000 Rows per seconds
Is that Possible through VB.net
Please help me...
Thanx in Advance
...
I currently have this line of code which has been working for the past 6 months:
If IsNumeric(txtProductID.Text) Then
...do stuff
Else
Dim msg As String = "Error!"
End If
All of the sudden, no matter what kind of entry is put in txtProductID (including plain numbers), it fails! Is there reason for me to be going crazy over this?...
i added the bindingsource control on my winform. here are the details of my connection:
http://img43.imageshack.us/img43/3797/42119312.jpg
when i test the connection, it says "the connection cannot be tested because the specified DB file does not exist"
the DB is located in http://sql0234mjf-2.ordfsweb.com. how should i set up binding...
i have the following module and i would like to test connection. how do i test if the connection works? can you please be very specific with your answer:
Imports System.Data.SqlClient
Module Module1
Sub Main()
' Create a new SqlConnectionStringBuilder and
' initialize it with a few name/value pairs:
Dim buil...
I am sorry to ask this on here as I know it is like doing my homework for me but I have a very urgent requirement to implement a single VB.NET instance of an application on a terminal server. To do this I am using code from the Flawless Code blog. It works well, except in the code is written in C# and uses an anonymous method which is no...
I am porting some c# code to vb.net, currently trying to figure out how to do this..
byte isEndReached = //get some data
if (isEndReached != 0)
{
for (int y = 0; y < isEndReached ; y++)
{
//do some stuff
}
}
My attempt:
Dim isEndReached As Byte = ''//getsomedata
If Not isEndReached Is Nothing Then
For y As Byte = ...
I recently learned of the IIF(A,B,C) function. I'm a long time VB/VB.NET Coder who recently spent a lot of time coming up to speed in SQL coding.
One (obvious) common thing to do in SQL is something like the following:
select (case where @var = 0 then MyTable.Val1 else MyTable.Val2 end) from MyTable
IIF(A,B,C) will allow me to do thi...
I am getting a "Method not found: 'Boolean MyCompany.LibraryAssembly.SomeFunction(System.String)'" exception/error when running a VB.NET console application.
The method is part of an external assembly and it is definitely in the assembly. The error only occurs at runtime when I go to enter the function that calls the method.
I have t...
How can i get the color of the caption of the active form in winforms?
(Without Api)
...
Hi,
The application should kill itself How to do in vb.net? Please Help me in this case...
...
Hello sir i installed vb.2005. asp webapplication template not come in new project.what i do sir
...
I converted some code from vb6 to vb2005 that opens a recordset and populates a listbox
with about 8,000 names. It uses classic ado.
The vb6 code does it in about 0.75 of a second, the first vb2005 code does it in about
5.5 seconds while the second vb2005 code does it in about 4.5 seconds.
Is there any way to improve the vb2005 performa...
After uploading an image file (with Greek filename) on my website the image was converted to ÁÕ1.gif (Chinese to me)
I am using this one to download the file from my winForms application
Dim test as string = "ΓΕΡ"
My.Computer.Network.DownloadFile("http://www.example.com/Images/" & test & ".gif", Application.StartupPath & ImageDir & fil...
Hi!
I'm searching about gadget development when I found this site.
I'd like know if somebody know how get open windows name?
I want get a collection of all the open windows. I know in VB.NET, but dont know in DHTML/VBScript for Windows Vista Sidebar.
If somebody can help me, I'll to stay grateful!
Thanks
Erik
...
So far so good... In asp we have the HttpUtility.UrlEncode
Is there any equivelant in vb.net?
I tried importing the system.web without any luck... yet
...
I have an access 2003 database file with hundreds of queries. I would like to rename all tables referenced from within my queries based on a condition
If tableNameInQuery = "tableName" Then
tableNameInQuery = "newTableName"
End If
Any suggestions or articles would be great.
Thanks
PS an example in either C# or VB.NET would be ...
Hello
Currently I have a Double which looks like 12.53467345 .. Now I would like to remove the numbers after the dot so i just get "12" , how could i do this? I guess with TryParse, but don't really understand how to do it.
Thanks!
...
The default code that VS generates for HomeController is:
<HandleError()>
Public Class HomeController Inherits System.Web.Mvc.Controller
Function Index() As ActionResult
ViewData("Message") = "Welcome to ASP.NET MVC!"
Return View()
End Function
Function About() As ActionResult
Return View()
En...