can i use window application vb dll in .net webapplication
i am trying to use vb 6.0 dll which is for window application in .net webapplication so tell me can i use it if yes then please tell me how ...
i am trying to use vb 6.0 dll which is for window application in .net webapplication so tell me can i use it if yes then please tell me how ...
I am trying to connect to a remote servre via FTP in my VB 6.0 application. I tried connecting to remote server using Inet but it gave status unknown error (code:120089). So I am trying to do this by batch file. I created a batch file as below:- open 192.168.1.3 22 root !@#%RedHat%)(* cd "/opt/test" put "C:\envars.exe" "envars....
Scenario 1. Crystal Reports 8.5 2. Visual Studio 6 The above combination creates hundreds of .tmp files on drives and project directory folder on each time a project is compiled/run and I am sick of searching and deleting the temporary files. Is this some sort of misconfiguration? Does anybody know the secret of the .tmp files and how ...
Background: We have a COM object written in C#. We are working with another company that has code written in VB6. We need to send them VB6 code that creates and calls objects/methods from our COM object. I created a .tlb file from the C# COM DLL file using RegAsm.exe provided by Microsoft. I then added this .tlb file as a reference in V...
In VB6/VBA, you can declare module-level variables outside of a specific Sub or Function method. I've used Private and Public before inside modules and understand them like so: Public - visible to all code inside the module and all code outside the module, essentially making it global. Private - visible only to code inside the module....
We have a website that is based on C# and ASP.NET, I have a barcode scanner with a .dll file to control it that I can get to work in VB6. Before I dig deeper in exactly how to do this I wanted a quick answer on if it is even possible to do what I want first. Can I write an activex control in VB6 that will allow me to control the barcode...
char [] chararray = txt1.Text; how we do the same in vb 6.0 ...
Hello, all is in the title :-) Some explanation : In order to use a vb6 with C# (COM / Interop) I have a performance issue with Data Access. I don't know why but the code is four times slower in C# via Interop. I'm trying to find a workaround and I would to replace the rdo by ADO to gain performance. old code (with rdo) : strSelect ...
Hi, I have a table in an excel file called " Employee_States_File".This table contains two columns Name and States. Both columns are filled with data. The province table contains abbreviation of the States such as " NE, WA" and so. I have another excel file called " States_File" which contains a table that has two columns: Abbreviation a...
Hi, After searching couple of days (here and here), I believe I've found the problem and it seems identical to this one. However, I have captured two execution plans to compare it but, they seem to be identical except execution time. (The Database server is SQL SERVER 2000) The Query executed in VB6 : EventClass : SQL:BatchCompleted ...
which book i should prefer for vb6. and from where i can download msdn for vb6. if any one know any link then please share it ...
Hi, I would like something like that : While Not RdoRst.EOF And RdoRst(2) = "Foo" cboComboBox.AddItem RdoRst(1) cboComboBox.ItemData(cboComboBox.NewIndex) = RdoRst(0) RdoRst.MoveNext Wend I want that the expression 1 (Not RdoRst.EOF) is evaluated first. Then if it returns true, the expression 2 is evaluated t...
Recently users of our VB6 app have encountered problems when trying to read files. It surfaced that the Dir function throws an error for non-existing shares instead of returning an empty string. My hunch is that previously the App.Path function returned "C:\Program Files\OurApp\ourapp.exe" but now it returns "\\MyComputer\C$\Program Fi...
Dear Expert i have the following problem when i try to get the value from the record set it showing error the query is SSql = "select doj,dol,employeeid from m_employee where employeeid='" & Trim(RsCardNo!Code) & "'" rsCardRepl.Open SSql, Conn, adOpenDynamic, adLockOptimistic If rsCardRepl.RecordCount > 0 Then Dim temp As In...
I'm having trouble using pipes in a larger application and so I created a minimal test application to investigate the problem. I'm creating a pipe: Dim sa As SECURITY_ATTRIBUTES Dim R As Long sa.nLength = Len(sa) sa.bInheritHandle = 1 R = CreatePipe(hRead, hWrite, sa, 0) //hRead declared globally Debug.Print "CreatePipe: " & R and t...
validation on textbox in vb 6.0 i tried Private Sub Text1_KeyPress(KeyAscii As Integer) If Not (KeyAscii = vbKeyBack Or KeyAscii = vbKeyDelete Or KeyAscii = vbKeySpace Or (KeyAscii >= Asc("1") And KeyAscii <= Asc("9"))) Then KeyAscii = 0 End If but now i want that paste option should disable when i right click on tex...
Basically, if you go to Start and click Computer and then click on the Network link on the left hand side, you'll notice on the right hand side several categories, one of which is titled "Network Infrustructure", in that category, my router is listed, and in my case, it is "LINKSYS WAG160N Wireless-N ADSL2+ Gateway" and when you right-cl...
Instead of using AND in a long If statement, I'm using InStr to match a dynamic value to a known list. Like this: If InStr("John, George, Harry", personName) Then... Is this okay? Should I be using AND instead? Is there a better way? Thanks. ...
Hi guys, I'm trying to ReDim a member object array from a different class. For example: Class1.cls Dim mStuffArray() As New clsStuff Property Get StuffArray() As clsStuff() StuffArray = mStuffArray End Property Class2.cls Private Sub Foo(ByRef pClass1 As Class1) Dim tStuffArray() As clsStuff tStuffArray = pClass1.Stuf...
OK, so I have a C++ project that compiles to a DLL file. I am able to reference this file in C# and see/use all of the objects and functions within the DLL file. What I need to do is to reference those objects and function through VB6. The C++ code has nothing in it that looks like it's creating a DLL. There are no '__declspec(dllexport...