How to get MAC address of client machine in c# and vb.net
How to get MAC address of client machine in c# and vb.net ...
How to get MAC address of client machine in c# and vb.net ...
I am working on a process at the moment which iterates through files in a folder; its used as part of a data migration. Each iteration of a file takes about 8 seconds; I need to run it about 30000 times so 8s that is a bit of a problem. The actions in the function cant be multithreaded as it pulls apart the document and that needs to be ...
I'm currently working on a project I've just received that is asp.net + vb. I have to add a gridview in one part of the page, but it simply won't let me set the datasource <%@ Page Language="VB" MasterPageFile="~/Common/Common.master" title=whatever" %> <%@ Register TagPrefix="uct" TagName="SubmenuControl" Src="whatever.ascx" %> this ...
I have code below which determines the version of Access. It runs quickly on most PCs. We also have four terminal servers. On two of the terminal servers it runs fine. On the other two, this code takes over 15 seconds to run. All four terminal servers have Access 2003 runtime. I can't figure out why it would take longer to run on two se...
Hello all I have a project that runs perfect under windows xp. Now I have tried to run it under Windows 7 and got there a lot of exceptions under Immediate window. A first chance exception of type 'System.ArgumentNullException' occurred in Microsoft.VisualBasic.dll A first chance exception of type 'System.IO.FileNotFoundException' oc...
Does anyone know how to stop Visual Studio VB.NET editor from changing my beautiful scientific notation numbers into hideous decimal notation? It seems that this is part of "Pretty Listing" (single checkbox in the options). I'd like to keep the other features of pretty listing, I just don't want to have to stare at 0.0000000000000001 wh...
I have a web site that uses the both c# and vb.net in the app_code section. The different languages are separated into their own folder and correctly configured in the web.config. <codeSubDirectories> <add directoryName="BasicCode"/> <add directoryName="CSharpCode"/> </codeSubDirectories> This works fine 95% of the time. In ...
I'm trying to build a Pivottable on a webform in vb.net 2005 using OWC. I have added the Pivottable item to the toolbox, but it is grayed out and so I cant use it. If I develop a Winform instead of a Webform then the toolbox items are there and work correctly. ...
This is something that has been bugging me for a while as it is easily fixed but not desirable. I have a DataGridView that has 5 columns. The first is called ID. In vb.net the following line gives an error "Object reference not set to an instance of an object": dgvJobs.Columns("ID").Visible = False ' ERROR dgvJobs.Columns(0).Visible ...
Hi, I am writing a code to search through the entire listbox items and highlight them whenever user enters text in textbox. I am looping through textbox items which are entered using a 'comma' . But the code fails to add it to selected indices when user types multiple items using comma. It works fine for single items. Private Sub TextB...
Hi, Is there a simple way to re-ordering the columns of a DataGridView that are bound to a DataSet at runtime? I can do it simply via the DataGridView "Edit Columns" dialog at design time but have to remember to do this every time make changes to the form (remove or add the DataGridView to the form). Thanks ...
Trying to parse this and return the following 3 items: -30.25 31.46 -27.46 31.74 -24.57 32.03 -16.86 32.88 -13.82 33.19 -9.69 33.62 Using this regex expression below I get the matches, but drop the leading "-" at the front of each grouping. I get the "-" in the middle of the group though. Here is the expression I currently use. Di...
I am trying to get the HTML inside a HTMLElement which has an id "block". I have tried: If webbrowser1.document.getelementbyid("block") isnot nothing then MsgBox(webbrowser1.document.getelementbyid("block").innerHTML) end if But it keep throwing a NullReferenceException and tells me to check if it null/nothing which is what I'm do...
Hi All I am using standalone application vb.net(2.0) and using filesysystem watcher class to find any new xml coming into that specified directory then application take that file and continue the process but the direcotry have been located in network machine, Now my problem is once the path is not available it mean the shared path se...
UPDATE: I found another library in the Windows Mobile - CameraCaptureDialog - this did the job - never did figure out the zero length available devices... Hi all, I have a .net application running on a symbol mc75 (motorola) using the scanner. I am now trying to add functionality for the camera and I am running into issues. To fi...
I tried searching and found out that someone has written a multipart form uploader. Though it had one thing wrong: It transfered all the - supposedly - POST values in the url.. Which the web application doesn't like - somehow. It went all POST /index.php?page=post&s=add&title=test&tags=testtags HTTP/1.1 And only added the file into...
I'm trying to select all nodes with text that contain a certain word (ex: Company) because the word needs to have a register mark. Here is part of the XHTML (this <p> is inside a table cell). <p> <strong> <a style="color:#0E5A8B; text-decoration:none" target="_blank" href="http://www.trekk.com"> <span class="title"> ...
I need to check if a webpage exists if it does whether a certain string exists anywhere on the page. Preferably I'd like to do this without a webbrowser control, so that images don't have to be downloaded and it doesn't have to be rendered. So is there a way to do this? ...
I was experimenting with ways to get rid of some memory leaks within my application the other day when I realized that I know virtually nothing about cleaning up my resources. I did some research, and hoped that just calling the .dispose() would solve all of my problems. We have a table in our database that contains about 65,000 record...
Hello! Has anyone ever tried to implement ICommandSource with VB? The examples provided by Microsoft are in C#, and since VB doesn't allow implicit implementation this interface is like inachievable in VB!! http://msdn.microsoft.com/en-us/library/ms771361.aspx ...