|
I don't really know why , but I finally got it to work the first time I press enter. This is what I changed:
Dim GoogleCheck<br />
GoogleCheck = Left(go, 7)<br />
If GoogleCheck = "Google:" Then <br />
[...].
I don't know how to get the name of the program files directory. This would be MUCH easier when using VB.NET!
|
|
|
|
|
Holy crap! It works!
Thanks a ton M_M_G.
I'll have to start coding in VB.NET so I can actually get this to work right. If you want, send me the directory that's equivalent to "Program Files" in the german version of windows and I'll write in a if then statement to determine which version the user's using.
|
|
|
|
|
Cool...
The German name of the directory is:
C:\Programme\Internet Explorer .
Will it be possible to download the final version from your website?
|
|
|
|
|
Cool.
Yeah - I'll post a final version later tonight. What sites do you want in there? The ones that are in there now are just for work purposes, so if you give me a list of some popular sites, I'll enter them in place of what I currently have in there.
Thanks again.
Keith
|
|
|
|
|
OK - I added in an error handler so it will catch your directory.
Here's the newest version - complete with a "working" Google: search tool, direct website access via combo box, and by typing in the address.
I personally will modify mine to be my most used sites and will take it with me on a flash drive.
Again, thanks a ton for your work on this. I'm going to clean up the code and post a zip file soon with complete source available.
If you post it though, I can recompile it with a list with whatever you want. Just tell me how you want it to look in the combo box and what sites you want listed. (ex: in my combo box, i have every categorized).
-Keith
|
|
|
|
|
Thanks for this offer, but I don't know which sites to include at the
moment. Please post a link to the source code .zip file, so I can modify the program on my own.
|
|
|
|
|
No problem.
Here's a link to the source and program. I've added a "about" form that describes how to use the app and it also gives you credit for the Google stuff.
If you just alter the "goasp" variable to point to just IE instead of also referencing a specific site, it can get to your list correctly.
-Keith
|
|
|
|
|
The about form looks really good!
Well, I've still got another question:
May I translate this app into German and offer the executable (or a setup program) on my web site? Possibly I'll also make a .NET version.
This would be really cool!
|
|
|
|
|
Sure! All I ask is that you mention me somewhere - even if it's just in the source.
Post a link once you're done. I'd like to see it in .NET!
|
|
|
|
|
I've just finished work at Quick Access.NET version 1.0!
I added some new features:
- a 'notify icon' that is displayed in the systray. Double-click it and Quick Access will open. You can also right-click the icon to bring up a context menu.
- AutoComplete function for the ComboBox
- Support for WinXP look-and-feel
You can download the MSI package here:
www.madcode.net/download/quickaccess/quickaccess_setup.msi[^]
If you want something changed or if I shall send you the source code via email, please contact me: webmaster@madcode.net
|
|
|
|
|
Cool! I really like it. That makes me really want to start learning .NET.
Cool and thanks for the really good update!
|
|
|
|
|
I'm pleased that you like it.
I'll provide some updates in future, just check:
www.madcode.net/download/quickaccess
from time to time.
[This site isn't available at the moment, but it will
be soon!]
|
|
|
|
|
i want to draw a sphere on a form in visual basic.NET
that looks like three D.
What is the way.
|
|
|
|
|
Hello, does anyone know how exactly this Property works for DataAdapters in .NET? Please do not give me MSDN Definitions...I've read all that.
Basically, what I need to know is...if I have set the UpdateCommand of a SQLDataAdapter to a StoredProc that has "Output Parameters", and I want those Output Parameters to then update the DataSet's Values after using the SqlDataAdapter.Update Method...Do I set the UpdateRowSource Property to "Both"?
Also, if the Adapter DOES happen to update the DataSet's values, will it tell me that the RowState has changed? Because I would need to know if the Output Paramters did modify the DataSet!
Comprende?
|
|
|
|
|
I am retrieving a field from the database into a combobox.I have to retrieve the same data into the combobox in 3 different forms.How can i simplify this.Do i write a common procedure?
|
|
|
|
|
This all depends on how your Forms are related. Sometimes, if one Form is an Extension of another, simply use "Visual" Inheritance.
Typically, I write individual Sub Routines for each ComboBox (as opposed to one Massive Routine that Refreshes all Data in every control...blech!). If this is your case, and it seems you are using this in more than one Form, place your Routine in a Module and Pass the ComboBox as a Parameter so it can fill the correct one.
'In Module...
Public Sub RefreshCityList(ByRef CboList As ComboBox)
'Place Logic Here...
End Sub
|
|
|
|
|
I have used the following code to display # in a label.But it is getting displayed only once.Why?
Private Sub Command1_Click()
Dim n, i As Integer
n = Val(Text1.Text)
Label2.Caption = ""
For i = 1 To n
Label2.Caption = "#"
Next
End Sub
|
|
|
|
|
Softtips2004 wrote:
I have used the following code to display # in a label.But it is getting displayed only once.Why?
Private Sub Command1_Click()
Dim n, i As Integer
n = Val(Text1.Text)
Label2.Caption = ""
For i = 1 To n
Label2.Caption = "#"
Next
End Sub
Your only getting one '#' because your overwritting the value in Label2.Caption 'n' times, your not appending to it. If you want to append to it then you have to do something like this:
Label2.Caption = ""
For i = 1 To n
Label2.Caption = Label2.Caption & "#"
Next
Or you could simplify it even further and do it this way:
Private Sub Command1_Click()
Dim n as Integer = Val(Text1.Text)
Label2.Caption = new String("#", n)
End Sub
RageInTheMachine9532
|
|
|
|
|
hey it is so simple
the code is given here
Private Sub Command1_Click()
Dim n, i As Integer
n = Val(Text1.Text)
Label2.Caption = ""
For i = 1 To n
Label2.Caption = Label2.Caption + "#"
Next
End Sub
Any Problem Contact me
VickyMD a Specialist in Message Digest Security
i think so i m posting it 2 seconds late
sorry for that
|
|
|
|
|
You can simplify the "Concatenation" like this...
For i = 1 To n
Label2.Caption &= "#"
Next
|
|
|
|
|
Hello All:
I hope you can helpme whit this, I am not sure if it can be done, but someone knows how to unload a DLL from an aplication in VB.NET, this because I need to update the file or deleted, but when I try to delete the file I get and error, this is because the file is been use by the aplication so I need to remove the reference in runtime, any ideas?.
ElRaptor
|
|
|
|
|
|
Thanks Colin: I am going to try this option, and I will let you know.
Thanks again
Javier Ayala
|
|
|
|
|
Hi all.. I want to know the MS Word and PowerPoint application names.
I want to use FindWindow() to find out whether the application is already exit
I know whether MS Excel application already open or not by using following statement
<br />
hWnd = FindWindow("XLMAIN",0)<br />
XLMAIN is application ID for MS Excel..
Can Anyone tell me what is the ID string for MS Word and PowerPoint?
|
|
|
|
|
from from front end vb 6.0 able to insert the date value into backend MSAccess table, having a single field with a datatype as date/time, using date picker control (project>components>slect file mscomct2.ocx), but i was unable to select a date from the same backend table, from vb 6.0 and received this error msg - "Data type mismatch in criteria expression" kindly provide with solution
regards,
sandeep
|
|
|
|