We are migrating our applications to VB.Net 2008 from Classic VB and I need to create a base namespace and business layer. My method of approach is going to be to visit our top BA and identify the common areas of our (Fixed Income) company and try to form a decent inheritence model with as much of the code in generics as possible.
What'...
Hi,
I need help in CR 8.5 using VB6.0
I want to set default values for a crystal report parameter in VB6.0
Is it possible?
Using Crystal Report 8.5 , Visual Basic 6.0
~Learn Smethng new always
...
How do you calculate the height of a flexgrid table in VB6 so that it only contains the number of filled rows.
Currently
myFlexGrid.Height = (myFlexGrid.CellHeight * myFlexGrid.Rows) ' paraphrased from code
comes out at about 3 pixels short per line. Adding in the magic number is a bit hackish and would like to accomplish this witho...
I have a VB6 program which uses comctrl32.ocx to display a progress bar. I've also had programs using mscomctl.ocx. However, it is displaying it using the ugly, old-style blue boxes progress bar instead of using the new-style progressbar (which presumably varies depending on the OS). Other programs which reference that same ocx file d...
On an XP machine there is a private messagequeue that was created by a .net service.
When I want to access this private queue in a VB6 application I keep getting an "Access is denied" error.
So it seems this is a security issue, only I don't understand why even when I am logged on as an administrator I still
can't have access to queue th...
My goal is to have this program send a logout command when the user is logging off or shutting down their pc.
The program is connected to a server application via a tcp socket using a Winsock object. Calling singleSock.SendData "quit" & vbCrLf is simply a way of logging out. I am going to start capturing data with Wireshark, but I'd l...
I am continuing my saga to understand memory consumption by VB6 application.
The option that seems to work best so far is to monitor various memory metrics at key points at run-time and understand where big memory hogs are.
The measure driver to study this, is to understand how the application scalability in multi-user environment in Ter...
Hi:
I have a simple DLL written with VC6 with one function:
__declspec(dllexport) int myfunc(long a, unsigned char *b, unsigned char *c, unsigned char *d, unsigned char *e)
And im calling it from vb6 using:
Declare Function myfunc Lib "mylib.dll" (ByVal a As Long, ByVal b As String, ByVal c As String, ByVal d As String, ByVal e As St...
Hi
In my VB6.0 days I used tons of windows API. So I got the idea that all the API methods that I declared are pretty much procedure based - or it has a procedure based entry point.
My question :
I have written some code in C# which I need to access from VB6.0. Is it possible to compile my C# code into a DLL and access that C# DLL fro...
Is there a way to access WMP10+'s playback speed controls in a dotnet app?
User level information on the Playback control information
...
Is there any existing JSON parser which can be used from VB6?
I could obviously write my own parser, but I don't want to reinvent the wheel if I don't have to.
Thanks!
...
Does anybody have a clue how I might embed an ASP.NET 3.5 app inside a Visual Basic 6 application?
My other option is to provide a hyperlink inside the VB6 application that will open the ASP.NET app.....BUT I would prefer to embed the ASP.NET app within a tab control in VB6 if at all possible.
thanks in advance
...
I've been trying to solve this issue for a long time, and nothing seems to work.
I have a COM DLL written in vb6. I add a reference to this DLL in .net, with the 'isolated' and 'copy local' properties set to true on the reference. Apparently this is supposed to enable reg-free com.
But it doesn't work. If I try on another computer, or ...
I'm having a problem when trying to pass an array back to a COM caller.
Basically, I have a generic List of classes, that I want to return to the COM caller, you can't use generics in COM, so it's got to be strongly typed. I figured just returning a .ToArray() on the List would give me what I need.
When I use it in VB6, it works perfe...
if strValue = 'Hello' then what would be the value of (strValue <> 'HELLO') be?
...
Hi,
I was wondering if someone could tell me the best way to call a Visual Basic program from JAVA. I have a few VB applications that I want to run from a JAVA application that I'm building.
Thanks!
...
My VB6 application which runs successfully on many machines is producing the above error on just 1 users machine. Machine has Vista SP1 which means the MDAC installer will not work since MDAC 2.8 is already included.
Code that leads up to the error:
'Temp file to users temp directory:
FileName = C:\DOCUME~1\nmiller\LOCALS~1\Temp\TmpPr...
Any suggestions on why a VB6 program would be slower when compiled than when running in the debugger? I'm compiling it with "Optimize for fast code."
Notes:
I measure performance by running the compiled version and the non-compiled version on the same machine. I based my predictions on wall-clock time, since 30 minutes vs. 100 minutes...
I'm a bit freaked out because I've been handed this knot ball of vb6 dlls.
It appears the previous developer hard-coded connection strings in to the dlls. The developer quit almost two years ago and I don't have any documentation and I've got several different branches in a VSS database. Servers have move, passwords have been changed.
...
I am working on a legacy app in VB6 and am wondering what the easiest way would be to implement this requested feature - client wants ability to preview a document being sent to the printer as a PDF. No problem - there are plenty of PDF printer drivers out there that one can use. However, a necessary condition of this feature is absolute...