Perhaps that it's not significant enough, but I need to know if
If True Then
...
Else
...
Endif
is faster than
If Not False Then
...
Else
...
Endif
I'd be very happy for any refferences.
Hi All,
I'm not sure if this forum is the right place to throw my problem.
VB 2005
Refference : MS Script Control
I have this simple equation:
Dim str2Eval As String = "1.1 + 2.2 = 3.3"
Dim sscript As New MSScriptControl.ScriptControl
sscript.Language = "VBScript"
Try
Label1.Text =...
- VS 2005, Visual Basic
- MS Access mdb
Hi all!
DataAdapter is one of my favourite objects since there's no need to open any connection to the database (yes, no .ldb file created).
And I can get the advantage of using the CommandBuilder.
But sometimes it gives me a headache when this error...
[Net 2003]
Now the windows project is complete. Then I add a Deployment Project named Setup1 for client installation.
In the Setup1, I add a registry key using the registry editor:
HKLM
- Software
- ODBC
- ODBC.INI
- MyDSN
In MyDSN key, I add a string value whose value is...
Framework 1.1
Working Environment:
- Heavy data traffic
- Sudden electricity shut down
Strategy:
- Store current documents in local machine
- Save it to database server when user finished keying all documents.
Read all local tables and store them in a local dataset:
Dim LeftLocalSet As...
Framework 1.1
'Form_Load event
AxWebBrowser1.Navigate("about:<p><a href='1&B12_11'>First Link</a></p>" & _
"<p><a href='1&B12_12'>Second Link</a></p>")
Goal:
Capture 1&B12_11 or 1&B12_12
when one is clicked.
Any suggestions?
To the point:
<script>
function allchecked(){
alert("OK");
}
In IE 5+:
<button onclick="allchecked();">Check it</button>
works just fine (indicated by the alert), but NOT in Firefox.
Any shed?
Regards
Dear experts,
I'm not sure the right forum to ask. I decided to put it here.
Clicking the button works fine in IE but NOT in Firefox. In a broader case my <script>s do not work in Firefox.
Any hints?
<button onclick="getUpload('frmUpload.cfm','upload')"><strong>Upload</strong></button>...
Mates,
I got this simple VBScript encryption from somewhere else (I forgot that excelent site):
[code]
Function denc(txt)
Dim str, i, strlen
strlen = Len(txt)
For i = 1 To strlen
str = str + Chr(Asc(Mid(txt, i)) Xor 128)
Next
denc = str
End Function
{/code]
I've struggling to conver...
I am trying to use a DSNless connection with the following infos:
Design mode Environment:
CF 5.0
WinXP
RB1101.txt:
Fld1,Fld2,Fld3
01,010,001
Current script:
<cfset conStr = "Driver={Microsoft Text Driver(*.txt;*.csv)}; Dbq=#expandpath('Upload/P11')#;Extensions=csv,txt;Persist Security...
Been trying the Search tool. Great posts there but cannot adjust it to fulfill my need.
Table: MyTable
Keys: Key1, Key2
Additional Condition Keys : Con1, Con2
Field to update: StatusKey
I want to UPDATE StatusKey to 'X', where Keys plus Con1 plus Con2 cannot be duplicate. Something like:
Key1...
Framework 1.1
Condition:
The .Tif file was created from a scanner, and located on the scan server.
Problem:
1. I've been trying to show the .Tif file in my Windows form PictureBox with no luck.
2. The reason why it is in .Tif format is caused by the limitation of the scanner. I had no idea to...
Framework 1.1
Condition:
I have a pre defined query in my MS Access database. The select query is:
SELECT recID, Field1 FROM Table1
Question:
Is it possible to physically/permanently change/update the query just the way we do in ALTER TABLE? ALTER QUERY maybe?
SELECT recID1, Field1, Remark1...
You guys have been talking about data transfer in client-server application.
I am now working on such kinda project. Now that I need to know your opinions.
I have one server application, one client application, and an MS Access database.
Using Sockets.TcpListener, both application successfully...
Been googling for the solution with no luck.
Anyone knows how to insert in coding a pagebreak in Word document?
Something like
oWord.ActiveDocument.Paraghraps.Pagebreak.Insert()
[smile]
TIA
Mates,
Please forgive me for I couldn't combine what PankajBanga states in faq796-3853 and stnkyminky's solution in thread796-742396.
Problem is the mdb - where the report that I want to run resides - is password protected.
[hammer]
Help? Please?
TIA
Mates,
One field's type of my ms access table is string, and it is used to store date:
myDate (string, 10)
it holds "08/15/2005"
Now I have problem comparing the field's value to a datetimepicker.
Any ideas?
TIA
Hi all,
Is there any properties or events to modify to make the focus go to the next column when presing Enter?
I tried to put:
Sendkeys.Send("{TAB}")
on KeyDown or KeUp events.
It's okay if the cell's value didn't change. But the focus goes to the next row if it changed.
Any Ideas?
TIA.
mansii
Hi mates.
New to DataRow stuff. Here's the listing:
Private Function AddRecord1() as Boolean
Dim conStringS As String = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source = " & Application.StartupPath & "\System\" & SourceFile & ";Jet OLEDB:Database Password=" & dbPwd & ""
Dim connS As...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.