vb.net

implement multithreaded crawler

I would like to implement a mulithtreaded crawler using the single thread crawler code I have now. Basically I read the urls from a text file, take each one and crawl and parse it. I know how thread basics of creating a thread and assigning a process to it but not too sure how to implement in the following way: I need at least 3 threads...

Strong named assemblies in winforms .net

Ok, I've read every question on here about strong named assemblies and just want to clarify something. First though, from what I've read, GAC aside, strong named assemblies prevent a malicious 3rd party changing and impersonating your code. It'd be great to have some links to some real world examples of this kind of spoofing that happen...

Need to add "exe" version info to a mobile device exe created in VB

I want to add version info to my mobile device exe file and apparently the following line is not supported in CF (windows mobile 6.0), ideas?: <Assembly: AssemblyFileVersion("1.0.0.0")> I want to be able to to right-click on the .exe after it is copied over to the PC and have the version displayed in a version tab just like any other...

Can you create a link to open a User Control in a VB.Net form to use at Design time?

I've got a VB.Net form application that dynamically loads user controls based on which navigation link the user clicks on. I'd like to make it easier to use at Design time by putting a link of some sort to open the User Control at design time. The link would go onto the form in the space where the User Control will be going. This just...

Run batch file in vb.net?

How can I run a batch from from within vb.net? ...

Removing items from a ListView

Hi, I am trying to search through listview in VB.net 2008. It works fine with small list, but when the list is big ( around 25000 rows), if I search multiple items , it fails saying that index is not valid. Obviously what I understand is , it it tryiong to remove an index does not exist. But I am unable to figure out where exactly it i...

How can I make a "browse for file.." button in VB.net?

Hello. I'm trying to build a simple FTP uploader. How can I make it so the user can select a file to upload? See, what I want is to have a button (which I do) that a user can click, and it shows the OpenFileDialog (which I have), but then when they select a file, I want its path to be shown in a text box. How can I do that? Screenshot: h...

Copy data from one database to another using VB.NET

I need to copy data from one database to another using a VB.NET program. The target database is SQL Server the source database is some proprietary ODBC compliant database. I need to loop through a list of table to copy. Read the data from the source database table for a given modified date. Delete the corresponding date from the target ...

Help Optomizing Bulk Inserts into Oracle Using VB.NET

I am inserting a block of 5000 records at a time, one block right after the other. The commands are created in a seperate DLL and can call anyone of 4 different stored procedures. Is there a bulk insert method that might speed this up. Currrently it takes about 1.5 MS per record and would like to get this down to about .7 MS. Thanks,...

How to change Crystal reports connection properties in code?

Back when Crystal Reports still supports ActiveX, we have crystal reports that were built to use ODBC data source point to an Access or SQL database. In run time, we would change the report to use OLE DB (ADO) instead of ODBC, change the server name, database name, username, password to ones specific to the user, and run the report, it w...

Standard Keyboard Driver Source Code - Where can I find this???

Hello, I am looking for the standard source code for a keyboard. Is there any where that I can download this source code so that I can modify it for my own use? Thanks in advance! ...

Intermittent Crystal Reports error "The request could not be submitted for background processing."

We are running Crystal Reports on a Windows Server 2008 with .NET framework 3.5 SP1. I have seen many causes of the general error "The request could not be submitted for background processing." on other forums, however they tend to be persistent and repeatable affecting just a single report due to a specific formatting issue with a sp...

TagLib# Windows distribution? Or another good ID3 reader?

Hi all, i wanted to write a quick program to get the file organization of my MP3 files back into sync with the info in my ID3 tags... I had tried to get the Windows Media Format SDK, but when i go to install it says it can only run on WinXP. I found someone on here suggest TagLib#, which looked REALLY good, from the code examples. Prob...

Reading MSMQ messages from VB.net Windows Service

Hi, How can I read MSMQ messages from a VB.net Windows Service written in VB.net 2008. The messages in MQ contains XML data. I need to read that XML using LinQ to XML, Validate against XSD. I would really appreciate if you can direct me to a sample Thanks ...

Windows Forms' Appearance

Just started using Visual Studio 2008 and was hoping to convert my VBA UserForms to VB.NET with the intent of upgrading my antiquated UserForm controls to newer Windows form controls that match the operating system. The Windows forms I create in Visual Studio look great, but when I load them in PowerPoint or Excel, the form controls loo...

How to useOffice Insert Symbol dialog and insert the selected symbol at desired place in vb.net app?

I am developing a Windows app, where i have a infragistic grid. Inside that grid their is a column having dropdwn from which i have to invoke Words , Insert Symbol Dialog. I somehow managed to open the dialog but when i choose the symbol from the dialog , it pastes the symbol on the new word doc, instead i want it on the cell from where ...

Using DirectX in VB.NET to draw to a Panel

What do you have to do to get DirectX to draw to a Panel control correctly? I have a program that draws to the Form, but when you change the device to a Panel, the grey background of the panel is drawn over the lines. I set the Panel background to transparent. This allows the lines to display, but it flickers when the Panel is resized...

please help me in creating a sort expressions for datatable in vb.net

I have got a datatable which contains many columns in which three are main: hotelid dshotelid hotelname Some hotels contain only dshotelid, some contains only hotelid and some contain both dshotelid and hotelid. I need sort in such way so that those hotels who got both dshotelid and hotelid should be on top and then those hotels who...

Accessing masterpage properties from child pages in ASP.net VB

I have masterpage.master.vb where I have properties, such as; Private _SQLerror As String Public Property SQLerror() As String Get Return _SQLerror End Get Set(ByVal value As String) _SQLerror = String.Empty End Set End Property Then I have an aspx page in which I need ...

Create Mysql Stored Procedure using in vb .NET

How do I create a stored procedure for mysql using VB .NET programmatically? EDIT: Apologize to be so brief. I have tried using ExecuteNonQuery provided by MySQL .NET Connector. It prompts me error. Maybe it's because I put "Delimiter $$"? I know I can create using script (batch file) if I want to send it to my client (as commented b...