how to fix "cant add the reference to the specified file"
hello guyzz... i am new on this forum i need help... i have made my project...in vb6.. and i have to add 1 myfile.dll (asdecr.dll)as reference this dll is made in VC++ 2010... when i am adding this dll...
View Article[RESOLVED] Error Path Not Found
Hi I have written this Code:  sfile = \\PC\e:\folder\data\source.mdf  tfile = \\PC\e:\folder\data\target.mdf  If fso.FileExists(tfile) Then  Else    fso.CopyFile sfile, tfile, True  End If It...
View ArticleKeep form in front
How can I keep a form in front of another form? I have a main form (frmMain) and I have another form (frmDialog). Pressing a command button on frmMain causes frmDialog to show, but if I switch to...
View Articlecommondialog.showprinter
Hi I had 2 points on the the pages input box 1. what if user enters a less than zero number it seem that there is a built in function to stop this 2. I only want the user to print single pages not a...
View Article[RESOLVED] Error - DataSource Name not found
Hi On this line it is giving me error "Data Source Name not found and no default driver specified" conFind.ConnectionString = "Driver=SQL Server;Data Source=" & ServerName & ";uid=sa;pwd=sql"...
View ArticleCreating MS-SQL Database on SQL Server in a local network
Hi How we can create Database on SQL Server from client machine and then copying tables from existing database to a New Crated Database in a local network using VB as front end . Thanks
View ArticleNeed help for sql statement in vb6.0
hi all, i am trying to write a sql query in vb6.0. i want to exclude some fields in table for example if field 1 is empty and field 2 is filled then it should not be counted for record count all other...
View ArticleHow to check if a particual OCX/DLL is registered?
Hi, Greetings everyone.. hope all are fine.. ok. I need a help about how to detect whether a particular ActiveX control (ocx/dll) is registered or not :) for example: I have made a software that use...
View ArticleShowing Database Tables in FlexGrid
I want to show all tables with there records in a flexgrid along with Button or Label asking to Delete all records. The idea is as under Table Name Number of Records Action ABC 10 Delete ? BBC 5 Delete...
View Articlehow to fix "cant add the reference to the specified file"
hello guyzz... i have my project...in vb 6 and i have to add dll as reference in it... but getting this msg "cant add the reference to the specified file" that myfile.dll(asdecr.dll) is made in VC++...
View Articleusername and password
hi, i have a project, but i want to prompt first a form containing username and password (textbox) to open my project. thanks please help me
View Articleoledragdrop With Run As administrator ?
How I can Use Oledragdrop If I Run As Administrator ? If run app (Run as Administrator) then can't Oledragdrop ! how I Can Make it Accept drag ? I Want it Administrator & Oledragdrop Thankx
View ArticleClarity Visual Menu Editor
Hello VB developers, I am searching for an alternative to the VB menu editor, since it has following downsides: - no ratio buttons available - no Unicode support - no icon support (ok, this is a "just...
View Article[RESOLVED] DTPicker Custom Time Format
Hi! Would you please help me with the following problem? I want the DTPicker to only allow selection of time in the format of 'hours:minutes AM/PM'. Since the Format '2 - dtpTime' also includes...
View ArticleError : ByRef argument type mismatch
Hi Ob this line If IsDatabaseAvailable(strDB) it is giving me this error " ByRef argument type mismatch" strDB = "Jaggan" ' Database Name If IsDatabaseAvailable(strDB) Then cnn1.Open "Driver=SQL...
View ArticleWinsock Error (wrong protocol or connection state for the requested transaction)
hello guys... i`m really need ur help... i just want to make a client/ server using a winsock... everything is fine when i`m doing on my computer (client /server) but THERE are problem when I try to...
View Article[RESOLVED] Office 2010 - class mscomctllib.listview was not a loaded control...
I'm not sure if this is where this post belongs and I expect it to move down the list quickly. My intent is a forum search will find it. I installed Micosoft office 2010 yesterday and projects using...
View ArticleIs there a Link Label in VB6? If there, then how to use it?
Does VB6 has a Link Label control? And if it has how to use it? Or if there is not one, can it be added through components? I do not want any third party tools to be used?
View ArticleQuotation marks in a text file
Hi folks: I am working on an application that imports a csv file into a mysql database. Unfortunately whoever created the files that I am importing thought it would be a wonderful idea to use a...
View Article