vb.net

how do i access and interact with DOM objects from VB.net

say i load a page via WebBrowser.document class, I want to literally "click" elements in the DOM using VB.net programmatically. I dont want to use the classic WebRequest class. how can i do this ? ...

numeric updown vb.net

Hi I have a numeric up down, and I want it to either add or minus one depending if the up or down arrow is pressed. I have the code below but it only works to minus one from the varible? Private Sub NumericUpDown1_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NumericUpDown1.ValueChanged If Co...

How do I to check if a entity is in a many-to-many relationship.

I have a 'user' table, a 'phone number' table and a 'user to phone number map' table. The phone number table stores only unique phone numbers. This way I can take a look at a phone number and see who is using it easily. It is also easy to check if a phone number exists when the user is edited. The question is how I should be checkin...

How would one go about Accessing Variable Addresses in VB.NET

I have to upgrade a legacy VB6 app to VB.NET; this app uses a function call from a .dll that takes a memory address as one of it's parameters. The VB6 app does this with the VarPtr() function, but this function does not exist in .NET. How do I retrieve the memory location of a variable in .NET? -Edit1 For example aVariable1 = aFunct...

Alternatives to SelectedIndexChanged that don't fire on form load?

I'm developing in VB.NET with Visual Studio 2005. I have a ComboBox (myCombo) on a form that gets populated within the Load method. I also have handled myCombo.SelectedIndexChanged to change a label on the form. Edit: The way I added the event handler was by double-clicking on the combo box on the designer. Skeleton code then came up...

DataGridView & Checkbox Column?

Using vb.net and DataGridView in Winforms. What even should I use to know when the checkbox has changed? ...

VB.NET - Imports namespace from other projects in Solutions

In my Solutions in Visual Studio, I have 3 projects. - Common (Root namespace: PodcastPlayer.Common) -PodcastPlayer (Root namespace: PodcastPlayer) This is the Silverlight project. -PodcastPlayer.Web (Root namespace: PodcastPlayer.Web) In Common, I have several classes and service references. But my problem is that I can`t not use Podca...

How to determine the id of a data in vb.net?

I'm currently working on an ms access database in vb.net. And I need a code that can determine which data I am updating in the database. Because when I try to update the data, the previous data is being cloned and it will generate two data(the updated and the previous data), and the program will also generate a random id number for the ...

Crystal report passing parameters in subreports using dataset

We are getting correct output for crystal report using dataset which does not have a sub report.But it does not work for subreports? How to pass crystal report's sub reports parameter values using dataset through coding in vb.net? We are using Msaccess as back end Please help ...

'.ctor' is not a valid identifier

In visual studio 2008 when open the design for a VB.Net windows form, i am getting the error " '.ctor' is not a valid identifier". I can see the form designer if I press the "Ignore and Continue" link. All other forms are loading fine. The callstack with the error message: at Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom....

IMessageFilter.PreFilterMessage doesn't trap Combobox Messages

I am trying to use the PreMessageFilter method to do some basic logging to try and track down a "non reproducable" error we are having in a piece of our software. I would like to be able to log when a user types text into a textbox, and when they change a selection in a combo box. I have managed to use the WM_KEYDOWN message to log whe...

Want to make a software on VB.NET which decode Base64-encoded text strings and vice-versa.

I want to make a Software which decodes Base64-encoded text strings and vice versa. Any help provided on the topic with coding in Visual Basic will help me a lot. Thank you. Note:-c# language can also be implemented ...

Including Files with VSEE 2008 Deployments

Hey- I have an VB.net 2008 application that has a few configuration files that accompany it (an XML, an INI and two XLS). After this application is deployed, I would like to be able to change those configuration files as necessary. The files are currently added as part of the project with Build Action set to "Content". After deploy...

How to communicate ms word and ms access in vb.net?

I want to create a program that could generate reports from an ms access database and place it on ms word, how can I do that. Please help, I dont have any idea on how to do this. ...

ViewState in WebService? Is this possible?

according to my research, it isn't possible... unless i write one big hack (erk) to get around it... im wondering if it is possible or not as some of you may have more information on this. i understand this would go against the page paradigm, however it really should be accessible... any ideas anyone? hate using cookies as the informati...

Please help me to convert vb.NEt to C# ...... Addressof part is creating error for me

Imports System.Threading Public Class clsThread 'This variable will hold the Thread Index that are passed from the main window, when we created it Private m_ThreadIndex As Integer 'This is local thread variable. We will send the value of this variable to the parent form Private m_Counter As Integer = 0 'We will nee...

int to System.Windows.GridLength - VB.NET

How can I convert int to System.Windows.GridLength in VB, NET so that I can set the height of a grid row in Silverlight (xaml). In xaml file: <RowDefinition Height="0" x:Name="rowerror" /> In VB.NET: rowerror.Height = CType(30, System.Windows.GridLength) This as I wrote in VB.NET. I know I'm wrong, but how do you do if the int to...

Protect single file!

Hi! I'm trying to protect a folder and the files inside it. I'm able to protect the folder itself, so that if somebody clicks on it he will get a message: "You don't currently have permission to access this folder!" But I can still access files in that folder. For example, if somebody knows the name of a file inside the folder he can t...

Draw a line grid on a windows form

I need to draw a line grid on a windows form that contains 4 rows and 4 columns. ...

how to hide password in vb.net?

I dont have any idea on how to make the password like this--> *** How can I do that in vb.net? so that the user will be more secured. ...