comp.lang.basic.visual.misc
  Home FAQ Contact Sign in
comp.lang.basic.visual.misc only
 
Advanced search
July 2008
motuwethfrsasuw
 123456 27
78910111213 28
14151617181920 29
21222324252627 30
28293031    31
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
comp.lang.basic.visual.misc Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  Impedire tasto di annullo in VBA         


Author: indriano
Date: Jul 22, 2008 01:13

Buon giorno. In una applicazione VBA di Excel avrei bisogno di fare due
cose...entrambe se possibili.

Compilarla in maniera che il codice non sia visibile.

Impedire che qualcuno interrompa le macro con la sequenza control-Interr.

Se qualcuno lo sa .....

grazie mille
ciao
Indriano

--

questo articolo e` stato inviato via web dal servizio gratuito
http://www.newsland.it/news segnala gli abusi ad abuse@newsland.it
4 Comments
  Creating a checksum for a text file         


Author: charles
Date: Jul 20, 2008 23:21

I have a file containing approx 300 lines of text..
Each line has a CrLf at the end. The size of the file is about 8K.

I am reading strings into an array.
I need a simple method of creating a checksum for the file.

Can anyone suggest a fast and simple method.

Thanks

Charles W.
5 Comments
  Excel 2003 : Runtime error 9 "subscript out of range"         


Author: TerenceSmith79
Date: Jul 17, 2008 03:58

I'm assisting an Excel 2003 user who is receiving Runtime error 9
"subscript out of bounds" inside her VBA code.
I've pasted the code below, and i've marked the line with #**error
here****# at the beginning of the line.

Any ideas? I've spent 2 days researching forums and trying various
changes, but the weird thing is the script works on all her
colleagues' workstations, and they all have Excel 2003 (same version,
same update level) as well as the same XP installation (same versions,
SP's, updates, etc.)

Thanks in advance!
T

=============================
User's code:
Show full article (9.67Kb)
3 Comments
  What is wrong with this code?         


Author: zerocostproduct
Date: Jul 14, 2008 20:35

All,
Been a long time since I messed with VB my brother-in-law is taking a
intro programming class
We wrote the following code but he's getting an error at the
calculation line.
I no longer have VB and looking with my rusty eyes I don't see the
issue.

He's trying to capture seperate values from 2 different txtbox and
display results of calculation in a third txtbox/

Can anyone help?

Private Sub CalulateBtn_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles CalulateBtn.Click
Dim CalulateBtn As Action (Of Textbox3.value * txtInput.value)
End Sub
2 Comments
  Problems with ADO, SQL, and Parameters         


Author: JP
Date: Jul 14, 2008 08:21

Problem with Parameters with an ADO control

Hello:

I am trying to fill a Microsoft DataGrid with specific data. Based on a
selection by the operator.

I have an option box at the top, a command button just below that to have
the program get the desired info.

A datagrid with an ADODC as the datasource.

The operator selects an option
If option(0) is selected then SelType = " "
Elseif Option(1) is selected then SelType = " "
Elseif Option(2) is selected then SelType = " "

Then there is a command button below that which tells the program to get the
requested data.

This takes you to an SQL that says:
Show full article (1.62Kb)
2 Comments
  Search txt file for string between two points         


Author: JaY
Date: Jul 11, 2008 13:14

I am trying to search a text file for a word. Then I want to do
another search for another word. Once I find the second word I want
to copy the info between the 1st and 2nd word to a string.

Can this be done easy?

Any help is GREATLY appreciated!
6 Comments
  Printing From DOS application To A Windows Printer         


Author: John Simpson
Date: Jul 11, 2008 13:04

OK, Gurus, my thanks in advance for any insight.

There are a couple of shareware programs out there (DOS2USB, and DOSPRN)
that will allow printing to a Windows printer from a legacy DOS application.
In my case I wrote a boat rental application in Cobol back in the '80's, and
now the customer wants to migrate it to a new PC that has USB but no
parallel or serial ports. I've written a VB version of it, but it's a
complex application and has not been tested nearly enough to go live.

I bought DOS2USB, but got burned by the not-too-good-English-speaking sales
folks overseas, but that's another story.

I must have too much time on my hands, 'cause I want to write my own
utility. An easy way would be to create a text file in the DOS application,
look for its existence, then read and print it from a VB program, and
finally delete it, but I consider this a sloppy solution to the problem.
Show full article (1.46Kb)
4 Comments
  Bold characters in textbox         


Author: Dudule
Date: Jul 11, 2008 06:30

Hello,
Is there any possibility to have some words in Bold in a normal VB6 textbox
(not a richtextbox).
Many thanks for your answer.
3 Comments
  Making applications multi-lingual         


Author: charles
Date: Jul 5, 2008 16:38

I would like to make my application capable of
loading with Menus and content in different languages.

e.g. English for UK and US users, French
for French speakers etc.

What is the recommended method of doing this.

Should I just create a text file that loads at start-up
with all the strings in it ?
Can I use this to change the names of all my pull-down menus
such as "file", "open", close" etc....

Thanks

Charles W
3 Comments
  Good free ActiveX (.OCX) website         


Author: GoingApe
Date: Jul 4, 2008 20:47

Hi,

I would like to know if someone have some good website where I could
find a lot of (preferable free) ActiveX control that I could use in
VB6?

Thanks in advance!
3 Comments
 
1 2 3 4 5 6 7 8 9