Click here to Skip to main content
15,914,405 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Extremly stupid VBA question Pin
Nick Seng6-Aug-03 15:49
Nick Seng6-Aug-03 15:49 
GeneralADODB recordset Pin
_crs_6-Aug-03 0:41
_crs_6-Aug-03 0:41 
GeneralRe: ADODB recordset Pin
RichardGrimmer18-Aug-03 4:10
RichardGrimmer18-Aug-03 4:10 
GeneralVB.Net- C# integration Pin
Madhuri Mittal5-Aug-03 23:27
Madhuri Mittal5-Aug-03 23:27 
GeneralVBA help! Pin
Vladimir Georgiev5-Aug-03 23:17
Vladimir Georgiev5-Aug-03 23:17 
GeneralHardware Manipulation Pin
347Studboy5-Aug-03 13:11
347Studboy5-Aug-03 13:11 
GeneralRe: Hardware Manipulation Pin
pxw16-Aug-03 6:48
pxw16-Aug-03 6:48 
GeneralRe: Hardware Manipulation Pin
MarziehBere27-Jul-10 20:27
MarziehBere27-Jul-10 20:27 
if we want to eject a flash, what shold we do?
my code is
DWORD ret = 0;
ret = EjectDiskFromSADrive( NULL, NULL, "\ \. \ RemovableDriveI"/*+m_Repository.m_FlashMemoryInf.DriveName*/, NULL, NULL, NULL, NTMS_EJECT_FORCE );
switch(ret)
{
case ERROR_ACCESS_DENIED: printf("NTMS_CONTROL_ACCESS to the library is denied. Other security errors are also possible, but they would indicate a security subsystem error."); break;
case ERROR_DATABASE_FAILURE: printf("The database is inaccessible or damaged."); break;
case ERROR_DATABASE_FULL: printf("The database is full."); break;
case ERROR_DEVICE_NOT_AVAILABLE: printf("The library is disabled."); break;
case ERROR_INVALID_HANDLE: printf("The session ID is invalid or missing."); break;
case ERROR_INVALID_OPERATION: printf("A stop was performed on an invalid operation ID."); break;
case ERROR_INVALID_PARAMETER: printf("A library ID or operation ID pointer is missing."); break;
case ERROR_LIBRARY_OFFLINE: printf("The library ID refers to an offline library that cannot eject media."); break;
case ERROR_MEDIA_NOT_AVAILABLE: printf("The media is disabled."); break;
case ERROR_NOT_ENOUGH_MEMORY: printf("There was an allocation failure during processing."); break;
case ERROR_SUCCESS: printf("The eject operation was successful."); break;
};

but it has always ERROR_INVALID_PARAMETER.
please help me
GeneralVB events and Command Buttons Pin
blaze19785-Aug-03 12:15
blaze19785-Aug-03 12:15 
GeneralRe: VB events and Command Buttons Pin
Nick Seng5-Aug-03 16:00
Nick Seng5-Aug-03 16:00 
GeneralRe: VB events and Command Buttons Pin
blaze19786-Aug-03 3:27
blaze19786-Aug-03 3:27 
GeneralRe: VB events and Command Buttons Pin
Nick Seng6-Aug-03 15:32
Nick Seng6-Aug-03 15:32 
GeneralRe: VB events and Command Buttons Pin
RichardGrimmer18-Aug-03 4:12
RichardGrimmer18-Aug-03 4:12 
GeneralRe: VB events and Command Buttons Pin
blaze197818-Aug-03 5:30
blaze197818-Aug-03 5:30 
GeneralRe: VB events and Command Buttons Pin
Nick Seng18-Aug-03 5:57
Nick Seng18-Aug-03 5:57 
GeneralHashtable Pin
kowens5-Aug-03 9:23
kowens5-Aug-03 9:23 
GeneralUnable to import system.io Pin
GrGonzo5-Aug-03 9:22
GrGonzo5-Aug-03 9:22 
GeneralRe: Unable to import system.io Pin
Nick Seng5-Aug-03 15:43
Nick Seng5-Aug-03 15:43 
GeneralWindows API related problem Pin
attidude5-Aug-03 7:52
attidude5-Aug-03 7:52 
GeneralInstall TCP/IP Pin
Anonymous5-Aug-03 5:41
Anonymous5-Aug-03 5:41 
GeneralCrystal Reports Developer 8.5 Pin
Emile Jacobs5-Aug-03 5:26
Emile Jacobs5-Aug-03 5:26 
QuestionProperty or Mehod ? Pin
Brian van der Beek5-Aug-03 0:02
Brian van der Beek5-Aug-03 0:02 
AnswerRe: Property or Mehod ? Pin
Hesham Amin5-Aug-03 5:35
Hesham Amin5-Aug-03 5:35 
GeneralON-LINE PROGRAMMING USING RS232 Pin
HARINDER HUNJAN4-Aug-03 10:22
HARINDER HUNJAN4-Aug-03 10:22 
Generalsleep method in .Net Pin
pnpfriend4-Aug-03 7:16
pnpfriend4-Aug-03 7:16 

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.