Search Results

Showing results 1 to 40 of 85
Search took 0.01 seconds.
Search: Posts Made By: binoj_daniel ; Forum: Visual Basic 4 / 5 / 6 and child forums
Forum: Visual Basic 4 / 5 / 6 Jan 20th, 2009
Replies: 3
Views: 506
Posted By binoj_daniel
What is the error? Can you paste it here?
Forum: Visual Basic 4 / 5 / 6 Apr 25th, 2008
Replies: 8
Views: 4,957
Posted By binoj_daniel
Hi,
Nothing offence but if you search with this keyword on daniweb "sql connection" you will see lot of good results. Also I would suggest you to read some SQL Books to start with.
Forum: Visual Basic 4 / 5 / 6 Jan 23rd, 2008
Replies: 4
Views: 3,051
Posted By binoj_daniel
By transparent do you mean it should match the color of the form?
Forum: Visual Basic 4 / 5 / 6 Jan 23rd, 2008
Replies: 4
Views: 3,051
Posted By binoj_daniel
Try this code to first create a transparent window:

Private Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hWnd As Long, ByVal nIndex As Long) As Long
Private Declare...
Forum: Visual Basic 4 / 5 / 6 Nov 13th, 2007
Replies: 3
Views: 534
Posted By binoj_daniel
When you say their password to your app, do you mean just an application with access control?
Forum: Visual Basic 4 / 5 / 6 Nov 8th, 2007
Replies: 2
Views: 1,395
Posted By binoj_daniel
I have found a ready to use parallel port component here:
http://www.zealsoft.com/ntport/download.html

Install the exe and you can then add the component to your project IDE. Its an easy to use...
Forum: Visual Basic 4 / 5 / 6 Nov 8th, 2007
Replies: 2
Views: 1,395
Posted By binoj_daniel
Do you want to buy a thirdparty component or re-invent the wheel?
Forum: Visual Basic 4 / 5 / 6 Nov 8th, 2007
Replies: 1
Views: 2,879
Posted By binoj_daniel
Please check the column format of that excel file. Set it to text.
Forum: Visual Basic 4 / 5 / 6 Nov 7th, 2007
Replies: 5
Views: 1,365
Posted By binoj_daniel
Here is how you can play wav files.
1. Add a command button and a common dialog box. Copy and paste the sndPlaySound Declare statement from the API Viewer into your application. Also copy the...
Forum: Visual Basic 4 / 5 / 6 Nov 6th, 2007
Replies: 5
Views: 1,365
Posted By binoj_daniel
How are you trying to load the music files? What format are you going with? Any dll's or ocx controls used?
Forum: Visual Basic 4 / 5 / 6 Nov 5th, 2007
Replies: 4
Views: 1,507
Posted By binoj_daniel
If you know the base time then based on the current time you can use something like this:

Assuming EST as the base time

CST = DateAdd("h", -1, Now)
MST = DateAdd("h", -2, Now)
PST =...
Forum: Visual Basic 4 / 5 / 6 Nov 5th, 2007
Replies: 4
Views: 1,507
Posted By binoj_daniel
What will you consider as the base time?
Forum: Visual Basic 4 / 5 / 6 Oct 23rd, 2007
Replies: 7
Views: 7,246
Posted By binoj_daniel
What sample do you want? The link in vbsqluser (http://www.daniweb.com/forums/member191895.html) post has some samples. Let me know if you need more elanorate one.
Forum: Visual Basic 4 / 5 / 6 Oct 15th, 2007
Replies: 10
Views: 3,415
Posted By binoj_daniel
Also Try replacing the single quote with 2 single quotes or a double quote. That should work.
Forum: Visual Basic 4 / 5 / 6 Oct 15th, 2007
Replies: 10
Views: 3,415
Posted By binoj_daniel
It seems you are trying to connect to MySQL Database for this purpose.
Forum: Visual Basic 4 / 5 / 6 Oct 15th, 2007
Replies: 10
Views: 3,415
Posted By binoj_daniel
Try to use a path which does not contain any spaces in the folder name. Let me know what happens, For eg: use the file path as :

"C:\Data\filename.txt"
Forum: Visual Basic 4 / 5 / 6 Oct 12th, 2007
Replies: 10
Views: 3,415
Posted By binoj_daniel
Also how do you get this filename?
Forum: Visual Basic 4 / 5 / 6 Oct 12th, 2007
Replies: 10
Views: 3,415
Posted By binoj_daniel
So how do you know where to look for the file if you dont know the path?
Forum: Visual Basic 4 / 5 / 6 Oct 12th, 2007
Replies: 9
Views: 4,299
Posted By binoj_daniel
I think thats what i posted in my first post. Please take time to read before posting.
Forum: Visual Basic 4 / 5 / 6 Oct 12th, 2007
Replies: 9
Views: 4,299
Posted By binoj_daniel
Please see the post before you post redundant replies.
Forum: Visual Basic 4 / 5 / 6 Oct 11th, 2007
Replies: 9
Views: 4,299
Posted By binoj_daniel
Create a dll file using VC++ Win32 Dynamic-Link Library Project type.
Compile the dll and register it in system32.
Forum: Visual Basic 4 / 5 / 6 Oct 11th, 2007
Replies: 9
Views: 4,299
Posted By binoj_daniel
You need to compile this cpp class as a .DLL and then refer this dll in your VB propject.

You are good to go.
Forum: Visual Basic 4 / 5 / 6 Oct 11th, 2007
Replies: 10
Views: 3,415
Posted By binoj_daniel
Do you have a fixed path for the data files? And in what format are these files? .CSV or TXT?
Forum: Visual Basic 4 / 5 / 6 Oct 11th, 2007
Replies: 9
Views: 3,239
Posted By binoj_daniel
You can put the same code in the form load on the timer control and it will only refresh the textbox control with the new values. It will not load the form again but yes it redraws the form window....
Forum: Visual Basic 4 / 5 / 6 Oct 8th, 2007
Replies: 9
Views: 3,239
Posted By binoj_daniel
What's the code on the refresh button? Currenlty i think you were getting the temp. on the form load also.
You can do this by using a timer control on the form and make the interval "1000" which...
Forum: Visual Basic 4 / 5 / 6 Oct 5th, 2007
Replies: 9
Views: 3,239
Posted By binoj_daniel
try this instead:

System.Windows.Forms.Application.DoEvents()
Forum: Visual Basic 4 / 5 / 6 Oct 5th, 2007
Replies: 9
Views: 3,239
Posted By binoj_daniel
What happens when you use the same code in VB.NET?
Forum: Visual Basic 4 / 5 / 6 Oct 4th, 2007
Replies: 9
Views: 3,239
Posted By binoj_daniel
Where are you reading the temperature from?
Forum: Visual Basic 4 / 5 / 6 Oct 2nd, 2007
Replies: 7
Views: 7,246
Posted By binoj_daniel
You can use any of the Driver based on your requirement.

using SQL Server Native Driver is the fastest. Then comes OLEDB and then ODBC.

You can even write a generic data access class to make...
Forum: Visual Basic 4 / 5 / 6 Oct 2nd, 2007
Replies: 7
Views: 7,246
Posted By binoj_daniel
You can use these Connection Strings for SQL 2000:

ODBC with Standard Security
Driver={SQL Server};Server=myServerAddress;Database=myDataBase;Uid=myUsername;Pwd=myPassword;

ODBC with Trusted...
Forum: Visual Basic 4 / 5 / 6 Oct 1st, 2007
Replies: 2
Views: 1,255
Posted By binoj_daniel
Please read the article here with full demo source (http://www.coderewind.com/?categ&view_article=55)

Let me know if this works for you.
Forum: Visual Basic 4 / 5 / 6 Oct 1st, 2007
Replies: 2
Views: 1,255
Posted By binoj_daniel
I will be posting an article on my soon with source code.
Forum: Visual Basic 4 / 5 / 6 Sep 26th, 2007
Replies: 3
Views: 5,482
Posted By binoj_daniel
No Problem. Anytime. You can contribute on my site too. here (http://www.coderewind.com)
Forum: Visual Basic 4 / 5 / 6 Sep 25th, 2007
Replies: 3
Views: 5,482
Posted By binoj_daniel
Try this:

Sub DeleteSheets()
dim xl as new excel.application
dim wb as excel.workbook
set wb=xl.workbooks.open("c:\test.xls"
xl.application.displayalerts=false
If...
Forum: Visual Basic 4 / 5 / 6 Sep 20th, 2007
Replies: 5
Views: 2,255
Posted By binoj_daniel
Let me know if it helps. You can download and read more code articles on my site (http://www.coderewind.com).
Forum: Visual Basic 4 / 5 / 6 Sep 18th, 2007
Replies: 5
Views: 2,255
Posted By binoj_daniel
You can use this command line utility.

http://support.microsoft.com/default.aspx?scid=KB;en-us;q311272
Forum: Visual Basic 4 / 5 / 6 Sep 18th, 2007
Replies: 5
Views: 2,255
Posted By binoj_daniel
Are you trying to disable and enable LAN?
Forum: Visual Basic 4 / 5 / 6 Sep 18th, 2007
Replies: 5
Views: 2,255
Posted By binoj_daniel
What are you trying to accomplish?
Forum: Visual Basic 4 / 5 / 6 Sep 11th, 2007
Replies: 9
Views: 3,350
Posted By binoj_daniel
Forum: Visual Basic 4 / 5 / 6 Sep 10th, 2007
Replies: 9
Views: 3,350
Posted By binoj_daniel
Here is another way of doing it. After you populate your excel file with all the records. Run this function.

Public Sub InsertRows()
Dim xl As Excel.Application
Dim wb As Excel.Workbook
...
Showing results 1 to 40 of 85

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC