Forum: Visual Basic 4 / 5 / 6 Apr 7th, 2008 |
| Replies: 5 Views: 246 |
Forum: Visual Basic 4 / 5 / 6 Apr 5th, 2008 |
| Replies: 6 Views: 233 Re: Dialog Box Still a problem here. The MsgBox options you are setting are vbOkCancel. This will never return a vbYes. Your only options for a return code are vbOk and vbCancel.
** See my previous post for the... |
Forum: Visual Basic 4 / 5 / 6 Apr 5th, 2008 |
| Replies: 6 Views: 233 Re: Dialog Box When calling a function, make sure you use parentheses. Also, you are not soliciting a vbYes from the user. Just a vbOK or vbCancel.
** It's a personal preference, but when I call a function that... |
Forum: Visual Basic 4 / 5 / 6 Apr 5th, 2008 |
| Replies: 6 Views: 233 Re: Dialog Box MsgBox is a function with a return parameter available. The syntax is as follows:
ReturnVal = MsgBox(Prompt, Options, Title)
Options is a combination of your buttons, icons, and default... |
Forum: ASP Apr 4th, 2008 |
| Replies: 3 Views: 752 Re: Insert Request.Form result into SQL Ok, first I am going to assume that you have the code for the connection "con" somewhere else and this is just a snippet of what you have.
Secondly, why the 'var' and semicolon syntax? Are you... |
Forum: ASP Apr 4th, 2008 |
| Replies: 1 Views: 299 |
Forum: Visual Basic 4 / 5 / 6 Apr 4th, 2008 |
| Replies: 4 Views: 173 Re: Debug & Code Window No. The debug window is technically called the Immediate Window. Open it by pressing CTRL-G or you can find it in the menus as well. |
Forum: ASP Apr 4th, 2008 |
| Replies: 4 Views: 487 |
Forum: ASP Apr 3rd, 2008 |
| Replies: 1 Views: 352 Re: asp mail object : need help FALSE!!!
XP does not come with CDONTS, but it will support CDONTS. The only problem is that you have to copy the CDONTS.dll from a Windows 2000 machine.
** The library needs to be registered using... |
Forum: ASP Apr 3rd, 2008 |
| Replies: 1 Views: 277 Re: need help on Personal Web server START --> Control Panel
Open "Add Remove Programs"
Select "Add/Remove Windows Components"
Install Microsoft IIS
** May not be available for XP Home Edition. |
Forum: ASP Apr 3rd, 2008 |
| Replies: 1 Views: 258 Re: ASP Newbee If you ever need a connection string, the greatest resource is Carl Prothman's site. Formerly Able Consulting.
http://www.carlprothman.net/Default.aspx?tabid=81 |
Forum: ASP Apr 3rd, 2008 |
| Replies: 4 Views: 487 |
Forum: ASP Apr 3rd, 2008 |
| Replies: 1 Views: 276 Re: Mismatch Error Look at line 19 in your code.
Set results1 = results1_cmd.Execute
You have initialized results1 as an ADODB.Recordset object.
You problem lies in that you are trying to append a string to the... |
Forum: ASP Apr 3rd, 2008 |
| Replies: 2 Views: 506 Re: Dynamic ASP Rewrite URL Unfortunately, this is translated by the webserver as a call to
http://www.abc.com/abc/1/index.html
To resolve this as http://www.abc.com/abc/abc.asp?id=1, you would need the ability to create... |
Forum: Visual Basic 4 / 5 / 6 Apr 3rd, 2008 |
| Replies: 2 Views: 482 Re: help!how to write file into notepad in VB? The FSO option works great if you are writing to a text file, but it would still need to be opened.
Simple:
Call Shell("NotePad.exe " & FileName, vbNormalFocus)
Better:
Private Const... |
Forum: Visual Basic 4 / 5 / 6 Apr 3rd, 2008 |
| Replies: 3 Views: 283 |
Forum: Visual Basic 4 / 5 / 6 Apr 3rd, 2008 |
| Replies: 1 Views: 155 Re: help! how can i cnnect CR10 and vb6? Crystal installs with a programmable object model. The following code is derived from Crystal 8.5, but should provide you with a general reference to work from.
!! Add references to the Crystal... |
Forum: Visual Basic 4 / 5 / 6 Apr 3rd, 2008 |
| Replies: 3 Views: 181 |
Forum: Visual Basic 4 / 5 / 6 Apr 2nd, 2008 |
| Replies: 3 Views: 326 Re: help:how to select a record in MSH flexgrid First, unless you plan on using the hierarchical aspects of the grid, I'd suggest using the standard MSFlexGrid rather than the MSHFlexGrid.
To address your question, you can use the TextMatrix... |
Forum: Visual Basic 4 / 5 / 6 Apr 2nd, 2008 |
| Replies: 5 Views: 244 Re: Error Handling: Blank Error Description Just from looking at what you have, you are entering the error handler when no error actually exists (e.g. err.code=0). Try exiting your routine just before the handler.
On Error GoTo... |