Click here to Skip to main content
16,005,080 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionWhat is the best 3rd Party Grid Control? Pin
mudbuddy1112-Aug-04 6:19
mudbuddy1112-Aug-04 6:19 
AnswerRe: What is the best 3rd Party Grid Control? Pin
cvp7712-Aug-04 21:55
cvp7712-Aug-04 21:55 
GeneralAccessing files while being copied Pin
Simon Kearn12-Aug-04 6:13
sussSimon Kearn12-Aug-04 6:13 
GeneralRe: Accessing files while being copied Pin
Dave Kreskowiak12-Aug-04 7:22
mveDave Kreskowiak12-Aug-04 7:22 
GeneralAI Project Pin
Anonymous12-Aug-04 5:54
Anonymous12-Aug-04 5:54 
GeneralRe: AI Project Pin
Dave Kreskowiak12-Aug-04 6:58
mveDave Kreskowiak12-Aug-04 6:58 
QuestionCan anyone suggest the right approach for the below mentioned issue/combination in Horizontal approuch on vb to .net migration Pin
ramarao21212-Aug-04 4:29
sussramarao21212-Aug-04 4:29 
GeneralCreateRemoteThread fails with Custom VB6 DLL Pin
Dr Memory12-Aug-04 3:25
Dr Memory12-Aug-04 3:25 
I have a simple VB6 function that loads a nominated DLL in another process using the CreateRemoteThread method - this is described elsewhere, and involves using CRT to trigger a LoadLibrary call in the target process.

I've never had it fail (assuming the loaded dll is well-behaved, of course), but now I have found that there is one type of DLL for which it fails!

It refuses to work with my customised VB6 dll's, by which I mean DLL's produced by changing the VB6 compile-time LINK command options to substitute my VB DLLMAIN procedure, and including a DEF file to export my VB functions.

When I try to inject one of these dll's, I simply get an exit code of zero, indicating the LoadLibrary call failed, I assume, but without the GetLastError code from the target process of course I have no idea why it failed.

I will try further tests to see if I can retrieve that error code in the target program.

Meanwhile, I'd be grateful for any suggestions....

I can provide a trivial 1-function DLL produced this way, if anybody thinks the problem might be spottable by loading it and having a peek. It simply refuses to be injected (with CRT, anyway).

Thanks

Dr Memory Suspicious | :suss:


MathImagics Software Engineering
Cutmill, Surrey, UK
Algorithms`R`Us
GeneralCreateRemoteThread fails with ActiveX DLL Pin
Dr Memory12-Aug-04 11:00
Dr Memory12-Aug-04 11:00 
Generali need to make search engine...!! Pin
Ashraf Fathy12-Aug-04 3:02
Ashraf Fathy12-Aug-04 3:02 
GeneralRe: Modify .xls from VB6 Pin
Purple Monk12-Aug-04 2:54
Purple Monk12-Aug-04 2:54 
GeneralModify .xls from VB6 Pin
Pablo.ar12-Aug-04 2:34
Pablo.ar12-Aug-04 2:34 
QuestionHow to Delete a file in C# or VB.NET Pin
Prabhu Ram Prasath12-Aug-04 1:59
Prabhu Ram Prasath12-Aug-04 1:59 
AnswerRe: How to Delete a file in C# or VB.NET Pin
Member 53081012-Aug-04 3:07
Member 53081012-Aug-04 3:07 
GeneralRe: How to Delete a file in C# or VB.NET Pin
Dave Kreskowiak12-Aug-04 3:11
mveDave Kreskowiak12-Aug-04 3:11 
AnswerRe: How to Delete a file in C# or VB.NET Pin
Dave Kreskowiak12-Aug-04 3:37
mveDave Kreskowiak12-Aug-04 3:37 
GeneralRe: How to Delete a file in C# or VB.NET Pin
Member 53081012-Aug-04 4:32
Member 53081012-Aug-04 4:32 
GeneralRe: How to Delete a file in C# or VB.NET Pin
Dave Kreskowiak12-Aug-04 5:22
mveDave Kreskowiak12-Aug-04 5:22 
AnswerRe: How to Delete a file in C# or VB.NET Pin
Member 53081012-Aug-04 4:34
Member 53081012-Aug-04 4:34 
GeneralUnlocking Crystal Reports - vb6 Pin
steff kamush11-Aug-04 23:18
steff kamush11-Aug-04 23:18 
GeneralRe: Unlocking Crystal Reports - vb6 Pin
Dave Kreskowiak12-Aug-04 3:09
mveDave Kreskowiak12-Aug-04 3:09 
GeneralRe: Unlocking Crystal Reports - vb6 Pin
Jim Matthews12-Aug-04 3:40
Jim Matthews12-Aug-04 3:40 
GeneralRe: Unlocking Crystal Reports - vb6 Pin
steff kamush12-Aug-04 21:00
steff kamush12-Aug-04 21:00 
Generallast line in data grid not updating Pin
kowplunk11-Aug-04 17:58
kowplunk11-Aug-04 17:58 
GeneralRe: last line in data grid not updating Pin
Member 53081011-Aug-04 21:26
Member 53081011-Aug-04 21:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.