Does Exit Function return false?
In VB.NET on a boolean function if you run an Exit Function line will it return false? ...
In VB.NET on a boolean function if you run an Exit Function line will it return false? ...
I'm trying to save a Word document into iManage using ImportCmd from IMANEXTLib and I'm getting a new instance of Word every time I run it. I've saved the document to doc1.doc, and then: 'Connects to WorkSite Dim dmsConnection As IManage.IManDMS = New IManage.ManDMSClass() dmsConnection.ApplicationName = "My Application" ...
Hi all, I have a slightly odd problem that I think is most likely due to an act of foolishness on my part, but for the life of me I (and other members of my team) can't see it. I have an object that contains a generic list property which I would like to sort. I have written a comparer class to do this for me and I am calling it in the ...
In continuation of this question. Does VB.NET supports virtual events? ...
See this example: ''//file1.vb Sub Something() ''//... Functions.LogInfo("some text") ''//... End Sub ''//functions.vb Sub LogInfo(ByVal entry as String) Console.WriteLine(entry) End Sub Can I get the the name "Something" inside LogInfo? Sorry for the briefness of this post, I am not sure how to properly articulate...
Our office is about to finally spend some more money updating the in-house reference library and I suggested that we pick up some more books that focus on Object Oriented Programming/Design from a .NET perspective (which is what we focus in, primarily VB and ASP.NET). After doing a quick look through our current shelf we seem to only ha...
is it possible to write xml in silverlight with vb ...
I need to pass javascript date value to vb.net function. Method iam using now: convert javascript date to string store it in hiddenfield retrieve string from hidden field in server code and parse it using date.parse the trouble is that the Javascript dateformats toString() - Sat Apr 4 22:19:00 UTC+0530 2009 toDateString() - Sat Ap...
Can someone provide an example of linq querying various nested tables in a dataset? I can't find something like that on the net. Thanks ...
I have a custom WinForms designer, and I've just added functionality to create duplicate components using drag & drop (with the ctrl key held down) by inheriting from CodeDomDesignerLoader. Unfortunately, this works a little too well: the new components get all of the same property values as their originals, and I need some of those to b...
Hi, i have the following piece of VB.NET code: Dim conn As New MySql.Data.MySqlClient.MySqlConnection(ConnectionString) conn.Open() Dim sql = "SELECT * FROM users" Dim com = New MySql.Data.MySqlClient.MySqlCommand(sql, conn) Dim ds As New DataSet("dsUsers") Dim da As New MySql.Data.MySqlClient.MySqlDataAdapte...
Has anyone here used either of the following (or any other tool) to convert your vb6 code to a .net language? Artinsoft's upgrade companion (converts to c# and vb.net) vbmigration partner (converts to vb.net) How effective were they and what size project did you convert? How much work was left to do afterwards? How happy are you ...
I have an application that generates a replay of Air Traffic and I need to allow the user to capture parts of the canvas so it can be exported as a BMP of GIF. I did this in VB6, but not sure how to do it in WPF. I plan on drawing a rectangle around the intended capture area following the mouse till the user triggers the capture. Tha...
Just found an old IR reciever (Microsoft eHome Infared Transceiver) and i'm trying to write an application that can use data it captures... Any examples or jumping off points for this are appreciated. Thanks! ...
I'm mainly a flash and PHP web developer. I have been trying to learn some new languages and I thought it would be good to use VB.net for my introduction to .NET. However both online and offline I find a lot of elitism going on with VB being considered an inferior language when compared to C#, Java etc. Is VB.net really that bad a prog...
Today I realized that I no longer have a ”Web Content Form” option (where you select a MasterPage) when I add new items to my ASP.NET web application. I know how to manually add a MasterPage to a web form, it’s just such a pain – and I really don’t understand why Web Content Forms suddenly are missing. Visual Studio Team System 2008, SP...
1 <span class='Txt9Gray'>Decisions ( </span> I'm trying to grab the '1' from this string. Before the '1' is another span, but I can't use that as a marker because it can change from page to page. Is there any regex expression that can simply grab the '1'. The word 'Decisions' will always exist. That's my main way to find this lin...
Hello, When starting my application, I have a couple of classes which are required to read certain files in order to create a set of default data. The logical place (to me) to do this is in a Shared class constructor; the idea would be to throw a class-level event if the reading of the defaults file fails. Unfortunately, this does not ...
My application scan through the excel files and generate a report having count of Activex controls in each excel file. But while running the tool from client machine we are getting an error on opening the file (for some file not all) and the files are located in the sever side, as follows: "the rpc server is unavailable (exception from ...
Hi, I have a managed directx 9.0c application that fails to run on some low spec machines (ones without graphics card). I am wondering if anyone has any suggestions with regards to the minimum directx caps to test for so that I can catch a potential failure before trying to run the application. The directx application only displays a ...