Quantcast
Channel: VBForums
Browsing all 42202 articles
Browse latest View live

[RESOLVED] Date in VB6 to DateTime

I have a Old binary file which was generated by VB6 code. it has a type Date, in .Net I use binaryReader to read int64(), and get 4675868045223720387, how can I convert it to DateTime? Thanks

View Article


VS 2010 Starting process using shell, can I get return value of process?

Hi, I'm starting a process in a program that uses shell. The process I'm starting is one of the flavors of DPInst.exe. DPInst.exe returns its own value, but then so does Shell. It seems that if I use...

View Article


My little crc checker

Hi this is a little crc check I made for strings comments suggestions welcome. vbnet Code: Private Function LittleCrc(ByVal Source As String) As Long        Dim Table As Array = {&H417, &H429,...

View Article

Correcting a fill in a polygon.

I am having trouble with filled polygons. When these filled polygons are written out in a .bmp format, I find that the fill is overlapping the boundary polygon. I will show a brief example of what I...

View Article

looping throgh foreach loop for collection.

can anyone tell me ? why i am getting the following error .when i tried to complile. Error 1 foreach statement cannot operate on variables of type 'Brands.BrandCol' because 'Brands.BrandCol' does not...

View Article


CA agriculture inspection

When you enter California, you go through an agriculture inspection station. There, they will either see/ask if you have anything that it is illegal to import into California, for example pecans...

View Article

Compact MSAccess Database (DOCX)

Hi I was looking for a guide how to compat/repair MS Access Database using vb.net 2010. Is someone already have this function please kindly share. Wrong Extension on my title I mean (*.ACCDB)

View Article

excel questions

Is there a way to determine how many rows in the worksheet have data filled? I tried looping through the 1st column of each row until I see a cell that is empty, but when it gets to an empty cell it...

View Article


Help Coding Visual Basic 2010

Hi guys and gals, I am new to this forum and new to Visual Basic. I am currently taking a online class introduction to Visual Basic. The class im in is using Visual Basic 2010, I am having problems...

View Article


Image may be NSFW.
Clik here to view.

[VB.Net] Pong

This is the source code Features:Plays Pong Drawbacks:The ai is very hard. You can make it a little easier, but I like it like it is. It is a very basic program. No graphics, or special effects. Just a...

View Article

[RESOLVED] RTB Drag Drop

Hi there..... I have the following code for dragging and dropping a .rtf file onto my rich text box from a web browser control (being used to navigate around files on my computer), opening the contents...

View Article

Calling Word to run VBA with parameters

I am producing an application within PeopleSoft that I need to make a call to windows and initiate a word document that will run a macro upon startup. I can do this piece, no problem the trick is, I...

View Article

Converting VB.net code to VBA

I have been working on vb for past few days..Its really interesting.But I wanna know how can we convert VB.net code to vba. A code which I wanna convert to VBA and run it as a macro. Please any help...

View Article


VS 2005 A Non-numeric character was found where a numeric was expected + ORACLE

Code: Imports System.Globalization Imports System.Data Imports Oracle.DataAccess.Client Partial Class _Default     Inherits System.Web.UI.Page     Dim con As New OracleConnection("Data Source=XE;User...

View Article

VS 2010 Managing a IE Download in the background

Hi All (me again!) lol Anyway, this is where I have got to, and now I'm stuck. I use a webbrowser to navigate to a site and log in. The site that I navigate to is actually the link to the download but...

View Article


How to get poniter of array in Variant

Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As Long) Private Sub Form_Load() ReDim a(1 To 10) As Long For w = 1 To 10 a(w) = w...

View Article

VS 2008 Name not declared

I'm creating multiple forms for an experiment and inputting a .txt file for each form with trial and header information. 2 of the phases are working fine. The second phase puts out this error: Name...

View Article


VS 2010 Refining Code. Where Can I be Going Wrong? Exit Routine On Exception

My code posted below. The routine gets a list of files from a set of directories, loops though and connect to an ftp server moving the documents after each transfer. However, if the connection drops...

View Article

Filenotfoundexception

Option Explicit On Public Class frmM2S Dim vPhase As Integer Dim vHeader As String Dim vPos As String Dim vNeg As String Dim vStimuli(4) As String Dim vTrack Private Sub picM2S0_Click(ByVal sender As...

View Article

VS 2010 Custom File Previewer for Windows Explorer

I've seen Preview Handler code for C++ and C# on the net, but has anyone found an example of a custom preview handler written in VB.NET? It looks quite complicated, and I don't understand C well enough...

View Article
Browsing all 42202 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>