| Thread | Last Post | Replies |
|
| use counter value in referencing a variable | 12 Nov 2004 17:25 GMT | 5 |
I'm learning vb, coming from a Perl background. I want to know how to reference a form element by using a counter variable in the element's name. For instance, let's say I have a form with 10 textboxes named textbox1 through textbox 10 and I have a for loop and I want to ...
|
| How to do a function to | 12 Nov 2004 15:21 GMT | 1 |
I am using VB6 and ASP as my development tools (old as me) I have two question actually. 1. How to write a function with return value which is an array of a varible a self-defined type
|
| going to and making directories | 12 Nov 2004 15:15 GMT | 6 |
I wish to change the current working directory to a specified directory, and then to a subdirectory of that one. However, non-existence of directories results in an error. How can I work around this error?
|
| formatting output and specific calculatiosn | 10 Nov 2004 21:02 GMT | 5 |
I have two questions. The first is probably quite simple, but i just don't know it: Say i have the numbers: 12 - 5 - 6.5 - 3.5 - 13 I wish to print them as: 12,0 - 5,0 - 6,5 - 3,5 - 13,0
|
| Find out if control array element has already been loaded? | 09 Nov 2004 23:47 GMT | 4 |
I need to know if a control array element has already been loaded. The following code runs but not with the expected results: For i = 0 to UpperLimit If myControl(i) Is Nothing Then Load myControl(i)
|
| Event log | 09 Nov 2004 21:23 GMT | 1 |
When writing to the eventlog from VB6 the source becomes "VBRuntime", is there any way to change that to the name of my own application? regards Betina
|
| display an icon when I point the mouse to the label | 09 Nov 2004 17:34 GMT | 1 |
I used to used this code below to display an icon when I point to a picture box, but this time I have a label instead of a picture box... (I put label.SetFocus)Picture1.SetFocus (I put label.MouseIcon)Picture1.MouseIcon = LoadPicture(App.Path &
|
| Limited user doesn't get into sub main | 09 Nov 2004 14:02 GMT | 6 |
Hi there. We have a VB 6 application which works fine as an administrative user. However, as a limited user, it will work fine, and then after recompilation, it will not even go into sub main -- we have a message box to check if it gets there. It just displays "Windows cannot ...
|
| Writing to an .rtf file fails to preserve Header & Footer | 06 Nov 2004 23:38 GMT | 2 |
I am editing text in a RichTextBox, then use the SaveFile method to write it to a template containing a header and footer, like so: 'Use SaveFile method to save the file: [rtfTextBox].SaveFile [Template], [0 = filetype RTF]
|
| Evil type coercion | 04 Nov 2004 10:13 GMT | 27 |
I've tracked down a bug that appears to be due to an implicit type conversion not actually happening. However, I'm at a loss to explain what VB is actually doing at that point. I wonder if anyone can flash a pair of fresh eyes across the following.
|
| Validate date using CDate | 03 Nov 2004 19:36 GMT | 9 |
I believe CDate just converts the entered date into date format. It makes no check for validity. Ex - The user can enter 31st February Is there a way how i can check whether the user entered date comes within
|
| Sending Unicode string from VB to VC appln. | 03 Nov 2004 15:38 GMT | 1 |
I am unable to send Unicode string from VB appln to VC appln. I guess, sending a string from VB appln converts the string to Ansi format whereas, my VC appln is understands Unicode format. i.e. if the string is Chinese or Japanese then sending it from VB converts
|
| How To Strip Out Non Alpha/Numeric Characters From A String | 02 Nov 2004 00:04 GMT | 11 |
Hi, I need to take phone number field values and just extract the numbers and ignore dashes, slashes, periods, parenthesis, and what ever else people enter into these fields. For that matter, it would be handy to be able to extract numbers and/or
|
| pass variable | 01 Nov 2004 20:10 GMT | 4 |
Can I pass a variable from a form to another? Do I have to define again this var in another page? for example: I define a variable in MDIfrom and assign it a value, I want another form when loaded to get this value of the variable. Thanks for any idea.
|
| Read info from a file | 01 Nov 2004 17:05 GMT | 8 |
I have a project that is going to connect to a SQL Server. At the moment whenever I have to try out the .exe I have to rewrite the connection string so that it looks at the correct SQL Server and Database name.
|