What is the use of shared variable in vb.net?
What is the use of shared variable in vb.net? ...
What is the use of shared variable in vb.net? ...
I want to start a job in a new thread or using backgroundworker to do it but havent done that before and asking you wich way I should do it. My program has a datagridview with a list of files, one file per row. I want the user to be able to select a row and then press "Start download" to start a background job of the download. I want t...
Hey i am making a project on VB.NET in which my text boxes have FONT property set to "TERAFONT-VARUN, 12pt " which is for GUJARATI language. Now i want to save the data of text box into my MS ACCESS data base. I also want to retrieve that data for other purpose. Can you please tell me what to do? ...
Outlook wont let me send multiple drafts at the same time. Is there an easy way to send multiple drafts at once in outlook? without having to open each one individually? From what i've read, seen and tried; this is not possible from within outlook itself, and thus a programming solution would be required, probably some VB script ...
I'm implementing drag and drop functionality between two datagridviews. This works as intended with one exception: it is possible to drag and drop within the same datagridview. This results in duplicated rows. I want to limit the functionality so that I can only drag from one datagridview to another. Does anyone know how this can be achi...
Hi Everyone, Within Control Panel -> Regional and Language Options, there is a Formats tab, with a drop down of all possible language formats. I wish to retrieve this list using VB.NET. Could anyone point in the direction of which Windows API call to use? Thanks ...
I am looking to do a presentation at work to our development team. I was wondering if their is any new tool which would be easy to demonstrate. It is just an after work thing for talking about new technologies. Thanks ...
I try to integrate Human Resource DB to Active Directory. Once I use sql ,getting all person and department and then write to ad. but if a department built new how to check is exist or new in active directory,also person also computer. ...
I'm creating a form with a few buttons and a combobox at runtime. dim f as new form (blah blah) then the buttons acceptDescription and rejectDescription are set up... then the combobox descriptionCombo is set up... then... AddHandler acceptDescription.Click, AddressOf handleAcceptedDescription AddHandler rejectDescription.Click, Ad...
I would like to be able to parse vb.net code files, so I can examine the collection of Subs, Functions (and their contents, including comments), private variables, etc. I can be open the actual source code files. So for example, if I have: Public Function FunctionOne(arg1 As String, arg2 as String) as Integer here is some code '...
I've been working on this RegEx for the past day or so and I think I have it worked out so that it returns the data I want. First a little background. I have a content editor that users will be able to edit web pages. They can format text, add links, etc.. standard content editor stuff. When they click save, the editor provides the ab...
Hi, I'm using the MAPI code by Dave Brooks. I am attempting to programatically send out a Crystal Report that is generated. When I run through the code without threading everything runs fine. The problem is when I use threading I get the return error "General MAPI failure [2]". I have never used threading before and understand that t...
I'm trying to figure out if it is possible to instantiate and invoke a delegate by name, rather than explicitly. I think the code belows explains it fairly well....I want to accept a function name, and then instantiate the delegate based on that. In the example I use a select case, but I want to eliminate that and just use the methodNa...
The "elegant" solution to a problem I am having is to use attributes to associate a class and its properties with another's. The problem is, to convert it to the other, I'd have to use reflection. I am considering it for a server-side app that will be hosted on the cloud. I've heard many rumblings of "reflection is slow, don't use it,...
I've not used XML too much and I need a little help. My .NET application gets this XML response from the W3C's public validation server: <?xml version="1.0" encoding="UTF-8" ?> <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> <env:Body> <m:markupvalidationresponse env:encodingStyle="http://www.w3.org/2...
I have an application which pulls xaml page paths from a database. I can then use a navigationservice to navigate to the relevant page when need be. However, I have run into a scenario where I would like to instantiate the page with a specific constructor before navigating to that page. Is it possible to take a string value such as "\Pa...
Let me give a scenario then see if anyone has a solution / work-around. I've got a library (DLL) that contains only classes. In another library, I've got interfaces that the classes in the first library implement. Clients will always reference only one version of the library containing the interfaces (always the latest one) - and only...
Hi, (VB.NET, .NET 3.5) I'm trying to write a function to find a word in a string in the this format : "ThisissometextthatIneedtofindandthisisthetext. This is another text." It's read as " This is some text that I need to find and this is the text. This is another text." but there is no space between each word. I want to get the word ...
Hi guys, I have a treeview and a gridview in my page.My application is windows application in vb.I want to use splitter to move treeview and a gridview.Can anyone help to give the splitter code to do this. ...
What control should I use to create a grid like a ListView or Excel grid? ...